/* ==========================================================================
   THENUTRITHRIVE WELLNESS — PREMIUM DESIGN SYSTEM & STYLESHEET
   Brand Colors: Deep Navy (#102A43), Royal Blue (#2563EB), Soft Sky (#EAF4FF),
                 Warm Ivory (#FAF8F3), Coral Accent (#FF7A59), Charcoal (#17202A)
   Typography: Plus Jakarta Sans (Headings), Inter (Body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & COLOR PALETTE
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --navy-deep: #102A43;
  --navy-light: #1E3A5F;
  --navy-dark: #0B1D2F;
  --blue-royal: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-soft: #DBEAFE;
  --sky-soft: #EAF4FF;
  --sky-light: #F4F9FF;
  --ivory-warm: #FAF8F3;
  --coral-accent: #FF7A59;
  --coral-hover: #E05B3A;
  --coral-soft: #FFEFEA;
  --charcoal: #17202A;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --white: #FFFFFF;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(16, 42, 67, 0.04);
  --shadow-md: 0 12px 32px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 24px 48px rgba(16, 42, 67, 0.12);
  --shadow-glow-blue: 0 12px 30px rgba(37, 99, 235, 0.25);
  --shadow-glow-coral: 0 12px 30px rgba(255, 122, 89, 0.25);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-navy-bg: rgba(16, 42, 67, 0.85);

  /* Border Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 50px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
  font-family: var(--font-heading);
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

/* Section Containers */
section {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

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

.bg-ivory {
  background-color: var(--ivory-warm);
}

.bg-sky {
  background-color: var(--sky-soft);
}

.bg-navy {
  background-color: var(--navy-deep);
  color: var(--white);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6 {
  color: var(--white);
}

.bg-navy p {
  color: #CBD5E1;
}

/* Section Header Component */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--sky-soft);
  color: var(--blue-royal);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-tag.tag-coral {
  background-color: var(--coral-soft);
  color: var(--coral-accent);
  border-color: rgba(255, 122, 89, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

@media (min-width: 992px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px auto;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn-primary-custom {
  background-color: var(--blue-royal);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--blue-royal);
  box-shadow: var(--shadow-glow-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  background-color: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}

.btn-coral-custom {
  background-color: var(--coral-accent);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--coral-accent);
  box-shadow: var(--shadow-glow-coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-coral-custom:hover {
  background-color: var(--coral-hover);
  border-color: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 122, 89, 0.35);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--navy-deep) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  border-color: var(--blue-royal);
  color: var(--blue-royal) !important;
  background-color: var(--sky-soft);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy-deep) !important;
  border-color: var(--white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar-custom {
  padding: 24px 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  width: 100%;
}

.navbar-custom.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
}

.navbar-brand-custom {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.03em;
}

.brand-dot {
  width: 9px;
  height: 9px;
  background-color: var(--coral-accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--coral-accent);
}

.nav-link-custom {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-deep) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--blue-royal) !important;
  background-color: var(--sky-soft);
}

/* Mobile Toggler */
.navbar-toggler-custom {
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--sky-soft);
  color: var(--navy-deep);
  font-size: 1.25rem;
}

.navbar-toggler-custom:focus {
  box-shadow: none;
}

/* Mobile Navbar Overlay Drawer Styling */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
  }

  .navbar-nav {
    gap: 6px;
    margin-bottom: 16px !important;
  }

  .nav-link-custom {
    padding: 10px 16px !important;
  }

  .btn-book-nav {
    width: 100%;
    margin-top: 10px;
  }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 140px 0 80px 0;
  background: radial-gradient(circle at 10% 20%, rgba(234, 244, 255, 0.8) 0%, rgba(250, 248, 243, 0.5) 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-glow-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-glow-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-headline {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--navy-deep);
}

@media (min-width: 992px) {
  .hero-headline {
    font-size: 3.8rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-royal) 0%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 24px;
  max-width: 100%;
}

.trust-badge i {
  color: var(--coral-accent);
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-img-main {
  width: 100%;
  height: 480px;
  object-fit: contain;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

/* Floating Glass Stat Card */
.glass-stat-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 40px);
  z-index: 3;
}

.stat-icon-circle {
  width: 44px;
  height: 44px;
  background: var(--sky-soft);
  color: var(--blue-royal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.glass-stat-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1;
}

.glass-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Top Floating Pill Badge */
.floating-top-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--navy-deep);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  max-width: calc(100% - 40px);
  z-index: 3;
}

/* --------------------------------------------------------------------------
   6. TRUST & STATS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 50px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stat-card-horizontal {
  text-align: center;
  padding: 16px 10px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 8px;
}

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

.stat-stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   7. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-image-wrapper {
  position: relative;
  width: 100%;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.about-accent-line {
  position: absolute;
  top: 30px;
  left: 0px;
  width: 6px;
  height: 100px;
  background: linear-gradient(to bottom, var(--coral-accent), var(--blue-royal));
  border-radius: var(--radius-pill);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.credential-icon {
  width: 26px;
  height: 26px;
  background-color: var(--sky-soft);
  color: var(--blue-royal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.credential-text {
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   8. EXPERTISE SECTION
   -------------------------------------------------------------------------- */
.expertise-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-royal);
  box-shadow: var(--shadow-md);
}

.expertise-icon-wrapper {
  width: 58px;
  height: 58px;
  background-color: var(--sky-soft);
  color: var(--blue-royal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.expertise-card:hover .expertise-icon-wrapper {
  background-color: var(--blue-royal);
  color: var(--white);
  box-shadow: var(--shadow-glow-blue);
}

.expertise-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy-deep);
}

