/* =========================================================
   Roboto font faces (self-hosted from /fonts/roboto/)
   ========================================================= */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-100-normal.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-100-normal.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-100-italic.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-100-italic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-300-normal.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-300-normal.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-300-italic.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-300-italic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-400-normal.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-400-normal.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-400-italic.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-400-italic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-500-normal.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-500-normal.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-500-italic.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-500-italic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-700-normal.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-700-normal.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-700-italic.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-700-italic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-900-normal.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-900-normal.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/roboto/roboto-latin-900-italic.woff2') format('woff2'),
       url('../fonts/roboto/roboto-latin-900-italic.woff') format('woff');
}

/* =========================================================
   Theme variables
   Add your custom colors below the basic palette.
   ========================================================= */

:root {
  /* Brand */
  --color-primary: #8DC63F;
  --color-secondary: #1543A8;
  --color-tertiary: #C2160A;
  --grad-bg-light: linear-gradient(180deg, #FCFAF4 0%, #E9F6EB 100%);
  --grad-bg-dark: linear-gradient(125.14deg, #071E42 0%, #0B3278 45%, #0D4399 100%);
  --color-para: #4C5666;
  --color-white: #FFFFFF;
  --color-para-light: #EEF4FC;
}

/* =========================================================
   Base
   ========================================================= */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p{
  color: var(--color-para);
}

section{
  padding: 80px 0;
}

.text-blue{
  color: var(--color-secondary);
}
.text-green{
  color: var(--color-primary);
}

.text-light{
  color: var(--color-para-light);
}
.bg-grad-light{
  background: var(--grad-bg-light);
}

.bg-grad-dark{
  background: var(--grad-bg-dark);
}

.lh-28{
  line-height: 28px;
}

.py-lg{
  padding-top: 100px;
  padding-bottom: 100px;
}

.py-sm{
  padding-top: 24px;
  padding-bottom: 24px;
}

.bg-blue{
  background: var(--color-secondary);
}

/* =========================================================
   Hero / Banner
   ========================================================= */

   .slider-section{
    padding-bottom: 40px;
   }

.hero-section .banner-img img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-section .banner-content {
  display: flex;
  align-items: center;
}

.banner-text-col {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.banner-headline-green {
  font-size: clamp(2.125rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -2.6px;
}

.banner-headline-white {
  font-size: clamp(2.125rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.2 ;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: -2.6px;
}

.banner-subtext {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: #FFFFFFB2;
  margin-bottom: 0;
}

.container{
  max-width: 95%;
}


.sub-label{
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4.8px;
  font-weight: 500;
  text-align: start;
}

.title{
  letter-spacing: -1.2px;
  font-weight: 500;
  font-size: clamp(1.875rem, 5vw, 3.75rem) !important;
  text-align: start;
}

.title-section p{
  font-size: 1.125rem;
  line-height: 28px;
}

.midcap-swiper-wrap {
  padding: 3rem 0 2rem;
  overflow: hidden;
}

.midcap-swiper {
  padding-bottom: 5.5rem;
  overflow: visible;
}

.midcap-swiper .swiper-slide {
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.midcap-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.midcap-swiper .swiper-slide-active {
  opacity: 1;
  scale: 1;
}

/* Pill-style pagination */
.midcap-pagination {
  
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  width: auto !important;
}

.midcap-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cfd8dc;
  opacity: 1;
  border-radius: 999px;
  margin: 0 !important;
  transition: all 0.35s ease;
}

.midcap-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--color-primary); /* the green you already have */
}

.about-img{
  box-shadow: 0px 20px 60px -20px #02102B26;
  border-radius: 28px;
}

.wc-card{
  padding: 32px;
  height: 100%;
  background: var(--color-white);
  border-radius: 28px;
  box-shadow: 0px 8px 30px 0px #02102B14;
  border: 1px solid #FFFFFF99

}

.wc-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.wc-ico img{
  width: 48px;
  height: 48px;
  
}

.wc-count{
  font-size: 48px;
  font-weight: 500;
  color: #1543A8;
  opacity: 0.1;
}

.wc-body h4{
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 12px;
  letter-spacing: -0.48px;
}

.wc-body p{
  
  line-height: 24px;
  color: var(--color-para);
  margin-bottom: 20px;
}

.wc-list{
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wc-list li{
  font-size: 0.75rem;
  padding: 4px 12px;
  background: #FFFFFFB2;
  border: 1px solid #1543A826;
  border-radius: 999px;
  color: var(--color-secondary);  
}

/* =========================================================
   Myth vs Fact 
   ========================================================= */

.myth-fact-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.myth-fact-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  perspective: 1100px;
  outline: none;
}

.myth-fact-card-inner {
  flex: 1;
  display: grid;
  grid-template: 1fr / 1fr;
  width: 100%;
  min-width: 0;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.myth-fact-card:hover .myth-fact-card-inner,
.myth-fact-card:focus-within .myth-fact-card-inner {
  transform: rotateY(180deg);
}

.myth-fact-card-face {
  grid-area: 1 / 1;
  align-self: stretch;
  position: relative;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
}

/* ----- Front: MYTH (cream) ----- */

.myth-fact-card-front {
  background: #fff9f8;
  border: 1px solid #ffc3be;
  box-shadow: 0 1px 2px 0 #0000000a;
}
  
  .badge-myth {
    align-self: flex-start;
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-tertiary);
    text-align: center;

  }
  
  .myth-quote {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 1rem 0 1.25rem;
    font-size: 1.875rem;    
    color: var(--color-tertiary);
    line-height: 41.25px;
  }
  
  .myth-cta {
    align-self: flex-start;
    letter-spacing: 3.6px;
    text-transform: uppercase;
    color: var(--color-secondary);
  }
  
  /* ----- Back: FACT (navy) ----- */
  
.myth-fact-card-back {
  background: #034ea2;
  border: 1px solid #fff;
  box-shadow: 0 1px 2px 0 #0000000a;
  transform: rotateY(180deg);
}
  
  .badge-fact {
    align-self: flex-start;
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 0.875rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    background: #8DC63F;
    text-align: center;
  }
  
  .fact-copy {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 1rem 0 1.25rem;
    font-size: 1.75rem;
    /* font-weight: 500; */
    line-height: 38px;
    color: #fff;
}
  
.fact-step {
  align-self: flex-start;
  font-size: 0.75rem;
  /* font-weight: 600; */
  letter-spacing: 3.6px;
  color: #8ECE34;
}

.carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 518.5px;
  overflow: hidden;
}

/* Bootstrap .card uses --bs-card-box-shadow (often “invisible” in devtools); strip inside carousel */
.carousel-wrap .card {
  --bs-card-box-shadow: none;
  --bs-card-border-width: 0;
  --bs-card-border-color: transparent;
  border: none;
  box-shadow: none !important;
}

.card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 899px;
  margin-left: calc(-899px / 2);
  margin-top: calc(-518.5px / 2);
  border-radius: 18.761px;
  overflow: hidden;
  transform: translate(0, 0) scale(0);
  opacity: 0;
  z-index: 0;
  box-shadow: none;
  transition:
    transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
    z-index 0s linear;
}

.card img {
  width: 100%;
  display: block;
  pointer-events: none;
}

/* offset = position - 2, same as React getCardStyle */
.card[data-offset="0"] {
  transform: translate(0, 0) scale(1);
  opacity: 1;
  z-index: 50;
  filter: blur(0);
  
}
.card[data-offset="-1"] {
  transform: translate(-376px, 58px) scale(0.47);
  opacity: 1;
  z-index: 30;
  filter: blur(5px);
  
}
.card[data-offset="1"] {
  transform: translate(376px, 58px) scale(0.47);
  opacity: 1;
  z-index: 30;
  filter: blur(5px);
 
}
.card[data-offset="-2"] {
  transform: translate(-580px, 72px) scale(0.36);
  opacity: 0.8;
  z-index: 10;
  filter: blur(8px);
  
}
.card[data-offset="2"] {
  transform: translate(580px, 72px) scale(0.36);
  opacity: 0.8;
  z-index: 10;
  filter: blur(8px);
  
}

.dots {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 172px;
  background: #fff;
  border-radius: 24px;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.1));
}

