/* Base Styles */
:root {
  /* Refined Color Scheme */
  --primary: #0A2540;    /* Deep navy (keeps sophistication) */
  --secondary: #0CBABA;  /* Sophisticated teal (more professional than cyan) */
  --highlight: #D4B483;  /* Warm gold (more elegant than bright yellow) */
  --accent: #6A7FDB;     /* Soft periwinkle (less intense than purple) */
  --text-dark: #333333;  /* Dark gray (better readability) */
  --text-light: #FFFFFF; 
  --neutral: #FFFFFF;
  --gray-100: #F5F7FA;   /* Cool light gray */
  --gray-200: #E4E9F2;   /* Light border color */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* More subtle shadow */
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Cards */
.area-card, .benefit-card {
  transition: var(--transition);
}

/* Hover Effects */
a, button {
  transition: var(--transition);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

html {
  scroll-padding-top: 80px; /* Navbar height */
}

section {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 80px; /* Matches navbar height */
  height: 90vh; /* This controls the hero height - adjust as needed */
  min-height: 600px; /* Minimum height for larger screens */
  max-height: 1000px; /* Maximum height for very large screens */
  display: flex;
  align-items: center; /* Vertically centers content */
  background: linear-gradient(rgba(0, 39, 77, 0.8), rgba(0, 39, 77, 0.8)), 
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--text-light);
  padding: 140px 0 100px;
  text-align: center;
}

/* Container within hero */
.hero .container {
  width: 100%;
  padding-top: 4rem; /* Space above content */
  padding-bottom: 2rem; /* Space below content */
}

/* For screens smaller than 992px (mobile) */
@media (max-width: 992px) {
  .hero {
    height: auto; /* Lets content determine height */
    min-height: 80vh; /* Still maintains some minimum height */
    padding-top: 70px; /* Matches mobile navbar height */
  }
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Button Styles */
.cta-button {
  display: inline-block;
  background-color: var(--highlight);
  color: var(--primary);
  border-radius: 50px; /* More modern rounded shape */
  letter-spacing: 0.05em;
  padding: 1rem 2.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 180, 131, 0.3);
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  animation: pulse 2s infinite;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.cta-card {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 3rem;
}

.floating-cta {
  position: absolute;
  right: 2rem;
  bottom: -1.5rem;
  background: var(--neutral);
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-button:hover {
  background-color: var(--secondary);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(12, 186, 186, 0.4);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--neutral);
  border: 2px solid var(--neutral);
}

.cta-button.secondary:hover {
  background-color: var(--neutral);
  color: var(--primary) !important;
}


/* ===== NAVIGATION STYLES ===== */
.navbar {
  position: fixed; /* Changed from sticky to fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Transparent State (when at top) */
.navbar.transparent {
  background-color: transparent;
  box-shadow: none;
}

/* Solid State (when scrolled) */
.navbar.solid {
  background-color: var(--neutral);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* Logo Text Color Adjustment */
.navbar.transparent .logo-text,
.navbar.transparent .nav-menu a {
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.navbar.transparent .bar {
  background-color: white;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px; /* Increased for better proportions */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* ===== LOGO STYLES ===== */
/* Logo Container */
.logo {
  display: flex;
  align-items: center; /* Vertically centers children */
  gap: 10px; /* Space between image and text */
  height: 100%; /* Takes full navbar height */
  text-decoration: none; /* Removes underline from link */
}

/* Logo Image */
.logo img {
  height: 40px; /* Adjust to match your navbar height */
  width: auto; /* Maintains aspect ratio */
  display: block; /* Removes extra space under image */
}

/* Logo Text */
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0; /* Removes default margins */
  line-height: 1; /* Prevents extra space from line-height */
}

/* ===== DESKTOP MENU ===== */
.nav-menu {
  display: flex;
  align-items: center;
  height: 100%; /* Critical for vertical alignment */
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 1rem; /* Using rem units for better scalability */
}

.nav-menu li {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.nav-menu a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0 0.1rem; /* Horizontal padding between items */
}

/* Hover effect that doesn't affect vertical alignment */
.nav-menu a:hover {
  color: var(--secondary);
}

/* Active link state */
.nav-menu a.active,
.nav-menu li.active > a {
  color: var(--secondary);
  font-weight: 600;
}

/* ===== CTA BUTTON IN NAV ===== */
.nav-cta {
  margin-left: 1.5rem;
}

.nav-cta .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem; /* Fixed height */
  padding: 0 1.5rem;
  margin: 0;
  line-height: 1; /* Prevents text from affecting vertical alignment */
}

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0.75rem;
  z-index: 1001;
}

.bar {
  display: block;
  width: 1.75rem;
  height: 2px;
  margin: 0.35rem 0;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

/* Mobile menu active states */
.menu-toggle.active .bar:nth-child(2) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(1) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* When mobile menu is open */
.mobile-menu-open .navbar {
  background-color: var(--neutral) !important;
}

.mobile-menu-open .logo-text {
  color: var(--primary) !important;
}

/* Ensure desktop menu links aren't affected */
@media (min-width: 993px) {
  .navbar.transparent .nav-menu a {
    color: white;
  }
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 992px) {
  .navbar .container {
    height: 70px; /* Slightly smaller for mobile */
    padding: 0 1.5rem;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--neutral);
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    height: auto; /* Reset height */
    text-align: center;
  }
  /* Ensure mobile menu always has white background */
  .nav-menu {
    background: var(--neutral) !important;
  }


  .nav-menu.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
  }

  .nav-menu li {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    justify-content: center; /* Horizontally centers content */
  }

  .nav-menu li.nav-cta {
    margin: 1.5rem 2rem 0;
    width: calc(100% - 4rem);
  }
  
  .nav-menu li:not(.nav-cta) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-menu a {
    padding: 0.5rem 2rem;
    height: auto;
    justify-content: flex-start;
    font-size: 1.1rem;
  }

  /* Ensure links always have dark text */
  .nav-menu a {
    color: var(--text-dark) !important;
    text-shadow: none !important;
  }

  /* Keep burger icon white when navbar is transparent */
  .navbar.transparent:not(.solid) .bar {
    background-color: white;
  }
  
  /* But make it dark when menu is open */
  .nav-menu.active ~ .menu-toggle .bar {
    background-color: var(--primary) !important;
  }

  .nav-cta {
    margin: 1rem 2rem 0;
    width: calc(100% - 4rem);
  }

  .nav-cta .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Quick Intro Section */
.quick-intro {
  padding: 80px 0;
  background: var(--gray-100);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
}

.intro-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.intro-stats {
  display: flex;
  justify-content: space-around;
  margin: 40px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  flex: 1;
  min-width: 150px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-dark);
}

/* Practice Areas Section */
.practice-areas {
  padding: 80px 0;
  background: var(--neutral);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  z-index: 1; /* Creates layering effect */
}

.practice-areas h2 {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
  font-size: 1.1rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.area-card {
  background: var(--neutral);
  padding: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary);
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.08);
  border-color: var(--secondary);
}

.area-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.area-icon img {
  width: 100%;
  height: auto;
}

.area-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.area-card p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.learn-more {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: color 0.3s ease;
}

.learn-more:hover {
  color: var(--primary);
}

.section-cta {
  text-align: center;
  margin-top: 30px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A2540 0%, #0d3b66 100%);
  color: white;
}

.why-choose-us h2,
.why-choose-us .section-subtitle {
  color: var(--text-light);
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  padding: 30px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.benefit-icon img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--highlight);
}