.expertise-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.expertise-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--blue-royal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.expertise-link i {
  transition: transform 0.25s ease;
}

.expertise-card:hover .expertise-link i {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   9. FEATURED PROGRAM CARDS
   -------------------------------------------------------------------------- */
.program-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

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

.program-card.featured {
  border: 2px solid var(--blue-royal);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.program-badge-popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--coral-accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow-coral);
}

.program-duration {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-royal);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.program-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.program-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.program-price {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.program-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.program-features li i {
  color: var(--blue-royal);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   10. WELLNESS TOOLS
   -------------------------------------------------------------------------- */
.tools-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.tools-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tools-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--sky-soft);
  color: var(--blue-royal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.tools-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.form-label-custom {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.form-control-custom, .form-select-custom {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.925rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--sky-light);
  color: var(--navy-deep);
  transition: var(--transition-fast);
}

.form-control-custom:focus, .form-select-custom:focus {
  outline: none;
  border-color: var(--blue-royal);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.calc-result-panel {
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.calc-result-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  margin-bottom: 6px;
}

.calc-result-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.calc-result-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.bmi-meter-bg {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}

.bmi-meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3B82F6, #10B981, #F59E0B, #EF4444);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.disclaimer-box {
  background-color: var(--ivory-warm);
  border: 1px dashed rgba(16, 42, 67, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.disclaimer-box i {
  font-size: 1.2rem;
  color: var(--coral-accent);
}

/* --------------------------------------------------------------------------
   11. HOW IT WORKS
   -------------------------------------------------------------------------- */
.step-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  position: relative;
  height: 100%;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-royal);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--sky-soft);
  -webkit-text-stroke: 2px var(--blue-royal);
  margin-bottom: 12px;
  line-height: 1;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin: 0;
}

@media (min-width: 992px) {
  .step-col {
    position: relative;
  }
  
  .step-col:not(:last-child)::after {
    content: "\F138";
    font-family: "bootstrap-icons";
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--blue-royal);
    opacity: 0.4;
    z-index: 2;
  }
}

/* --------------------------------------------------------------------------
   12. RESULTS / TESTIMONIALS CAROUSEL
   -------------------------------------------------------------------------- */
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-royal);
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy-deep);
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0;
}

.testimonial-goal {
  font-size: 0.825rem;
  color: var(--blue-royal);
  font-weight: 600;
}

.carousel-indicators-custom [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--blue-royal);
  opacity: 0.3;
}

.carousel-indicators-custom .active {
  opacity: 1;
  width: 24px;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   13. INSIGHTS / BLOG SECTION
   -------------------------------------------------------------------------- */
.article-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-royal);
}

.article-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.article-card:hover .article-img {
  transform: scale(1.06);
}

.article-category-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background-color: rgba(16, 42, 67, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.article-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy-deep);
  line-height: 1.35;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.article-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-royal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   14. CALL TO ACTION BANNER & CONTACT SECTION
   -------------------------------------------------------------------------- */
.cta-banner {
  background: radial-gradient(circle at 50% 0%, #1E3A5F 0%, #102A43 70%);
  border-radius: var(--radius-xl);
  padding: 50px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-glow-1 {
  position: absolute;
  top: -100px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.cta-banner-glow-2 {
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

/* Contact Info Card */
.contact-info-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--sky-soft);
  color: var(--blue-royal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--sky-soft);
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-right: 8px;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--blue-royal);
  color: var(--white);
  transform: translateY(-2px);
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
}

.form-success-alert {
  display: none;
  background-color: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. FOOTER (HIGH CONTRAST TEXT & REFINED LAYOUT)
   -------------------------------------------------------------------------- */
.footer-main {
  background-color: var(--navy-dark);
  color: #E2E8F0;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-main p,
.footer-main .text-muted {
  color: #CBD5E1 !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #CBD5E1 !important;
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

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

.footer-address-text {
  color: #CBD5E1 !important;
  font-size: 0.925rem;
  line-height: 1.6;
}

.footer-address-text strong {
  color: var(--white) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 48px;
  font-size: 0.875rem;
  color: #94A3B8;
}

.footer-bottom a {
  color: #CBD5E1 !important;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--white) !important;
}

/* --------------------------------------------------------------------------
   16. MOBILE & TABLET MEDIA QUERIES (FULL RESPONSIVENESS)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-section {
    padding: 110px 0 60px 0;
  }

  .hero-headline {
    font-size: 2.3rem;
  }

  .hero-img-main {
    height: 360px;
  }

  .glass-stat-card {
    left: 10px;
    bottom: 10px;
    padding: 12px 14px;
    max-width: calc(100% - 20px);
  }

  .floating-top-badge {
    top: 10px;
    right: 10px;
    padding: 8px 14px;
    font-size: 0.75rem;
    max-width: calc(100% - 20px);
  }

  .about-img {
    height: 360px;
  }

  .about-accent-line {
    display: none;
  }

  .cta-banner {
    padding: 40px 16px;
  }

  .testimonial-card {
    padding: 28px 18px;
  }
}

/* --------------------------------------------------------------------------
   17. ANIMATION UTILITIES
   -------------------------------------------------------------------------- */
.reveal-element {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-reveal-enabled .reveal-element {
  opacity: 0;
  transform: translateY(30px);
}

body.js-reveal-enabled .reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-element {
    opacity: 1 !important;
    transform: none !important;
  }
}