.dot {
  height: 7px;
  border-radius: 8px;
  background: #d9d9d9;
  width: 7px;
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.dot.is-active {
  width: 35px;
  background: #8dc63f;
}



/*
  Mobile: match Edelweiss-style cover flow (ref image 2).
  ~78vw center card with ~11vw peeks each side; neighbors slightly scaled & blurred.
*/
@media (max-width: 767.98px) {
  .container-fluid > .row {
    overflow-x: hidden;
  }

  .carousel-wrap {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    height: calc(78vw * 518.5 / 899 + 44px);
  }

  .card {
    /* one size for active + neighbors so only transform/depth animates */
    width: 68vw;
    margin-left: -34vw;
    margin-top: calc(-78vw * 518.5 / 899 / 2);
    border-radius: 16px;
    transition:
      transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
      opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
      filter 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
      z-index 0s linear;
  }

  .card[data-offset="0"] {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    visibility: visible;
    z-index: 50;
    filter: blur(0);
  }

  .card[data-offset="-1"],
  .card[data-offset="1"] {
    opacity: 1;
    visibility: visible;
    z-index: 30;
    filter: blur(2px);
    height: 130px;
  }

  .card[data-offset="-1"] {
    transform: translate(-40.5vw, 12px) scale(0.9);
  }

  .card[data-offset="1"] {
    transform: translate(40.5vw, 12px) scale(0.9);
  }

  .card[data-offset="-2"],
  .card[data-offset="2"] {
    transform: translate(0, 16px) scale(0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    filter: blur(10px);
    pointer-events: none;
    box-shadow: none;
  }
}


/* =========================================================
   Scroll reveal — texts & cards only (not slider section)
   ========================================================= */

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.32, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.32, 1);
}

.reveal-on-scroll.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.wc-section .title, .wc-section .sub-label{
  text-align: center;
}
