

/* ============================================== 
   2. HERO SECTION - BULLETPROOF FIX
   ============================================== */
.hero-section { 
    width: 100%; 
    background: white; 
    position: relative; 
    z-index: 1; 
    overflow: hidden;
    /* Match your header height. Use padding instead of margin 
       to prevent "pushing" issues on some screens */
    padding-top: 70px; 
}

.hero-slider {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    position: relative;
    /* This ensures the container height matches the image height perfectly */
    height: auto;
}

.hero-slide {
    grid-area: 1 / 1; 
    width: 100%;
    height: auto;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
    position: relative;
    z-index: 1;
    /* Force browser to show top of image */
    display: flex;
    align-items: flex-start; 
}

.hero-slide.active {
    opacity: 1; 
    z-index: 2;
}

.hero-slide img { 
    width: 100%; 
    height: auto; 
    display: block; 
    /* Important: 'initial' prevents the browser from trying to crop or stretch */
    object-fit: initial; 
    /* Prevents any height limits that cause cropping */
    max-height: none !important; 
}

/* --- THE NEAT GRADIENT --- */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 10;
    pointer-events: none;
}

.slider-dots {
    position: absolute;
    bottom: 30px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    height: 10px; 
    width: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1.5px solid white;
}

.dot.active {
    background-color: #0d3c75;
    transform: scale(1.2);
    width: 20px;
    border-radius: 10px;
}

/* Fix for high-resolution screens or zoomed laptops */
@media screen and (max-width: 1400px) {
    .hero-section {
        padding-top: 65px; /* Slightly smaller gap for smaller laptops */
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding-top: 60px; /* Mobile header height */
    }
    .hero-overlay {
        height: 60px;
    }
}


