/* Modern app-like styling for law firm */
:root {
  --primary: #2b4c7e;
  --secondary: #506d97;
  --accent: #e67e22;
  --gradient: linear-gradient(135deg, #2b4c7e 0%, #506d97 100%);
  --text: #2c3e50;
  --light: #f8f9fa;
  --spacing: 2rem;
}

body {
  font-family: 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  padding: 0;
  background-color: var(--light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.image img {
  width: 100%;
  max-width: 2000px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
  padding: 4rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 30px;
  height: 30px;
}

/* Contact Cards */
.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact-image {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info {
  flex: 1;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin: 2rem 0 1rem;
  text-align: center;
}

h3 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin: 1.5rem 0 1rem;
}

.accent-text {
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .contact-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing: 1rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}