* {
   padding: 0;
   /* border: 1px solid; */
   margin: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   overflow-x: hidden;
}

body {
   overflow-x: hidden;
}

a:link {
   text-decoration: none;
   color: black;
}

a:visited {
   text-decoration: none;
   color: black;
}

li {
   list-style-type: none;
}

body {
   /* background-color : #f9f5eb; */
   background-color: #faf8f3;
}

:root {
   --main-font: "Poppins", sans-serif;
   --medium-size: 20px;
   --large-size: 42px;
   --ml-size: 22px;
   --medium-medium: 36px;
   --font-lg: 52px;
}

.font-poppins {
   font-family: var(--main-font);
}

.font-inter {
   font-family: "Inter", sans-serif;
}

.font-lg {
   font-size: var(--font-lg);
}

.font-large {
   font-size: var(--large-size);
}

.font-medium {
   font-size: var(--medium-size);
}

.font-medium-medium {
   font-size: var(--medium-medium);
}

.font-medium-large {
   font-size: var(--ml-size);
}

.font-bold {
   font-weight: 800;
}

.font-semi-bold {
   font-weight: 400;
   line-height: 1.2;
}

.navbar {
   display: flex;
   justify-content: space-between;
   background-color: white;
}

.navbar-left {
   display: flex;
   align-items: center;
   width: 24%;
}

.navbar-right {
   display: flex;
   align-items: center;
   padding: 10px 40px;
}

.navbar-right>div {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.navbar-right>div div {
   padding: 20px 30px;
}

.fit-cover {
   width: 100vw;
   height: 80vh;
}

.carousel__track-container {
   position: relative;
   overflow: hidden;
}

.index_carousel__track {
   display: flex;
   transition: translate 0.8s ease-out;
}

.over-img-div {
   position: absolute;
   top: 50%;
   left: 50%;
   color: white;
   width: 80%;
   transform: translate(-50%, -50%);
}

.over-img-div-about {
   position: absolute;
   top: 50%;
   left: 50%;
   color: white;
   width: 80%;
   transform: translate(-55%, -50%);
}

.dynamic-banner {
   top: 94%;
   padding: 5px 10px;
   width: 100%;

   background-color: #2f2f2f;
   color: white;
   text-align: center;
}

.over-img-div>div {
   display: flex;
   flex-direction: column;
   align-items: center;
}

#slide-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 200vw;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
   pointer-events: none;
}

.hero-banner-button {
   padding: 10px 35px;
   color: white;
   font-weight: 600;
   cursor: pointer;
}

.program-description {
   padding: 20px 0px;
   width: 55%;
}

.box-info {
   width: 150px;
   height: 100px;
   color: white;
   display: flex;
   gap: 10px;
   padding: 5px;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}

.boxes-container {
   display: flex;
   gap: 50px;
   padding-top: 40px;
   justify-content: space-evenly;
}

.program-section-slide {
   display: flex;
   margin-top: 20px;

   justify-content: space-evenly;
}

.testimonials-div {
   padding: 10px 30px;
   height: max-content;
}

.page-nav {
   background-color: #a5a3a3;
   color: white;
   padding: 5px;
   border-radius: 50%;
}

.active {
   background-color: #252323;
}

.footer {
   font-family: Arial, Helvetica, sans-serif;
   margin-top: 40px;
   background-color: white;
   padding: 5px;
}

.footer-images {
   display: flex;
   padding: 10px;
   align-items: center;
   margin-top: 20px;
   justify-content: center;
   gap: 150px;
}

.programme-offer-div {
   background-color: #f5efe2;
   padding: 40px;
}

