/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Color Palette (HSL Tailored Colors) */
  --primary: hsl(175, 77%, 26%);
  /* Teal / Dark Green */
  --primary-hover: #0b514b;
  --primary-light: hsl(175, 77%, 95%);
  --primary-glow: hsla(175, 77%, 26%, 0.15);

  --secondary-mint: hsl(168, 76%, 96%);
  /* Mint Secondary Background */
  --secondary-blue: hsl(190, 80%, 97%);
  /* Light Blue Secondary Background */

  --accent: hsl(42, 95%, 50%);
  /* Golden Accent (Yellowish Gold) */
  --accent-hover: hsl(42, 95%, 42%);
  --accent-glow: hsla(42, 95%, 50%, 0.2);

  --white: hsl(0, 0%, 100%);
  --text-dark: hsl(210, 24%, 16%);
  /* Deep Slate for Primary Text */
  --text-muted: hsl(210, 12%, 42%);
  /* Lighter Slate for Muted Text */
  --text-light: hsl(0, 0%, 96%);

  --border-color: hsl(210, 16%, 93%);
  --error-color: hsl(0, 79%, 48%);
  --success-color: hsl(142, 76%, 36%);

  /* Fonts */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Shadows (Clean & Subtle) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(15, 118, 110, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 118, 110, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 32px -8px rgba(15, 118, 110, 0.18), 0 8px 16px -4px rgba(0, 0, 0, 0.05);

  /* Layout Constants */
  --header-height: 84px;
  --header-height-shrunk: 64px;
  --max-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-secondary {
  background-color: var(--secondary-mint);
  color: var(--primary);
  border: 1px solid rgba(15, 118, 110, 0.15);
}

.btn-secondary:hover {
  background-color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}

.btn-gold:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--border-radius-md);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Headings */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

/* Section Header styling */
.section-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--secondary-mint);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-desc {
  max-width: 650px;
  color: var(--text-muted);
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.6;
}

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

.section-header {
  margin-bottom: 56px;
}

/* Scroll reveal base classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: height var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);

  /* Glassmorphism by default */
  background-color: hsla(0, 0%, 100%, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(15, 118, 110, 0.05);
}

/* Sticky Shrinking Native Scroll Animation (Where supported) */
@supports (animation-timeline: scroll()) {
  @keyframes shrinkHeader {
    to {
      height: var(--header-height-shrunk);
      background-color: hsla(0, 0%, 100%, 0.98);
      box-shadow: var(--shadow-md);
      border-bottom-color: rgba(15, 118, 110, 0.1);
    }
  }

  .main-header {
    animation: shrinkHeader linear both;
    animation-timeline: scroll();
    animation-range: 0px 120px;
  }
}

/* Shrunk Class Fallback (For unsupporting browsers or script trigger) */
.main-header.shrunk {
  height: var(--header-height-shrunk);
  background-color: hsla(0, 0%, 100%, 0.98);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(15, 118, 110, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(11, 81, 75, 0.15));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.brand-subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-top: 2px;
}

/* Desktop Navigation Menu Links */
.nav-desktop {
  display: none;
  /* Hidden on mobile */
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta .btn-primary {
  display: none;
  /* Hide on mobile/tablet */
}

/* Mobile Nav Hamburg Menu Button */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  z-index: 1100;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--secondary-blue);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.nav-mobile-overlay.active {
  transform: translateY(0);
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 40px;
}

.nav-mobile-links a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-mobile-links a:hover {
  color: var(--primary);
}

.nav-mobile-links .btn-primary {
  display: inline-flex;
  margin-top: 10px;
  width: 80%;
  max-width: 300px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--secondary-blue) 100%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.hero-badge .badge-icon {
  font-size: 16px;
}

.hero-badge .badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-actions .btn {
  width: 100%;
}

/* Trust checklist badge list in Hero */
.hero-trust-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(15, 118, 110, 0.05);
}

.trust-check {
  color: var(--success-color);
  font-weight: 800;
}

.trust-text {
  color: var(--text-dark);
}

/* Visual Image block on right */
.hero-visual {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  border: 4px solid var(--white);
  background-color: var(--secondary-blue);
}

.decor-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.6;
}

.decor-gold {
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background-color: var(--accent);
}

.decor-mint {
  top: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  background-color: var(--primary);
}

.trust-floating-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.floating-icon {
  font-size: 24px;
}

.floating-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.floating-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Background elements */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
}

.hero-bg-shapes .shape-1 {
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background-color: hsla(175, 77%, 26%, 0.03);
}

.hero-bg-shapes .shape-2 {
  bottom: -20%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background-color: hsla(42, 95%, 50%, 0.02);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.about-img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  object-fit: cover;
  background-color: var(--secondary-mint);
  position: relative;
  z-index: 5;
}

