   :root {
            --primary-blue: #002347;
            --accent-red: #d90429;
            --light-blue: #eef2f7;
            --gold: #ffb703;
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: #333;
            overflow-x: hidden;
        }

        h1, h2, h3, .navbar-brand {
            font-family: 'Playfair Display', serif;
        }

        /* Navbar */
        .navbar {
            background: var(--primary-blue);
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .navbar-brand, .nav-link {
            color: white !important;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #002347 0%, #004080 100%);
            color: white;
            padding: 100px 0 80px;
            position: relative;
        }

        /* NEW SUBJECT TAGS COMPONENT */
        .subject-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }
        .subject-tag {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 8px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            color: white;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
        }
        .subject-tag:hover {
            background: var(--gold);
            color: var(--primary-blue);
            transform: translateY(-3px);
            border-color: var(--gold);
            font-weight: 600;
        }
        .subject-tag i {
            margin-right: 8px;
            font-size: 0.8rem;
        }

        .price-badge {
            background: var(--accent-red);
            padding: 10px 20px;
            border-radius: 50px;
            display: inline-block;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .old-price {
            text-decoration: line-through;
            opacity: 0.6;
            font-size: 1.2rem;
        }

        /* Feature Cards */
        .feature-box {
            background: white;
            border-radius: 15px;
            padding: 30px;
            transition: 0.3s;
            height: 100%;
            border-bottom: 5px solid var(--primary-blue);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        .feature-box:hover {
            transform: translateY(-10px);
        }
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }

        /* Buttons */
        .btn-custom {
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: 0.3s;
        }
        .btn-mock {
            background-color: var(--gold);
            color: #000;
            border: none;
        }
        .btn-mock:hover {
            background-color: #e6a600;
            transform: scale(1.05);
        }

        /* FAQ Section */
        .accordion-button:not(.collapsed) {
            background-color: var(--light-blue);
            color: var(--primary-blue);
        }

        /* Footer */
        footer {
            background: var(--primary-blue);
            color: white;
            padding: 50px 0 20px;
        }
        footer a {
            color: #ccc;
            text-decoration: none;
            transition: 0.3s;
        }
        footer a:hover {
            color: var(--gold);
        }
        /* --- About Section & Parallax --- */
.parallax-section {
    /* Replace with a law-themed image or keep this Unsplash link */
    background-image: url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 80px 0;
    color: white;
}

.overlay {
    background: rgba(0, 35, 71, 0.85); /* Dark blue overlay based on your var(--primary-blue) */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-relative {
    position: relative;
    z-index: 2;
}

/* --- Audio Player Card --- */
.audio-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.audio-card:hover {
    transform: translateY(-5px);
}

/* --- Blinking/Pulsing Play Button --- */
.btn-audio-play {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--primary-blue);
    border: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    cursor: pointer;
    /* The Blink/Pulse Animation */
    animation: pulse-gold 2s infinite;
    transition: all 0.3s ease;
}

.btn-audio-play:hover {
    transform: scale(1.1);
    background-color: #fff;
}

/* Stop pulsing when playing */
.btn-audio-play.playing {
    animation: none;
    background-color: var(--accent-red);
    color: white;
}

/* --- Audio Player Progress Bar --- */
.audio-controls {
    width: 100%;
    margin-top: 15px;
}

/* Custom Range Slider Styling */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #ddd;
    margin-top: 5px;
    font-family: monospace;
}

/* --- Full Screen Iframe Modal --- */
#mockTestOverlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999; /* On top of everything */
    flex-direction: column;
}

.iframe-header {
    background-color: var(--primary-blue);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    height: 60px;
}

.btn-close-custom {
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-close-custom:hover {
    background: #b00020;
}

#mockFrame {
    width: 100%;
    height: calc(100% - 60px); /* Full height minus header */
    border: none;
    background-color: white;
}
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 183, 3, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); }
}

/* --- Sound Wave Animation (Visible when playing) --- */
.sound-wave {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 30px;
    gap: 5px;
    margin-top: 15px;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s;
}

.sound-wave.active {
    opacity: 1;
}

