 /* FONTS */
@font-face {
  font-family: 'GilroyRegular';
  src: url('/fonts/GilroyRegular-5538891.otf') format('opentype');
}
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/GilroyBold-5538903.otf') format('opentype');
  font-weight: 700;
}
@font-face {
    font-family: 'GilroyMedium';
    src: url('/fonts/GilroyMedium-5538895.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}



@font-face {
  font-family: 'Playfair';
  src: url('/fonts/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Playfair';
  src: url('/fonts/PlayfairDisplay-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Bauhaus';
  src: url('/fonts/Bauhaus Heavy Regular.otf') format('truetype');
}

/* COLORS */
:root{
  --dark: #262534;
  --red: #DE263F;
  --white: #ffffff;
}


    body {
            margin: 0;
            padding: 0;
  font-family:'Gilroy';
  background:#fff;
  color:var(--dark);
            overflow-x: hidden; /* remove horizontal scroll */

        }

        /* Navbar */
.navbar {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.75rem 1rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    position: sticky;
    top: 0;

    /* 🔥 Increased z-index so hero, images, overlays, modals NEVER cover it */
    z-index: 9999 !important;

    box-shadow: 0 1px 6px rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);

    /* 🔥 Ensures padding doesn’t push width beyond screen */
    box-sizing: border-box;

    /* prevents sticky from breaking due to internal transforms */
    isolation: isolate;
}



        .logo {
            height: 60px;
            margin-left: 0.5rem;
        }

        .menu-btn {
            font-size: 1.8rem;
            color: #1f2937;
            cursor: pointer;
            display: block;

        }

.nav-links {
    position: absolute;
    top: 60px;
    right: 1rem;
    background: #fff;
    width: 80%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: right;
    border-radius: 0.5rem;
    padding-right: 0.5rem;
    z-index: 999;
}

.nav-links a {
    display: block;
    padding: 12px 20px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #dc3545;
}

.nav-links.active {
    max-height: 500px; /* ✅ expands fully on mobile */
}

.section-title {
font-size: 3rem;
    line-height: 1.3;
  font-family:'Playfair';
  font-weight:700;

  letter-spacing:-0.5px;  /* keep tight but not overflowing */

  color:var(--dark);
  word-break: break-word;
   // margin-top: -5rem;
}

.section-title .accent { color: var(--red); }





/* Hero text */
.hero-text {
    flex: 1 1 50%;
    min-width: 300px;
}

.hero-text h2 {
    color: #e63946;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
}

.hero-text p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0.5rem 0;
    line-height: 1.4;
}
    .icon-text {
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .icon-text strong {
        font-size: 0.8rem;
         line-height: 1;
    }

    /* ----------------------------------------------
   FIXED: REWARD ICONS — CLEAN + OVERRIDE SAFE
---------------------------------------------- */

/* WRAPPER */
.reward-icons {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 1.8rem 2.5rem;
       width: 100% !important;
    overflow-x: hidden !important;
}

/* HORIZONTAL ROW: icon left + text right */
.reward-icons .icon-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    white-space: normal  !important;
    font-size: 0.9rem;
    color: #000;
}

/* Icons */
.reward-icons .icon-item i {
    font-size: 42px !important;
    color: #978139 !important;
}

/* Bigger third icon */
.reward-icons .icon-item.big i {
    font-size: 52px !important;
}

/* Center the 3rd icon under the first row */
.reward-icons .icon-item:nth-child(3) {
    grid-column: span 2;
    justify-content: center !important;
}
 
/* Give icon1 more width so text wraps cleanly */


/* ---------- keep landscape behavior as before ---------- */
@media (orientation: landscape) and (max-width: 900px) {
  .reward-icons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2.5rem !important;
    width: auto !important;
    padding: 0 0.5rem;
  }
  .reward-icons .icon-item {
    white-space: normal  !important; /* keep single-line in landscape */
    flex: 0 1 auto !important;
  }
}


/* ----------------------------------------------
   LANDSCAPE MODE → ALL 3 IN ONE ROW
---------------------------------------------- */
@media (orientation: landscape)  {

    .reward-icons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2.5rem !important;
         margin-bottom: 1.4rem !important; 
    }

    .reward-icons .icon-item {
        justify-content: flex-start !important;
        flex-direction: row !important;
    }

    .reward-icons .icon-item i {
        font-size: 36px !important;
    }

    .reward-icons .icon-item.big i {
        font-size: 44px !important;
    }
}

/* ----------------------------------------------
   RESET old .icon-text so it NEVER interferes
---------------------------------------------- */
.icon-text {
    all: unset !important;
}
 


/* Why Section */
.why-section {

  margin: 0 auto;
  max-width: 1200px;
  padding: 4rem 1.5rem;

}