.decor-border {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--border-radius-lg);
  z-index: 2;
  pointer-events: none;
}

.about-content {
  position: relative;
}

.about-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-features li {
  display: flex;
  gap: 16px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--secondary-mint);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-detail h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-detail p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background-color: var(--secondary-mint);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background-color: var(--white);
  padding: 36px 28px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 118, 110, 0.05);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

/* Subtle top line indicator on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
}

.service-icon {
  width: 26px;
  height: 26px;
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card .service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-us-section {
  padding: 100px 0;
  background-color: var(--white);
}

.why-choose-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.why-choose-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reason-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.reason-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--secondary-blue);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.reason-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.reason-text p {
  font-size: 14px;
  color: var(--text-muted);
}

.why-choose-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.why-choose-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.why-choose-img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  object-fit: cover;
  background-color: var(--secondary-blue);
  position: relative;
  z-index: 5;
}

.decor-gold-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--border-radius-lg);
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  padding: 64px 0;
  background-color: var(--primary);
  color: var(--white);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon-outer {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 26px;
}

.stat-info .stat-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-info .stat-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   EDUCATIONAL TIPS SECTION
   ========================================================================== */
.edu-section {
  padding: 100px 0;
  background-color: var(--secondary-blue);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.tip-card {
  background-color: var(--white);
  padding: 36px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform var(--transition-normal);
}

.tip-card:hover {
  transform: translateY(-6px);
}

.tip-icon-outer {
  font-size: 36px;
  margin-bottom: 20px;
  display: inline-block;
}

.tip-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.tip-card .tip-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
}

.faq-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Styling native <details> disclosures */
.faq-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-card[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Custom summary outline removal and layout */
.faq-question {
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
  /* Hide default triangle on Chrome/Safari */
}

.faq-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  transition: transform var(--transition-normal), color var(--transition-normal);
  flex-shrink: 0;
}

.faq-card[open] .faq-arrow {
  transform: rotate(180deg);
  background-color: var(--accent);
  color: var(--text-dark);
}

.faq-answer {
  padding: 0 28px 24px 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid transparent;
}