.bar {
    width: 6px;
    background-color: var(--gold);
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}

.bar:nth-child(1) { animation-delay: 0.0s; height: 15px; }
.bar:nth-child(2) { animation-delay: 0.2s; height: 25px; }
.bar:nth-child(3) { animation-delay: 0.4s; height: 10px; }
.bar:nth-child(4) { animation-delay: 0.1s; height: 20px; }
.bar:nth-child(5) { animation-delay: 0.3s; height: 15px; }

@keyframes wave {
    0%, 100% { height: 10px; }
    50% { height: 30px; }
}

.click-instruction {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInOut 2s infinite alternate;
}

/* --- Previous Year Papers Section --- */
.pdf-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}
/* --- FAQ & Disclaimer Styling --- */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-blue);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: var(--gold);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffb703'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

.disclaimer-box {
    background-color: #f8f9fa;
    border-left: 5px solid var(--accent-red);
    padding: 25px;
    margin-top: 40px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #555;
}

.disclaimer-box h5 {
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 15px;
}

.disclaimer-list li {
    margin-bottom: 8px;
}
.pdf-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #ffebee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.pdf-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.pdf-tag {
    font-size: 0.8rem;
    color: #888;
}

/* --- PDF Viewer Modal (Custom) --- */
#pdfViewerModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    flex-direction: column;
}

.pdf-toolbar {
    background: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.pdf-controls button {
    background: #555;
    border: none;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    margin: 0 5px;
    transition: 0.2s;
}

.pdf-controls button:hover {
    background: var(--gold);
    color: black;
}

#pdf-render-container {
    flex: 1;
    overflow: auto; /* Allows scrolling if zoomed in */
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #525659; /* Standard PDF viewer grey */
}

/* The Canvas where PDF is drawn */
#the-canvas {
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    max-width: 100%;
}

@keyframes fadeInOut {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .hero { padding: 60px 0; text-align: center; }
            .display-4 { font-size: 2.3rem; }
            .subject-container { justify-content: center; }
        }
        
   /* --- News & Updates Parallax Section --- */
.updates-section {
    background-image: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?q=80&w=1920&auto=format&fit=crop');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 80px 0;
}

/* Dark overlay to make text readable */
.updates-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 35, 71, 0.92);
    z-index: 1;
}

.updates-content {
    position: relative;
    z-index: 2;
}

/* --- Timeline Styling --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* The Vertical Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    top: 0;
    bottom: 0;
    left: 30px; /* Adjust based on design */
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px 40px 70px; /* Space for the dot */
    position: relative;
    background-color: inherit;
    width: 100%;
    box-sizing: border-box;
    opacity: 0; /* Hidden initially for animation */
    animation: slideIn 0.5s forwards;
}

/* The Dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: auto;
    left: 21px;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    background-color: var(--gold);
    border: 3px solid var(--primary-blue);
    box-shadow: 0 0 10px var(--gold);
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-left: 5px solid var(--gold);
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateX(10px);
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Blinking 'NEW' Badge */
.badge-new {
    background-color: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 10px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Hidden container for Expand logic */
#extra-updates {
    display: none;
}



  /* --- Community / WhatsApp Groups Section --- */
.community-section {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('https://www.transparenttextures.com/patterns/cubes.png');
    padding: 80px 0;
}

.group-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.group-card:hover {
    transform: translateY(-10px);
    border-color: #25d366;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.15);
}

.group-icon {
    width: 80px;
    height: 80px;
    background: #e8f9ef;
    color: #25d366;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.btn-whatsapp-join {
    background-color: #25d366;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: 0.3s;
    text-decoration: none;
}

.btn-whatsapp-join:hover {
    background-color: #128c7e;
    color: white;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.group-badge {
    background: #f0f2f5;
    color: #666;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    display: inline-block;
}



 /* --- Video Walkthrough Section --- */
.video-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(255, 183, 3, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Maintain 16:9 Aspect Ratio */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-feature-list {
    list-style: none;
    padding: 0;
}

.video-feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.video-feature-list i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.2rem;
}