/* Import Google Font - Outfit (Light, Regular, SemiBold, Bold) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors from Guidelines */
  --nav-navy: #262981;             /* Brand Navy Blue from Logo */
  --nav-teal: #0EA5E9;             /* Harmonious Ice Blue / Accent Blue (Growth, Wellbeing) */
  --nav-teal-dark: #0284C7;        /* Dark Ice Blue */
  --nav-teal-light: #F0F9FF;       /* Soft Ice Blue / Cool Grey Tint */
  --nav-red: #FD2927;              /* Brand Red from Logo (Subtle Accents) */
  --nav-red-hover: #E02422;        /* Darker Red Hover */
  --nav-dark-text: #374151;        /* Muted Text Dark Gray (WCAG compliant) */
  --nav-dark-heading: #111827;     /* Clean Black/Gray for headings */
  --nav-light-bg: #F1F5F9;         /* Cool Slate Grey Background */
  --nav-white: #FFFFFF;
  
  --font-primary: 'Outfit', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: var(--font-primary);
  color: var(--nav-dark-text);
  background-color: var(--nav-white);
  line-height: 1.6;
  font-size: 0.98rem;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--nav-dark-heading);
  font-weight: 700;
}

/* Colors Utilities */
.text-navy { color: var(--nav-navy) !important; }
.text-teal { color: var(--nav-teal) !important; }
.text-red { color: var(--nav-red) !important; }
.bg-navy { background-color: var(--nav-navy) !important; }
.bg-teal { background-color: var(--nav-teal) !important; }
.bg-red { background-color: var(--nav-red) !important; }
.bg-teal-light { background-color: var(--nav-teal-light) !important; }
.bg-light-custom { background-color: var(--nav-light-bg) !important; }

/* Sticky Navbar Styling */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  padding: 15px 0;
  border-top: 4px solid var(--nav-red); /* Added subtle brand red highlight bar */
}
.navbar-custom.scrolled {
  padding: 10px 0;
}
.navbar-custom .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--nav-navy) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-custom .navbar-brand .logo-icon {
  color: var(--nav-teal);
  font-size: 1.8rem;
}
.navbar-custom .navbar-brand img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}
.navbar-custom.scrolled .navbar-brand img {
  height: 42px;
}
.navbar-custom .nav-link {
  color: var(--nav-dark-heading) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--nav-teal) !important;
  background-color: var(--nav-teal-light);
}

/* Buttons */
.btn-nav-navy {
  background-color: var(--nav-navy);
  color: var(--nav-white);
  border: 2px solid var(--nav-navy);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}
.btn-nav-navy:hover {
  background-color: #1b1d61;
  color: var(--nav-white);
  border-color: #1b1d61;
}
.btn-nav-teal {
  background-color: var(--nav-teal);
  color: var(--nav-white);
  border: 2px solid var(--nav-teal);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}
.btn-nav-teal:hover {
  background-color: var(--nav-teal-dark);
  color: var(--nav-white);
  border-color: var(--nav-teal-dark);
}
.btn-nav-outline {
  background-color: transparent;
  color: var(--nav-navy);
  border: 2px solid var(--nav-navy);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}
.btn-nav-outline:hover {
  background-color: var(--nav-navy);
  color: var(--nav-white);
}
.btn-nav-outline-teal {
  background-color: transparent;
  color: var(--nav-teal);
  border: 2px solid var(--nav-teal);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}
.btn-nav-outline-teal:hover {
  background-color: var(--nav-teal);
  color: var(--nav-white);
}

/* Hero Section */
.hero-section {
  background-color: var(--nav-navy);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 140px 0;
}
.hero-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(253, 41, 39, 0.3) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  z-index: 1;
}
.hero-curve-mask {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--nav-white);
  clip-path: ellipse(70% 120px at 50% 120px);
  z-index: 2;
}
@media (max-width: 767.98px) {
  .hero-section {
    padding-bottom: 150px !important;
  }
  .hero-curve-mask {
    height: 75px !important;
    clip-path: ellipse(80% 75px at 50% 75px) !important;
  }
}
.z-index-3 {
  z-index: 3;
}
.relative {
  position: relative;
}