.programme-offer-ul{
    list-style:none;
    padding:0;
    margin:0;
    width:480px;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.programme-offer-ul li{

    background:#ffffff;

    border-radius:18px;
    
    border:2px solid transparent;

    padding:28px;

    display:flex;

    align-items:flex-start;

    gap:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

    transition:all .35s ease;

    cursor:pointer;

    line-height:1.6;
}

.programme-offer-ul li:hover{

    transform:translateY(-6px);

    border:2px solid #d8b365;

    box-shadow:0 18px 35px rgba(0,0,0,.12);

}

.programme-offer-ul span{

    color:#d8b365;

    font-size:38px;

    transition:.3s;

}

.programme-offer-ul li:hover span{

    color:#eb263b;

    transform:scale(1.15);

}

.apply-now-btn {
   background-color: #eb263b;
   color: white;
   padding: 5px 5px;
   width: 200px;
   font-size: 28px;
   text-align: center;
   border: 2px solid #deb865;
   cursor: pointer;
}

.apply-navbar-btns {
   display: flex;
   margin-top: 10px;
   padding: 5px;
   justify-content: space-around;
}

.apply-navbar-btns div {
   border: 2px solid #deb865;
   padding: 5px;
   box-shadow: #2f2f2f 1px 2px 2px;
}

.apply-content {
   display: flex;
   flex-direction: column;
   gap: 20px;
}

#eligibility-criteria {
   margin-top: 20px;
   background-color: #f5efe2;
   padding: 20px;
}

.eligibility-criteria-list {
   display: flex;
   flex-direction: column;
   gap: 20px;
   padding: 40px;
   margin-left: 100px;
}

.eligibility-criteria-list>div {
   transition: all 1s ease-in;
   display: flex;
   gap: 10px;
}

/*  testimonials carousel */
.testimonials-track {
   display: flex;
   transition: all 1s ease-in-out;
   transition-delay: 0.5s;
}

.testimonial-slide {
   flex: 0 0 100%;
   max-width: 100%;
   box-sizing: border-box;
}

.testimonials-track {
   flex-wrap: nowrap;
}

.faq-div {
   margin-top: -50px;
   padding: 25px;
   display: flex;
   flex-direction: column;
   align-items: center;
}

.faq-title-box {
   font-weight: 600;
}

.slide-box {
   max-height: 0;
   overflow: hidden;
   background: #f4f4f4;
   border: 1px solid #ddd;
   padding: 0 15px;
   transition:
      max-height 0.4s ease,
      padding 0.4s ease;
}

.box-active {
   max-height: 300px;
   padding: 15px;
}

/* =============================================
   RESPONSIVE STYLES
   Breakpoints:
     Tablet   : max-width 1024px
     Mobile   : max-width 768px
     Small    : max-width 480px
   All inline-style overrides use !important
   to override hard-coded values in HTML.
   ============================================= */

/* ── Global image safety (mobile only) ── */

/* ════════════════════════════════════════
   TABLET  (≤ 1024px)
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
   :root {
      --large-size: 34px;
      --font-lg: 38px;
      --medium-medium: 28px;
      --ml-size: 20px;
      --medium-size: 17px;
   }

   /* Navbar */
   .navbar-left {
      width: 35%;
   }

   .navbar-right>div div {
      padding: 14px 18px;
   }

   /* Hero */
   .fit-cover {
      height: 65vh;
   }

   /* Stat boxes */
   .boxes-container {
      gap: 24px;
   }

   .box-info {
      width: 120px;
      height: 90px;
   }

   /* About page – programme cards */
   .about-overview-card {
      width: 340px !important;
   }

   /* Programme offer */
   .programme-offer-ul li {
      width: 100%;
   }

   /* Footer */
   .footer-images {
      gap: 60px;
   }

   /* Eligibility */
   .eligibility-criteria-list {
      margin-left: 40px;
   }
}

/* ════════════════════════════════════════
   MOBILE  (≤ 768px)
   ════════════════════════════════════════ */