.why-section .genius .label {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #dc3545;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}

.why-section .genius .number {
  font-size: 3rem;
  font-weight: 700;
  color: #111;
}

.why-section .arrow {
  color: #dc3545;
  font-size: 2rem;
  margin-left: 0.3rem;
}

/* Card hover animation */
.why-card {
  transition: all 0.3s ease;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Contact Section */
/* Contact Section */
.contact-section {

    padding: 3rem 1.25rem;
    text-align: center;
    border-top: 2px solid #eee;
}


/* Contact Columns */
.contact-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-col {
    flex: 1;
    max-width: 450px;
    text-align: center;
}

.contact-col h3 {
    font-size: .8rem;
    margin-bottom: 0.5rem;
    /* color: #d40000; */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555; /* ✅ Subtle grey tone */
    padding: 4px 0;
}

.contact-col p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    letter-spacing: 1px;
}

.contact-col a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.contact-col a:hover {
    color: #d40000;
}
.contact-col h3 i {
    color: #d40000;
    margin-right: 8px;
    font-size: 4.3rem;
    vertical-align: middle;
}






       /* ✅ Always visible sticky CTA button */
.cta {
    position: fixed;       /* stays visible at bottom */
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;         /* ensures above all sections */
    pointer-events: none;  /* avoid blocking scroll */
}

.cta a {
    background-color: #262534;
    color: #fff;

    width: 90%;               /* take 90% of screen width */
    max-width: 300px;         /* optional: prevents too wide on large screens */
    margin: 0 auto;           /* center horizontally */

    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: block;           /* makes width & margin work */
    text-align: center;

    box-shadow: 0 3px 15px rgba(0,0,0,0.3);
    transition: background 0.3s ease;

    pointer-events: auto;
}


.cta a:hover {
    background-color: #DE263F;
}


        .cta p {
            font-size: 0.75rem;
            color: #6b7280;
            margin-top: 0.25rem;
        }

/* Make the left column vertically center its content */
.video-column {
    display: flex;
    align-items: center;   /* vertical center */
    justify-content: center;
}

/* Ensure video wrapper doesn’t push itself down */


.video-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 0 !important;
}

.video-wrapper video {
    width: 100%;
    border-radius: 12px;
}

/* Transparent overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 2;

    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Animated Play Button */
.play-btn {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    position: relative;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.35);
    animation: pulsePlay 1.8s infinite ease-out;
}

/* Triangle icon */
.play-btn::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 20px;
    border-style: solid;
    border-width: 15px 0 15px 24px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.85);
}

/* Pulsing Animation */
@keyframes pulsePlay {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(1.15); opacity: 0.75; }
    100% { transform: scale(1); opacity: 1; }
}

        /* Achievers Section */
.achievers {
    background: #fff;
    /* padding: 3rem 1rem 5rem; */
     padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.reward {

     padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.achiever-slider {
      display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* hide scrollbar */
    -ms-overflow-style: none;
    cursor: grab;
    padding: 10px;


    align-items: center;
    justify-content: center;
    position: relative;

}
.achiever-slider::-webkit-scrollbar {
    display: none;
}


.achiever-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.achiever-card .designation {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1rem;
}

.achiever-card .quote {
    font-style: italic;
    color: #333;
    line-height: 1.4;
    margin-bottom: 1rem;
}
/* inner content image sizing */
.achiever-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
      aspect-ratio: 16/9;   /* or 4/3 or 3/2 based on your design */
    object-fit: cover;
}
/* --- carousel (single-card) styles --- */
./* ✅ Center the card properly and make arrows visible */
.achiever-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ✅ Card stays centered */
.achiever-card {
    background: #fffafa;
    flex: 0 0 auto;
    display: none;
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: all 0.5s ease;
    margin: 0 auto;
    text-align: center;
}

.achiever-card.active {
    display: block;
    margin: 0 auto;
}

/* ✅ Arrow buttons — ensure visible on desktop */
.card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #c00;
    cursor: pointer;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;  /* ✅ ensures above card */
}

/* ✅ Space arrows equally from card sides */
.card-arrow.prev { left: 0; }
.card-arrow.next { right: 0; }




/* thumbnails */
.achiever-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}
.thumb-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eee;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s, background .18s;
}
.thumb-dot.active {
    background: #c00;
    color: #fff;
    transform: scale(1.05);
}

.social-icons i {
    font-size: 1.25rem;
    margin: 0 0.4rem;
    color: #e63946;
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #111827;
}

.nav-arrow {
    font-size: 2.2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.nav-arrow:hover {
    color: #e63946;
}



.nav-arrow {
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    user-select: none;
}
.nav-arrow:hover {
    color: #c00;
}

#stats {
    background: #fffafa;
}

#stats h2 {
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
}

#stats p {
    font-size: 1.125rem;
    color: #333;
}