/* Core Section Styles */
.how-it-works { padding: 60px 5%; background: #fff; font-family: 'Poppins', sans-serif; }
.container { max-width: 1200px; margin: 0 auto; }
.section-intro { text-align: center; margin-bottom: 50px; }
.title-png { width: 750px; max-width: 100%; height: auto; margin-bottom: 20px; }
.main-description { color: #003366; font-size: 14px; max-width: 800px; margin: 0 auto; font-weight: 500; }

/* Grid Styles */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.step-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #f0f0f0; transition: 0.3s; text-align: center; }
.step-card:hover { transform: translateY(-8px); border-color: #f47b20; box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.step-img-wrapper { height: 160px; position: relative; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.step-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.step-number { position: absolute; top: 12px; left: 12px; background: #f47b20; color: #fff; width: 30px; height: 30px; border-radius: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.step-info { padding: 20px; }
.step-info h3 { color: #003366; font-size: 20px; margin-bottom: 8px; }
.step-info p { color: #666; font-size: 14px; line-height: 1.5; }

/* --- REDUCED SIZE CTA BUTTON --- */
.central-cta-wrapper { text-align: center; margin-top: 10px; }
.main-glow-btn {
    font-family: 'Poppins', sans-serif;
    background: #f47b20;
    color: white;
    padding: 12px 35px; /* Smaller padding */
    font-size: 15px;    /* Smaller text */
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 15px rgba(244, 123, 32, 0.3);
    transition: 0.3s;
}
.main-glow-btn:hover { background: #003366; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2); }

/* --- MODAL (FIXED POPUP) --- */
.modal-overlay {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75); 
    backdrop-filter: blur(5px);
    display: none;      
    justify-content: center; 
    align-items: center;
    z-index: 9999999;   
}

.modal-overlay.active { display: flex !important; }

.modal-box {
    background: #fff;
    width: 90%;
    max-width: 380px;
    border-radius: 35px;
    position: relative;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: popEffect 0.3s ease-out;
}

@keyframes popEffect {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal { position: absolute; top: 15px; right: 15px; font-size: 26px; border: none; background: none; cursor: pointer; color: #bbb; transition: 0.3s; }
.close-modal:hover { color: #333; }

/* IMAGE STYLE */
.profile-img-container { width: 115px; height: 115px; margin: 0 auto 15px; border-radius: 50%; padding: 5px; background: linear-gradient(45deg, #f47b20, #003366); }
.profile-img-container img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; }

/* TEXT STYLE */
.profile-name { color: #003366; font-size: 28px; margin-bottom: 5px; font-weight: 800; }
.profile-designation { color: #f47b20; font-size: 13px; font-weight: 800; text-transform: uppercase; display: block; margin-bottom: 12px; letter-spacing: 0.5px; }
.profile-bio { color: #555; font-size: 15px; margin-bottom: 25px; line-height: 1.5; padding: 0 10px; }

/* BUTTONS CONTAINER */
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

/* BUTTON COMMON STYLE */
.btn-main-call, .btn-secondary-wa { 
    text-decoration: none; 
    padding: 14px; 
    border-radius: 15px; 
    font-weight: 700; 
    font-size: 16px; 
    transition: 0.3s; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* 1. GREEN CALL BUTTON */
.btn-main-call { 
    background: #2db34a; /* Green */
    color: #fff;
    box-shadow: 0 8px 15px rgba(45, 179, 74, 0.2);
}
.btn-main-call:hover { background: #248f3b; transform: translateY(-2px); }

/* 2. WHATSAPP BUTTON (Navy Style) */
.btn-secondary-wa { 
    background: #fff; 
    color: #003366; 
    border: 2px solid #003366; 
}
.btn-secondary-wa:hover { background: #003366; color: #fff; }

/* ICON FIX (Proper alignment) */
.btn-main-call i, .btn-secondary-wa i {
    font-size: 18px;
}

/* 3. SECONDARY NUMBER STYLE */
.secondary-contact {
    margin-top: 10px;
    font-size: 14px;
    color: #003366;
}
.secondary-contact strong {
    font-weight: 700;
    color: #003366;
}

/* --- MOBILE VIEW ADJUSTMENTS --- */
@media (max-width: 768px) {
    /* 1. Stack the grid cards one by one */
    .steps-grid {
        grid-template-columns: 1fr; /* Changes 4 columns to 1 column */
        gap: 25px; /* Adds space between the stacked cards */
        padding: 0 10px;
    }

    /* 2. Optional: Adjust the Title Image for mobile */
    .title-png {
        width: 100%; /* Ensures the title fits small screens */
    }

    /* 3. Make cards look better on mobile */
    .step-card {
        max-width: 350px; /* Prevents cards from becoming too wide */
        margin: 0 auto;   /* Centers the cards */
    }

    /* 4. Adjust description font size for readability */
    .main-description {
        font-size: 14px;
        padding: 0 15px;
    }
}

/* ============================================== 
   NOTEBOOK SECTION & MODAL STYLES
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.notebook-section {
    width: 100%;
    padding-top: 10px; /* Reduced top padding as requested */
    background-color: #fff;
}

.nb-container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

/* HEADER */
.nb-header { text-align: center; margin-bottom: 15px; } /* Tightened margin */
.nb-title-img { width: 750px; max-width: 100%; height: auto; }

/* THE PAPER LINES (This now spans behind the image and text) */
.nb-paper-lines {
    background-image: repeating-linear-gradient(#ffffff, #ffffff 31px, #e3ebf3 31px, #e3ebf3 32px);
    padding: 0;
}

.nb-main-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* LEFT IMAGE (No Box, Overlayed on Lines) */
.nb-left-box { flex: 1; position: relative; }
.nb-image-container {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    /* Removed white border/box shadow to let lines "be" behind the image */
}
.nb-simple-img { width: 100%; display: block; height: auto; transition: 0.3s; }
.nb-play-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: #f47b20; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; border: 3px solid #fff;
}

.nb-watch-btn-wrapper { margin-top: 15px; display: flex; justify-content: center; }
.nb-watch-btn {
    background: #003366; color: #fff; border: none; padding: 12px 35px;
    border-radius: 50px; font-weight: 700; cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; gap: 10px; transition: 0.3s;
}

/* RIGHT TEXT ALIGNMENT */
.nb-right-box { 
    flex: 1.2; 
    padding-top: 2px; /* Micro-adjustment to land text exactly on the blue lines */
}

/* TYPOGRAPHY */
.nb-p, .nb-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 32px; /* PERFECT sync with background-image gradient height */
    margin: 0;
    color: #333;
}
.nb-p { margin-bottom: 32px; } /* Ensures spacing is exactly one line height */
.nb-list { list-style: none; padding: 0; margin: 0; }
.nb-list li { position: relative; padding-left: 45px; }
.nb-bullet { position: absolute; left: 0; font-size: 1.3rem; }

/* BOTTOM CONCLUSION AREA */
.nb-conclusion-area {
    /* No lines here, simple soft gradient */
    background: linear-gradient(to bottom, #ffffff 0%, #f7f9fc 100%);
    padding: 20px 0 40px 0; /* Tightened top gap between lines and orange text */
}
.nb-conclusion {
    color: #f47b20 !important;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 32px;
}

/* MODAL (Standard) */
.nb-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95);
    display: none; z-index: 999999; align-items: center; justify-content: center;
}
.nb-modal-overlay.active { display: flex; }
.nb-modal-box { width: 90%; max-width: 900px; position: relative; }
.nb-x-button {
    position: absolute; top: -55px; right: 0; background: #f47b20; color: #fff;
    border: none; width: 45px; height: 45px; border-radius: 50%;
    font-size: 30px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.nb-video-frame { position: relative; padding-bottom: 56.25%; height: 0; background: #000; border-radius: 20px; overflow: hidden; }
.nb-video-frame video { position: absolute; top:0; left:0; width:100%; height:100%; }

@media (max-width: 991px) {
    .nb-main-row { flex-direction: column; }
    .nb-container { padding: 0 20px; }
    .nb-header { margin-bottom: 10px; }
}

/* SCIENCE UTSAV OFFERINGS SECTION */
:root {
    --su-navy: #003366;
    --su-orange: #F47B20;
    --su-bg-color: #F8FAFF;
}

.su-offerings-section {
    background-color: var(--su-bg-color);
    position: relative;
    padding-bottom: 50px; 
    background-image: radial-gradient(rgba(0,51,102,0.05) 1px, transparent 0px);
    background-size: 30px 30px;
}

.su-top-gradient { width: 100%; height: 100px; background: linear-gradient(to bottom, #ffffff, var(--su-bg-color)); }
.su-section-header { text-align: center; margin-top: -50px; margin-bottom: 30px; }
.su-section-header img { width: 100%; max-width: 750px; height: auto; }

.su-grid-container {
    display: flex; justify-content: center; gap: 40px; max-width: 1400px;
    margin: 0 auto; flex-wrap: wrap; padding: 20px;
}

.su-card {
    background: #ffffff; width: 380px; border-radius: 30px;
    display: flex; flex-direction: column; position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 51, 102, 0.05); overflow: hidden; transition: all 0.4s ease;
}

.su-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 10px; background: var(--su-navy); z-index: 10; }
.su-card.su-featured::before { background: var(--su-orange); }
.su-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(0, 51, 102, 0.1); }

.su-image-holder { height: 320px; padding: 45px 30px 10px 30px; display: flex; align-items: center; justify-content: center; }
.su-image-holder img { max-width: 100%; max-height: 100%; object-fit: contain; }

.su-card-body { padding: 10px 40px 45px 40px; text-align: center; display: flex; flex-direction: column; flex-grow: 1; }
.su-category { font-size: 0.8rem; text-transform: uppercase; font-weight: 700; color: var(--su-navy); opacity: 0.6; }
.su-card-title { font-size: 1.8rem; font-weight: 800; color: var(--su-navy); margin: 5px 0 15px 0; }

.su-price-panel { background: #f1f6fb; border-radius: 20px; padding: 20px; margin-bottom: 25px; border: 1px dashed #d6e2ee; }
.su-featured .su-price-panel { background: #fff8f1; border-color: #ffdcb6; }
.su-label { display: block; font-size: 0.9rem; color: var(--su-navy); margin-bottom: 5px; font-weight: 600; }
.su-price { font-size: 2.2rem; font-weight: 800; color: var(--su-orange); }

.su-feature-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.su-feature-list li { font-size: 0.95rem; color: #576574; margin-bottom: 10px; display: flex; align-items: center; }
.su-feature-list li::before {
    content: '✓'; background: #e5f2ff; color: var(--su-navy);
    width: 22px; height: 22px; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center; font-size: 11px; margin-right: 15px;
}

.su-ribbon {
    position: absolute; top: 25px; right: -40px; color: #fff; padding: 7px 50px;
    font-size: 0.7rem; font-weight: 800; transform: rotate(45deg); z-index: 20;
}
.ribbon-blue { background: var(--su-navy); }
.ribbon-orange { background: var(--su-orange); }
.ribbon-dark { background: #333; }

/* --- REDUCED SIZE EXPERT BUTTON --- */
.su-expert-btn-wrapper { text-align: center; margin-top: 20px; }
.su-talk-expert-btn {
    font-family: 'Poppins', sans-serif;
    background: var(--su-orange); color: #fff; border: none;
    padding: 10px 25px; font-size: 15px; font-weight: 700;
    border-radius: 50px; cursor: pointer; transition: 0.3s;
}
.su-talk-expert-btn:hover { background: var(--su-navy); }

/* Mobile Tweak */
@media (max-width: 480px) {
    .modal-box { padding: 35px 20px; }
    .profile-name { font-size: 24px; }
}

/* ========================================== 
   MASTER STEM SECTION - CLEAN WHITE UI
   ========================================== */

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body { font-family: 'Poppins', sans-serif; background: #fff; }

  /* ── SECTION ── */
  .master-product-section {
    padding: 40px 0 60px;
    background: #ffffff;
    overflow: hidden;
  }

  .m-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* ── HEADER ── */
  .master-header { text-align: center; margin-bottom: 30px; }

  .seo-hidden-heading {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
  }

  .m-title-png {
    width: 700px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 18px;
  }

  .m-description-container { max-width: 900px; margin: 0 auto; }

  .m-tagline {
    font-size: 1.1rem;
    color: #003366;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
  }

  .m-main-para {
    font-size: 1rem;
    line-height: 1.65;
    color: #444;
    font-style: italic;
    margin-bottom: 8px;
    text-align: center;
  }

  .m-main-para span { color: #003366; font-weight: 700; font-style: normal; }
  .m-main-para .interlink { color: #003366; text-decoration: none; }
  .m-main-para .interlink:hover { text-decoration: underline; }

  /* ── FILTER TABS ── */
  .m-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    padding: 0 10px;
  }

  .m-pill {
    padding: 9px 22px;
    border: 2px solid #003366;
    background: transparent;
    color: #003366;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
  }

  .m-pill.active,
  .m-pill:hover {
    background: #003366;
    color: #fff;
  }

  /* ── SWIPER OUTER ── */
  .m-swiper-outer-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
  }

  /* ── NAV BUTTONS ── */
  .m-nav-btn {
    width: 46px; height: 46px;
    background: #003366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    cursor: pointer;
    transition: background 0.25s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    font-size: 15px;
  }
  .m-nav-btn:hover { background: #f7941d; }
  .m-prev { left: 6px; }
  .m-next { right: 6px; }

  /* ── CARD ── */
  .m-card {
    background: #fff;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    margin: 12px 8px;
    border: 1px solid #e0e6ed;
    min-height: 265px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  }
  .m-card:hover {
    border-color: #003366;
    box-shadow: 0 14px 32px rgba(0,51,102,0.09);
    transform: translateY(-4px);
  }

  /* Text column */
  .m-text-col {
    flex: 1.2;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .m-text-col h3 {
    color: #003366;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.35;
  }
  .m-text-col p {
    color: #666;
    line-height: 1.6;
    font-size: 13.5px;
  }

  /* Image columns */
  .m-img-col {
    flex: 1;
    padding: 16px;
    background: #fcfcfc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #f0f0f0;
  }

  .m-img-frame {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px 48px 12px 12px;
    padding: 10px;
    margin-bottom: 8px;
    transition: border-color 0.35s, transform 0.35s;
  }
  .m-card:hover .m-img-frame {
    border-color: #f7941d;
    transform: scale(1.04);
  }

  .m-label {
    font-weight: 800;
    color: #003366;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    text-align: center;
  }

  /* ── FOOTER ── */
  .m-footer { text-align: center; margin-top: 40px; }

  .m-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #003366;
    color: #fff;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 20px rgba(0,51,102,0.15);
  }
  .m-download-btn:hover {
    background: #f7941d;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(247,148,29,0.22);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 991px) {
    .m-swiper-outer-wrapper { padding: 0 50px; }
    .m-card { min-height: auto; }
    .m-nav-btn { width: 38px; height: 38px; font-size: 13px; }
  }

  @media (max-width: 768px) {
    .master-product-section { padding: 30px 0 50px; }
    .m-swiper-outer-wrapper { padding: 0 42px; }

    .m-card {
      flex-direction: column;
      margin: 8px 4px;
    }
    .m-img-col {
      border-left: none;
      border-top: 1px solid #f0f0f0;
      padding: 18px;
      flex-direction: row;
      gap: 12px;
    }
    .m-img-col:only-of-type { flex-direction: column; }

    .m-img-frame { height: 130px; max-width: 160px; }

    .m-text-col { padding: 22px 20px; }
    .m-text-col h3 { font-size: 15px; }
    .m-text-col p  { font-size: 13px; }

    .m-tagline { font-size: 0.9rem; }
    .m-main-para { font-size: 0.9rem; }

    .m-pill { padding: 7px 15px; font-size: 12px; }

    .m-nav-btn { width: 34px; height: 34px; font-size: 12px; }
    .m-prev { left: 2px; }
    .m-next { right: 2px; }
  }

  @media (max-width: 480px) {
    .m-filter-tabs { gap: 7px; }
    .m-pill { padding: 6px 13px; font-size: 11px; }
    .m-swiper-outer-wrapper { padding: 0 38px; }
  }

/* --- FAQ --- */
/* Import Fredoka font to match the chunky font in your image */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700&display=swap');

.utsav-faq-container {
    max-width: 900px;
    margin: 50px auto;
    font-family: 'Fredoka', sans-serif;
    padding: 0 20px;
    background-color: #fff;
}

/* Header Styling with Yellow Spark */
.faq-header {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

.faq-header h1 {
    font-size: 60px;
    font-weight: 700;
    color: #000;
    margin: 0;
    position: relative;
    display: inline-block;
}

/* The Yellow Rays/Spark from your image */
.faq-header h1::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -35px;
    width: 40px;
    height: 40px;
    background-image: radial-gradient(circle, transparent 20%, transparent 20%), 
                      linear-gradient(0deg, #ffd700 10%, transparent 10%), 
                      linear-gradient(45deg, #ffd700 10%, transparent 10%), 
                      linear-gradient(-45deg, #ffd700 10%, transparent 10%);
    background-size: 10px 10px, 4px 15px, 4px 15px, 4px 15px;
    background-repeat: no-repeat;
    background-position: center, top center, top right, top left;
    transform: rotate(20deg);
}

/* FAQ List Styling */
/* Import ScienceUtsav style font */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700&display=swap');

.utsav-faq-section {
    max-width: 800px;
    margin: 50px auto;
    font-family: 'Fredoka', sans-serif;
    background-color: #fff;
    padding: 20px;
}

/* Header Styling */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-size: 55px;
    font-weight: 700;
    color: #000;
    position: relative;
    display: inline-block;
}

/* The Yellow Spark (Idea/Lightbulb effect) */
.spark {
    position: absolute;
    top: -5px;
    right: -40px;
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, transparent 20%, transparent 20%), 
                linear-gradient(0deg, #f39c12 20%, transparent 20%), 
                linear-gradient(45deg, #f39c12 20%, transparent 20%), 
                linear-gradient(-45deg, #f39c12 20%, transparent 20%);
    background-size: 10px 10px, 4px 15px, 4px 15px, 4px 15px;
    background-repeat: no-repeat;
    background-position: center, top center, top right, top left;
}

/* CONTACT FORM SECTION - Uses .join-movement-section from style.css */
/* The .form-wrapper styles below are OVERRIDDEN to match the Home Page 3-column layout */
.contact-form-section {
    padding: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* FORCE the correct 3-column grid layout — matches Home Page exactly */
.form-wrapper {
    display: grid !important;
    grid-template-columns: 280px 40px 1fr !important;
    align-items: center !important;
    background: #fff !important;
    padding: 10px 25px !important;
    border-radius: 35px !important;
    box-shadow: 0 25px 60px rgba(0, 71, 147, 0.1) !important;
    max-width: 820px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    border: 1px solid #f0f4f8 !important;
    gap: unset !important;
}

/* Form Fields */
.input-group {
    margin-bottom: 8px;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    color: #444;
    font-size: 0.8rem;
}

.input-field {
    position: relative;
    display: block;
    width: 100%;
}

.input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0077b6;
    z-index: 10;
    pointer-events: none;
    font-size: 14px;
    margin: 0 !important;
}

.input-field input {
    width: 100% !important;
    padding: 8px 15px 8px 45px !important;
    border: 2px solid #f0f4f8 !important;
    border-radius: 10px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.9rem !important;
    background: #fcfdfe !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    height: 38px !important;
}

.input-field input:focus {
    border-color: #0077b6 !important;
    background: #fff !important;
    outline: none !important;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .form-wrapper {
        grid-template-columns: 1fr !important;
        padding: 30px 20px !important;
        max-width: 500px !important;
    }
}

@media (max-width: 480px) {
    .form-btn-group {
        flex-direction: column;
    }
}

/* FAQ List - Plain Line Design */
.faq-list {
    border-top: 1px solid #ddd;
}

details {
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

summary {
    list-style: none;
    padding: 25px 5px;
    font-size: 20px;
    font-weight: 700;
    color: #000; /* Black text for questions */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

/* Plus Icon in Blue Circle */
.plus-icon {
    width: 22px;
    height: 22px;
    border: 2px solid #0e385f; /* ScienceUtsav Navy Blue */
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.plus-icon::before, .plus-icon::after {
    content: '';
    position: absolute;
    background-color: #0e385f;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plus-icon::before { width: 10px; height: 2px; } /* horizontal */
.plus-icon::after { width: 2px; height: 10px; } /* vertical */

/* Action: Turn Plus to Minus when Open */
details[open] .plus-icon::after {
    display: none;
}

details[open] summary {
    color: #0e385f; /* Change question to blue when open */
}

/* Answer Content */
.faq-content {
    padding: 0 5px 25px 5px;
    animation: slideDown 0.3s ease-out;
}

.faq-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-weight: 400;
}

/* Smooth Fade In Animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    summary { font-size: 17px; }
    .faq-header h1 { font-size: 40px; }
}
/* FAQ SECTION STYLES */
.faq-section {
    padding: 1px 0;
    background-color: #fcfdfe;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.faq-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.faq-category-header i {
    font-size: 1.5rem;
    color: #ff6b6b; /* Matching your Orange/Red accent */
    background: #fff0f0;
    padding: 12px;
    border-radius: 10px;
}

.faq-category-header h3 {
    font-size: 1.3rem;
    color: #003d71; /* Matching your Dark Blue */
    font-weight: 700;
}

/* Accordion Styling */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #0077b6;
}

details summary {
    padding: 20px;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

details summary i {
    font-size: 0.9rem;
    color: #0077b6;
    transition: transform 0.3s ease;
}

details[open] summary {
    color: #0077b6;
    border-bottom: 1px solid #f0f0f0;
}

details[open] summary i {
    transform: rotate(45deg);
    color: #ff6b6b;
}

.faq-content {
    padding: 20px;
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive FAQ */
@media (max-width: 991px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}


/* STEM STREAM SECTION */
.stem-stream-section {
    padding: 10px 0; /* REDUCED: Was 20px, now 10px to tighten space with above section */
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Heading Container */
.section-intro {
    text-align: center;
    margin-bottom: 5px; /* REDUCED: Minimum gap before the content below starts */
}

/* PNG Heading Size & Alignment */
.heading-png {
    max-width: 750px; /* Scaling the title to a standard desktop heading size */
    width: 100%;       /* Responsive: shrinks on mobile */
    height: auto;
    display: block;
    margin: 0 auto;   /* Centers the image */
}

/* Title Line (The yellow line) */
.title-line {
    width: 50px;
    height: 3px;
    background-color: #ffcc00;
    margin: 8px auto 0; /* REDUCED: Very small gap (8px) between PNG and line */
}

/* Optional: Science Grid Pattern */
.stem-stream-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#e1e8ed 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.stream-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 0;
}

.stream-row {
    display: flex;
    overflow: hidden;
    user-select: none;
    /* Softly fades the edges into the white background */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.stream-track {
    display: flex;
    gap: 15px;
    width: max-content;
}

.stream-track img {
    height: 220px;
    width: 320px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    background: #f8fafc;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* Animation Speeds */
.stream-left .stream-track {
    animation: scrollLeftInfinite 45s linear infinite;
}

.stream-right .stream-track {
    animation: scrollRightInfinite 45s linear infinite;
}

/* Hover: Pause & Highlight */
.stream-row:hover .stream-track {
    animation-play-state: paused;
}

.stream-track img:hover {
    transform: scale(1.05) translateY(-5px);
    border: 3px solid #003d71; /* Science Utsav Royal Blue */
    box-shadow: 0 15px 30px rgba(0, 61, 113, 0.15);
    z-index: 10;
}

/* Keyframes for Smooth Looping */
@keyframes scrollLeftInfinite {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% / 2)); }
}

@keyframes scrollRightInfinite {
    from { transform: translateX(calc(-100% / 2)); }
    to { transform: translateX(0); }
}

/* Responsive Scaling */
@media (max-width: 768px) {
    .stream-track img {
        height: 140px;
        width: 200px;
    }
    .stream-row {
        mask-image: none; /* Clearer on mobile */
    }
}
/* --- DESKTOP STYLES (STAY THE SAME) --- */
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;900&display=swap');

.journey-section {
    padding: 40px 0 80px;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden; /* Prevents unwanted scrolls */
}

/* Reduced Container Size for Desktop */
.journey-container {
    width: 95%;
    max-width: 950px; 
    margin: 0 auto;
}

.journey-intro {
    text-align: center;
    margin-bottom: 10px;
}

.journey-heading-png {
    max-width: 750px;
    width: 85%;
    height: auto;
}

/* Responsive Path Wrapper */
.journey-path-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 480; 
    margin-top: 40px;
}

.journey-svg-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.path-flow-animation {
    stroke-dasharray: 20;
    animation: dash-move 20s linear infinite;
}

@keyframes dash-move {
    from { stroke-dashoffset: 500; }
    to { stroke-dashoffset: 0; }
}

.journey-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    transform: translate(-50%, -50%); 
    z-index: 10;
}

/* Node Positions */
.step-1 { left: 5%;   top: 66%; }
.step-2 { left: 18%;  top: 33%; }
.step-3 { left: 34%;  top: 25%; }
.step-4 { left: 50%;  top: 48%; }
.step-5 { left: 66%;  top: 81%; }
.step-6 { left: 82%;  top: 82%; }
.step-7 { left: 95%;  top: 48%; }

.node-circle {
    width: 90px;
    height: 90px;
    background: white;
    border: 5px solid #4285f4;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.node-circle img { width: 100%; height: 100%; object-fit: cover; }

/* BIGGER, BOLDER LABELS - With White Background to fix line overlap */
.node-label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 900; 
    color: #202124;
    text-align: center;
    line-height: 1.1;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #eef2f7;
    text-transform: uppercase;
    white-space: nowrap; /* Keeps text on one line if possible */
    z-index: 20;
}

.step-num {
    position: absolute;
    top: -5px;
    right: 20px;
    background: #ffcc00;
    color: #000;
    font-weight: 900;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #fff;
    z-index: 30;
}

/* Cloud Thought Pop-ups (Desktop Only) */
.cloud-thought {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 180px;
    background: #4285f4;
    color: white;
    padding: 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.journey-node:hover .node-circle { transform: scale(1.1); border-color: #ffcc00; }
.journey-node:hover .node-label { background: #ffcc00; border-color: #ffcc00; }
.journey-node:hover .cloud-thought { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }

/* =========================================
   MOBILE VIEW: FIT TO SCREEN (NO SCROLL)
   ========================================= */
@media (max-width: 768px) {
    .journey-container { width: 100%; padding: 0 5px; }
    
    .journey-path-wrapper {
        aspect-ratio: 1000 / 550; /* Slightly taller for mobile labels */
        margin-top: 20px;
    }

    .journey-node { width: 60px; } /* Shrink node hit area */

    .node-circle {
        width: 11vw; /* Responsive size based on screen width */
        height: 11vw;
        border-width: 3px;
    }

    .node-label {
        font-size: 7px; /* Tiny font to fit all 7 items on one screen */
        padding: 2px 4px;
        margin-top: 5px;
        border-radius: 10px;
    }

    .step-num {
        width: 14px;
        height: 14px;
        font-size: 7px;
        right: 5px;
        top: -2px;
    }

    .cloud-thought { display: none; } /* Remove clouds on mobile for space */
}
/* ============================================== 
   10. VIDEO SECTION STYLES
   ============================================== */
.video-section {
    max-width: 100%;
    padding: 0 10px 10px 10px;
    background-color: #fff; 
    text-align: center;
    overflow: hidden; 
}

/* Header Image */
.video-header {
    text-align: center;
    margin-bottom: 30px; 
    margin-top: 10px;
}

.video-header img {
    max-width: 100%;
    height: auto;
    width: 700px; 
    display: inline-block;
}

/* Slider Container */
.slider-container {
    max-width: 1250px; 
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 0 20px 0; 
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

/* Video Card Styling */
.video-card {
    /* 3 Cards per view on desktop */
    flex: 0 0 calc(33.333% - 14px); 
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 15px; 
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative;
}

/* IMPORTANT: Make Iframe fill the card */
.video-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .video-card {
        flex: 0 0 calc(50% - 10px); /* 2 cards on tablet */
    }
}

@media (max-width: 600px) {
    .video-card {
        flex: 0 0 100%; /* 1 card on mobile */
    }
    .video-header img {
        width: 90%; 
    }
}
/* ============================================== 
   STEM ELASTIC GALLERY - FULL WIDTH FIX
   ============================================== */
.stem-elastic-section {
    padding: 60px 0;
    background-color: #f8fafc;
    font-family: 'Poppins', sans-serif;
    /* FIX: Prevents horizontal scroll on the whole page */
    width: 100%;
    overflow-x: hidden; 
}

.stem-container {
    /* FIX: Changed from 1300px to 100% and removed padding to touch edges */
    width: 100%; 
    max-width: 100% !important; 
    margin: 0;
    padding: 0; 
}

/* HEADER - Keeps text from touching the edge while the gallery does */
.stem-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px; 
}

.stem-header-img {
    width: 650px;
    max-width: 90%;
    height: auto;
    margin-bottom: 15px;
}

.stem-header p {
    font-size: 14px;
    color: #003366;
    font-weight: 500;
}

/* ELASTIC GRID */
.stem-gallery-row {
    display: flex;
    width: 100%;
    height: 380px; /* Original Height */
    gap: 15px;     /* Original Gap */
    margin-bottom: 20px;
}

.stem-card {
    position: relative;
    flex: 1; 
    border-radius: 25px; /* Original UI Design */
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.3, 1);
    border: 3px solid #fff; /* Original UI Design */
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
}

.stem-card:hover {
    flex: 3.5; /* Original Effect */
}

/* OVERLAY */
.stem-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9) 0%, rgba(0, 51, 102, 0.2) 60%, transparent 100%);
    transition: 0.3s;
}

.stem-card:hover .stem-overlay {
    background: linear-gradient(to top, rgba(244, 123, 32, 0.9) 0%, rgba(0, 51, 102, 0.4) 100%);
}

/* CONTENT */
.stem-card-details {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: white;
}

.stem-icon-bubble {
    width: 50px; height: 50px; /* Original UI Design */
    background: #fff;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    color: #f47b20;
    font-size: 22px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.stem-card:hover .stem-icon-bubble {
    background: #f47b20;
    color: #fff;
    transform: rotate(-10deg);
}

.stem-card-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stem-hidden-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.stem-card:hover .stem-hidden-content {
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}

.stem-desc {
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    font-weight: 400;
    margin: 0;
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .stem-gallery-row { height: 300px; }
}

@media (max-width: 768px) {
    .stem-gallery-row {
        flex-direction: column;
        height: auto;
        padding: 0 10px; /* Small padding on mobile so it's not too tight */
    }
    .stem-card {
        flex: none;
        width: 100%;
        height: 200px;
    }
    .stem-card:hover { flex: none; }
    .stem-hidden-content { max-height: 100px; opacity: 1; margin-top: 10px; }
}

/*What We Offer */
    .stem-cluster-section {
        padding: 80px 0;
        background: #ffffff;
        font-family: 'Outfit', sans-serif;
        overflow: hidden;
    }

    .cluster-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* PNG Title Fix */
    .cluster-header {
        margin-bottom: 60px;
        text-align: center;
    }
    .cluster-title-png {
        width: 750px;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* THE CLUSTER LAYOUT */
    .cluster-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
        margin: 0 auto;
        position: relative;
    }

    /* BLOB SHAPES & ANIMATION */
    .blob-item {
        position: relative;
        padding: 40px;
        min-height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        animation: breathing 6s infinite ease-in-out;
        animation-delay: var(--d);
    }

    @keyframes breathing {
        0%, 100% { transform: scale(1) translateY(0); }
        50% { transform: scale(1.03) translateY(-10px); }
    }

    .blob-inner {
        position: relative;
        z-index: 2;
        padding: 30px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 15px 35px rgba(0,0,0,0.05);
        /* The unique Curved Blob Shape */
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Unique shapes for each to look "Designed" */
    .blob-item:nth-child(2) .blob-inner { border-radius: 61% 39% 52% 48% / 46% 59% 41% 54%; }
    .blob-item:nth-child(3) .blob-inner { border-radius: 41% 59% 40% 60% / 65% 41% 59% 35%; }
    .blob-item:nth-child(4) .blob-inner { border-radius: 30% 70% 70% 30% / 67% 33% 67% 33%; }

    /* Color Accents - Subtle Blobs behind the text */
    .blob-item::before {
        content: '';
        position: absolute;
        inset: 20px;
        background: var(--accent-clr);
        filter: blur(40px);
        opacity: 0.15;
        z-index: 1;
        border-radius: 50%;
        transition: 0.5s;
    }

    .b-orange { --accent-clr: #f47b20; }
    .b-blue { --accent-clr: #00a8ff; }
    .b-navy { --accent-clr: #003366; }
    .b-purple { --accent-clr: #a55eea; }

    /* Interaction */
    .blob-item:hover .blob-inner {
        background: #fff;
        border-color: var(--accent-clr);
        transform: scale(1.08) rotate(2deg);
        box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    }

    .blob-icon {
        font-size: 32px;
        color: var(--accent-clr);
        margin-bottom: 15px;
    }

    .blob-inner h3 {
        font-size: 20px;
        color: #003366;
        margin: 0 0 10px 0;
        font-weight: 800;
    }

    .blob-inner p {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
        margin: 0;
        max-width: 250px;
    }

    @media (max-width: 768px) {
        .cluster-wrap { grid-template-columns: 1fr; }
        .cluster-title-png { width: 90%; }
        .blob-item { min-height: auto; padding: 20px; }
    }


