      :root {
            --bg-primary: #F5F7F6;
            --bg-alt: #E8ECEB;
            --navy: #2E4057;
            --orange: #FF6B35;
            --text-main: #1D1D1D;
            --text-muted: #6C757D;
            --white: #FFFFFF;
            --radius: 8px;
            --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        
        body {
            background-color: var(--bg-primary);
            color: var(--text-main);
            line-height: 1.7;
            overflow-x: hidden;
        }

        
        .container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

        /* --- UI ELEMENTS --- */
        .btn {
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            padding: 20px 40px;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-size: 0.85rem;
            border-radius: 0; /* Square corners per brand specs */
        }
        .btn-orange { background: var(--orange); color: var(--white); }
        .btn-orange:hover { background: var(--navy); transform: translateY(-3px); }
        .btn-navy { background: var(--navy); color: var(--white); }
        .btn-outline { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
        
        /* --- HEADER (OFFSET STYLE) --- */
        header {
            position: fixed; top: 0; width: 100%; z-index: 1000;
            background: rgba(255, 255, 255, 0.98);
            border-bottom: 1px solid rgba(0,0,0,0.08);
            padding: 25px 0;
            transition: var(--transition);
        }
        header.scrolled { padding: 15px 0; }
        
        .header-content { display: flex; justify-content: space-between; align-items: flex-start; }
        .logo { font-size: 1.6rem; font-weight: 700; color: var(--navy); letter-spacing: -1px; cursor: pointer; }
        
        .nav-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
        .nav-links { display: flex; gap: 30px; }
        .nav-links a { 
            text-decoration: none; color: var(--text-main); 
            font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
            transition: 0.3s;
        }
        .nav-links a:hover, .nav-links a.active { color: var(--orange); }

        .header-tools { display: flex; gap: 20px; align-items: center; margin-top: 10px; }
        .tool-icon { cursor: pointer; position: relative; color: var(--text-muted); transition: 0.3s; }
        .tool-icon:hover { color: var(--orange); }
        .badge { position: absolute; top: -8px; right: -8px; background: var(--orange); color: white; font-size: 10px; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

        /* --- HERO (DIAGONAL SPLIT) --- */
        .hero { position: relative; height: 100vh; min-height: 800px; display: flex; align-items: center; overflow: hidden; margin-top: 0; }
        .hero-diagonal { 
            position: absolute; top: 0; left: 0; width: 65%; height: 100%; 
            background: var(--navy); transform: skewX(-12deg) translateX(-15%); 
            z-index: 1; 
        }
        .hero-img { 
            position: absolute; right: 0; top: 0; width: 55%; height: 100%; 
            background: url('https://i.pinimg.com/736x/50/35/76/5035762065d52f23ea3e2d3fe31082dd.jpg') center/cover; 
            z-index: 0; animation: slowPan 20s infinite alternate;
        }
        @keyframes slowPan { from { transform: scale(1); } to { transform: scale(1.1); } }
        
        .hero-content { position: relative; z-index: 2; color: var(--white); max-width: 650px; padding-left: 0; opacity: 0; transform: translateX(-50px); transition: 1.5s ease-out; }
        .hero.loaded .hero-content { opacity: 1; transform: translateX(0); }
        .hero h1 { font-size: 4.5rem; line-height: 1; margin-bottom: 25px; }
        .hero-tags { display: flex; gap: 30px; margin-top: 60px; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.6); }

        /* --- CAROUSEL --- */
        .cat-scroll { display: flex; gap: 30px; overflow-x: auto; padding: 20px 0 50px; scrollbar-width: none; }
        .cat-scroll::-webkit-scrollbar { display: none; }
        .cat-card { 
            min-width: 350px; height: 500px; position: relative; overflow: hidden; 
            cursor: pointer; flex-shrink: 0; 
        }
        .cat-card img { width: 100%; height: 100%; object-fit: cover; transition: 1.2s ease; }
        .cat-card:hover img { transform: scale(1.08); }
        .cat-label { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; }

        /* --- MAGAZINE GRID --- */
        .mag-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin-bottom: 40px; }
        .mag-grid.reversed { grid-template-columns: 1fr 1.5fr; }
        .mag-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 15px 45px rgba(0,0,0,0.03); transition: var(--transition); border: 1px solid rgba(0,0,0,0.03); }
        .mag-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
        .mag-thumb { height: 350px; overflow: hidden; position: relative; }
        .mag-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .mag-info { padding: 30px; }

        /* --- TIMELINE --- */
        .timeline { position: relative; max-width: 1000px; margin: 0 auto; padding: 60px 0; }
        .timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #ddd; }
        .step { display: flex; justify-content: space-between; align-items: center; margin-bottom: 100px; position: relative; }
        .step-text { width: 42%; }
        .step-icon { width: 80px; height: 80px; background: var(--white); border: 1px solid #eee; display: flex; align-items: center; justify-content: center; z-index: 2; transform: rotate(45deg); }
        .step-icon i { transform: rotate(-45deg); color: var(--navy); }

        /* --- STATS --- */
        .stat-row { margin-bottom: 40px; }
        .stat-label { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 700; font-size: 0.9rem; }
        .stat-bar { height: 6px; background: #E0E4E3; width: 100%; overflow: hidden; }
        .stat-fill { height: 100%; background: var(--navy); width: 0; transition: 2s cubic-bezier(0.16, 1, 0.3, 1); }

        /* --- QUICK VIEW --- */
        /* --- AUTH --- */
        .auth-box { max-width: 450px; margin: 150px auto; background: var(--white); padding: 60px; border: 1px solid #eee; box-shadow: 0 40px 100px rgba(0,0,0,0.05); }
        .form-group { margin-bottom: 25px; }
        .form-group label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; color: var(--navy); letter-spacing: 1px; }
        .form-group input { width: 100%; padding: 18px; border: 1px solid #ddd;  font-size: 1rem; outline: none; transition: 0.3s; }
        .form-group input:focus { border-color: var(--orange); }

        /* --- FOOTER --- */
        footer { background: var(--navy); color: var(--white); padding: 120px 0 60px; border-top: 6px solid var(--orange); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; }
        .footer-col h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 35px; color: var(--orange); }
        .footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 15px; font-size: 0.9rem; transition: 0.3s; }
        .footer-col a:hover { color: var(--white); transform: translateX(5px); }

        /* --- PAGES --- */
        .page { display: none; padding-top: 120px; min-height: 100vh; }
        .page.active { display: block; animation: fadeIn 0.8s ease; }

        /* --- MODAL SYSTEM (FIXED DESKTOP SCROLL) --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto; /* Allow full modal scroll */
    z-index: 9999;
}