.count {
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.stats-section {
  background: #fff;
}

.stat-item h2 {
  transition: color 0.3s ease;
}

.stat-item:hover h2 {
  color: #2563eb; /* blue-600 */
}

.stats-card {
  border: 2px solid #dc3545; /* Bootstrap danger color */
  border-radius: 0.6rem;
  padding: 1.25rem;
  background: #fff;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* ✨ Soft red glow on hover */
.stats-card:hover {
  box-shadow: 0 0 25px rgba(220, 53, 69, 0.25);
  transform: translateY(-3px);
}

/* Accordion Button Styling */
.faq-section .accordion-button {
  border-radius: 0.5rem !important;
  transition: all 0.3s ease;
  font-size: 0.9rem !important;          /* Question font-size */
  padding: 0.9rem 1rem;
  position: relative;
box-shadow:
  0px 3px 6px rgba(0,0,0,0.12),
  0px 1px 3px rgba(0,0,0,0.10);
}

/* Arrow Icon */
.faq-section .accordion-button::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);              /* pointing down */
  transition: 0.3s ease;
  margin-left: auto;
  margin-right: 4px;
}

/* Rotate arrow when opened */
.faq-section .accordion-button:not(.collapsed)::after {
  transform: rotate(-135deg);            /* pointing up */
}

/* Background + color when opened */
.faq-section .accordion-button:not(.collapsed) {
  background-color: #212529 !important;
  color: #fff !important;
  box-shadow: none;
}

/* Accordion Container */
.faq-section .accordion-item {
  border: 2px solid #e5e5e5;
  border-radius: 0.75rem;
}

/* Answer Body */
.faq-section .accordion-body {
    font-family: 'Gilroy';
  background: #fff;
  font-size: 0.9rem !important;          /* Answer font-size */
  margin-top: 1rem;                      /* TOP MARGIN */
  border: 2px solid #212529;             /* DARK BORDER */
  border-radius: 0.5rem;
  padding: 1rem;
}

/* Cash Reward Button */
.faq-section .btn-outline-dark {
  border-radius: 0.2rem;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.faq-section .btn-outline-dark:hover {
  background-color: #212529;
  color: #fff;
}



/* Modern Info Card */
.course-card {
    background: #fff;                        /* clean white background */
    border-radius: 1rem;                     /* rounded corners */
    border: 2px solid #dc3545;               /* subtle red border */
    padding: 1.5rem 2rem;                    /* inner spacing */
    margin-top: 1rem;                        /* spacing below select */
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* subtle depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect: lift & stronger shadow */
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Headings inside card */
.course-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;                          /* red heading for modern look */
    margin-bottom: 0.75rem;
}

/* Paragraphs inside card */
.course-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Buttons container inside card */
.course-card .buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

  

/* Plus row */
.plus-row {
  font-size: 40px;
  font-weight: 900;
  padding: 15px 0;
  color: #0A1128;
}

/* Bottom icon */
.bottom-icon img {
  width: 130px;     /* increased size */
  max-width: 160px; /* prevents too large on big screens */
  margin-bottom: -5rem;
}


/* Main footer */

        /* Footer */
        .footer {
            text-align: center;
            color: #9ca3af;
            font-size: 0.7rem;
            margin-top: 2rem;
        }

.catjee-footer {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
}

/* Brought to you by text */
.footer-note {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

/* Logo Section */
/* Force footer logo to be centered always */
.footer-logo img {
    display: block !important;        /* required for centering */
    margin-left: auto !important;     /* center horizontally */
    margin-right: auto !important;
    width: 390px;
    margin-top: -130px;
    margin-bottom: -120px;
        width: 100% !important;
    max-width: 350px !important;
    height: auto;
}


.footer-logo h2 {
    font-size: 2rem;
    color: #d40000;
    margin: 0;
    font-weight: 700;
}

.footer-logo small {
    font-size: 0.9rem;
    color: #666;
}
.footer-bottom {
    text-align: center;
    background: #111;
    color: #fff;
    padding: 12px 10px;
    font-size: 0.85rem;
    margin-top: 0;
}
/* Courses Row */
/* Courses Row */
.footer-courses {
    padding: 0px 10px;
    margin-top: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;      /* 🔥 Prevents wrapping */
    gap: 40px;
   
    
}

.footer-courses .course {
    position: relative;
    text-align: center;
    color: #fff;
    flex-wrap: wrap !important;
}

.footer-courses .course strong {
    font-size: 1.3rem;
    color: #fff;
    display: block;
}

.footer-courses .course span {
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.8;
}

/* WHITE divider between the two */
.footer-courses .course:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #fff;
    opacity: 0.5;
}


/* Programs row */
/* Programs row */
.footer-programs {
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
     flex-wrap: wrap !important;
    gap: 0px;                /* Balanced spacing */
}

.footer-programs .program {
    flex: 1;                  /* Equal width for all 3 */
    min-width: 120px;         /* 🔥 Prevent line break and keep in 1 row */
    max-width: 220px;         /* 🔥 Prevent line break and keep in 1 row */
    text-align: center;
    color: #fff;
    font-size: 0.75rem;       /* Slightly reduced so longer text fits */
    font-weight: 600;
    position: relative;       /* Required for divider */
    padding: 0 0px;          /* Reduced padding so more text fits */
    line-height: 1.2;         /* Tighter but readable */
}

.footer-programs .program span {
    display: block;
    font-size: 0.55rem;
    font-weight: 300;
    margin-top: 4px;
    opacity: 0.9;
}

/* WHITE divider for PROGRAMS */
.footer-programs .program:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -2px;             /* Closer to center for balance */
    top: 50%;
    transform: translateY(-50%);
    height: 90%;              /* Looks cleaner than full height */
    width: 1.5px;
    background: #fff;
    opacity: 0.6;
}





