/* ======================================= */
/* 🚀 Global Resets and Body Background */
/* ======================================= */
body {
    /* ❌ Removed: background: red; (Duplicate) */
    background: linear-gradient(-45deg, #0f172a, #1e293b, #0f172a, #1e293b);
    animation: gradientBG 20s ease infinite;
    background-size: 400% 400%;
}
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* 🌈 Stylish & Readable Colorful Marquee — Instant Start Version */
.animate-marquee {
  display: inline-block;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;

  /* 🎨 Gradient Text */
  background: linear-gradient(90deg, #00eaff, #ffe259, #34d399, #00eaff);
  background-size: 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* ✨ Soft Glow for Clarity */
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.1),
               0 0 10px rgba(0, 255, 255, 0.15);

  /* 🌀 Smooth but Instant Start */
  animation: marqueeFlow 28s linear infinite, gradientWave 10s ease-in-out infinite;
  animation-delay: 0s; /* 👈 ensures immediate start */
  padding: 6px 0;
}

/* 🔄 Marquee Flow (Instant Scroll Start) */
@keyframes marqueeFlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* 🌈 Soft Gradient Wave */
@keyframes gradientWave {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
  .animate-marquee {
    font-size: 0.9rem;
    animation: marqueeFlow 35s linear infinite, gradientWave 12s ease-in-out infinite;
  }
}


/* ======================================= */
/* 📱 Mobile Responsiveness (Max-width: 500px) */
/* ======================================= */
@media (max-width: 500px) {
    .wrapper {
        margin-top: -50px;
        transform: scale(0.8);
        top: 0 !important;
        left: 4vh !important;
    }
    .navbar-title {
        font-size: 0.9rem;
    }
    /* Note: Tailwind CSS is used for logo/input width, so these CSS rules might be overridden. */
    /* .navbar-input { width: 100%; font-size: 0.7rem; padding: 0.25rem 0.4rem; } */
    /* .navbar-logo { width: 50%; height: 40px; padding: 0.25rem; } */
}

/* ======================================= */
/* 🧊 Animated Cube Section */
/* ======================================= */
.animated-cube {
    display: flex;
    flex-direction: column;
    padding: 50px;
    height: 60vh;
    margin-bottom: 20px;
    position: relative;
    margin-top: 100px;
}
.wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== Cube ====== */
.cube {
    position: relative;
    width: 220px;
    height: 220px;
    transform-style: preserve-3d;
    animation: rotate 12s infinite linear;
    transition: transform 0.3s ease;
}
.cube:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* ====== Faces ====== */
.face {
    position: absolute;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #0ef;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 12px;
    text-align: center;
}
.face:hover {
    transform: scale(1.12);
    box-shadow: 0 0 25px #0ef, 0 0 50px #0ef;
}
.face img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}
.face img:hover {
    transform: scale(1.15);
}
.face h3 {
    margin: 0;
    font-size: 1.05rem;
    text-align: center;
    color: white;
    font-weight: bold;
}
.face p {
    font-size: 0.78rem;
    text-align: center;
    padding: 0 8px;
    color: #cfefff;
}
/* Correct 3D face positions (half of cube width = 110px) */
.face:nth-child(1) {
    transform: rotateY(0deg) translateZ(110px);
}
.face:nth-child(2) {
    transform: rotateY(90deg) translateZ(110px);
}
.face:nth-child(3) {
    transform: rotateY(180deg) translateZ(110px);
}
.face:nth-child(4) {
    transform: rotateY(-90deg) translateZ(110px);
}
.face:nth-child(5) {
    transform: rotateX(90deg) translateZ(110px);
}
.face:nth-child(6) {
    transform: rotateX(-90deg) translateZ(110px);
}

/* ====== Animation ====== */
@keyframes rotate {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }
    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}
.hint {
    position: absolute;
    top: 80%;
    left: 20%;
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 3000;
}

.hint img {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease;
}

.hint img:hover {
    transform: scale(1.05);
}

.hint p {
    margin-top: 6px;
    font-size: 1rem;
    color: #0ef;
    font-weight: bold;
    text-shadow: 0 0 8px #000;
}
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Cube Responsiveness */
@media (max-width: 800px) {
    .cube {
        width: 180px;
        height: 180px;
    }
    .hint {
        left: 20px;
    }
    .hint img {
        width: 50px;
    }
    .hint p {
        font-size: 0.9rem;
    }
}
@media (max-width: 500px) {
    .cube {
        width: 140px;
        height: 140px;
    }
    .hint {
        left: 0px;
        top: 200px;
    }
    .hint img {
        width: 40px;
    }
    .hint p {
        font-size: 0.8rem;
    }
    .right-buttons {
        margin-top: 40px !important;
    }
    .right-buttons button {
        font-size: 0.6rem !important;
    }
}