@media (max-width: 768px) {

   /* Prevent any image from overflowing viewport on mobile */
   img {
      max-width: 100%;
      height: auto;
   }

   :root {
      --large-size: 22px;
      --font-lg: 26px;
      --medium-medium: 20px;
      --ml-size: 17px;
      --medium-size: 14px;
   }

   /* ── Navbar ── */
   .navbar {
      flex-direction: column;
      align-items: stretch;
   }

   .navbar-left {
      width: 100%;
      padding: 10px 14px;
      gap: 10px;
   }

   /* Shrink the logo so title fits beside it */
   .navbar-left img {
      width: 56px !important;
      height: 56px !important;
      flex-shrink: 0;
   }

   .navbar-left h5 {
      font-size: 14px !important;
      line-height: 1.3;
   }

   .navbar-right {
      width: 100%;
      padding: 6px 14px 10px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
   }

   .navbar-right>div {
      gap: 0;
      width: 100%;
      justify-content: space-between;
   }

   .navbar-right>div div {
      padding: 8px 10px;
   }

   /* ── Hero carousel ── */
   .fit-cover {
      height: 46vh;
   }

   .over-img-div,
   .over-img-div-about {
      width: 94%;
      left: 50%;
      /* override both the -50% and -55% transforms */
      transform: translate(-50%, -50%) !important;
   }

   /* Hero heading & paragraph */
   .over-img-div h3,
   .over-img-div-about h3 {
      font-size: 22px !important;
      text-align: center;
   }

   .over-img-div>div>div,
   .over-img-div-about>div>div {
      font-size: 12px !important;
   }

   /* About hero: text + button stacked instead of side-by-side */
   .over-img-div-about>div>div[style*="space-between"] {
      flex-direction: column !important;
      gap: 12px !important;
      align-items: flex-start !important;
   }

   .over-img-div-about>div>div[style*="space-between"]>div {
      width: 100% !important;
   }

   /* Hero buttons */
   .hero-banner-button {
      font-size: 14px !important;
      padding: 6px 14px;
   }

   /* Dynamic banner */
   .dynamic-banner {
      font-size: 13px;
   }

   /* ── Index: About Programme + stat boxes ── */
   /* The wrapper div uses inline justify-content:space-around */
   .program_section>div:first-child>div[style*="space-around"] {
      flex-direction: column !important;
      align-items: center !important;
   }

   .program-description {
      width: 92% !important;
      padding: 16px;
   }

   /* Stat boxes: the two inner columns sit side-by-side – keep them
      but lose the 50px margin-top stagger so they align cleanly */
   .boxes-container {
      flex-wrap: wrap;
      gap: 16px;
      padding-top: 20px;
      justify-content: center;
   }

   .box-info {
      width: 130px;
      height: auto;
      padding: 12px 8px;
   }

   /* Remove the stagger margin-top on the second box in each column */
   .box-info+.box-info {
      margin-top: 16px !important;
   }

   /* ── Index: NIPUN section (text + image side-by-side) ── */
   div[style*="border-top"]>div[style*="space-around"] {
      flex-direction: column !important;
      align-items: center !important;
      padding: 20px 16px !important;
      gap: 20px !important;
   }

   div[style*="border-top"]>div[style*="space-around"]>div:first-child {
      width: 100% !important;
   }

   div[style*="border-top"]>div[style*="space-around"] p {
      width: 100% !important;
   }

   div[style*="border-top"] .boxes-container img {
      width: 100% !important;
      height: auto !important;
   }

   /* ── Testimonials ── */
   .card[style*="gap:60px"],
   .card[style*="gap: 60px"] {
      flex-direction: column !important;
      gap: 16px !important;
      align-items: center !important;
   }

   .card[style*="gap:60px"] img,
   .card[style*="gap: 60px"] img {
      width: 100% !important;
      max-width: 260px;
      height: auto !important;
   }

   .card[style*="gap:60px"]>div,
   .card[style*="gap: 60px"]>div {
      text-align: left !important;
      font-size: 14px !important;
      padding: 0 !important;
   }

   /* ── Footer: three columns → single column ── */
   .footer>div[style*="space-evenly"] {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 28px !important;
      padding: 16px !important;
      margin-top: 16px !important;
   }

   .footer-images {
      flex-wrap: wrap;
      gap: 24px;
      justify-content: center;
   }

   /* ── Apply page: hero banner ── */
   div[style*="4e79a6"] {
      flex-direction: column !important;
      gap: 20px !important;
      height: auto !important;
      padding: 28px 16px !important;
      text-align: center;
   }

   div[style*="4e79a6"] h2 {
      font-size: 26px !important;
   }

   /* Apply nav buttons: remove the broken negative margin */
   .apply-navbar-btns {
      flex-wrap: wrap;
      gap: 8px;
   }

   .apply-navbar-btns>div {
      flex: 1 1 auto;
      text-align: center;
      margin-left: 0 !important;
      /* kill the inline margin-left:-100px */
   }

   /* Application process image */
   #application-process img {
      width: 100% !important;
      height: auto !important;
   }

   /* Eligibility */
   .eligibility-criteria-list {
      margin-left: 0;
      padding: 20px 14px;
   }

   .apply-now-btn {
      width: 100%;
   }

   /* ── About page: programme overview cards ── */
   /* Outer flex wrapper (two columns + divider) → column */
   div[style*="height: 600px"][style*="background-color: #777373"],
   div[style*="height:600px"] {
      display: none !important;
      /* hide the vertical divider */
   }

   /* The outer flex that holds the two card columns + divider */
   div[style*="align-items: center"][style*="gap:50px"][style*="justify-content: center"] {
      flex-direction: column !important;
      gap: 24px !important;
      padding: 12px 16px !important;
   }

   /* Each card column (flex-direction:column) */
   div[style*="align-items: center"][style*="gap:50px"]>div[style*="flex-direction: column"] {
      width: 100% !important;
      gap: 20px !important;
   }

   /* Individual cards: remove fixed width & top-margin stagger */
   div[style*="align-items: center"][style*="gap:50px"]>div>div[style*="width: 450px"],
   div[style*="align-items: center"][style*="gap:50px"]>div>div[style*="margin-top"] {
      width: 100% !important;
      margin-top: 0 !important;
   }

   /* ── About page: programme offer two ULs → column ── */
   .programme-offer-div>div[style*="gap:40px"] {
      flex-direction: column !important;
      gap: 20px !important;
      align-items: flex-start !important;
   }

   .programme-offer-ul li {
      width: 100% !important;
   }
}