#menuIcon {
    font-size: 35px !important; /* increase size */
}

/* new */




.top-badge {
    font-family: 'Bauhaus';
    font-size: 45px;
    font-weight: 700;           /* stronger in OTF */
    color: var(--dark);
    margin-bottom: 1.1rem;
    margin-top: 1rem;
    letter-spacing: 0.5px;


}

.top-badge span {
    font-family: Arial, sans-serif; /* or any font you want */
    font-weight: bold;
     font-size: 32px;
}


/* HERO SECTION */
#hero-section {
  padding: 20px;
  max-width: 90%;
  margin: 0 auto;
}



/* MAIN HERO TITLE */
.hero-title {
  font-family:'Playfair';
  font-weight:700;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing:-0.5px;  /* keep tight but not overflowing */
  margin:0 0 10px 0;
  color:var(--dark);
  word-break: break-word;
}


/* Wrap free section and isolate from parent flex/grid */
.free-center {
    width: 100%;
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
}

/* Center the lines within the wrapper */
.free-center .free-line {
    height: 2px;
    width: 100%;
    max-width: 700px;             /* your requested width */
    background: #978139;
    margin: 8px auto;             /* THIS centers it */
    display: block !important;    /* prevents flex stretching */
}

/* Center the text wrapper */
.free-center .free-text {
    max-width: 700px;
    margin: 6px auto !important;
    text-align: center !important;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Gold text */
.free-center .gold {
    color: #978139;
    font-weight: 700;
}

.free-line {
    height: 2px;
    width: 100%;

    background: #978139;
    margin: 3px auto;
}

.free-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
}

.free-text .gold {
    color: #978139;
    font-weight: 700;
}

/* MIDDLE COLUMN */
.plus-box {
    flex: 0.4;
    text-align: center;
}

.plus-sign {
    font-size: 3rem;
    font-weight: 700;
   
    margin-bottom: 1rem;
}

/* RIGHT COLUMN */

.cash-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;

}
.cash-amount {
    font-size: 4rem;
    text-align: center;
    font-weight: 700;
    color: #9C7A30;
    margin: 15px 0;
}
 /* Default (portrait) — stacked */
.cash-wrap {
    text-align: center;
    
    
}

.cash-wrap .cash-title,
.cash-wrap .cash-amount {
    display: block;
}


 
/* Toggle Button */
.cash-toggle-btn {
    background: #262534;
    color: #fff;
    font-family: 'Gilroy';
    padding: 18px 25px;
    border-radius: 12px;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .7rem;
    cursor: pointer;
    width: 100%;
    max-width: 480px;
    margin: 30px auto;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.25),
                0 0 12px rgba(217, 217, 217, 0.8);
}