.faq-card[open] .faq-answer {
  border-top-color: var(--border-color);
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   CONTACT / APPOINTMENT SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--secondary-mint);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.contact-form-side {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Premium Form Input Fields */
.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-group label .required {
  color: var(--error-color);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Custom error message styles */
.form-error {
  display: none;
  font-size: 12px;
  color: var(--error-color);
  font-weight: 600;
  margin-top: 2px;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--error-color);
  background-color: hsla(0, 79%, 48%, 0.02);
}

.form-group.invalid .form-error {
  display: block;
}

/* Contact Info Details side */
.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.contact-details h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-details p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

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

/* Modern Business Hours Card */
.hours-card {
  background-color: var(--white);
  padding: 36px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.hours-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  border-bottom: 2px solid var(--secondary-mint);
  padding-bottom: 12px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}

.hours-list .day {
  color: var(--text-dark);
  font-weight: 600;
}

.hours-list .time {
  color: var(--text-muted);
}

/* Styling warning for Wednesday hours */
.wednesday-warning {
  border: 1.5px dashed var(--accent);
  background-color: var(--accent-glow);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
}

.verify-label {
  font-weight: 700;
  color: var(--accent-hover) !important;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.hours-note {
  font-size: 12px;
  color: var(--accent-hover);
  font-weight: 600;
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */
.location-section {
  padding: 100px 0;
  background-color: var(--white);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 4px solid var(--white);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.cta-final-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(175, 77%, 18%) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-final-container {
  position: relative;
  z-index: 5;
  text-align: center;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta-actions .btn {
  width: 100%;
  max-width: 260px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
  background-color: hsl(175, 77%, 12%);
  /* Dark teal */
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-logo .logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact {
  font-size: 14px;
}

.footer-address {
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-url a,
.footer-phone a {
  color: var(--white);
  font-weight: 600;
}

.footer-url a:hover,
.footer-phone a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  font-size: 12px;
}

.dev-tag {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   MODAL / CONFIRMATION DIALOG STYLING
   ========================================================================== */
.success-dialog {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  margin: auto;
  z-index: 2000;
  background-color: var(--white);
  text-align: center;
  position: fixed;
  inset: 0;
}

.success-dialog::backdrop {
  background-color: rgba(15, 118, 110, 0.4);
  backdrop-filter: blur(8px);
}

.dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.success-check-outer {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--success-color);
  color: var(--white);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.dialog-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.dialog-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.summary-bold {
  color: var(--text-dark);
  font-weight: 700;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Small Devices (Landscape / Tablet) - 576px and up */
@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
  }

  .cta-actions {
    flex-direction: row;
  }
}

/* Medium Devices (Tablets) - 768px and up */
@media (min-width: 768px) {

  /* Layout adjustments */
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .about-container {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .why-choose-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .contact-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-container {
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr;
    gap: 36px;
  }

  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Large Devices (Desktops) - 992px and up */
@media (min-width: 992px) {

  /* Show desktop header details */
  .nav-desktop {
    display: block;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .header-cta .btn-primary {
    display: inline-flex;
  }

  /* Hero typography and layout spacing */
  .hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 120px;
  }

  .hero-container {
    gap: 72px;
  }

  .about-container {
    gap: 72px;
  }

  .why-choose-container {
    gap: 72px;
  }

  /* Reverse ordering for visuals if needed */
  .about-visual {
    order: 0;
  }

  .about-content {
    order: 1;
  }
}

/* Extra Large Devices (Large Desktop) - 1200px and up */
@media (min-width: 1200px) {
  .hero-container {
    gap: 96px;
  }

  .about-container {
    gap: 96px;
  }

  .why-choose-container {
    gap: 96px;
  }
}

/* ==========================================================================
   SUBPAGE ARCHITECTURE (About Us, Contact Us, Privacy, Disclaimer, Terms)
   ========================================================================== */

/* Page Hero Banner */
.page-hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 50px;
  background: linear-gradient(135deg, hsl(175, 77%, 18%) 0%, hsl(175, 77%, 26%) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsla(42, 95%, 50%, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: 16px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.8);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: hsla(0, 0%, 100%, 0.9);
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: hsla(0, 0%, 100%, 0.5);
}

.breadcrumb-item.active {
  color: var(--accent);
  font-weight: 500;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--white);
}

.page-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: hsla(0, 0%, 100%, 0.9);
  max-width: 750px;
  line-height: 1.6;
}

.hero-meta-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 0.85rem;
  color: hsla(0, 0%, 100%, 0.8);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Legal / Editorial Pages Layout (Privacy Policy, Disclaimer, Terms) */
.legal-page-section {
  padding: 60px 0 90px;
  background-color: hsl(210, 20%, 98%);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .legal-grid {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

/* Sticky Legal Sidebar */
.legal-sidebar {
  position: static;
}

@media (min-width: 992px) {
  .legal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

.legal-toc-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.legal-toc-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

.legal-toc-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  padding: 4px 0;
  transition: all var(--transition-fast);
}

.legal-toc-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
  font-weight: 500;
}

.sidebar-contact-card {
  margin-top: 24px;
  background: var(--secondary-mint);
  border: 1px solid hsla(175, 77%, 26%, 0.15);
  border-radius: var(--border-radius-md);
  padding: 20px;
}

.sidebar-contact-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.sidebar-contact-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Legal Content Body */
.legal-content-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .legal-content-card {
    padding: 48px 44px;
  }
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: hsl(210, 20%, 25%);
  line-height: 1.75;
  font-size: 0.98rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: hsl(210, 20%, 25%);
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* AdSense Highlight Notice Boxes */
.callout-box {
  background: hsla(175, 77%, 26%, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  padding: 18px 20px;
  margin: 24px 0;
}

.callout-box.warning {
  background: hsla(42, 95%, 50%, 0.08);
  border-left-color: var(--accent);
}

.callout-box.danger {
  background: hsla(0, 79%, 48%, 0.06);
  border-left-color: var(--error-color);
}

.callout-box h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.legal-table th {
  background: var(--secondary-mint);
  color: var(--primary);
  font-weight: 600;
}

/* Contact Page Styles */
.contact-page-section {
  padding: 60px 0 90px;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-card-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-mint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card-text h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.contact-card-text p,
.contact-card-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-card-text a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 40px 36px;
  }
}

.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-form-card .form-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* About Page Specific Components */
.about-stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 16px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

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

.about-deep-section {
  padding: 70px 0;
}

.about-deep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-deep-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.about-deep-img-wrap {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-deep-img {
  width: 100%;
  height: auto;
  display: block;
}

.values-section {
  background: hsl(210, 20%, 98%);
  padding: 70px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

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

.value-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.value-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.value-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.value-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.doctor-profile-section {
  padding: 70px 0;
}

.doctor-card-horizontal {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 850px) {
  .doctor-card-horizontal {
    grid-template-columns: 280px 1fr;
    align-items: center;
  }
}

.doctor-photo-wrap {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.doctor-photo-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.doctor-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-degree {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

.doctor-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.doctor-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

@media (min-width: 600px) {
  .doctor-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

.doctor-highlights li {
  font-size: 0.9rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-highlights li span {
  color: var(--primary);
  font-weight: bold;
}