@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap');

:root {
  --background: 187 19% 81%;
  --foreground: 211 96% 12%;
  --card: 0 0% 99.6%;
  --card-foreground: 211 96% 12%;
  --popover: 0 0% 99.6%;
  --popover-foreground: 211 96% 12%;
  --primary: 205 84% 21%;
  --primary-foreground: 0 0% 99.6%;
  --secondary: 155 93.9% 41.6%;
  --secondary-foreground: 185 100% 10%;
  --muted: 187 15% 75%;
  --muted-foreground: 185 10% 40%;
  --accent: 158 87% 43%;
  --accent-foreground: 0 0% 99.6%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 187 10% 70%;
  --input: 187 10% 70%;
  --ring: 211 95.8% 23.5%;
  --chart-1: 12 76% 61%;
  --chart-2: 173 58% 39%;
  --chart-3: 197 37% 24%;
  --chart-4: 43 74% 66%;
  --chart-5: 27 87% 67%;
  --radius: 0.5rem;
  --border-2: 211 30% 25%;

}

/* Dark theme overrides */
.dark {
  --background: 205 84% 21%;
  --foreground: 187 19% 81%;
  --card: 211 40% 15%;
  --card-foreground: 187 19% 81%;
  --popover: 211 50% 5%;
  --popover-foreground: 187 19% 81%;
  --primary: 205 84% 21%;
  --primary-foreground: 0 0% 99.6%;
  --secondary: 155 93.9% 41.6%;
  --secondary-foreground: 185 100% 10%;
  --muted: 211 30% 25%;
  --muted-foreground: 187 15% 75%;
  --accent: 158 87% 43%;
  --accent-foreground: 0 0% 99.6%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;
  --border: 211 30% 25%;
  --input: 211 30% 25%;
  --ring: 211 95.8% 33.5%;
  --chart-1: 220 70% 50%;
  --chart-2: 160 60% 45%;
  --chart-3: 30 80% 55%;
  --chart-4: 280 65% 60%;
  --chart-5: 340 75% 55%;
}

/* Reset + utility */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: hsl(var(--primary));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings use condensed weight for stronger presence */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  color: hsl(var(--foreground));
  margin-top: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

/* Cards / surfaces */
.card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
}

/* Buttons */
.btn-custom {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: calc(var(--radius) / 1.2);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.btn-custom:hover {
  filter: brightness(0.95);
}

/* Secondary and outline */
.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: none;
}
.btn-outline {
  background: transparent;
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary));
}

/* Inputs */
input, textarea, select {
  border: 1px solid hsl(var(--input));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  padding: 0.5rem;
  border-radius: calc(var(--radius) / 1.2);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 4px hsla(var(--ring), 0.08);
  border-color: hsl(var(--ring));
}

/* Footer */
.footer, footer {
  text-align: center;
  padding: 20px;
  background-color: hsl(var(--primary));
  color: hsl(var(--card));
}

.footer-logo{
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
}

/* Navbar tweaks for contrast */
.navbar {
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
}
.navbar .navbar-brand, .navbar .nav-link {
  color: hsl(var(--foreground));
}

/* Align logo and brand text horizontally */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}
.navbar-logo {
  height: 44px;
  width: auto;
  display: block;
}
.brand-text {
  font-weight: 700;
  line-height: 1;
  /* ensure text uses the same font stack */
  font-family: 'Roboto', sans-serif;
  opacity: 0.9;
}

