:root {
  --dark-primary: #0C2455;
  --primary: #2561D8;
  --text-dark: #111;
  --text-muted: #555;
  --bg-light: #f9fbff;
}

/* General */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  background-color: #fff;
  color: var(--text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

.hero,
.hero p,
.hero a,
.hero-content p {
  font-family: 'Inter', sans-serif !important;
}
.section-container {
  max-width: 1300px;  
  margin: 0 auto;
  padding: 0;
}

h1, h2, h3, h4, h5, h6,
.gap-title,
.proven-title,
.how-title,
.wbd-title,
.services-title,
.get-started-title {
  font-family: 'Albert Sans', sans-serif !important;
  color: #191817;
}

h1, h2, h3, .fw-semibold {
  font-weight: 300;
}
p, li {
  font-weight: 400;
}


/* --- NAVBAR --- */
nav {
  z-index: 10;
  background: var(--dark-primary) !important;
  backdrop-filter: blur(8px);
}

.navbar-brand img {
  max-height: 48px;
  transition: transform 0.2s ease;
}
.navbar-brand img:hover {
  transform: scale(1.05);
}

/* White links on blue background */
.nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #e2e6ea !important; /* subtle hover contrast */
}

/* --- NAVBAR COLOR CHANGE ON SCROLL --- */
.navbar.scrolled {
  background: #f9fbff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled .nav-link {
  color: var(--text-dark) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--dark-primary) !important;
}

.navbar.scrolled .btn-outline-primary {
  border-color: var(--dark-primary);
  color: var(--dark-primary);
}

.navbar.scrolled .btn-outline-primary:hover {
  background: var(--dark-primary);
  color: #fff;
}

.navbar.scrolled .navbar-brand img {
  filter: none; /* ensures logo color stays correct if transparent */
}

.navbar .logo-dark {
  display: none;
}

.navbar .logo-light {
  display: inline;
}

.navbar.scrolled .logo-light {
  display: none;
}

.navbar.scrolled .logo-dark {
  display: inline;
}

/* --- BUTTONS --- */
.btn {
  transition: all 0.2s ease;
  font-weight: 500;
  border-radius: 25px;
  padding: 10px 24px;
}

/* Primary (used on blue background — white fill, blue text) */
.btn-primary {
  background-color: #fff;
  color: var(--dark-primary);
  border: none;
}

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

/* Outline (used on blue background — white border, white text) */
.btn-outline-primary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

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

.btn-light-blue {
  color: #3B7CFD !important;
}
.btn-light-blue:hover {
  color: #1f5de3 !important; 
}

#how-we-help .btn-outline-primary {
  border-color: var(--dark-primary);
  color: var(--dark-primary);
}

#how-we-help .btn-outline-primary:hover {
  background: var(--dark-primary);
  color: #fff;
}

/* ================================
   HERO SECTION
===================================*/
.hero {
  background: var(--dark-primary);
  color: #fff;
  padding-bottom: 6rem !important;
  padding: 8rem 1rem 3rem;
  position: relative;
  z-index: 0;
  overflow: hidden; 
}

/* Add the "K" image background on the right side */
/* Hero background image */
.hero::after {
  content: none !important;  /* Remove the K image completely */
}

.hero > * {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-family: 'Albert Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 2.5rem;
  color: #D4F0FC;
  text-align: left;
  max-width: 1000px;
  white-space: normal;
  word-break: keep-all;
}

/* --- HERO SPIRAL (Capacity Building Visual) --- */
.hero-spiral {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: center; /* horizontally center */
  align-items: center;     /* vertically center base */
  overflow: visible;       /* allow large spirals */
}


/* Each ring represents a maturity layer */
.hero-spiral span {
  position: absolute;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform-origin: center;
  animation: slow-rotate 50s linear infinite;
}

/* Spiral sizing & placement */
.hero-spiral span:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 80s;
}

.hero-spiral span:nth-child(2) {
  width: 450px;
  height: 450px;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 120s;
}

.hero-spiral span:nth-child(3) {
  width: 600px;
  height: 600px;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.8;
  animation-duration: 150s;
}

.hero-spiral span:nth-child(4) {
  width: 850px;
  height: 850px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
  animation-duration: 180s;
}

.hero-spiral span:nth-child(5) {
  width: 1100px;
  height: 1100px;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
  animation-duration: 220s;
}

