:root { --primary: #000080; --secondary: #FF9933; --accent: #3b82f6; --bg: #f8fafc; --border: #e2e8f0; --text: #1e293b; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }
        body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; line-height: 1.6; color: var(--text); background: #ffffff; }
        h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; }
        
        /* Global Styles Restored */
        main { padding: 3rem 2rem; max-width: 1100px; margin: 0 auto; background: transparent; border-radius: 0; box-shadow: none; }
        a { color: var(--secondary); text-decoration: none; }
        a:hover { text-decoration: underline; }
        h1, h2, h3 { color: var(--primary); margin-bottom: 1rem; }
        section { margin-bottom: 4rem; }
        .grid { display: grid; gap: 1.5rem; }
        .grid-cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
        .grid-cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
        .grid-cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
        .card { background: #ffffff; border: 1px solid var(--border); padding: 1.5rem; border-radius: 8px; text-align: left; transition: transform 0.2s, box-shadow 0.2s; display: block; color: inherit; text-decoration: none; }
        .card:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.05); text-decoration: none; }
        .search-bar { display: flex; max-width: 600px; margin: 2rem auto; }
        .search-bar input { flex: 1; padding: 1rem; border: 2px solid var(--border); border-radius: 8px 0 0 8px; font-size: 1.1rem; }
        .search-bar button { padding: 1rem 2rem; background: var(--secondary); color: white; border: none; border-radius: 0 8px 8px 0; font-size: 1.1rem; cursor: pointer; }
        table { width: 100%; border-collapse: collapse; margin-top: 1rem; display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
        th, td { padding: 1rem; border: 1px solid var(--border); text-align: left; }
        th { background: var(--bg); }
        .badge { display: inline-block; padding: 0.25rem 0.75rem; background: #e2e8f0; border-radius: 999px; font-size: 0.875rem; margin: 0.25rem; }
        .hero { text-align: center; padding: 4rem 1rem; background: linear-gradient(to bottom, #ebf8ff, #fff); border-radius: 12px; margin-bottom: 3rem; }

        /* Modern Navigation CSS */
        .modern-header { background: #ffffff; color: var(--text); position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; }
        .tricolor-border { height: 4px; background: linear-gradient(to right, #FF9933 33%, #FFFFFF 33%, #FFFFFF 66%, #138808 66%); }
        .nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; max-width: 1300px; margin: 0 auto; gap: 2rem; }
        
        /* Logo */
        .nav-logo { text-decoration: none; display: flex; align-items: center; gap: 1rem; transition: opacity 0.2s; }
        .nav-logo:hover { opacity: 0.9; }
        .nav-logo-title { 
            font-family: 'Outfit', sans-serif;
            font-size: 32px;
            font-weight: 700;
            line-height: 38.4px;
            color: rgb(69, 109, 255);
        }
        .nav-logo-subtitle { 
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 17px;
            font-weight: 400;
            line-height: 18.4px;
            color: rgb(108, 115, 125);
            white-space: nowrap;
        }
        
        /* Search */
        .nav-search { position: relative; }
        .nav-search form { display: flex; align-items: center; background: #f1f5f9; border-radius: 99px; padding: 0.25rem 0.5rem; transition: background 0.2s; border: 1px solid transparent; }
        .nav-search form:focus-within { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
        .nav-search input { border: none; background: transparent; padding: 0.5rem 1rem; font-size: 0.95rem; outline: none; width: 250px; }
        .nav-search button { background: var(--accent); color: white; border: none; border-radius: 99px; padding: 0.5rem 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
        .nav-search button:hover { background: #2563eb; }
        .search-results-dropdown { position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; background: white; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); max-height: 400px; overflow-y: auto; z-index: 1000; }
        .search-result-item { padding: 1rem 1.5rem; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 1rem; text-decoration: none; color: #1e293b; transition: background 0.2s; }
        .search-result-item:last-child { border-bottom: none; }
        .search-result-item:hover { background: #f8fafc; text-decoration: none; color: var(--primary); }
        .search-result-code { font-weight: 700; color: var(--primary); background: #eff6ff; padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 0.9rem; }

        /* Menu */
        .nav-menu { display: flex; gap: 2rem; align-items: center; list-style: none; margin: 0; padding: 0; }
        .nav-item { position: relative; }
        .nav-link { color: #334155; text-decoration: none; font-weight: 600; font-size: 1rem; transition: color 0.2s; padding: 1rem 0; display: inline-block; white-space: nowrap; }
        .nav-link:hover { color: var(--primary); }
        .nav-link.has-dropdown { cursor: pointer; user-select: none; }

        /* Desktop Dropdown — viewport-safe */
        .dropdown-menu {
            opacity: 0;
            visibility: hidden;
            position: absolute;
            top: calc(100% + 4px);
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            background: white;
            width: 560px;
            max-width: calc(100vw - 2rem);
            box-shadow: 0 20px 40px -8px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.06);
            border-radius: 16px;
            border: 1px solid #e2e8f0;
            z-index: 200;
            transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
            overflow: hidden;
        }
        /* Flip to right-align when near right edge */
        .nav-item.drop-right .dropdown-menu { left: 0; transform: translateX(0) translateY(8px); }
        .nav-item.drop-right .dropdown-menu.is-open { transform: translateX(0) translateY(0); }

        .dropdown-menu.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
        .nav-item.drop-right .dropdown-menu.is-open { transform: translateX(0) translateY(0); }

        .dropdown-inner { display: grid; grid-template-columns: 1fr 1fr; }
        .dropdown-col { padding: 1.25rem 0.5rem; }
        .dropdown-col + .dropdown-col { border-left: 1px solid #f1f5f9; }
        .dropdown-col-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; color: #94a3b8; margin: 0 0 0.5rem 1rem; }
        .dropdown-link { color: #1e293b; text-decoration: none; padding: 0.6rem 1rem; display: block; font-size: 0.9rem; font-weight: 500; transition: background 0.15s, color 0.15s; border-radius: 8px; margin: 0 0.25rem; }
        .dropdown-link:hover, .dropdown-link:focus { background: #f0f4ff; color: var(--primary); text-decoration: none; }

        .nav-cta { background: var(--secondary); color: white; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: bold; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; display: inline-block; white-space: nowrap; }
        .nav-cta:hover { background: #e68a2e; text-decoration: none; color: white; transform: translateY(-2px); box-shadow: 0 4px 6px rgba(255, 153, 51, 0.3); }

        /* Mobile Toggle */
        .mobile-menu-btn { display: none; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--primary); padding: 0.5rem; }
        #mobile-menu-toggle { display: none; }

        @media (max-width: 1250px) {
            .nav-search input { width: 140px; }
            .nav-menu { gap: 1rem; }
            .dropdown-menu { width: 480px; }
        }

        @media (max-width: 1150px) {
            .nav-container { flex-wrap: wrap; padding: 1rem; gap: 0; }
            .nav-search { display: none; }
            .mobile-menu-btn { display: block; z-index: 2000; position: relative; }
            .nav-logo-subtitle { display: none; }

            .menu-overlay {
                position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
                background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px);
                z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s;
            }
            #mobile-menu-toggle:checked ~ .menu-overlay { opacity: 1; visibility: visible; }

            .nav-menu-wrapper {
                position: fixed; top: 0; right: -400px; width: 320px; max-width: 85vw; height: 100vh;
                background: white; box-shadow: -5px 0 25px rgba(0,0,0,0.1);
                z-index: 1000; transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                overflow-y: auto; padding: 5rem 1.5rem 2rem; margin: 0; border: none;
            }
            #mobile-menu-toggle:checked ~ .nav-menu-wrapper { right: 0; }

            .nav-menu { display: flex; flex-direction: column; gap: 0; width: 100%; }
            .nav-item { width: 100%; border-bottom: 1px solid #f1f5f9; }
            .nav-link { padding: 1.2rem 0; width: 100%; font-size: 1.1rem; white-space: normal; display: flex; justify-content: space-between; align-items: center; }

            /* Mobile accordion dropdown */
            .dropdown-menu {
                position: static !important; width: 100% !important; max-width: 100% !important;
                box-shadow: none !important; border: none !important; border-radius: 0 !important;
                background: #f8fafc !important; display: none; margin-bottom: 1rem; transform: none !important;
                opacity: 1 !important; visibility: visible !important;
            }
            .dropdown-menu.is-open { display: block !important; }
            .dropdown-inner { grid-template-columns: 1fr; }
            .dropdown-col + .dropdown-col { border-top: 1px solid #e2e8f0; border-left: none; }
            .dropdown-col { padding: 0.75rem 0; }
            .dropdown-link { padding: 0.75rem 1rem; font-size: 1rem; border-radius: 8px; margin: 0.25rem 0; }
            .nav-cta { margin: 1.5rem 0; text-align: center; display: block; padding: 1rem; white-space: normal; }
        }

        /* View Transitions */
        ::view-transition-group(*),
        ::view-transition-old(*),
        ::view-transition-new(*) {
            animation-duration: 0.25s;
            animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
        }

.footer-grid {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: 2.5rem;
            align-items: start;
        }
        .footer-heading {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 800;
            color: #1e293b;
            margin: 0 0 1rem 0;
        }
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
        }
        .footer-links a {
            color: #475569;
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.2s, transform 0.2s;
            display: inline-block;
        }
        .footer-links a:hover {
            color: #FF9933;
            transform: translateX(4px);
            text-decoration: none;
        }


        @media (max-width: 1100px) {
            .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
            .footer-brand { grid-column: 1 / -1; }
        }
        @media (max-width: 640px) {
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
            .footer-brand { grid-column: 1 / -1; }
            main { padding: 1.5rem 1rem; }
        }
        @media (max-width: 420px) {
            .footer-grid { grid-template-columns: 1fr; }
        }