/* Transparent navbar to sit on top of hero */
.navbar-transparent {
  background: transparent !important;
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.navbar-transparent .navbar-brand {
  color: rgba(255,255,255,0.95);
  font-weight: 700;
}
.navbar-transparent .nav-link {
  color: rgba(255,255,255,0.9);
}
.navbar-transparent .nav-link:hover,
.navbar-transparent .nav-link:focus {
  color: #fff;
}

.navbar-brand{
    font-size: 2.5rem;
}

.navbar-logo{
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.navbar-brand span{
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
}

/* Hero specifics */
#hero {
  /* Make hero take full viewport height and center its content */
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: hsl(var(--primary-foreground));
  background-size: cover;
  background-position: center;
  position: relative;
}
/* translucent title box */
.hero-title-box {
  display: inline-block;
  background: rgba(3,37,76,0.50);
  padding: 1.25rem 1.5rem;
  border-radius: calc(var(--radius) * 1.2);
  max-width: 920px;
}
.hero-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  margin: 0;
  color: #fff;
  font-weight: 800;
  line-height: 1.02;
  font-size: clamp(2rem, 6.5vw, 4.5rem);
}

/* small pill badge */
.hero-badge {
  display: inline-block;
  background: rgba(34,197,94,0.95); /* green pill */
  color: #04201a;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* hero CTA */
.hero-cta .btn {
  border-width: 1.5px;
}

/* keep jumbotron flush with edges */
.jumbotron#hero, .jumbotron.jumbotron-fluid#hero {
  margin-bottom: 0;
}

/* Fade-in utility */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, visibility 0.6s;
  will-change: opacity, transform, visibility;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Gradient utilities (Tailwind-like names) */
/* Usage: add class "bg-gradient-to-r from-primary to-accent" to the element */
.bg-gradient-to-r {
  /* placeholder — final gradient built by combining from/to classes */
  background-repeat: no-repeat;
}
.from-primary { --gradient-from: hsl(var(--primary)); }
.to-accent   { --gradient-to: hsl(var(--accent)); }

/* When all three classes are present produce a rightward gradient over the hero image */
.bg-gradient-to-r.from-primary.to-accent#hero,
.bg-gradient-to-r.from-primary.to-accent.jumbotron {
  background: linear-gradient(90deg, var(--gradient-from), var(--gradient-to)), url('../images/people_training_bg_image.webp') center/cover no-repeat;
}

.hero-img-container {
   background-image: url('../images/people_training_bg_image.webp');
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
   /* background-position-y: -10vh; */
   opacity: 0.8;
}


/* Split benefits section */
#split-benefits {
  margin: 0;
  padding: 0;
  /* section height (60% of viewport as requested) */
  min-height: 40vh;
  height: 40vh;
  display: block;
  overflow: hidden;
}

/* make the inner grid fill the section height */
#split-benefits .container-fluid,
#split-benefits .row {
  height: 100%;
}

/* ensure columns stretch to full height and use flex layout */
.split-left,
.split-right {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-left {
  background: linear-gradient(180deg, rgba(3,37,76,1) 0%, rgba(3,37,76,1) 100%);
  color: #ffffff;
}

.split-left h2 {
    color: #ffffff;
}

.split-left h3 {
    color: #ffffff;
}

.split-right {
  background: linear-gradient(180deg, rgba(34,197,94,1) 0%, rgba(34,197,94,1) 100%);
  color: #04201a;
}

.split-right h2, .split-right h1, .split-right h3 {
    color: #04201a;
}


/* Benefit item layout */
.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.benefit-icon {
  flex: 0 0 44px;
  color: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-right .benefit-icon { color: rgba(4,32,26,0.95); }

.benefit-body h3 {
  margin: 0 0 0.35rem 0;
  font-size: 1.125rem;
}
.benefit-body p {
  margin: 0;
  color: inherit;
  opacity: 0.95;
}

#split-benefits {
  margin: 0;            /* remove any external margins */
  padding: 0;           /* control internal spacing via column padding (p-5) */
  min-height: 65vh; /* section takes 60% of viewport height when fully opened */
  display: block;
  overflow: hidden;
}

/* ensure the row has no external gutters (safety override) */
#split-benefits .row.no-gutters {
  margin-left: 0;
  margin-right: 0;
}

#split-benefits .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* heading styles */
#split-benefits h2 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* provider note */
.provider-note {
  max-width: 480px;
}