/* Subtle rotation = learning over time */
@keyframes slow-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile tuning */
@media (max-width: 768px) {
  .hero-spiral span:nth-child(3),
  .hero-spiral span:nth-child(4),
  .hero-spiral span:nth-child(5) {
    display: none; /* reduce clutter on small screens */
  }

  .hero-spiral span {
    border-width: 1px;
  }
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
    .hero::after {
    content: none !important;  /* Remove the K image completely */
    }

  /* Slightly darken background for better contrast with text */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
    pointer-events: none;
  }

  .hero > .container {
    position: relative;
    z-index: 3;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 42px);
    text-align: left;
  }

  .hero-content p {
    text-align: center;
  }
}

.hero-content {
  margin-top: 2rem;
  text-align: left;
}

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

.hero-content p {
  text-align: left;
}

.hero-content .btn {
  margin-top: 1rem;
}

.hero .section-container {
  padding-left: 0;  
  padding-right: 0; 
}

.hero p {
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.5;
  color: #F4F3F2;
  max-width: 650px;
}

.hero .btn-primary {
  background-color: #fff;
  color: var(--dark-primary);
  font-family: 'Inter', sans-serif !important;
}

.hero .btn-primary:hover {
  background-color: #e2e6ea;
}

.hero .btn-outline-primary {
  border: 2px solid #fff;
  color: #fff;
}

.hero .btn-outline-primary:hover {
  background-color: #fff;
  color: var(--primary);
}


/* Existing */
.hero-content-desc {
  font-size: 1rem;
  color: #333;
  max-width: 420px;
  margin-bottom: 1rem; 
}

/* New */
.cta-buttons {
  display: flex;
  gap: 1rem;            
  margin-top: 1rem;     
}

/* Mobile stacking */
@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center; 
    width: auto;         
  }

  .cta-buttons a {
    width: auto; /* let button size itself naturally */
  }
}


/* ================================
   COMPLIANCE GAP
===================================*/

.compliance-gap-section {
  padding: 5rem 0;
  background: #fff;
}

.gap-container {
  max-width: 1100px;
}

.gap-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #2561D8;
  margin-bottom: 1.5rem;
}

.gap-title {
  font-family: 'Albert Sans', sans-serif !important;
  font-size: clamp(1.5rem, 4vw, 48px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 2.5rem;
  color: #191817;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* Outer box (only left + bottom borders) */
.gap-box {
  border-left: 1px solid #7CBFFF;
  border-bottom: 1px solid #7CBFFF;
  padding: 3rem 3rem 2.5rem 6rem;
  position: relative;
  margin-bottom: 0;
  z-index: 1;

}

.gap-box::after {
  content: "";
  position: absolute;
  right: 0;
  top: 100%;
  width: 1px;
  height: 16.875rem; /* 270px ÷ 16px = 16.875rem */
  background-color: #7CBFFF;
}

/* Intro paragraph */
.gap-intro {
  font-size: 1rem;
  max-width: 850px;
  color: #333;
  margin-bottom: 2.5rem;
  margin-left: 4rem;
}

/* Features row */
.gap-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: none;
  margin-left: 4rem;
}

/* Each feature block */
.gap-feature {
  position: relative;
}

.gap-feature h6 {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.gap-feature p {
  font-size: 0.9rem;
  color: #191817;
  margin: 0;
}

/* Divider BEFORE the first column */
.gap-feature:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1.25rem;
  width: 1px;
  height: 100%;
  background: #7CBFFF;
}

/* Dividers BETWEEN the columns */
.gap-feature:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1.25rem;
  width: 1px;
  height: 100%;
  background: #7CBFFF;
}