/* ════════════════════════════════════════
   SMALL PHONES  (≤ 480px)
   ════════════════════════════════════════ */
@media (max-width: 480px) {
   :root {
      --large-size: 22px;
      --font-lg: 20px;
      --medium-medium: 17px;
      --ml-size: 15px;
      --medium-size: 13px;
   }

   /* Navbar title even smaller */
   .navbar-left h5 {
      font-size: 12px !important;
   }

   .navbar-left img {
      width: 44px !important;
      height: 44px !important;
   }

   /* Hero */
   .fit-cover {
      height: 40vh;
   }

   .over-img-div h3,
   .over-img-div-about h3 {
      font-size: 18px !important;
   }

   /* Stat boxes: full width, one per row */
   .box-info {
      width: 100%;
      max-width: 200px;
   }

   /* Hero buttons stacked */
   div[style*="justify-content: center"][style*="gap:20px"] {
      flex-direction: column !important;
      align-items: center !important;
      gap: 10px !important;
   }

   /* Apply hero */
   div[style*="4e79a6"] h2 {
      font-size: 20px !important;
   }

   /* Footer logos wrap tighter */
   .footer-images {
      gap: 16px;
   }

   .footer-images img {
      width: 70px !important;
      height: 70px !important;
   }

   /* Programme offer icons */
   .programme-offer-ul li span {
      font-size: 22px;
   }

   /* Photo was fixed 500x500 and overflowed small screens */
   .fln-photo {
      width: 100%;
      height: auto;
      max-width: 320px;
   }

   /* Partnership logos: tighten gap so they don't spread awkwardly */
   .partnership-logos {
      gap: 30px;
   }
}/* ===========================
   Partnership Section
=========================== */

.partnership-strip {
    background: #faf9f5;
    padding: 22px 20px 28px;
    text-align: center;
    border-top: none;
    border-bottom:none;
}

.partnership-container {
    max-width: 1000px;
    margin: 0 auto;
}