.benefit-card p {
  opacity: 0.9;
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: var(--gray-100);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--highlight);
}

.testimonials h2 {
    text-align: center;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.testimonial-slide {
  display: none;
}
.testimonial-slide.active {
  display: block;
}

.testimonial-content {
  background: var(--neutral);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--gray-200);
}

.testimonial-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--highlight);
}

.rating {
  color: var(--highlight);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

blockquote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
}

blockquote::before,
blockquote::after {
  content: '"';
  font-size: 2rem;
  color: var(--secondary);
  opacity: 0.3;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-details h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.client-details p {
  color: var(--text-dark);
  opacity: 0.8;
  font-size: 0.9rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-prev,
.carousel-next {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--secondary);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  opacity: 1;
  transform: scale(1.2);
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(135deg, #0d3b66 0%, #0A2540 100%);
  position: relative;
  overflow: hidden;;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--accent);
  opacity: 0.2;
  border-radius: 50%;
}

.final-cta h2 {
  color: var(--highlight);
  margin-bottom: 1rem;
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* Footer Styles */
.site-footer {
  background-color: #05172c;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 60px 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #F4B400;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-logo {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ffffff;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #00AEEF;
}

.footer-contact address p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-contact img {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #00AEEF;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-list span {
  font-weight: 500;
}

.emergency-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.8;
}

.emergency-phone {
  color: #F4B400;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
}

/* Footer Newsletter */
.footer-newsletter {
  grid-column: span 2; /* Takes 2 columns in footer */
}

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid #ffffff; /* White underline border */
  outline: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: #ffffff;
  opacity: 0.7;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.legal-links a:hover {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Footer Newsletter Mobile Styles */
@media (max-width: 768px) {

  .footer-newsletter h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .footer-newsletter form {
    flex-direction: column;
    gap: 15px;
  }

  .footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 1rem;
  }

  .footer-newsletter .cta-button {
    width: 100%;
    padding: 12px;
    text-align: center !important;
  }
}




/* ===== ABOUT PAGE STYLES ===== */
.page-hero {
  background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.85)), 
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--text-light);
  text-align: center;
  padding: 140px 0 80px;
}