@media (max-width: 768px) {

  /* Add padding to section container */
  .compliance-gap-section .section-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Title adjustments */
  .gap-title {
    font-size: clamp(1.8rem, 5vw, 32px); 
    max-width: 100%; 
    margin-bottom: 1.5rem;
    text-align: left; 
  }

  /* Label adjustments */
  .gap-label {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Gap box padding */
  .gap-box {
    padding: 2rem 1rem 2rem 2rem;
  }

  /* Intro paragraph */
  .gap-intro {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Features stack vertically and have side padding */
  .gap-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-left: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Feature blocks */
  .gap-feature {
    padding-left: 1rem;
    border-left: 1px solid #7CBFFF;
  }

  .gap-feature::before,
  .gap-feature::after {
    display: none; 
  }

  .gap-box::after {
    display: none; 
  }
  
}

/* ================================
   HOW IT WORKS SECTION
===================================*/
.how-works-wrapper {
  background: #fff;
  padding: 6rem 0;
}

.how-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #2561D8;
  margin-bottom: 1rem;
}

.how-title {
  font-family: 'Albert Sans', sans-serif !important;
  font-size: clamp(2rem, 4vw, 48px);
  font-weight: 300;
  line-height: 1.07;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.how-intro p {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* CARDS */
.how-card {
  position: relative;
  border: 1px solid #7CBFFF;
  padding: 3rem 2rem 2rem;
  background: #fff;
  min-height: 280px;
}

.how-card p {
  font-weight: 400;
}

/* NUMBER BADGE (perfect smooth connection) */
.how-number {
  position: absolute;
  bottom: calc(100% - 1px);
  left: -1px;
  background: #fff;
  border: 1px solid #7CBFFF;
  color: #2561D8;
  font-weight: 600;
  padding: 4px 12px;
  font-size: 0.9rem;
  line-height: 1;
  box-sizing: border-box;
}


/* Card headings */
.how-card h6 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.how-card p {
  font-weight: 400;
  font-size: 0.9rem;
  color: #191817;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {

  .how-works-wrapper {
    padding: 3rem 1.5rem;
  }
    
  .how-label {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .how-title {
    font-size: clamp(1.8rem, 5vw, 32px);
    max-width: 100%;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  
.how-intro p {
  font-weight: 400;
  font-size: 1rem;
  color: #333;
  line-height: 1.55;
}

  /* Stack cards vertically */
  .how-cards .col-md-4 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .how-card {
    padding: 2rem 1.5rem;
    min-height: auto;
    margin-bottom: 1.5rem;
    position: relative; /* Ensure badge is positioned relative to card */
  }

  /* Correct number badge placement */
  .how-number {
    top: -12px; /* move above the card */
    left: 10px; /* slight offset from left edge */
    bottom: auto;
    z-index: 2; /* sit above card content */
  }
}

@media (max-width: 480px) {
  .how-number {
    padding: 3px 10px;
    font-size: 0.85rem;
    top: -10px; /* adjust for smaller screens */
    left: 8px;
  }
}



/* ================================
   GET STARTED SECTION
===================================*/
.get-started-wrapper {
  background: #fff;
  margin: 0;
  padding: 1.5rem 0 2.5rem; /* reduced top padding */
}

.get-started-section {
  background: var(--dark-primary);
  box-shadow: 0 6px 25px rgba(13, 110, 253, 0.15);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1300px;
  padding: 4rem 5rem;
}

.get-started-section h2 {
  font-family: 'Albert Sans', sans-serif !important;
  font-weight: 300; /* Light */
  font-style: normal;
  font-size: clamp(2rem, 4vw, 3rem); /* responsive, ≈48px max */
  line-height: 1.1; /* 110% */
  letter-spacing: -0.04em; /* -4% tracking */
  color: #F4F3F2;
  margin-bottom: 1.5rem;
}


@media (max-width: 768px) {
  .get-started-section h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    text-align: center;
  }

  .get-started-section p {
    text-align: center;
  }

  .get-started-section a.btn {
    display: block;
    margin: 0 auto;       
    text-align: center;
    width: fit-content;    
    padding: 0.6rem 1.4rem; 
    font-size: 0.9rem;    
  }
}

/* Replace text "K" with image background */
.get-started-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url("../images/k-shape.png") no-repeat right center;
  background-size: contain;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 1;
}



/* Ensure content stays on top of image */
.get-started-section .row {
  position: relative;
  z-index: 2;
}

/* Divider under section aligned with its width */
.divider-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.footer-divider {
  height: 2px;
  background-color: var(--primary);
  width: 100%;
  max-width: 1300px;
  border-radius: 0;
}

/* Footer alignment matches get-started width */
footer .container {
  max-width: 1300px;
}

/* --- Responsive tweaks --- */
@media (max-width: 992px) {
  .get-started-section {
    padding: 3rem 2rem;
    max-width: 95%;
  }

  .get-started-section::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url("../images/k-shape.png") no-repeat center bottom;
    background-size: cover;
    opacity: 0.18;
  }

  .footer-divider {
    max-width: 95%;
  }

  footer .container {
    max-width: 95%;
  }
}