.partnership-title {
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #222222;
    text-align: center;
    margin-bottom: 30px;
}

.partnership-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
    flex-wrap: wrap;
}

/* Government of MP */
.partnership-logos img:nth-child(1){
    width:150px;
    height:auto;
}

/* NIPUN Bharat */
.partnership-logos img:nth-child(2){
    width:170px;
    height:auto;
}

/* CSF */
.partnership-logos img:nth-child(3){
    width:260px;
    height:auto;
}
.partnership-logos img{
    transition:0.25s ease;
}

.partnership-logos img:hover{
    transform:translateY(-4px);
}
.fln-photo {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.testimonial-card {
   max-width: 820px;
   margin: 0 auto;
   background: white;
   border-radius: 16px;
   border: 1px solid #ece4d0;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
   padding: 36px 40px;
   position: relative;
}

.testimonial-quote-mark {
   position: absolute;
   top: 20px;
   left: 32px;
   font-family: "Poppins", sans-serif;
   font-size: 70px;
   font-weight: 800;
   color: #f0e4c8;
   line-height: 1;
}

.testimonial-body {
   display: flex;
   gap: 32px;
   align-items: center;
}

.testimonial-photo {
   flex-shrink: 0;
   width: 120px;
   height: 120px;
   border-radius: 50%;
   overflow: hidden;
   border: 4px solid #4e79a6;
   box-shadow: 0 4px 12px rgba(78, 121, 166, 0.25);
}

.testimonial-photo img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.testimonial-text {
   flex: 1;
}

.testimonial-text p {
   font-family: "Inter", sans-serif;
   font-style: italic;
   font-size: 17px;
   line-height: 1.7;
   color: #333;
   margin: 0 0 16px;
   text-align: left;
}

.testimonial-divider {
   width: 40px;
   height: 3px;
   background: #d8b365;
   margin-bottom: 10px;
}

.testimonial-name {
   font-family: "Poppins", sans-serif;
   font-weight: 700;
   font-size: 15px;
}

.testimonial-title {
   font-family: "Inter", sans-serif;
   font-size: 13px;
   color: #777373;
}

.page-nav.active {
   background-color: #4e79a6;
}

@media (max-width: 768px) {
   .testimonial-card {
      padding: 28px 20px;
   }
   .testimonial-body {
      flex-direction: column;
      text-align: center;
   }
   .testimonial-text p {
      text-align: left;
   }
   .testimonial-quote-mark {
      font-size: 50px;
      top: 10px;
      left: 16px;
   }
}
.testimonials-div h1 {
   margin-bottom: 30px;
}

.testimonials-div > div > div:last-child {
   margin-top: 24px;
}

.testimonial-card {
   width: 100%;
}

/* =============================================
   NEW ADDITIONS — homepage vibrancy pass
   (appended only, nothing above this line was touched)
   ============================================= */

/* --- Hero: background zoom removed per request — image stays static --- */

/* --- Hero: staggered text entrance --- */
@keyframes heroFadeUp {
   from { opacity: 0; transform: translateY(16px); }
   to { opacity: 1; transform: none; }
}

.over-img-div h3 {
   animation: heroFadeUp 0.8s ease both;
}

.over-img-div [lang="hi"] {
   animation: heroFadeUp 0.8s ease 0.15s both;
}

.over-img-div div[style*="justify-content: center"][style*="gap:20px"] {
   animation: heroFadeUp 0.8s ease 0.3s both;
}

/* --- Hero: gentle pulse on Apply Now --- */
@keyframes applyPulse {
   0%, 100% { box-shadow: 0 0 0 0 rgba(235, 38, 59, 0.45); }
   50% { box-shadow: 0 0 0 12px rgba(235, 38, 59, 0); }
}

.hero-banner-button[style*="background-color: #eb263b"] {
   animation: applyPulse 2.4s ease-in-out infinite;
}

/* --- Stats section: hover lift --- */
.box-info {
   transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box-info:hover {
   transform: translateY(-6px);
   box-shadow: #2f2f2f 1px 6px 18px !important;
}

/* --- Generic scroll-reveal system (used site-wide) --- */
.reveal {
   opacity: 0;
   transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-direction="left"] {
   transform: translateX(-40px);
}

.reveal[data-direction="right"] {
   transform: translateX(40px);
}

.reveal[data-direction="up"],
.reveal:not([data-direction]) {
   transform: translateY(24px);
}

.reveal.is-visible {
   opacity: 1;
   transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.4s; }
.reveal-delay-4 { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
   .over-img-div h3,
   .over-img-div [lang="hi"],
   .over-img-div div[style*="justify-content: center"][style*="gap:20px"],
   .hero-banner-button[style*="background-color: #eb263b"] {
      animation: none !important;
   }
   .reveal {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
   }
}
/* ===== Programme Overview Background Decoration ===== */

.overview-section{
    position:relative;
    overflow:hidden;
    padding:70px 0;
}

.overview-section::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;

    background:#d8b365;

    opacity:.08;

    border-radius:58% 42% 65% 35% / 42% 58% 38% 62%;

    top:-120px;
    left:-140px;

    animation:blobFloat1 14s ease-in-out infinite;
}

.overview-section::after{

    content:"";
    position:absolute;

    width:480px;
    height:480px;

    background:#4e79a6;

    opacity:.05;

    border-radius:42% 58% 38% 62% / 53% 47% 59% 41%;

    bottom:-180px;
    right:-180px;

    animation:blobFloat2 18s ease-in-out infinite;
}
@keyframes blobFloat1{

0%{
transform:translateY(0) rotate(0deg);
}

50%{
transform:translateY(-20px) rotate(15deg);
}

100%{
transform:translateY(0) rotate(0deg);
}

}

@keyframes blobFloat2{

0%{
transform:translateY(0);
}

50%{
transform:translateY(25px);
}

100%{
transform:translateY(0);
}

}
.programme-offer-ul li{
    margin-bottom:20px;
}
/* Footer Social Links */

.social-link{
    list-style:none;
}

.social-link a{

    display:flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

    color:#777373;

    padding:8px 0;

    transition:0.3s ease;
}

.social-link i{

    font-size:22px;

    width:28px;

    transition:0.3s ease;
}

.social-link a:hover{

    color:#d8b365;

    transform:translateX(5px);

}

.social-link a:hover i{

    color:#d8b365;

}
/* =============================================
   NEW ADDITIONS — Apply hero dotted background +
   eligibility hover motion (appended only)
   ============================================= */

.apply-hero-dotted h2,
.apply-hero-dotted a {
   position: relative;
}

.eligibility-item {
   transition: transform 0.2s ease, background-color 0.2s ease;
   border-radius: 6px;
   padding: 6px 10px;
}

.eligibility-item:hover {
   background-color: #f5efe2;
   transform: translateX(6px);
}

.eligibility-item:hover .material-symbols-outlined {
   color: #d8b365;
}

/* ── fln-photo: fixed 500x500 in base rules overflows any screen
      narrower than 500px; scale it down starting at the tablet
      breakpoint so it never forces horizontal scroll ── */
@media (max-width: 768px) {
   .fln-photo {
      width: 100%;
      height: auto;
      max-width: 400px;
   }

   .partnership-logos {
      gap: 40px;
   }
}
.video-gallery-section {
   padding: 60px 20px;
   background-color: #faf8f3;
}

.video-gallery-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 30px;
   max-width: 1100px;
   margin: 0 auto;
}