/* round rupee icon */
.cash-toggle-btn .cash-icon {
    background: #DE263F;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

/* arrow container */
.cash-toggle-btn .arrow {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* white chevron down */
.cash-toggle-btn .arrow::before {
    content: '';
    border-style: solid;
    border-width: 0 2px 2px 0;
    border-color: #fff;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);        /* down arrow */
    transition: transform 0.3s ease; /* smooth rotate */
}

/* when opened – white chevron up */
.cash-toggle-btn.open .arrow::before {
    transform: rotate(-135deg);      /* up arrow */
}

 

/* Cash Box */
.cash-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    max-width: 520px;
    margin: auto;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
     box-shadow:
        0px 3px 6px rgba(0,0,0,0.25),

        /* Blurred red border effect */
         0 0 12px rgba(217, 217, 217, 0.8); /* Light grey blur */

    /* Solid border to strengthen it */
    border: 1px solid #00000029;
}


.hidden { display: none; }

/* Inner Text Styling */
.cash-title {
    font-family: 'GilroyMedium';
    font-size: 23px;
    margin-bottom: 10px;
}
.cash-title1 {
    font-family: 'Gilroy';
    font-size: 1rem;
    margin-bottom: 10px;
}

.cash-title1 .highlight { color: #DE263F; }

.line {
    border: none;
    height: 3px;
    width: 90%;
    background: #B8A750;
    margin: 10px auto 20px auto;
}

.rank-heading {
    font-family: 'Gilroy';
    font-size: 42px;
    text-align: center;
    font-weight: 700;
}
.rank-red { color: #DE263F; }

.rank-sub {
    text-align: center;
    font-size: 18px;
    margin-top: -8px;
    font-family: 'Gilroy';
}



.reward-note {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 1rem;
    color: #333;
    font-family: 'GilroyMedium';
    line-height: 1.1;     /* reduced line spacing */
    letter-spacing: -0.3px;
     text-align: left;
}

.reward-note strong {
    font-family: 'Gilroy';
    font-weight: 800;      /* MUCH bolder */

}


.star-icon {
    width: 34px;
    height: 34px;
}
.rank-list {
    margin-top: 25px;
}

.rank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10px;
    border-bottom: 1px solid #eee;
}

.rank-label {
    font-family: 'Gilroy';
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    line-height: 1.1;
    text-align: right;

}

.rank-label span {
    color: #FF2D55; /* Same pink-red shade as screenshot */
}

.rank-label small {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-top: 4px;
}

.rank-amount {
    font-family: 'Gilroy';
    font-size: 2.5rem;
    font-weight: 700;
    color: #9C7A30; /* gold shade exactly as your screenshot */
    text-align: right;


}

.class-blocks {
  width: 100%;
  max-width: 420px;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow:
       0px 3px 6px rgba(0,0,0,0.25),
       0 0 12px rgba(217,217,217,0.8);
  border: 1px solid #00000029;

  /* NEW — centers the box */
  margin-left: auto;
  margin-right: auto;
}


.class-btn {
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 1.6rem;
    background: #1E1E2E;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    cursor: pointer;

    padding: 0;

    /* automatic centering in all layouts */
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;

    /* smooth scaling on very small screens */
    transition: all 0.2s ease-in-out;
}

/* 🔥 For very small screens (max-width: 360px) */
@media (max-width: 360px) {
    .class-btn {
        width: 6.2rem;
        height: 6.2rem;
        border-radius: 1.4rem;
    }

}
 
    /* Mobile view (max-width: 600px) */
    @media (max-width: 600px) {
        .icon-text {
            gap: 6px;
        }

        .icon-text i {
            font-size: 38px !important; /* reduce icon size */
        }

        .icon-text strong {
            font-size: 14px !important; /* reduce text size */
        }

        .center-icon-text i {
            font-size: 38px !important;
        }

        .center-icon-text strong {
            font-size: 16px !important;
        }
    }
/* "Moving to" */
.class-btn .top-text {
    font-family: 'Gilroy';
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 4px;        /* spacing */
    line-height: 1;
}

/* "9th" */
.class-btn .num-text {
    font-family: 'Gilroy';
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-top: -14px;
}

/* "th" superscript */
.class-btn .num-text sup {
    font-size: 1.2rem;           /* make smaller */
    vertical-align: super;
    line-height: 0;
}





.class-btn.dark { background: #262534; }
.class-btn.red { background: #DE263F; }

.class-btn.wide { height: 110px; }

.course-box {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;           /* appears just below the button */
    width: 100%;
    min-height: 170px;
    margin: 10px 0 0 0;
    z-index: 999;
}




/* LEFT BLACK/RED BLOCK (behind) */

/* GLASS PANEL (solid & darker left side) */
.glass-panel {
   
    padding: 24px 30px;

    /* SOLID GRADIENT: NO transparency */
    background: linear-gradient(
        90deg,
       /* rgb(90,90,90) 0%,         solid dark grey */
        rgb(180,180,180) 20%,    /* mid tone */
        rgb(235,235,235) 100%    /* almost white */
    );

    border-radius: 32px;

    /* soft interior shine */
    box-shadow:
        0 8px 30px rgba(0,0,0,0.22),
        inset 0 0 25px rgba(255,255,255,0.35);

    /* optional blur effect */
    backdrop-filter: blur(14px);

    z-index: 2;
}
/* Slide-in animation */
@keyframes slideInGlass {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    60% {
        opacity: 1;
        transform: translateX(0px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

.glass-panel {
    animation: slideInGlass 0.55s ease-out forwards;
}
.course-container {
    max-width: 32.5rem;
    margin: auto;
}

.course-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    /* NEW: ensures equal space on left & right */
    justify-items: center;
    margin-bottom: 16px;
}

.course-row.full {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.target-top {
     color: #fff;
    font-size: 1.1rem;
    opacity: 0.9;
     
}

.target-num {
      font-family: 'Gilroy';

    color: #fff;
    line-height: 1;
  
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
   margin-top: -1.5px;
}

.target-top:last-child {
    font-size: 0.8rem;
    opacity: 0.8;
}


.course-item {
    position: relative;  /* important: overlay attaches HERE */
}
.class-btn .glass-text {
    font-family: 'Gilroy';
    font-size: 2.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
   // margin-top: -14px;
}
/* FULLSCREEN GLASS MODAL OVERLAY */
.glass-modal {
    max-width: 100%;
    position: fixed;
    inset: 0;                       /* top:0; right:0; bottom:0; left:0; */
    display: none;                  /* hidden by default */
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
/*
    background: transparent !important;
    backdrop-filter: none !important;       */


    z-index: 9999;
}


/* when open */
.glass-modal.is-open {
    display: flex;
}

/* FLOATING GLASS CARD */
.glass-content {
    width: 90%;
    max-width: 520px;
    padding: 24px 28px;
    border-radius: 32px;

    background: linear-gradient(
        90deg,
        rgba(90,90,90,0.40) 3   0%,
        rgba(160,160,160,0.40) 50%,
        rgba(235,235,235,0.32) 100%
    );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 12px 34px rgba(0,0,0,0.25),
        inset 0 0 30px rgba(255,255,255,0.30);

    color: #000;
    font-family: 'Gilroy';
    animation: glassPopIn .3s ease-out forwards;
    position: relative;
}

/* CLOSE BUTTON INSIDE MODAL */
.glass-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

/* animation */
@keyframes glassPopIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.course-inner {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 3;
    justify-content: flex-start;
}

/* BUTTON BLOCKS */
.course-btn {
    width: 140px;
    height: 110px;
    border-radius: 26px;
    font-size: 26px;
    font-weight: 700;
    font-family: 'Gilroy';
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.course-btn.dark { background: #1E1E2E; }   /* NEET */
.course-btn.red  { background: #E82539; }   /* JEE */



.section-title1 {
font-size: 1.5rem;
    line-height: 1.3;
  font-family:'Gilroy';
  font-weight:700;
 text-align: left;
  letter-spacing:-0.38px;  /* keep tight but not overflowing */
 margin-top: 2rem;
  color:var(--dark);
  word-break: break-word;
   // margin-top: -5rem;
}
.section-title1 .accent { color: var(--red); }
.subsection-title {
font-size: 1.1rem;
    line-height: 1.3;
  font-family:'Gilroy';
  font-weight:700;

  letter-spacing:-0.38px;  /* keep tight but not overflowing */

  color:var(--dark);
  word-break: break-word;
   // margin-top: -5rem;
}


/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
    .hero-bg {
        height:90vh;
    }
}

/* ✅ Adjust on smaller screens */
@media (max-width: 768px) {


	.scroll-wrapper {
        position: relative;
        height: 90px;
        overflow: hidden;
    }
 
    .navbar {
        padding: 0.75rem 1rem;
    }
      .achiever-card {
        max-width: 100%;
    }
        .card-arrow.prev { left: -1rem; }
    .card-arrow.next { right: -1rem; }
}
/* Responsive: keep table stable */
@media(max-width: 600px) {
  .big { font-size: 32px; }
  .small { font-size: 16px; }
  .scroll-box img { width: 35px; }
  .scroll-box span { font-size: 14px; }
  .bottom-icon img { width: 110px; }
}


@media (max-width: 480px) {
 
    .card-arrow.prev { left: -1rem; }
    .card-arrow.next { right: -1rem; }
      .navbar {
        padding: 0.75rem 1rem;
    }
      .achiever-card {
        max-width: 100%;
    }

  .hero-title {
    font-size: 3rem;
    line-height: 1.3;
     word-wrap: break-word;
    overflow-wrap: break-word;
   // letter-spacing: -0.2px; /* prevents word overflow */
  //  margin-top: -1rem;
  }
.top-badge {
    font-size: 1.6rem;

}

.top-badge span {
     font-size: 1.2rem;
}


  .genius-img {
    width: 100%;
    margin-top: -2rem;
  }




/* red words */
.hero-title .accent { color: var(--red); }

/* dark words */
.hero-title .dark { color: var(--dark); }

 .test-date .big { font-size: 80px; }
  .test-date .small { font-size: 32px;  margin-top: 15px !important; margin-left: 1.5rem !important;}

   /* Make section full width */
    .program-section {
        max-width: 100% !important;
        padding: 15px;
    }

    /* FIX: Ensure right column stays centered */
    .right-col {
        width: 100%;
        display: flex;
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
        margin: 0 auto;    /* ensure center alignment */
    }

    /* Also fix Bootstrap row forcing left alignment */
    .program-section .row {
        display: flex;
        flex-direction: column;
        align-items: center !important; /* center children */
    }


.test-date-label {
    font-size: 30px;
}

.highlight-text {
    font-family: 'Gilroy';
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    text-align: center;   /* centers the text */
    letter-spacing: -0.3px; /* prevents word overflow */
}


.sub-text1 {
     font-family: 'GilroyRegular';
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
     margin-top: -0.7rem;
      text-align: center;   /* centers the text */
    letter-spacing: -0.3px; /* prevents word overflow */
}
.sub-text {
     font-family: 'Gilroy';
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    line-height: 1.5;
        margin-top: -0.7rem;
     text-align: center;   /* centers the text */
    letter-spacing: -0.3px; /* prevents word overflow */
}

/* JEE/NEET LABEL */
.label-box {
    font-size: 1.7rem;        /* reduced from 2rem */
    display: inline-block;
    background: #262634;
    color: #fff;
    padding: 7px 35px;       /* reduced size */
    text-align: center;
    font-weight: 700;
    border-radius: 4px;
    margin: 10px auto;        /* auto centers inline-block when parent is centered */

}

/* TEST DATE LABEL */
.test-date-label {
      font-family: 'GilroyMedium';
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 1rem;

    position: relative;
}

/* Thick underline */
.test-date-label::after {
    content: "";
    display: block;
    width: 35%;
    height: 4px;
    background: #978139;
    margin: 0px auto 0;   /* center underline */
    border-radius: 2px;
}

/* BIG NUMBER */
.test-date .big {
     font-family: 'GilroyMedium';
    font-size: 7rem;
    font-weight: 700;
    margin-top: -1rem;
}

/* SMALL TEXT */
.test-date .small {
    font-size: 3rem;
    font-weight: 700;
    line-height: 0.9;
    margin-top: 1.7rem !important;
    margin-left: .5rem !important;

}



.black-box {
    font-size: 18px;
    padding: 16px;
}

}




/* Hide program-section on desktop AND landscape modes */
@media (min-width: 768px), (orientation: landscape) {
    .program-section,
    .top-badge,
    .hero-title {
        display: none !important;
    }
}
/* Portrait only */
@media (orientation: portrait) {
     .reward-icons {
    width: 100% !important;
    max-width: 820px;            /* prevents super-wide layouts on large screens */
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
    padding: 0 0.5rem;           /* small side padding to avoid touching edges */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 2rem;
  }

  /* Allow text to wrap and shrink if needed to avoid overflow */
  .reward-icons .icon-item {
    white-space: normal !important;      /* allow wrapping */
    overflow-wrap: anywhere;             /* break long words if necessary */
    max-width: 100%;                     /* don't force wide items */
    flex: 1 1 auto !important;           /* allow shrinking/growing */
    justify-content: center !important;  /* center icon+text within cell */
    text-align: left;                    /* keep text readable */
  }

  /* Keep icon and text horizonal, but allow text to wrap to next line */
  .reward-icons .icon-item i {
    flex: 0 0 auto;
  // margin-right: 0.8rem;
  }
  .reward-icons .icon-item span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.1;
  }

  /* Center the 3rd icon under the first row */
  .reward-icons .icon-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-content: center !important;
  }

  /* Slightly reduce icon size on narrow portrait to help fit */
  .reward-icons .icon-item i {
    font-size: 40px !important;
  }
  .reward-icons .icon-item.big i {
    font-size: 48px !important;
  }

    .top-badge {
        margin-top: 1rem !important;
    }

          .reward-icons {
        width: 95% !important;        /* pulls inward nicely */
        grid-template-columns: 1.11fr .89fr !important;  /* equal width */
        column-gap: 0.5rem !important;  /* reduce horizontal gap */
        row-gap: 2rem !important;
        justify-content: center !important;
        margin-bottom: 1.4rem !important; 
      
    }
}
.genius-banner {
    width: 100%;
    content: url("{{ asset('/img/g-20/banner.png') }}");
}

/* Landscape (mobile/tablet rotated) */
@media (orientation: landscape) {
        .cash-wrap {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .cash-wrap .cash-title,
    .cash-wrap .cash-amount {
        display: inline-block !important;
        margin: 0 !important;
        text-align: center;
        white-space: nowrap;
    }

    .cash-wrap .cash-amount {
        font-size: 3rem; /* prevent overflow in landscape */
    }
        .class-btn {
        width: 7rem;
        height: 7rem;
        border-radius: 1.2rem;
        margin: 0.4rem; /* keeps spacing correct */
    }
  .video-column {
         padding-top: 5rem; /* keeps alignment intact */
    }
    .genius-banner {
        content: url("{{ asset('/img/g-20/bannerwide.png') }}");
    }
}

/* Desktop width */
@media (min-width: 768px) {
        .cash-btn-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .cash-btn-wrap .cash-toggle-btn {
        width: 100%;
        max-width: 480px;   /* desired max size */
        margin: 30px 0;     /* remove auto side margins */
    }
    
    .contact-section {
        padding: 4rem 2rem;
    }
    .contact-row {
        flex-direction: row;
        justify-content: center;
        gap: 5rem;
        text-align: center;
    }
    .contact-col {
        flex: 0 0 45%;
    }
	.scroll-wrapper {
        display: flex;
        flex-direction: row;     /* horizontal row */
        align-items: center;
        justify-content: center;
        gap: 20px;
        animation: none !important;
    }

    .scroll-item {
        position: relative;
        opacity: 1 !important;
        transform: none !important;
        text-align: center;
    }
               .hero {
                max-width: 700px;
                margin: auto;
            }

            .nav-links {
                position: static;
                display: flex;
                justify-content: flex-end;
                max-height: none;
                box-shadow: none;
                width: auto;
                background: transparent;
                 max-width: 100%;
            }

            .nav-links a {
                border: none;
                padding: 0 1rem;
            }

            .menu-btn {
                display: none;
            }
    .genius-banner {
        content: url("{{ asset('/img/g-20/bannerwide.png') }}");
    }
        .section-title {
        text-align: center !important;
    }
}


/* Mobile Landscape */
@media (orientation: landscape) and (max-width: 767px) {
    .section-title {
        text-align: center !important;
    }
}
footer.extra-small {
    font-family: 'GilroyRegular' !important;
    font-size: 0.8rem !important;   /* smallest clean readable size */
    line-height: 1.2 !important;
    letter-spacing: 0.3px;
    color: #6c757d !important;       /* keep muted look */
     margin-top: -10px;
}
    /* Overall wrapper */


.section-subtext {
     margin-top: -0.5rem;
    font-size: 0.95rem;       /* small size */
    text-transform: none;     /* lowercase allowed */
    color: #555;              /* muted */
    font-weight: 600;         /* strong */
    max-width: 600px;
    line-height: 1.4;
    margin-bottom: 1.2rem;
     margin: -0.5rem auto 1.2rem auto; /* center paragraph */
    text-align: center;             /* center text */
}




/* DATE BLOCK */
.test-date {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* so small text goes up */
    
}


.green-text {
    color: #B8A750;
    font-weight: 700;
}


/* Fix glass panel overflow */
@media (max-width: 480px) {
    .glass-panel {
        left: 0 !important;
    }
    .cash-btn-wrap {
margin-top: -0.4rem;
    }
}

/* Force all three programs in ONE ROW on very small screens */
@media (max-width: 400px) {

    .footer-programs {
        flex-wrap: nowrap !important;     /* ❗ prevent wrapping */
        justify-content: space-between !important;
        gap: 4px !important;              /* small spacing so all fit */
    }

    .footer-programs .program {
        min-width: 95px !important;       /* smaller block width fits row */
        max-width: 110px !important;
        font-size: 0.65rem !important;    /* shrink text slightly */
        line-height: 1.1 !important;
        padding: 0 !important;
    }

    .footer-programs .program span {
        font-size: 0.48rem !important;
        margin-top: 2px;
    }

    /* Adjust divider so it doesn't overflow */
    .footer-programs .program:not(:last-child)::after {
        right: -1px !important;
        height: 80% !important;
    }
}


@media (max-width: 360px) {
    .class-btn {
        width: 6.2rem !important;
        height: 6.2rem !important;
    }
}

/* ============================================================
   BEAUTIFUL GLASS PREVIEW MODAL (CATJEE THEME)
   ============================================================ */

.glass-preview-card {
    width: 92%;
    max-width: 860px;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.05)
    );
    border-radius: 32px;
    padding: 25px 32px;
    box-shadow:
        0 12px 40px rgba(0,0,0,0.25),
        inset 0 0 34px rgba(255,255,255,0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    position: relative;
    animation: glassFadeIn 0.35s ease-out forwards;
    font-family: 'Gilroy';
}

/* Smooth pop animation */
@keyframes glassFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Close Button */
.preview-close-btn {
    position: absolute;
    top: 14px;
    right: 18px;

    font-size: 1.2rem;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #262534;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s ease;
}

.preview-close-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Title */
.preview-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #262534;
    letter-spacing: -0.3px;
}

/* iFrame container */
.preview-frame-wrap {
    width: 100%;
    height: 70vh;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0,0,0,0.25);
    box-shadow: inset 0 0 12px rgba(255,255,255,0.18);
    margin-bottom: 22px;
}

/* iframe */
.preview-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Download button */
.preview-btn-wrap {
    text-align: center;
}

.preview-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #DE263F;
    color: #fff;
    padding: 14px 30px;
    border-radius: 16px;

    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;

    box-shadow: 0 4px 18px rgba(222,38,63,0.45);
    transition: 0.25s ease;
}

.preview-download-btn:hover {
    background: #b51d32;
    box-shadow: 0 6px 22px rgba(222,38,63,0.55);
}


/* fade in/out for modal overlay */
.glass-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 99999;
}
.glass-modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* preview card */
.glass-preview-card {
  width: 92%;
  max-width: 900px;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  box-shadow: 0 12px 40px rgba(0,0,0,0.30);
  position: relative;
  overflow: hidden;
}

/* close button */
.preview-close-btn { position: absolute; top: 12px; right: 14px; border: none; background: rgba(255,255,255,0.10); color: #fff; padding:6px 10px; border-radius:10px; cursor:pointer; }

/* iframe wrap & spinner */
.preview-frame-wrap { height: 68vh; border-radius: 12px; overflow: hidden; position: relative; background: rgba(0,0,0,0.2); }
.preview-frame { width:100%; height:100%; border:0; display:block; }

/* spinner (simple) */
.preview-spinner {
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#fff;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25));
  z-index: 5;
}

/* download button */
.preview-btn-wrap { text-align:center; margin-top: 16px; }
.preview-download-btn {
  display:inline-flex; gap:8px; align-items:center;
  background:#DE263F; color:#fff; padding:12px 22px; border-radius:12px; text-decoration:none; font-weight:700;
}
.preview-download-btn:active { transform: translateY(1px); }

/* Prevent the modal behind preview from blocking clicks */
.glass-modal.behind {
    pointer-events: none !important;
}