/* Current code */
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Enhanced version with better mobile sizing */
.page-hero h1 {
  font-size: clamp(1.75rem, 6vw, 3.5rem); /* More dramatic scaling for mobile */
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.page-hero p {
  font-size: clamp(1rem, 3.5vw, 1.25rem); /* Now responsive with clamp */
  max-width: 85%; /* More appropriate for mobile */
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.5;
}

/* Mobile-specific fine-tuning */
@media (max-width: 480px) {
  .page-hero h1 {
    font-size: clamp(1.5rem, 7vw, 2rem); /* Even more aggressive scaling */
  }
  .page-hero p {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    max-width: 90%;
  }
}


.section-padding {
  padding: 100px 0;
}

.firm-history {
  background: var(--neutral);
}

.flex-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.history-content {
  flex: 1;
}

.history-content h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.history-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.history-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.history-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.history-image:hover img {
  transform: scale(1.03);
}

.values-section {
  background: var(--gray-100);
}

.values-section h2 {
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background: var(--neutral);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(12, 186, 186, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon img {
  width: 40px;
  height: 40px;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.value-card p {
  color: var(--text-dark);
  line-height: 1.7;
}

.achievements-section {
  background: var(--neutral);
}

.achievements-section h2 {
  text-align: center;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.achievement-card {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: var(--gray-100);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.achievement-card:hover {
  background: var(--primary);
  color: white;
}

.achievement-card:hover h3,
.achievement-card:hover p {
  color: white;
}

.achievement-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(12, 186, 186, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.achievement-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.achievement-content p {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.achievement-card:hover .achievement-content h3,
.achievement-card:hover .achievement-content p {
  color: white;
}


/* Mobile-specific adjustments */
@media (max-width: 992px) {
  .flex-container {
      flex-direction: column;
  }
  
  .history-image {
      order: -1;
  }
  /* Reduce section padding on mobile */
  .section-padding {
    padding: 60px 0;
  }
  
  /* Adjust flex container spacing on mobile */
  .flex-container {
    gap: 30px;
  }
  
  /* Reduce card padding on mobile */
  .value-card,
  .achievement-card {
    padding: 25px 20px;
  }
}





/* ===== PRACTICE AREAS PAGE STYLES ===== */
.section-padding h2 {
  text-align: center;
}

.practice-areas-grid {
  background: var(--gray-100);
  position: relative;
}

.practice-areas-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--highlight);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.area-card {
  background: var(--neutral);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary);
}

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

.area-icon {
  margin-bottom: 20px;
}

.area-icon img {
  width: 60px;
  height: 60px;
}

.practice-detail {
  padding: 80px 0;
}

.practice-detail:not(.bg-light) {
  position: relative;
}

.practice-detail:not(.bg-light)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.flex-container.reverse {
  flex-direction: row-reverse;
}

.detail-content {
  flex: 1;
  padding-right: 40px;
}

.detail-content a {
  margin-top: 10px;
}

.flex-container.reverse .detail-content {
  padding-right: 0;
  padding-left: 40px;
}

.detail-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.detail-image:hover img {
  transform: scale(1.03);
}

.service-list {
  margin: 20px 0;
  padding-left: 20px;
}

.service-list li {
  margin-bottom: 10px;
  position: relative;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.practice-faq {
  background: linear-gradient(135deg, var(--primary) 0%, #08223a 100%);
  color: white;
}

.section-title.light,
.section-subtitle.light {
  color: white;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  padding: 15px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
}

.faq-question.active::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-answer p {
  padding-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .flex-container,
  .flex-container.reverse {
      flex-direction: column;
  }
  
  
  .practice-detail {
      padding: 60px 0;
  }
  
  .areas-grid {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  /* Practice Detail Container */
  .practice-detail .container {
    width: 95%;
    padding: 0 15px;
  }

  /* Content Width Control */
  .detail-content {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 !important; /* Remove any side padding on mobile */
  }

  /* Text Containment */
  .detail-content p,
  .detail-content ul,
  .detail-content .service-list {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  /* Service List Items */
  .service-list li {
    margin-bottom: 12px;
    padding-right: 10px;
  }

  /* Button Sizing */
  .detail-content .cta-button {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 12px 20px;
    text-align: center;
    margin-top: 10px;
  }

  /* Image Containment */
  .detail-image {
    margin-top: 30px;
    width: 100%;
  }

  /* FAQ Table Adjustments */
  .faq-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .area-card {
      padding: 25px;
  }
  
  .practice-detail {
      padding: 50px 0;
  }
}

/* Extra small devices (phones under 400px) */
@media (max-width: 400px) {
  .detail-content h2 {
    font-size: 1.5rem;
  }
  
  .detail-content p {
    font-size: 0.95rem;
  }

  .service-list li {
    font-size: 0.9rem;
  }

  .cta-button {
    font-size: 0.8rem;
    padding: 10px 15px;
  }
}
/* FAQ Styles */
.faq-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0 20px;
}

.faq-table th, .faq-table td {
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: left;
}

.faq-table th {
  background-color: rgba(255,255,255,0.1);
}

.text-link {
  color: var(--highlight);
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-link:hover {
  color: white;
  text-decoration: underline;
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
}





/* ===== TEAM PAGE STYLES ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

@media (min-width: 1200px) {
  .team-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
      grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--neutral);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray-200);
}

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

.team-photo {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 37, 64, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.bio-toggle {
  background: var(--highlight);
  color: var(--primary);
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bio-toggle:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

.team-info {
  padding: 25px;
}

.team-info h3 {
  color: var(--primary);
  margin-bottom: 5px;
}

.team-title {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 5px;
}

.team-specialty {
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.team-contact {
  border-top: 1px solid var(--gray-200);
  padding-top: 15px;
  font-size: 0.9rem;
}

.team-contact a {
  color: var(--secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

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

.team-contact span {
  color: var(--text-dark);
  opacity: 0.8;
  display: block;
}

/* Bio Section Styles */
.bio-section {
  background: var(--gray-100);
  padding: 60px 0;
}

.bio-content {
  display: none; /* Move the display none to individual bio contents */
  background: var(--neutral);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.bio-content {
  background: var(--neutral);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.bio-header {
  display: flex;
  padding: 40px;
  background: var(--primary);
  color: white;
  gap: 30px;
}

.bio-photo {
  flex: 0 0 200px;
  border-radius: 8px;
  overflow: hidden;
}

.bio-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.bio-intro {
  flex: 1;
}

.bio-intro h2 {
  color: white;
  margin-bottom: 5px;
}

.bio-title {
  color: var(--highlight);
  font-weight: 600;
  margin-bottom: 15px;
}

.bio-contact a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.bio-contact span {
  opacity: 0.9;
  display: block;
}

.bio-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bio-specialties span {
  background: rgba(255,255,255,0.1);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
}

.bio-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 40px;
}

.bio-column h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.bio-column ul {
  list-style: none;
  margin-bottom: 30px;
}

.bio-column li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.bio-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.bio-close {
  display: block;
  margin: 0 auto 30px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bio-close:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* Support Staff Styles */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.staff-card {
  background: var(--neutral);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.staff-photo {
  height: 200px;
  overflow: hidden;
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.staff-card:hover .staff-photo img {
  transform: scale(1.05);
}

.staff-info {
  padding: 25px;
}

.staff-info h3 {
  color: var(--primary);
  margin-bottom: 5px;
}

.staff-title {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 15px;
}

.staff-info p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.staff-contact a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
  .bio-header {
      flex-direction: column;
      padding: 30px;
  }
  
  .bio-photo {
      margin-bottom: 20px;
      flex: 0 0 auto;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      align-self: center;
  }
  
  .bio-details {
      padding: 30px;
      grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .team-grid, .staff-grid {
      grid-template-columns: 1fr;
  }
  
  .bio-header {
      padding: 20px;
  }
  
  .bio-details {
      padding: 20px;
  }
}





/* ===== BLOG PAGE STYLES ===== */
.blog-container {
  max-width: 1200px;
}

/* Featured Post */
.featured-post {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.featured-post .post-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.featured-post .post-image img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-post .post-content {
  flex: 1;
}

.featured-post h2 {
  font-size: 1.8rem;
  margin: 15px 0;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background: var(--neutral);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.blog-card .post-image {
  height: 200px;
  overflow: hidden;
}

.blog-card .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .post-image img {
  transform: scale(1.05);
}

.blog-card .post-content {
  padding: 20px;
}

.post-category {
  display: inline-block;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  line-height: 1.4;
}

.post-excerpt {
  color: var(--text-dark);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.post-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 15px;
}

.read-more {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--primary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 4px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
  background: var(--secondary);
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .featured-post {
      flex-direction: column;
  }
  
  .featured-post .post-image {
      width: 100%;
  }
}

@media (max-width: 576px) {
  .blog-grid {
      grid-template-columns: 1fr;
  }
  
  .pagination {
      flex-wrap: wrap;
  }
}





/* ===== SINGLE BLOG POST STYLES ===== */
/* ===== BLOG POST HERO ===== */
.blog-hero {
  background: var(--primary);
  color: white;
  padding: 100px 0 60px;
  position: relative;
}

.blog-hero:after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(10,37,64,1), rgba(10,37,64,0));
  z-index: 1;
}

.blog-hero .container {
  position: relative;
  z-index: 2;
}

.blog-hero h1 {
  font-size: 2.5rem;
  max-width: 800px;
  margin: 20px auto;
  line-height: 1.3;
}

.breadcrumbs {
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumbs a {
  color: var(--highlight);
  text-decoration: none;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.hero-meta img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-meta span {
  display: inline-block;
}

.meta-divider {
  opacity: 0.5;
  margin: 0 10px;
}

.author-card img {
  width: 200px;
  height: auto;
}

.author-card .text-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-card .text-link:hover {
  color: var(--highlight);
  text-decoration: underline;
}

/* Article Content */
.article-content {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.featured-image {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.featured-image img {
  width: 100%;
  display: block;
}

.image-caption {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 10px;
  color: var(--text-dark);
  opacity: 0.7;
}

.article-image img {
  width: 700px;
  height: auto;
}
@media (max-width: 992px) {
  .article-image img {
    width: 300px;
    height: auto;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
}

.article-body {
  max-width: 800px;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.highlight-box {
  background: var(--gray-100);
  border-left: 4px solid var(--secondary);
  padding: 25px;
  margin: 30px 0;
  border-radius: 0 4px 4px 0;
}

/* Sharing */
.sharing {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sharing a {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.sharing a:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .content-grid {
      grid-template-columns: 1fr;
  }
  
  .blog-hero h1 {
      font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-meta {
      flex-wrap: wrap;
  }
  
  .meta-divider {
      display: none;
  }
  
  .hero-meta span {
      display: block;
      width: 100%;
  }
}





/* ===== FAQ PAGE STYLES ===== */
.faq-page .faq-intro {
  margin-bottom: 60px;
}

.faq-page .category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.faq-page .category-tab {
  background: var(--gray-200);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-page .category-tab:hover {
  background: var(--secondary);
  color: white;
}

.faq-page .category-tab.active {
  background: var(--primary);
  color: white;
}

.faq-page .faq-category {
  display: none;
}

.faq-page .faq-category.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.faq-page .category-title {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.faq-page .faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--gray-200);
}

.faq-page .faq-questions {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  position: relative;
}

.faq-page .faq-questions:hover {
  color: var(--secondary);
}

.faq-page .faq-questions.active {
  color: var(--secondary);
}

.faq-page .toggle-icon {
  font-size: 1.5rem;
  font-weight: 400;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.faq-page .faq-questions.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-page .faq-answers {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-page .faq-answers p {
  padding-bottom: 20px;
  line-height: 1.7;
}

.faq-page .faq-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.faq-page .faq-table th, 
.faq-page .faq-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.faq-page .faq-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.faq-page .faq-table tr:nth-child(even) {
  background: var(--gray-100);
}

.faq-page .faq-table tr:hover {
  background: rgba(12, 186, 186, 0.05);
}

/* Emergency CTA */
.faq-page .emergency-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #08223a 100%);
}

.faq-page .emergency-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 0 auto;
}

.faq-page .emergency-icon {
  flex: 0 0 100px;
}

.faq-page .emergency-icon img {
  width: 100%;
  height: auto;
}

.faq-page .emergency-content {
  flex: 1;
}

.faq-page .emergency-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.faq-page .emergency-content p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* Timeline */
.faq-page .timeline {
  position: relative;
  padding-left: 30px;
  margin: 25px 0;
}

.faq-page .timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary);
}

.faq-page .timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.faq-page .timeline-marker {
  position: absolute;
  left: -38px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--secondary);
}

.faq-page .timeline-content {
  padding: 15px 20px;
  background: var(--gray-100);
  border-radius: 6px;
  border-left: 3px solid var(--secondary);
}

.faq-page .timeline-content h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.faq-page .timeline-content p {
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .faq-page .category-tabs {
    justify-content: flex-start;
  }
  
  .faq-page .emergency-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .faq-page .emergency-icon {
    margin-bottom: -10px;
  }

  .faq-page .emergency-icon img {
    width: 120px !important; /* Force larger size */
    height: 120px !important;
  }
  
  .faq-page .faq-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .faq-page .category-tab {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .faq-page .faq-questions {
    font-size: 1rem;
    padding: 15px 0;
  }
  
  .faq-page .timeline {
    padding-left: 20px;
  }
  
  .faq-page .timeline-marker {
    left: -28px;
    width: 16px;
    height: 16px;
  }
}





/* ===== CONTACT PAGE STYLES ===== */
.contact-page .contact-section {
  background: var(--neutral);
  position: relative;
}

.contact-page .contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--highlight);
}

.contact-page .flex-container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.contact-page .contact-form-col {
  flex: 1;
  padding-right: 40px;
}

.contact-page .contact-info-col {
  flex: 1;
  position: sticky;
  top: 100px;
}

.contact-page .contact-info-card {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.contact-page .contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 1.5rem;
  text-align: center;
}

.contact-page .contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-page .contact-icon {
  flex: 0 0 40px;
  height: 40px;
  background: rgba(12, 186, 186, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page .contact-icon img {
  width: 20px;
  height: 20px;
}

.contact-page .contact-details h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-page .contact-details a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-page .contact-details a:hover {
  color: var(--primary);
}

.contact-page address {
  font-style: normal;
  line-height: 1.6;
}

.contact-page .office-hours {
  margin: 40px 0;
}

.contact-page .office-hours h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.office-hours .hours-list {
  list-style: none;
}

.office-hours .hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}

.office-hours .hours-list span:first-child {
  color: var(--text-dark);
}

.office-hours .hours-list span:last-child {
  font-weight: 500;
}

.contact-page .map-container {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-page .map-container iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Contact Form Styles */
.contact-page .contact-form {
  margin-top: 30px;
}

.contact-page .form-group {
  margin-bottom: 25px;
}

.contact-page .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.contact-page .form-group input,
.contact-page .form-group select,
.contact-page .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-page .form-group input:focus,
.contact-page .form-group select:focus,
.contact-page .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(12, 186, 186, 0.2);
}

.contact-page .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-page .error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.contact-page .form-group.error .error-message {
  display: block;
}

.contact-page .form-group.error input,
.contact-page .form-group.error select,
.contact-page .form-group.error textarea {
  border-color: #e74c3c;
}

.contact-page button[type="submit"] {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* Emergency Notice */
.contact-page .emergency-notice {
  background: linear-gradient(135deg, #0d3b66 0%, var(--primary) 100%);
  color: white;
  padding: 40px 0;
}

.contact-page .notice-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.contact-page .notice-icon {
  flex: 0 0 80px;
}

.contact-page .notice-icon img {
  width: 100%;
  height: auto;
}

.contact-page .notice-text h3 {
  color: var(--highlight);
  margin-bottom: 10px;
}

.contact-page .emergency-phone {
  display: inline-block;
  margin-top: 10px;
  color: var(--highlight);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-page .emergency-phone:hover {
  color: white;
}

/* Form Success Message */
.contact-page .form-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(46, 204, 113, 0.3);
  margin-top: 30px;
}

.contact-page .form-success h3 {
  color: #2ecc71;
  margin-bottom: 15px;
}

.contact-page .form-success p {
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-page .flex-container {
    flex-direction: column;
  }
  
  .contact-page .contact-form-col {
    padding-right: 0;
    width: 100%;
  }
  
  .contact-page .contact-info-col {
    position: static;
    width: 100%;
  }
  
  .contact-page .notice-content {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-page .notice-icon {
    margin-bottom: 20px;
  }

  .notice-icon img {
    width: 120px !important; /* Force larger size */
    height: 120px !important;
  }
}

@media (max-width: 576px) {
  .contact-page .contact-info-card {
    padding: 30px 20px;
  }
  
  .contact-page .contact-method {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-page .contact-icon {
    align-self: flex-start;
  }
  
  .office-hours .hours-list li {
    flex-direction: column;
    gap: 5px;
  }
}

/* Ensure contact page styles don't affect footer */
.site-footer .newsletter-form .cta-button,
.site-footer .newsletter-form input[type="email"] {
  all: unset;
  /* Reapply only necessary footer styles */
  font-family: inherit;
}

.site-footer .newsletter-form .cta-button {
  background: var(--highlight);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-footer .newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.5rem;
  border-bottom: 1px solid white;
  color: white;
}





/* ===== CONSULTATION PAGE STYLES ===== */
.consultation-page .cta-button {
  color: var(--primary) !important;
}


.consultation-page .consultation-form-section {
  background: var(--neutral);
  position: relative;
}

.consultation-page .consultation-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--highlight);
}

.consultation-page .flex-container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.consultation-page .form-column {
  flex: 1;
  padding-right: 40px;
}

.consultation-page .info-column {
  flex: 1;
  position: sticky;
  top: 100px;
}

/* Form Styles */
.consultation-page .consultation-form {
  margin-top: 30px;
}

.consultation-page fieldset {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
}

.consultation-page legend {
  font-weight: 600;
  color: var(--primary);
  padding: 0 10px;
  font-size: 1.1rem;
}

.consultation-page .form-row {
  display: flex;
  gap: 20px;
}

.consultation-page .form-row .form-group {
  flex: 1;
}

.consultation-page .form-group {
  margin-bottom: 20px;
}

.consultation-page .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.consultation-page .form-group input,
.consultation-page .form-group select,
.consultation-page .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.consultation-page .form-group input:focus,
.consultation-page .form-group select:focus,
.consultation-page .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(12, 186, 186, 0.2);
}

.consultation-page .form-group textarea {
  resize: vertical;
}

.consultation-page .radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consultation-page .radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.consultation-page .radio-option input {
  width: auto;
  margin: 0;
}

.consultation-page .error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.consultation-page .form-group.error .error-message {
  display: block;
}

.consultation-page .form-group.error input,
.consultation-page .form-group.error select,
.consultation-page .form-group.error textarea {
  border-color: #e74c3c;
}

.consultation-page .form-disclaimer {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin: 30px 0;
  line-height: 1.6;
}

.consultation-page .form-disclaimer a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.consultation-page .form-disclaimer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Info Card Styles */
.consultation-page .info-card {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  margin-bottom: 30px;
}

.consultation-page .info-card h3 {
  color: var(--primary);
  margin-bottom: 25px;
  font-size: 1.3rem;
  text-align: center;
}

.consultation-page .expectation-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.consultation-page .expectation-icon {
  flex: 0 0 40px;
  height: 40px;
  background: rgba(12, 186, 186, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-page .expectation-icon img {
  width: 20px;
  height: 20px;
}

.consultation-page .expectation-content h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.consultation-page .expectation-content p {
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 0.95rem;
}

.consultation-page .prep-card {
  background: var(--primary);
  color: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.consultation-page .prep-card h3 {
  color: var(--highlight);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.consultation-page .prep-list {
  list-style: none;
}

.consultation-page .prep-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.consultation-page .prep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--highlight);
  border-radius: 50%;
}

.consultation-page .emergency-notice {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: rgba(212, 180, 131, 0.1);
  border-radius: 8px;
  border: 1px solid var(--highlight);
}

.consultation-page .emergency-icon {
  flex: 0 0 40px;
  height: 40px;
  background: rgba(212, 180, 131, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-page .emergency-icon img {
  width: 20px;
  height: 20px;
}

.consultation-page .emergency-content h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.consultation-page .emergency-phone {
  display: inline-block;
  margin-top: 5px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.consultation-page .emergency-phone:hover {
  color: var(--secondary);
}

/* Process Section */
.consultation-page .process-section {
  padding: 80px 0;
  background: var(--gray-100);
  text-align: center;
}

.consultation-page .process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.consultation-page .process-step {
  background: var(--neutral);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.consultation-page .step-number {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.consultation-page .process-step h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.consultation-page .process-step p {
  color: var(--text-dark);
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .consultation-page .flex-container {
    flex-direction: column;
  }
  
  .consultation-page .form-column {
    padding-right: 0;
    width: 100%;
  }
  
  .consultation-page .info-column {
    position: static;
    width: 100%;
  }
  
  .consultation-page .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 576px) {
  .consultation-page fieldset {
    padding: 20px 15px;
  }
  
  .consultation-page .info-card,
  .consultation-page .prep-card {
    padding: 25px 20px;
  }
  
  .consultation-page .process-step {
    padding: 25px 20px;
  }
}

/* Ensure consultation page styles don't affect footer */
.site-footer .newsletter-form .cta-button,
.site-footer .newsletter-form input[type="email"] {
  all: unset;
  font-family: inherit;
}

.site-footer .newsletter-form .cta-button {
  background: var(--highlight);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-footer .newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.5rem;
  border-bottom: 1px solid white;
  color: white;
}