/* ======================================= */
/* 🧭 Side Menus and Buttons */
/* ======================================= */
/* Right Buttons (About Us/Commitment) */
.right-buttons {
    position: fixed;
    display: flex;
    top: 50%;
    right: 20px;
    margin-bottom: 30px;
    transform: translateY(-50%);
    box-sizing: border-box;
    flex-direction: column;
    z-index: 100;
    gap: 5px;
}
.right-buttons button {
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    background: linear-gradient(90deg, #0ef, #34d399);
    color: #000;
    transition: all 0.3s;
}
.right-buttons button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px #0ef, 0 0 20px #34d399;
}
@media (max-width: 800px) {
    .right-buttons {
        margin-top: 100px;
        position: relative;
        left: 20px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-top: 0;
    }
    .right-buttons button {
        font-size: 1rem;
    }
}

/* Left Menu (Social Icons) */
.left-menu {
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    animation: baad 4s 1; /* Animation kept */
}
@keyframes baad {
    0% {
        opacity: 0;
    }
    90% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.left-menu a {
    display: flex;
    z-index: 1;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid #0ef;
    animation: floatBounce 3s ease-in-out infinite;
    color: #0ef;
    width: 42px;
    height: 42px;
    font-weight: bold;
    box-shadow: 0 0 8px #0ef;
    font-size: 1.2rem;
    padding: 8px 10px;
    border-radius: 8px;
}
.left-menu a:hover {
    background: #0ef;
    color: #000;
    transform: scale(1.15);
    box-shadow: 0 0 15px #0ef, 0 0 25px rgba(0, 239, 255, 0.5);
}
@keyframes floatBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Floating Demo Button */
.floating-demo {
    width: 200px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.2rem;
    background: linear-gradient(90deg, #facc15, #fcd34d);
    color: #000;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 14px;
    cursor: pointer;
    z-index: 1;
    animation: bounce 2s infinite;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

/* ======================================= */
/* 📚 Modals (General Styling) */
/* ======================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.animate-fadeIn {
    animation: fadeIn 0.25s ease-out;
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar,
.info-content::-webkit-scrollbar,
.form-content::-webkit-scrollbar,
.about-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-thumb,
.info-content::-webkit-scrollbar-thumb,
.form-content::-webkit-scrollbar-thumb,
.about-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* Modal Parent Container (Flex Centering) */
.modal,
.info-modal,
.form-modal, /* 👈 Form Modal Centering is done here */
.syllabus-modal {
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    font-weight: 600;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center; /* 👈 Horizontal Center */
    align-items: center; /* 👈 Vertical Center */
    z-index: 40000;
    opacity: 0;
    transition: opacity 0.3s;
}
.modal.show,
.info-modal.show,
.form-modal.show,
.syllabus-modal.show {
    opacity: 1;
    display: flex;
}

/* Modal Inner Content (General Look) */
.modal-content,
.info-content,
.form-content,
.syllabus-content {
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 14px;
    width: 420px;
    z-index: 120;
    max-height: 90vh;
    overflow-y: auto;
    text-align: left;
    font-family: "Arial", sans-serif;
    animation: slideZoom 0.35s ease forwards;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
@keyframes slideZoom {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

/* Close Button General Style */
.close {
    position: absolute;
    right: 15px;
    top: 12px;
    color: #0ef;
    font-size: 22px;
    cursor: pointer;
    z-index: 130;
    text-shadow: 0 0 8px #0ef;
    transition: color 0.2s, text-shadow 0.2s;
}
.close:hover {
    color: #fff;
    text-shadow: 0 0 15px #0ef;
}

/* ======================================= */
/* 📘 Form Modal Specific Style */
/* ======================================= */
.form-modal .form-content {
    /* 🎯 FIX: Overridden properties removed for Flexbox centering */
    /* width: 500px; is now inherited from .modal-content general width 420px for consistency */
    position: relative; /* Set to relative for close button to work inside it */
    
    /* Your desired neon style */
    background: rgba(30, 41, 59, 0.98);
    color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    border: 2px solid #0ef;
    
    /* Form Inputs */
    width: 350px; /* Use the width from HTML inline style */
}
.form-content input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    border: none;
    outline: none;
    color: #000;
}
.form-content button {
    background: #0ef;
    color: #000;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 10px;
}
/* Ensure the close button is still right for the form */
.form-modal .close {
    right: 15px;
    top: 12px;
    color: #0ef; /* Use neon for form close */
    text-shadow: 0 0 8px #0ef;
}


/* ======================================= */
/* 🌟 Other Modal Content Styles */
/* ======================================= */
.modal-content h2,
.info-content h2,
.about-content h2 {
    color: #0ef;
    margin-top: 0;
}
.modal-content .tagline,
.info-content .tagline {
    color: #facc15;
    font-style: italic;
    margin: 8px 0 10px 0;
}
.modal-content p,
.info-content p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 10px;
}
.modal-content ul li,
.info-content ul li {
    color: #34d399;
    margin: 6px 0;
    font-weight: 600;
}

/* General Buttons */
button {
    margin-top: 8px;
    padding: 8px 12px !important;
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.2s;
}
#moreInfoBtn {
    background: linear-gradient(90deg, #0ef, #34d399);
    color: #000;
    font-weight: 700;
}
.back-btn {
    background: #0ef;
    color: #000;
    font-weight: 700;
    margin-right: 8px;
}
.demo-btn {
    background: linear-gradient(90deg, #facc15, #fcd34d);
    color: #000;
    font-weight: 700;
}

/* About Modal Specific */
.about-modal {
    /* Kept separate for unique background/style if needed, but inheriting display logic */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 40000; /* Match other modals */
}
.about-modal.show {
    display: flex;
}
.about-content {
    background: rgba(30, 41, 59, 0.98);
    padding: 20px 25px;
    border-radius: 14px;
    width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    color: #fff;
    position: relative;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
.about-content h2 {
    color: #0ef;
    margin-top: 0;
}
.about-content .close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #0ef; /* Neon Close */
    text-shadow: 0 0 8px #0ef;
}
.about-content .close:hover {
    color: #fff;
    text-shadow: 0 0 15px #0ef;
}
/* About Content Details (Hindi/English) */
.about-content #aboutTitle { text-align: center; margin-bottom: 8px; font-size: 1.25rem; }
.en-title { color: #0ef; font-weight: 800; }
.hi-title { color: #facc15; font-weight: 700; margin-left: 8px; }
.about-content .en .sub { color: #0ef; font-weight: 700; margin: 6px 0; }
.about-content .hi .sub { color: #facc15; font-weight: 700; margin: 6px 0; }
.about-content .en p, .about-content .en li { color: #cfefff; }
.about-content .hi p, .about-content .hi li { color: #ffe8a8; }
.about-content .en ul, .about-content .hi ul { list-style: none; padding-left: 0; margin-left: 0.2rem; }
.about-content .en ul li::before { content: "✅"; margin-right: 8px; display: inline-block; width: 18px; }
.about-content .hi ul li::before { content: "🔹"; margin-right: 8px; display: inline-block; width: 18px; }
.about-content p { line-height: 1.6; margin: 8px 0; font-size: 0.95rem; }
.about-content h3.sub { font-size: 1rem; margin: 10px 0 6px 0; }
.modal-photo-section { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; background-size: 30px; }
.about-photo { width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 239, 255, 0.18); border: 3px solid rgba(14, 239, 255, 0.18); }

/* ======================================= */
/* ✨ Welcome Screen */
/* ======================================= */

.playlist-box
{
    opacity: 1;
    animation: pl 5s 1;
}

@keyframes pl{

0%{opacity: 0;}
100%{opacity: 1;}

}

#welcomeScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #0ef;
    font-family: Arial, sans-serif;
    z-index: 2000;
    animation: fadeOut 1s ease 3.2s forwards; /* Animation kept as it was in original */
    overflow: hidden;
}
@keyframes zoomIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
/* Canvas background inside welcome screen */
#welcomeScreen #dataBg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.welcome-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.welcome-content h1 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 10px #00e6e6;
    margin-bottom: 20px;
}
.line1 {
    color: #00e6ff;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(0, 230, 255, 0.4);
    animation: fadeInUp 1.5s ease forwards;
}
.line2 {
    color: #ffcc00;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.6px;
    animation: fadeInUp 2s ease forwards;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
#welcomeScreen h1 span {
    color: #facc15;
}

/* ======================================= */
/* 📜 Scrolling Text / Marquee */
/* ======================================= */
.scroll-text-box {
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #0ef;
    box-shadow: 0 0 5px #0ef, 0 0 10px rgba(0, 239, 255, 0.5);
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
}
.scroll-text-inner {
    display: inline-block;
    width: 100%;
    font-weight: bold;
    font-size: clamp(0.75rem, 3vw, 1rem);
    color: #0ef;
    white-space: nowrap;
    animation: scrollText 25s linear infinite;
}
@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ======================================= */
/* 📑 PDF Syllabus Modal */
/* ======================================= */
.pdf-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}
.view-btn, .download-btn {
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s;
}
.view-btn {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    color: #fff;
}
.download-btn {
    background: linear-gradient(90deg, #22c55e, #4ade80);
    color: #fff;
}
.view-btn:hover, .download-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px #0ef;
}
/* PDF Modal Updated Neon Theme (Kept as provided) */
.syllabus-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}
.syllabus-modal.show {
    display: flex;
    animation: fadeIn 0.35s ease-in-out;
}
.syllabus-content {
    background: radial-gradient(circle at top left, #06141f 20%, #0a1c2e 80%);
    border: 2px solid #00eaff;
    box-shadow: 0 0 25px rgba(0, 239, 255, 0.6);
    padding: 28px;
    border-radius: 18px;
    text-align: center;
    color: #e0f7ff;
    width: 90%;
    max-width: 400px;
    position: relative;
    font-family: "Poppins", sans-serif;
}
.syllabus-content h2 {
    color: #00eaff;
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-shadow: 0 0 12px #00eaff;
}
.syllabus-content p {
    color: #c9e6ff;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.pdf-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}
.view-btn, .download-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    border: 1px solid transparent;
    cursor: pointer;
}
.view-btn {
    background: linear-gradient(90deg, #00b4d8, #48cae4);
    box-shadow: 0 0 12px rgba(0, 239, 255, 0.6);
}
.view-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 0 20px rgba(0, 239, 255, 0.8);
}
.download-btn {
    background: linear-gradient(90deg, #0077b6, #00a8e8);
    box-shadow: 0 0 12px rgba(0, 239, 255, 0.5);
}
.download-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 0 20px rgba(0, 239, 255, 0.9);
}
#closePdf {
    position: absolute;
    right: 14px;
    top: 12px;
    font-size: 22px;
    cursor: pointer;
    color: #00eaff;
    text-shadow: 0 0 10px #00eaff;
    transition: 0.2s;
}
#closePdf:hover {
    color: #fff;
    text-shadow: 0 0 15px #00eaff;
}


/* 🏆 Playlist Icon (PULSING ANIMATION) */
.fixed-playlist-icon { 
    position: fixed;
    top: 30%;
    right: 40px;

    /* 🛠️ Icon Size & Shape Properties */
    width: 60px; 
    height: 60px;
    border-radius: 50%; 
    display: flex; 
    justify-content: center;
    align-items: center;
    font-size: 1.8rem; 

    /* 🎨 Color & STATIC Properties */
    opacity: 1; 
    transform: none; /* Icon will stay in place */
    background: linear-gradient(90deg, #ffb300, #ff6f00);
    color: #fffbea;
    text-decoration: none;

    /* ⚙️ ANIMATION PROPERTIES ADDED */
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.8); /* Static glow for base */
    transition: all 0.2s ease; /* Simple transition for hover */
    animation: pulseZoom 2s infinite alternate ease-in-out; /* 👈 New Animation */
    z-index: 5000;
    cursor: pointer;
}

/* 🖱️ Hover Effect (Keep) */
.fixed-playlist-icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    background: linear-gradient(90deg, #ff6f00, #ffb300);
}

/* 💥 Final Zoom In/Out Animation (NO GLOW) */
@keyframes pulseZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08); /* Only Zoom in */
    }
    100% {
        transform: scale(1);
    }
}


#cube-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}


/* ✅ Prevent hidden modals from blocking clicks */
.modal,
.info-modal,
.form-modal,
.syllabus-modal,
.about-modal {
    pointer-events: none;
    z-index: 5000 !important; 
}

.modal.show,
.info-modal.show,
.form-modal.show,
.syllabus-modal.show,
.about-modal.show {
    pointer-events: auto;
}



/* ============================================== */
/* 📢 UPDATED: Dynamic Ad Popup (Aggressive Fluid Scaling) */
/* ============================================== */

/* 💻 DESKTOP/TABLET FLUID SETTINGS */
.dynamic-ad-container {
    position: fixed;
    bottom: 50px;
    right: -300px; 
    top: unset; 
    left: unset; 

    /* Fluid Width: 230px (Min) से 280px (Max) तक, 30vw का उपयोग करके स्केल करें */
    width: clamp(230px, 30vw, 280px); 

    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: white;
    
    /* Fluid Padding: 10px (Min) से 15px (Max) तक */
    padding: clamp(10px, 1.5vw, 15px); 
    
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(255, 255, 255, 0.1);
    z-index: 9998;
    font-family: 'Poppins', sans-serif;
    border: 3px solid #ffdd44;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px; 
    transition: right 0.8s ease-in-out, left 0.8s ease-in-out, opacity 0.8s ease-in-out; 
    opacity: 0;
    cursor: pointer;
}

/* 💻 DESKTOP ACTIVE STATE */
.dynamic-ad-container.active {
    right: 20px; 
    opacity: 1;
}

/* 💻 DESKTOP CONTENT STYLES (Fluid Sizing) */
.dynamic-ad-content {
    text-align: center;
    width: 100%; 
    height: 100%; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    opacity: 0; 
    transform: scale(0.8); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
}
.dynamic-ad-content.active {
    opacity: 1;
    transform: scale(1);
    animation: bounceInContent 1s ease-out forwards; 
}

/* Fluid Icon Size: 45px (Min) से 60px (Max) तक */
.ad-image-placeholder {
    width: clamp(45px, 5vw, 60px); 
    height: clamp(45px, 5vw, 60px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    
    /* Fluid Icon Font Size: 1.6rem (Min) से 2.2rem (Max) तक */
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    
    color: #ffdd44; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* Fluid Text Size: 0.95rem (Min) से 1.15rem (Max) तक */
.dynamic-ad-content p {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Fluid CTA Button Padding/Size */
.cta-button {
    display: inline-block; 
    margin-top: clamp(10px, 1.5vw, 15px);
    
    /* Fluid Padding: 8px/15px (Min) से 10px/18px (Max) तक */
    padding: clamp(8px, 1vw, 10px) clamp(15px, 2vw, 18px); 
    
    background-color: #4ade80; 
    color: #1e293b;
    font-weight: 700;
    
    /* Fluid CTA Font Size: 0.85rem (Min) से 1rem (Max) तक */
    font-size: clamp(0.85rem, 0.9vw, 1rem); 
    
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: #22c55e;
    transform: translateY(-2px);
}

/* 📱 MOBILE SETTINGS (600px से नीचे) - No Change, your preferred design */
@media (max-width: 600px) {
    .dynamic-ad-container {
        /* मोबाइल पर टॉप-राइट पोजीशन */
        top: 75%; 
        bottom: unset; 
        right: -250px; 
        left: unset; 
        
        width: 220px; 
        min-height: 50px; 
        padding: 8px 10px; 
        flex-direction: row; 
        justify-content: flex-start; 
        align-items: center; 
        border-radius: 10px; 
        border: 2px solid #ffdd44; 
    }
    .dynamic-ad-container.active {
        right: 10px; 
        opacity: 1;
    }
    .dynamic-ad-content {
        flex-direction: row; 
        justify-content: flex-start;
        text-align: left;
        align-items: center;
        width: 100%; 
    }
    .ad-image-placeholder {
        width: 30px; 
        height: 30px;
        font-size: 1.2rem; 
        margin-bottom: 0;
        margin-right: 8px;
        border: 2px solid #fff; 
        flex-shrink: 0; 
    }
    .dynamic-ad-content p {
        font-size: 0.85rem; 
        line-height: 1.2;
        margin-right: 0; 
        flex-grow: 1; 
    }
    .cta-button {
        display: none; 
    }
}

/* 🎨 Keyframe Animations (NO CHANGE) */
@keyframes bounceInContent {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}



footer {
  background: #0f172a;       /* dark navy – clean look */
  padding: 25px 18px;
  text-align: center;
  color: #ffffff;            /* pure white text */
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.15); /* soft border */
}

footer a {
  color: #38bdf8;            /* light-blue link */
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

footer .footer-credit {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.92;
}


.course-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    margin-top: 10px;
}
