/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a4d2e;
  --primary-dark: #143d24;
  --primary-light: #2a5d3e;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #6b7280;
  --gray-900: #111827;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-hero {
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
}

.btn-hero:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  position: relative;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
  z-index: 1001;
}

.logo:hover {
  color: #235c3a;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--gray-900);
  transition: all 0.3s ease;
}

/* Animation Keyframes and Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in-up.delay-1 {
  animation-delay: 0.2s;
}

.fade-in-up.delay-2 {
  animation-delay: 0.4s;
}

.fade-in-up.delay-3 {
  animation-delay: 0.6s;
}

.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade-in.delay-1 {
  transition-delay: 0.1s;
}

.scroll-fade-in.delay-2 {
  transition-delay: 0.2s;
}

.scroll-fade-in.delay-3 {
  transition-delay: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(26, 77, 46, 0.7), rgba(26, 77, 46, 0.7)), url("images/law-office-background.jpg")
    center / cover no-repeat;
  color: white;
}

.hero-overlay {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
}

.hero-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.section-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-image {
  position: relative;
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
}

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

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  text-align: center;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: rgba(26, 77, 46, 0.1);
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 5rem 0;
  background-color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.why-image {
  position: relative;
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
}

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

.why-text {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Practice Areas */
.practice-areas {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.practice-card {
  background: white;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.practice-card > * {
  padding: 1.5rem;
}

.practice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: rgba(26, 77, 46, 0.1);
  margin-bottom: 1rem;
  color: var(--primary);
}

.practice-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}

.practice-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.practice-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.practice-card:hover .practice-arrow {
  transform: translateX(4px);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: white;
}

.testimonials-carousel {
  max-width: 56rem;
  margin: 3rem auto 0;
}

.testimonial-card {
  background: white;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 3rem;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.125rem;
  text-align: center;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  text-align: center;
}

.author-name {
  font-weight: 700;
}

.author-date {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  width: 2rem;
  background-color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding: 3rem 0;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9375rem;
}

.footer-nav a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a,
.footer-contact-item span {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9375rem;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-hours p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 800px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

.footer-content {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Our Team Page Styles */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
}

.team-section {
  padding: 4rem 0;
  background-color: white;
}

.team-member {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: start;
}

.team-member.reverse {
  grid-template-columns: 1fr 400px;
}

.team-member.reverse .member-image {
  order: 2;
}

.team-member.reverse .member-content {
  order: 1;
}

.member-image {
  position: sticky;
  top: 100px;
}

.member-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.member-name {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.member-title {
  font-size: 1.25rem;
  color: #c9a961;
  font-weight: 600;
  margin-bottom: 2rem;
}

.member-bio {
  margin-bottom: 2rem;
}

.member-bio p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.member-credentials {
  margin-bottom: 2rem;
}

.credentials-title {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.credentials-list {
  list-style: none;
}

.credentials-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--gray-900);
}

.credentials-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.2;
}

.member-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.badge {
  height: 100px;
  width: auto;
  max-width: 100%;
}

/* Team Services Section */
.team-services {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.services-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card-small {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-icon-small {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.service-title-small {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.cta-center {
  text-align: center;
}

/* Contact Page Styles */
.contact-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form {
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1.0625rem;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card,
.business-hours-card {
  background: white;
  padding: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(26, 77, 46, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-info-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-link {
  color: var(--gray-900);
  text-decoration: none;
  font-size: 1.0625rem;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--primary);
}

.contact-info-item p {
  color: var(--gray-900);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.social-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  margin-top: 0.75rem;
}

.social-link:hover {
  opacity: 0.8;
}

.business-hours-card p {
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.emergency-text {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-style: italic;
  color: var(--gray-600);
}

/* Adding Fees Page Styles */
.fees-intro {
  padding: 5rem 0;
  background-color: white;
}

.fees-content {
  max-width: 900px;
  margin: 0 auto;
}

.fees-text {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.fees-services {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.fees {
  padding: 5rem 0;
  background-color: white;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.fees-card {
  background: white;
  padding: 2rem;
  text-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.fees-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--primary);
}

.fees-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.fees-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 280px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
}

.dropdown-content a {
  color: var(--gray-900);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
  background-color: var(--gray-50);
  color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-btn::after {
  content: "▼";
  font-size: 0.625rem;
  margin-left: 0.25rem;
}

/* Page Hero With Image */
.page-hero-with-image {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(26, 77, 46, 0.75), rgba(26, 77, 46, 0.75)), url("images/law-office-background.jpg")
    center / cover no-repeat;
  color: white;
  text-align: center;
}

.page-hero-with-image .page-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.page-hero-with-image .page-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  position: relative;
  z-index: 10;
}

/* Fees Intro Grid */
.fees-intro-grid {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 4rem;
  align-items: center;
}

.fees-intro-image {
  position: relative;
  height: 500px;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* ====== RESPONSIVE DESIGN - ADDING MOBILE STYLES ====== */

/* Tablet and Below (768px - 991px) */
@media (max-width: 991px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  /* Navigation */
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    height: calc(100vh - 64px);
    overflow-y: auto;
    gap: 0;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .dropdown {
    width: 100%;
  }
  
  .dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    font-size: 1rem;
  }
  
  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    margin-left: 1rem;
    border-left: 2px solid #e5e7eb;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Hero Section */
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-text {
    font-size: 1.125rem;
  }
  
  /* About Section */
  .about-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image,
  .why-image {
    height: 350px;
  }
  
  /* Services Section */
  .services-grid,
  .practice-grid,
  .fees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Team Member */
  .team-member,
  .team-member.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .member-image {
    position: static;
  }
  
  .member-name {
    font-size: 2rem;
  }
  
  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Fees Intro Grid */
  .fees-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .fees-intro-image {
    height: 400px;
  }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-hero-with-image .page-title {
    font-size: 2.5rem;
  }
  
  .services-grid,
  .practice-grid,
  .fees-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card,
  .practice-card,
  .fees-card {
    padding: 1.5rem;
  }
  
  .contact-form-wrapper,
  .contact-info-card,
  .business-hours-card {
    padding: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .member-badges {
    justify-content: center;
  }
  
  .badge {
    height: 80px;
  }
}

/* Small Mobile (0px - 575px) */
@media (max-width: 575px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1.125rem;
  }
  
  .page-hero-with-image .page-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 280px;
  }
  
  .btn-hero {
    padding: 0.75rem 1.5rem;
  }
  
  .about-image,
  .why-image,
  .fees-intro-image {
    height: 300px;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .team-member {
    margin-bottom: 3rem;
  }
  
  .member-name {
    font-size: 1.75rem;
  }
  
  .member-title {
    font-size: 1.125rem;
  }
  
  .services-grid-small {
    grid-template-columns: 1fr;
  }
  
  .contact-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
  
  .footer-content {
    margin-bottom: 1.5rem;
  }
  
  .footer-title {
    font-size: 1.75rem;
  }
}

/* Very Small Screens */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
  
  .logo {
    font-size: 1.125rem;
  }
  
  .badge {
    height: 60px;
  }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .nav {
    height: calc(100vh - 64px);
    overflow-y: scroll;
  }
  
  .nav-link {
    padding: 0.75rem 0;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-text {
    margin-bottom: 1rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .mobile-menu-btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .hero,
  .page-hero,
  .page-hero-with-image {
    min-height: auto;
    padding: 2rem 0;
    background: none !important;
    color: #000;
  }
  
  .hero-title,
  .page-title {
    color: #000;
  }
}