/* Full benefits section (60% height, full-bleed) */
#full-benefits {
  margin: 0;
  padding: 0;
  min-height: 60vh;
  height: 60vh;
  overflow: hidden;
  background: hsl(var(--card));
}

/* ensure inner grid fills the section */
#full-benefits .container-fluid,
#full-benefits .row {
  height: 100%;
}

/* columns stretch full height */
.fb-left,
.fb-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* left column visual (dark) */
.fb-left {
  color: #ffffff;
  padding-left: 6rem;
  padding-right: 4rem;
}
.fb-title {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  margin: 0 0 1rem 0;
  line-height: 1.02;
}
.fb-intro {
  max-width: 520px;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

/* right column visual (green) */
.fb-right {
  color: hsl(var(--secondary-foreground, 187 15% 75%));
  padding-left: 4rem;
  padding-right: 6rem;
}

/* Accordion / list styles */
.fb-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.fb-header {
  background: transparent;
  border: none;
  padding: 1rem 0;
  text-align: left;
  cursor: pointer;
}
.fb-header:focus { outline: none; box-shadow: none; }
.fb-headline {
  font-weight: 700;
  color: #ffffff;
}
.fb-icon {
  font-size: 20px;
  color: rgba(4,197,94,0.95);
  width: 28px;
  text-align: center;
}

/* caret */
.fb-caret { color: #ffffff; }

/* expanded body */
.fb-body {
  padding: 0.75rem 0 1.25rem 3.1rem;
  color: #ffffff;
}
.fb-body p { margin: 0; }

#features {
  margin: 0;            /* remove any external margins */
  padding: 0;           /* control internal spacing via column padding (p-5) */
  min-height: 65vh; /* section takes 60% of viewport height when fully opened */
  display: block;
  overflow: hidden;
}

.features-title {
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    color: hsl(var(--foreground));
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    margin-bottom: 2rem;
    line-height: 1.02;
}

.feature-card{
    background: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.feature-icon {
    font-size: 36px;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.statement-logo{
    height: 168px;
    width: auto;
    margin-bottom: 1.5rem;
}

.statement-card{
    background: hsl(var(--accent));
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 60vw;
}

#cta{
    margin: 0;            /* remove any external margins */
    padding: 0;           /* control internal spacing via column padding (p-5) */
    min-height: 60vh; /* section takes 60% of viewport height when fully opened */
    display: block;
    overflow: hidden;
    background: hsl(var(--card));
    color: hsl(var(--accent));
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .benefit-icon { flex: 0 0 36px; }
}
@media (max-width: 991px) {
  .hero-title {
    font-size: clamp(1.6rem, 7.5vw, 2.4rem);
  }
  .navbar-transparent {
    position: relative; /* let navbar flow on smaller screens for better tap targets */
    background: hsl(var(--card));
  }
}
@media (max-width: 768px) {
  .container { padding: 12px; }
  /* #hero { padding: 2.5rem 0; height: auto; min-height: 60vh; } */
  .hero-title-box { padding: 1rem; }
  #split-benefits{
      height: auto;
  }
}
@media (max-width: 991px) {
  #full-benefits { height: auto; min-height: auto; }
  .fb-left, .fb-right { padding-left: 2rem; padding-right: 2rem; }
  .fb-left { order: 1; }
  .fb-right { order: 2; }
  .fb-title { font-size: 1.6rem; }
}

/* Animations */

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInExpand {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


.fade-in{
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform, visibility;
}
.fade-in.is-visible{
  animation: fadeInAnimation 2s ease forwards;
}

/* Fade-and-expand (initial state) */
.fade-and-expand{
  opacity: 0;
  transform: scale(0.95);
  visibility: hidden;
  will-change: opacity, transform, visibility;
}
.fade-and-expand.is-visible{
  animation: fadeInExpand 0.6s ease forwards;
}