.video-card {
   position: relative;
   border-radius: 14px;
   overflow: hidden;
   cursor: pointer;
   box-shadow: 0 10px 25px rgba(0,0,0,.08);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 18px 35px rgba(0,0,0,.15);
}

.video-card img {
   width: 100%;
   height: 180px;
   object-fit: cover;
   display: block;
}

.video-play-btn {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 56px;
   height: 56px;
   background: rgba(0,0,0,0.55);
   color: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 22px;
   transition: background 0.3s ease, transform 0.3s ease;
}

.video-card:hover .video-play-btn {
   background: #d8b365;
   transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
   text-align: center;
   padding: 10px 8px;
   background: white;
   font-size: 14px;
   font-weight: 600;
   color: #2f2f2f;
}

/* Lightbox */
.video-lightbox {
   display: none;
   position: fixed;
   top: 0; left: 0;
   width: 100%; height: 100%;
   background: rgba(0,0,0,0.85);
   z-index: 1000;
   justify-content: center;
   align-items: center;
}

.video-lightbox.active {
   display: flex;
}

.video-lightbox-inner {
   width: 90%;
   max-width: 900px;
}

.video-lightbox-frame {
   position: relative;
   width: 100%;
   padding-top: 56.25%; /* 16:9 */
}

.video-lightbox-frame iframe {
   position: absolute;
   top: 0; left: 0;
   width: 100%; height: 100%;
   border-radius: 8px;
}