/* Hero Image Container */
.hero-image-wrapper {
  position: relative;
  z-index: 3;
}
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--nav-white);
  color: var(--nav-navy);
  padding: 15px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--nav-navy) 0%, #1b1d61 100%);
  color: var(--nav-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-header-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(253, 41, 39, 0.2) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

/* Info Cards & Features Grid */
.feature-card {
  background: var(--nav-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.2);
}
.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.6rem;
}

/* Call to Action Bar & Overlap Layout */
.cta-section {
  position: relative;
  z-index: 10;
  margin-bottom: -80px;
}
.cta-bar {
  background: linear-gradient(135deg, var(--nav-navy) 0%, #151752 100%);
  color: var(--nav-white);
  border-radius: 24px;
  padding: 60px 50px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(15, 30, 54, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.border-end-lg {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 991.98px) {
  .border-end-lg {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 30px;
  }
}

/* Outcomes and Support list styling */
.outcome-card {
  background-color: var(--nav-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-smooth);
  height: 100%;
}
.outcome-card:hover {
  border-color: var(--nav-teal);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.06);
  transform: translateY(-3px);
}
.outcome-icon {
  font-size: 1.8rem;
  color: var(--nav-teal);
  margin-bottom: 15px;
}

/* Process steps */
.process-step {
  position: relative;
  background-color: var(--nav-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  transition: var(--transition-smooth);
}
.process-step:hover {
  border-color: var(--nav-teal);
  transform: translateY(-3px);
}
.process-badge {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--nav-red);
  color: var(--nav-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(253, 41, 39, 0.3);
}

/* Forms styling */
.form-control-custom {
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.98rem;
  transition: var(--transition-smooth);
}
.form-control-custom:focus {
  border-color: var(--nav-teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
  outline: none;
}
.form-label-custom {
  font-weight: 600;
  color: var(--nav-dark-heading);
  margin-bottom: 8px;
}

/* Footer styling */
.footer-custom {
  background-color: var(--nav-light-bg);
  color: var(--nav-dark-text);
  padding: 140px 0 30px 0;
  font-size: 0.98rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-custom h5 {
  color: var(--nav-navy);
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-custom a {
  color: var(--nav-dark-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.footer-custom a:hover {
  color: var(--nav-teal);
  padding-left: 5px;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--nav-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: var(--nav-white) !important;
  transition: var(--transition-smooth);
}
.footer-social-link:hover {
  background-color: var(--nav-teal);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 30px;
  margin-top: 50px;
  color: var(--nav-dark-text);
}



/* Focus Indicator Ring */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #f59e0b !important;
  outline-offset: 2px !important;
}

.text-muted {
  color: #4b5563 !important;
}



/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f2937;
  color: var(--nav-white);
  padding: 20px 0;
  z-index: 1060;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: var(--transition-smooth);
}
.cookie-banner.show {
  transform: translateY(0);
}

/* Mobile screen edge padding */
@media (max-width: 767.98px) {
  .container, 
  .container-fluid {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* Key Stats */
.stat-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  background: var(--nav-white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}
.stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, 0.2);
}
.stat-box h2 {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-box p {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1.3;
}
@media (max-width: 575.98px) {
  .stat-box h2 {
    font-size: 2rem !important;
    min-height: 38px;
  }
  .stat-box p {
    font-size: 0.85rem;
    min-height: 36px;
  }
}

/* Gallery Styles */
.gallery-card {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition-smooth);
}
.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 30, 54, 0.85));
  padding: 25px 20px 20px 20px;
  color: var(--nav-white);
  opacity: 0;
  transition: var(--transition-smooth);
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h5 {
  color: var(--nav-white);
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 600;
}
.gallery-overlay p {
  font-size: 0.85rem;
  margin-bottom: 0;
  opacity: 0.9;
}
