        /* ==========================================================================
           BASE & RESET (Energetic Light Theme - PURE DM SANS)
           ========================================================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --bg-light: #f8fafc;
            --bg-white: #ffffff;
            --primary-blue: #0047aa;
            --primary-green: #8cb500;
            --sky-blue: #a1dcf7;
            --vibrant-green: #009245;
            
            --text-main: #1e293b;
            --text-muted: #475569;
            --text-rich-heading: #0a1930; 
            
            --ease-cinematic: cubic-bezier(0.25, 1, 0.5, 1);
            --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        body {
            font-family: 'DM Sans', -apple-system, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-main);
            overflow-x: hidden;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        /* SCROLL PROGRESS BAR */
        .scroll-progress {
            position: fixed; 
            top: 0; 
            left: 0;
            height: 4px; 
            width: 0%;
            background: linear-gradient(90deg, #0047aa, #8cb500);
            z-index: 10000;
            transition: width 0.1s linear;
        }
        h1, h2, h3, h4 {
            font-family: 'DM Sans', sans-serif;
            color: var(--text-rich-heading);
        }

        /* NAV */
        nav {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            padding: 2rem 4rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 10;
            background: transparent !important;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            padding: 0;
            border-radius: 0;
            background: transparent !important; 
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            border: none !important; 
            transition: all 0.3s ease;
        }

        .logo img {
            width: 360px; 
            height: auto;
            display: block;
            mix-blend-mode: multiply; 
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 1rem;
            margin-left:auto;
        }

        .nav-links a {
            padding: 0.5rem 1.0rem;
            border-radius: 50px;
            text-decoration: none;
            color: #fff;
            font-weight: 500;
            background: rgba(255,255,255,0.18);
            border: 1px solid rgba(255,255,255,0.25);
            backdrop-filter: blur(10px);
            transition: .4s ease;
        }

        .nav-links a:hover {
            background: rgba(255,255,255,0.35);
        }

        .nav-item {
            position: relative;
        }

        .nav-item:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .dropdown {
            position: absolute;
            top: 150%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            background: rgba(10, 35, 5, 0.95);
            backdrop-filter: blur(15px);
            border-radius: 15px;
            padding: 1rem;
            min-width: 220px;
            opacity: 0;
            visibility: hidden;
            transition: 0.3s ease;
            z-index: 1000;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-direction: column; 
            gap: 8px; 
        }

        .dropdown a {
            background: transparent !important;
            border: none !important;
            backdrop-filter: none !important;
            padding: 0.6rem 1rem !important;
            border-radius: 8px !important;
            display: block !important;
            width: 100%;
            text-align: left;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .dropdown a:hover {
            background: rgba(255, 255, 255, 0.1) !important;
            color: #a8e08a !important; 
        }

        /* ==========================================================================
           SPLIT LAYOUT: THE ULTIMATE RESOURCE CENTER
           ========================================================================== */
        .split-resource-section {
            position: relative;
            min-height: 100vh;
            padding: 12rem 4rem 6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url("assets/images/Bhumi.webp") center/cover no-repeat;
        }

        .split-container {
            display: flex;
            width: 100%;
            max-width: 1500px;
            gap: 5rem;
            align-items: center;
        }

        .sidebar-content {
            flex: 0 0 450px;
            z-index: 10;
        }

        .sidebar-content .subtitle {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--primary-green);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 1rem;
            animation: fadeUp 0.8s var(--ease-cinematic) forwards;
        }

        .sidebar-content h1 {
            font-size: 4rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: #ffffff; 
            animation: fadeUp 0.8s var(--ease-cinematic) 0.1s forwards;
            opacity: 0;
        }

        .sidebar-content .description {
            font-size: 1.15rem;
            line-height: 1.8;
            margin-bottom: 3rem;
            color: rgba(255, 255, 255, 0.85);
            animation: fadeUp 0.8s var(--ease-cinematic) 0.2s forwards;
            opacity: 0;
        }

        .vertical-tabs {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
            animation: fadeUp 0.8s var(--ease-cinematic) 0.3s forwards;
            opacity: 0;
        }

        .v-tab-btn {
            text-align: left;
            padding: 1.2rem 2.5rem;
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.4);
            background: rgba(255, 255, 255, 0.1); 
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            box-shadow: 0 8px 32px 0 rgba(0, 40, 120, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.2);
            font-family: 'DM Sans', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: #ffffff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            overflow: hidden; 
            transition: all 0.4s var(--ease-elastic);
        }

        .v-tab-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
            pointer-events: none;
        }

        .v-tab-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.6);
            transform: translateY(-2px);
            box-shadow: 0 12px 40px 0 rgba(0, 40, 120, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.4);
        }

        .v-tab-btn::after {
            content: "→";
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.4s var(--ease-elastic);
        }

        .v-tab-btn:hover:not(.active) {
            background: rgba(0, 71, 170, 0.08);
            transform: translateX(8px);
            border-color: rgba(0, 71, 170, 0.3);
        }

        .v-tab-btn.active {
            background:#8cb500;
            color: #fff;
            border-color: var(--primary-green);
            box-shadow: 0 15px 30px rgba(140, 181, 0, 0.35);
            transform: translateX(12px) scale(1.02);
        }

        .v-tab-btn.active::after {
            opacity: 1;
            transform: translateX(0);
        }

        .carousel-engine {
            flex: 1;
            position: relative;
            height: 580px;
            perspective: 1500px; 
        }

        .carousel-track {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .resource-card {
            position: absolute;
            inset: 0;
            background: var(--bg-white);
            border-radius: 30px;
            border: 2px solid rgba(0,0,0,0.04);
            display: flex;
            flex-direction: row;
            overflow: hidden;
            opacity: 0;
            pointer-events: none;
            transform: translateY(90px) scale(0.75);
            transition: all 0.8s var(--ease-cinematic);
            z-index: 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.02);
        }

        .resource-card.hidden-prev {
            opacity: 0;
            transform: translateY(-80px) scale(1.05);
            z-index: 0;
        }

        .resource-card.active {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0) scale(1);
            z-index: 10;
            box-shadow: 0 20px 50px rgba(0,0,0,0.08);
        }

        .resource-card.next-peek {
            opacity: 0.6;
            pointer-events: none;
            transform: translateY(35px) scale(0.92);
            z-index: 5;
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        }

        .resource-card.third-peek {
            opacity: 0.25;
            pointer-events: none;
            transform: translateY(70px) scale(0.84);
            z-index: 2;
            box-shadow: 0 5px 15px rgba(0,0,0,0.02);
        }

        .resource-card.active:hover {
            transform: translateY(-20px) scale(1.04) translateZ(50px);
            z-index: 50; 
        }

        .resource-card.active[data-category="media"]:hover { box-shadow: 0 45px 80px rgba(140, 181, 0, 0.35), 0 0 0 2px #8cb500; }
        .resource-card.active[data-category="blogs"]:hover { box-shadow: 0 45px 80px rgba(140, 181, 0, 0.25), 0 0 0 2px var(--primary-green); }
        .resource-card.active[data-category="papers"]:hover { box-shadow: 0 45px 80px rgba(161, 220, 247, 0.5), 0 0 0 2px var(--sky-blue); }
        .resource-card.active[data-category="resources"]:hover { box-shadow: 0 45px 80px rgba(0, 146, 69, 0.25), 0 0 0 2px var(--vibrant-green); }

        .card-img-box {
            width: 42%;
            position: relative;
            overflow: hidden;
        }

        .card-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1.2s var(--ease-cinematic);
        }

        .resource-card.active:hover .card-img-box img {
            transform: scale(1.1);
        }

        .card-body {
            width: 58%;
            padding: 3.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .category-tag {
            font-size: 0.85rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 1.5rem;
            display: inline-block;
            transition: color 0.3s ease;
        }

        .resource-card[data-category="media"] .category-tag { color: var(--primary-blue); }
        .resource-card[data-category="blogs"] .category-tag { color: var(--primary-green); }
        .resource-card[data-category="papers"] .category-tag { color: #5ebae6; }
        .resource-card[data-category="resources"] .category-tag { color: var(--vibrant-green); }

        .card-body h3 {
            font-size: 2rem;
            font-weight: 800;
            line-height: 1.25;
            margin-bottom: 1.5rem;
            color: var(--text-rich-heading);
            transition: color 0.3s ease;
        }

        .resource-card.active[data-category="media"]:hover .card-body h3 { color: var(--primary-blue); }
        .resource-card.active[data-category="blogs"]:hover .card-body h3 { color: var(--primary-green); }
        .resource-card.active[data-category="papers"]:hover .card-body h3 { color: #3aa6d8; }
        .resource-card.active[data-category="resources"]:hover .card-body h3 { color: var(--vibrant-green); }

        .card-body p {
            font-size: 1.1rem;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 2.5rem;
        }

        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
            border-top: 1px solid rgba(0,0,0,0.06);
            padding-top: 1.5rem;
        }

        .read-more {
            font-weight: 800;
            color: var(--primary-green);
            text-decoration: none;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: gap 0.3s ease, color 0.3s ease;
        }

        .resource-card.active[data-category="blogs"]:hover .read-more { color: var(--primary-green); }
        .resource-card.active[data-category="papers"]:hover .read-more { color: #3aa6d8; }
        .resource-card.active[data-category="resources"]:hover .read-more { color: var(--vibrant-green); }

        .resource-card.active:hover .read-more { gap: 14px; }

        .download-icon {
            width: 45px; height: 45px; border-radius: 50%;
            background: rgba(0, 0, 0, 0.05); border: none;
            display: flex; align-items: center; justify-content: center;
            color: var(--text-main); font-size: 1.2rem; cursor: pointer;
            transition: all 0.4s var(--ease-elastic);
        }

        .resource-card.active[data-category="media"]:hover .download-icon { background: var(--primary-blue); color: #fff; }
        .resource-card.active[data-category="blogs"]:hover .download-icon { background: var(--primary-green); color: #fff; }
        .resource-card.active[data-category="papers"]:hover .download-icon { background: var(--sky-blue); color: #0a1930; }
        .resource-card.active[data-category="resources"]:hover .download-icon { background: var(--vibrant-green); color: #fff; }

        .resource-card.active:hover .download-icon {
            transform: translateY(-5px); 
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .carousel-controls {
            position: absolute;
            bottom: -80px;
            right: 0;
            display: flex;
            gap: 1rem;
            z-index: 20;
        }

        .nav-arrow {
            width: 55px; height: 55px; border-radius: 50%;
            background: #fff; border: 1px solid rgba(0,0,0,0.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
            display: flex; align-items: center; justify-content: center;
            font-size: 1.2rem; color:#8cb500;
            cursor: pointer; transition: all 0.4s var(--ease-elastic);
        }

        .nav-arrow:hover {
            background: var(--primary-blue); color: #fff;
            transform: scale(1.1); box-shadow: 0 15px 30px rgba(0, 71, 170, 0.2);
        }

        @keyframes fadeUp {
            0% { opacity: 0; transform: translateY(30px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        /* ==========================================================================
           HASH-ROUTED MODAL ENGINE CSS
           ========================================================================== */

        .bge-reading-modal {
            position: fixed;
            inset: 0;
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s var(--ease-cinematic);
        }

        .bge-reading-modal.is-open {
            pointer-events: auto;
            opacity: 1;
        }

        .modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(10, 25, 48, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .modal-dialog {
            position: relative;
            width: 90%;
            max-width: 900px;
            max-height: 90vh;
            background: #ffffff;
            border-radius: 16px;
            border-top: 8px solid var(--primary-green);
            display: flex;
            flex-direction: column;
            transform: translateY(30px) scale(0.96);
            transition: transform 0.4s var(--ease-elastic);
            box-shadow: 0 25px 60px -12px rgba(0,0,0,0.5);
            overflow: hidden;
        }

        .bge-reading-modal.is-open .modal-dialog {
            transform: translateY(0) scale(1);
        }

        .modal-close-btn {
            position: absolute;
            top: 20px;
            right: 25px;
            background: var(--bg-light);
            border: none;
            font-size: 28px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.25s ease;
            color: var(--text-main);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .modal-close-btn:hover {
            background: #ef4444; /* Clean critical red for close action */
            color: #fff;
            transform: rotate(90deg);
        }

        .modal-content-area {
            padding: 3rem 4rem;
            overflow-y: auto;
            flex: 1;
            font-family: 'DM Sans', sans-serif;
            color: var(--text-main);
        }

        /* Modal Internal Typography / Document Simulation */
        .modal-content-area .doc-header {
            margin-bottom: 2.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid #f1f5f9;
        }

        .modal-content-area .doc-tag {
            display: inline-block;
            font-size: 0.8rem;
            font-weight: 800;
            text-transform: uppercase;
            color: var(--primary-green);
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .modal-content-area h2 {
            color: var(--primary-blue);
            font-size: 2.2rem;
            line-height: 1.2;
            margin-bottom: 1rem;
            font-weight: 800;
        }

        .modal-content-area .doc-meta-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            background: #f8fafc;
            padding: 1.2rem;
            border-radius: 8px;
            font-size: 0.95rem;
            color: var(--text-muted);
        }

        .modal-content-area h3 {
            color: var(--text-rich-heading);
            font-size: 1.5rem;
            margin-top: 2rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .modal-content-area h4 {
            color: var(--primary-blue);
            margin-top: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .modal-content-area p {
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 1.2rem;
            color: #334155;
        }

        .modal-content-area ul {
            margin-left: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .modal-content-area li {
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 0.5rem;
            color: #334155;
        }

        .modal-content-area .doc-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.95rem;
        }

        .modal-content-area .doc-table th,
        .modal-content-area .doc-table td {
            border: 1px solid #e2e8f0;
            padding: 14px 18px;
            text-align: left;
            vertical-align: top;
        }

        .modal-content-area .doc-table th {
            background: var(--bg-light);
            font-weight: 700;
            color: var(--primary-blue);
        }

        .modal-content-area .meeting-details-box {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
        }

        .modal-content-area .doc-divider {
            border: 0;
            height: 1px;
            background: #e2e8f0;
            margin: 2.5rem 0;
        }

        .modal-content-area .doc-footer-info {
            font-size: 0.9rem;
            color: var(--text-muted);
            text-align: center;
        }

        /* ==========================================================================
           FOOTER 
           ========================================================================== */
        .footer {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 80px 140px 60px 80px; 
            background: linear-gradient(145deg, #0047a5, #003579);
            color: #fff;
            font-family: "Poppins", -apple-system, sans-serif;
            position: relative;
            overflow: hidden;
            gap: 50px;
        }

        .footer-left {
            flex: 1.2;
            min-width: 300px;
        }

        .footer-left h2 {
            font-size: 32px;
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: 25px;
            color: #ffffff;
        }

        .footer-badges {
            display: flex;
            gap: 25px;
            margin-bottom: 35px;
        }

        .footer-badges span {
            display: flex;
            align-items: center;
            font-size: 14px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
        }

        .dot {
            width: 10px;
            height: 10px;
            background: #00d063;
            border-radius: 50%;
            margin-right: 10px;
            box-shadow: 0 0 12px rgba(0, 208, 99, 0.6);
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0 0 40px 0;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px 30px;
            max-width: 450px;
        }

        .footer-links li a {
            color: #ffffff;
            text-decoration: none;
            font-size: 15px;
            opacity: 0.8;
            transition: all 0.3s ease;
        }

        .footer-links li a:hover {
            opacity: 1;
            padding-left: 5px;
            color: #00d063;
        }

        .footer-copy {
            font-size: 13px;
            opacity: 0.5;
            margin-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
        }

        .footer-right {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            text-align: right;
            min-width: 350px;
        }

        .footer-desc {
            font-size: 16px;
            opacity: 0.9;
            line-height: 1.7;
            margin-bottom: 35px;
            max-width: 440px; 
        }

        .footer-btn {
            padding: 14px 32px;
            border-radius: 50px;
            background: #ffffff;
            color: #003579;
            border: none;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            margin-bottom: 40px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .footer-btn:hover {
            transform: scale(1.05) translateX(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        }

        .footer-logo {
            margin-bottom: 25px;
        }

        .footer-logo img {
            width: 250px;
            height: auto;
            filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
            border-radius: 8px;
        }

        .footer-legal {
            display: flex;
            gap: 25px;
        }

        .footer-legal a {
            color: #ffffff;
            font-size: 13px;
            text-decoration: none;
            opacity: 0.6;
            transition: opacity 0.3s;
        }

        .footer-legal a:hover {
            opacity: 1;
        }

        .footer-floating-icons {
            position: absolute;
            right: 40px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 18px;
            z-index: 10;
        }

        .circle-btn {
            width: 48px;
            height: 48px;
            background: #004fbb;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.2);
            color: #fff;
            font-size: 22px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .circle-btn:hover { 
            background: #00d063; 
            transform: translateY(-5px);
        }

        .side-icons {
            display: flex;
            flex-direction: column;
            gap: 12px;
            background: rgba(255, 255, 255, 0.1);
            padding: 15px;
            border-radius: 40px;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255,255,255,0.15);
        }

        .icon-btn {
            width: 42px;
            height: 42px;
            background: #0051c5;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .icon-btn img {
            width: 20px;
            height: 20px;
            filter: brightness(0) invert(1);
        }

        .icon-btn:hover { 
            transform: scale(1.15) rotate(5deg);
            background: #0047a5;
        }

        /* ==========================================================================
           RESPONSIVE DESIGN OVERRIDES (Existing Desktop Downscale)
           ========================================================================== */
        @media (max-width: 1200px) {
            .split-container { flex-direction: column; padding: 0 2rem; gap: 3rem;}
            .sidebar-content { flex: none; width: 100%; text-align: center; }
            .sidebar-content h1 { font-size: 3.5rem; }
            .vertical-tabs { flex-direction: row; flex-wrap: wrap; justify-content: center; }
            .v-tab-btn { text-align: center; padding: 1rem 1.5rem; }
            
            .carousel-engine { width: 100%; height: auto; min-height: 600px; }
            .resource-card { flex-direction: column; }
            .card-img-box { width: 100%; height: 250px; }
            .card-body { width: 100%; padding: 2rem; }
            
            .footer { padding: 60px 40px; align-items: center; text-align: center; flex-direction: column; }
            .footer-left, .footer-right { width: 100%; align-items: center; }
            .footer-floating-icons { position: static; transform: none; flex-direction: row; margin-top: 40px; width: 100%; justify-content: center; }
            .side-icons { flex-direction: row; }
        }

        @media (max-width: 768px) {
            .modal-dialog { width: 95%; max-height: 95vh; }
            .modal-content-area { padding: 2rem 1.5rem; }
            .modal-content-area h2 { font-size: 1.75rem; }
        }

        @media (max-width: 600px) {
            .split-resource-section { padding: 8rem 0 4rem; }
            .sidebar-content h1 { font-size: 2.8rem; }
            .carousel-engine { min-height: 550px; }
            .carousel-controls { bottom: -60px; right: 50%; transform: translateX(50%); }
            .modal-content-area .doc-meta-grid { grid-template-columns: 1fr; }
        }

        /* =======================================================
           NEW RESPONSIVE CSS ADDITIONS (Tablet & Mobile Specifics)
           ======================================================= */
        
        /* --- Hamburger Menu Icon Styling --- */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: center;
            cursor: pointer;
            gap: 6px;
            z-index: 1001;
            padding: 10px;
        }

        .menu-toggle .bar {
            width: 30px;
            height: 3px;
            background-color: #fff;
            border-radius: 3px;
            transition: all 0.3s ease-in-out;
            transform-origin: left center;
        }

        /* Hamburger Animation */
        .menu-toggle.is-active .bar:nth-child(1) { transform: rotate(45deg); }
        .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; width: 0; }
        .menu-toggle.is-active .bar:nth-child(3) { transform: rotate(-45deg); }

        /* --- TABLET (max-width: 1024px) --- */
        @media (max-width: 1024px) {
            nav { padding: 1.5rem 2rem; }
            .logo img { width: 220px; }
            
            /* Show Hamburger */
            .menu-toggle { display: flex; }
            
            /* Hidden Slide-In Menu */
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                max-width: 350px;
                height: 100vh;
                background: rgba(10, 35, 5, 0.98);
                backdrop-filter: blur(15px);
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                padding-top: 100px;
                padding-left: 30px;
                padding-right: 30px;
                margin: 0;
                transition: right 0.4s ease;
                box-shadow: -5px 0 15px rgba(0,0,0,0.5);
                overflow-y: auto;
            }
            
            /* Active state for menu */
            .nav-links.nav-active {
                right: 0;
            }

            .nav-item {
                width: 100%;
                text-align: left;
                margin: 5px 0;
            }

            .nav-links a {
                border: none;
                background: transparent;
                font-size: 1.15rem;
                display: block;
                padding: 12px 10px;
                border-radius: 0;
                text-align: left;
            }
            .nav-links a:hover {
                background: rgba(255, 255, 255, 0.1);
            }

            /* Disable desktop hover interactions on mobile */
            .nav-item:hover .dropdown {
                transform: none;
                opacity: 0;
                visibility: hidden;
            }

            /* Responsive Dropdowns (Accordion Style) */
            .dropdown {
                position: static;
                transform: none;
                opacity: 0;
                visibility: hidden;
                display: none;
                background: rgba(0,0,0,0.2);
                border-radius: 8px;
                width: 100%;
                padding: 5px 0 5px 15px;
                margin-top: 5px;
                border: none;
            }

            /* Open state triggered by JS */
            .nav-item.mobile-dropdown-open .dropdown {
                display: flex;
                flex-direction: column;
                opacity: 1;
                visibility: visible;
                transform: none;
                animation: slideDown 0.3s ease;
            }

            .nav-item.mobile-dropdown-open > a {
                color: #8cb500;
                background: rgba(255, 255, 255, 0.05);
            }

            @keyframes slideDown {
                from { opacity: 0; transform: translateY(-10px); }
                to { opacity: 1; transform: translateY(0); }
            }

            .dropdown a {
                font-size: 0.95rem;
                padding: 10px 15px !important;
                text-align: left;
            }
        }

        /* --- MOBILE SPECIFIC (max-width: 768px) --- */
        @media (max-width: 768px) {
            /* Full screen menu on small phones */
            .nav-links { max-width: 100%; } 
            
            /* Resource Section Adjustments */
            .split-resource-section { padding: 120px 1.5rem 4rem; }
            .split-container { padding: 0; gap: 2rem; }
            
            .sidebar-content h1 { font-size: 2.5rem; }
            .sidebar-content .description { font-size: 1rem; margin-bottom: 2rem; }
            
            /* Optimize vertical tabs for touch */
            .vertical-tabs { 
                flex-direction: row; 
                flex-wrap: wrap; 
                gap: 0.5rem; 
                justify-content: flex-start;
            }
            .v-tab-btn { 
                flex: 1 1 calc(50% - 0.5rem); /* two tabs per row */
                padding: 0.8rem 1rem; 
                font-size: 0.85rem; 
                justify-content: center;
                text-align: center;
            }
            
            /* Carousel Fixes to prevent overlaps */
            .carousel-engine { min-height: 520px; }
            .card-body { padding: 1.5rem; }
            .card-body h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
            .card-body p { font-size: 0.95rem; margin-bottom: 1.5rem; }
            .card-img-box { height: 200px; }
            
            /* Center Carousel Controls */
            .carousel-controls { 
                bottom: -50px; 
                right: 50%; 
                transform: translateX(50%); 
                width: 100%; 
                justify-content: center; 
            }
            
            /* Footer Specifics */
            .footer { padding: 40px 20px; gap: 30px; }
            .footer-badges { flex-direction: column; gap: 15px; align-items: flex-start; }
            .footer-links { grid-template-columns: 1fr; }
            .footer-desc { font-size: 14px; text-align: center; }
            .footer-btn { width: 100%; justify-content: center; }
        }
        
        /* --- EXTRA SMALL MOBILE (max-width: 480px) --- */
        @media (max-width: 480px) {
            .sidebar-content h1 { font-size: 2.2rem; }
            .v-tab-btn { flex: 1 1 100%; } /* Stack filter buttons nicely */
            .carousel-engine { min-height: 580px; } /* More height for stacked cards */
        }