.modal.active {
    display: flex;
}
/* Modal container */
.modal-body {
    background: var(--white);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

/* Left image stays static */
#qvImg {
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

/* Right scrollable content */
.modal-scroll {
    padding: 60px;
    max-height: 90vh;      /* limit height */
    overflow-y: auto;      /* scroll vertically */
    display: flex;
    flex-direction: column; /* ensures content stacks properly */
}
/* Scrollbar styling */
.modal-scroll::-webkit-scrollbar {
    width: 6px;
}
.modal-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.modal-scroll::-webkit-scrollbar-thumb:hover {
    background: #999;
}


        /* --- MOBILE --- */
        @media (max-width: 992px) {
            .hero-diagonal { width: 100%; transform: none; background: rgba(46, 64, 87, 0.9); }
            .hero-img { width: 100%; }
            .hero h1 { font-size: 3rem; }
            .mag-grid { grid-template-columns: 1fr; }
            .modal-body { grid-template-columns: 1fr; overflow-y: auto; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .header-content { flex-direction: column; gap: 20px; align-items: center; }
            .nav-stack { align-items: center; }
            .timeline::before { left: 20px; }
            .step { flex-direction: column; align-items: flex-start; padding-left: 60px; }
            .step-text { width: 100%; margin-bottom: 20px; }
            .step-icon { position: absolute; left: -20px; }
        }