.video-lightbox-close {
   display: block;
   text-align: right;
   color: white;
   font-size: 32px;
   cursor: pointer;
   margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 768px) {
   .video-gallery-grid {
      grid-template-columns: 1fr;
      gap: 20px;
   }
}
/* =============================================
   FLN Section — text (left) + video (right)
   ============================================= */

.fln-section-wrap {
   padding: 20px 50px 40px;
}

.fln-row-3col {
   display: flex;
   align-items: center;
   gap: 36px;
   flex-wrap: wrap;
}

/* ---- Text column (title + paragraph) ---- */
.fln-text-col {
   flex: 1 1 380px;
   min-width: 280px;
}

/* ---- Video column: rich overlay card instead of a plain square ---- */
.fln-video-col {
   position: relative;
   flex: 0 0 300px;
   width: 300px;
   height: 380px;
   border-radius: 18px;
   overflow: hidden;
   cursor: pointer;
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
   border-left: 5px solid #d8b365;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fln-video-col:hover {
   transform: translateY(-4px);
   box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.fln-video-bg {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

.fln-video-scrim {
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.35) 100%);
}

.fln-watch-badge {
   position: absolute;
   top: 16px;
   left: 16px;
   display: flex;
   align-items: center;
   gap: 8px;
   color: white;
   font-size: 12px;
   font-weight: 600;
   letter-spacing: 1px;
   text-transform: uppercase;
   z-index: 2;
}

.fln-dot {
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: #eb263b;
   display: inline-block;
}

.fln-play-btn {
   position: absolute;
   top: 42%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 58px;
   height: 58px;
   background: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 20px;
   color: #eb263b;
   transition: transform 0.3s ease;
   z-index: 2;
}

.fln-video-col:hover .fln-play-btn {
   transform: translate(-50%, -50%) scale(1.1);
}

.fln-video-overlay-caption {
   position: absolute;
   left: 0;
   right: 0;
   bottom: 0;
   padding: 18px 18px 20px;
   z-index: 2;
}

.fln-quote {
   color: white;
   font-size: 16px;
   font-weight: 700;
   line-height: 1.3;
   margin-bottom: 8px;
}

.fln-quote-attribution {
   color: #e2e2e2;
   font-size: 11px;
   letter-spacing: 0.5px;
   text-transform: uppercase;
}

/* Mobile: stack kid photo, text, and video vertically */
@media (max-width: 768px) {
   .fln-section-wrap {
      padding: 20px 16px 30px;
   }

   .fln-row-3col {
      flex-direction: column;
      align-items: center;
      gap: 30px;
   }

   .fln-video-col {
      flex: 0 0 auto;
   }

   .fln-text-col {
      order: 1;
      text-align: left;
   }

   .fln-video-col {
      order: 2;
      width: 100%;
      max-width: 340px;
      height: 340px;
   }
}
:root {
   --large-size: 48px;   /* default / desktop */
}

@media (max-width: 1024px) {
   :root { --large-size: 34px; }   /* tablet */
}

@media (max-width: 768px) {   /* or whatever the next breakpoint is */
   :root { --large-size: 22px; }
}

@media (max-width: 480px) {
   :root { --large-size: 22px; }   /* small phones */
}