  :root {
            --sky-blue: #AEDEFC;
            --deep-indigo: #4E56C0;
            --lilac: #D78FEE;
            --white: #FFFFFF;
            --font-main: 'GFS Didot', serif;
            --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            --transition-fast: all 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body { 
            font-family: var(--font-main); 
            color: var(--deep-indigo);
            background-color: var(--white);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* --- UTILITIES --- */
        .container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }
        .reveal { opacity: 0; transform: translateY(40px); transition: var(--transition-slow); }
        .reveal.active { opacity: 1; transform: translateY(0); }
        .text-white { color: var(--white); }
        .italic { font-style: italic; }

        /* --- HEADER --- */
        header {
            background-color: var(--sky-blue);
            padding: 15px 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0; width: 100%;
            z-index: 1000;
            transition: var(--transition-fast);
        }
        header.scrolled { padding: 15px 60px; box-shadow: 0 10px 30px rgba(78, 86, 192, 0.1); }
        
        .logo { font-size: 1.8rem; font-weight: bold; cursor: pointer; letter-spacing: -1px; }

        .hamburger {
            cursor: pointer;
            background: none;
            border: none;
            color: var(--deep-indigo);
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: inherit;
            font-size: 1.1rem;
            font-weight: 600;
        }

        /* --- NAV OVERLAY --- */
        .nav-overlay {
            position: fixed; inset: 0;
            background: rgba(174, 222, 252, 0.98);
            z-index: 2000;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transform: translateX(100%);
            transition: var(--transition-slow);
        }
        .nav-overlay.active { transform: translateX(0); }
        .nav-links { list-style: none; text-align: center; }
        .nav-links li { margin: 25px 0; overflow: hidden; }
        .nav-links a { 
            font-size: 4rem; text-decoration: none; color: var(--deep-indigo);
            display: block; transition: 0.4s; cursor: pointer;
        }
        .nav-links a:hover { transform: skewX(-10deg); padding-left: 20px; }
        .close-nav { position: absolute; top: 40px; right: 60px; cursor: pointer; }

        /* --- HERO SECTION --- */
        .hero {
            position: relative;
            height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            overflow: hidden;
            background: #000;
        }
        .hero-video {
            position: absolute;
            top: 50%; left: 50%;
            min-width: 100%; min-height: 100%;
            width: auto; height: auto;
            transform: translate(-50%, -50%);
            opacity: 0.6;
            object-fit: cover;
        }
        .hero-content {
            position: relative;
            z-index: 10;
            padding-left: 10%;
            max-width: 800px;
        }
        .hero-title {
            font-size: clamp(3rem, 8vw, 6rem);
            color: white;
            line-height: 1;
            margin-bottom: 20px;
            overflow: hidden;
        }
        .hero-title span { display: block; transform: translateY(100%); transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
        .hero-title.active span { transform: translateY(0); }

        .hero-quote {
            font-size: 1.5rem;
            color: white;
            margin-bottom: 40px;
            opacity: 0;
            transition: 1s ease 0.5s;
        }
        .hero-quote.active { opacity: 1; }

        /* --- BUTTONS --- */
        .btn-circle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 20px 45px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: var(--transition-fast);
            cursor: pointer;
            border: 2px solid transparent;
        }
        .btn-sky { background: var(--sky-blue); color: var(--deep-indigo); }
        .btn-sky:hover { transform: scale(1.05); background: var(--white); }
        
        .btn-white-outline { background: transparent; border-color: var(--white); color: var(--white); }
        .btn-white-outline:hover { background: var(--white); color: var(--deep-indigo); transform: scale(1.05); }

        /* --- CARDS & PORTFOLIO --- */
        .section { padding: 120px 0; }
        .bg-light { background-color: #f9f9fb; }
        
        .section-header { margin-bottom: 80px; text-align: center; }
        .section-header h2 { font-size: 3.5rem; margin-bottom: 20px; }

        .filter-nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 60px; }
        .filter-btn {
            background: none; border: 1px solid var(--deep-indigo);
            padding: 10px 25px; border-radius: 30px; color: var(--deep-indigo);
            cursor: pointer; font-family: inherit; transition: 0.3s;
        }
        .filter-btn.active { background: var(--deep-indigo); color: white; }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }
        .card {
            background: var(--lilac);
            padding: 60px 40px;
            border-radius: 20px;
            color: var(--deep-indigo);
            transition: var(--transition-fast);
            cursor: pointer;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        .card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(215, 143, 238, 0.3); }
        .card h3 { font-size: 2rem; margin-bottom: 15px; }
        .card p { font-size: 1.1rem; opacity: 0.9; }
        
        .portfolio-item {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            height: 450px;
            background: var(--lilac);
        }
        .portfolio-img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: var(--transition-slow);
        }
        .portfolio-item:hover .portfolio-img { transform: scale(1.1); opacity: 0.4; }
        .portfolio-overlay {
            position: absolute; inset: 0;
            display: flex; flex-direction: column;
            justify-content: flex-end; padding: 40px;
            opacity: 0; transition: 0.4s;
        }
        .portfolio-item:hover .portfolio-overlay { opacity: 1; }

        /* --- QUICK VIEW MODAL --- */
        .modal {
            position: fixed; inset: 0;
            background: rgba(78, 86, 192, 0.95);
            z-index: 5000;
            display: none;
            align-items: center; justify-content: center;
            padding: 20px;
        }
        .modal.active { display: flex; }
        .modal-content {
            background: var(--white);
            max-width: 1000px; width: 100%;
            max-height: 90vh; overflow-y: auto;
            border-radius: 30px;
            display: grid; grid-template-columns: 1fr 1fr;
            position: relative;
        }
        .modal-visual { background: var(--lilac); min-height: 400px; display: flex; align-items: center; justify-content: center; }
        .modal-body { padding: 60px; }
        .close-modal { position: absolute; top: 30px; right: 30px; cursor: pointer; z-index: 10; }

        /* --- FOOTER --- */
        footer {
            background-color: var(--deep-indigo);
            color: var(--white);
            padding: 100px 60px;
            text-align: center;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 60px;
            margin-bottom: 80px;
            text-align: left;
        }
        .footer-col h4 { margin-bottom: 30px; font-size: 1.5rem; }
        .footer-col ul { list-style: none; }
        .footer-col li { margin-bottom: 15px; }
        .footer-col a { color: var(--white); text-decoration: none; opacity: 0.7; transition: 0.3s; cursor: pointer;}
        .footer-col a:hover { opacity: 1; padding-left: 5px; }

        .newsletter {
            max-width: 500px;
            margin: 0 auto;
            display: flex;
            gap: 15px;
            background: rgba(255,255,255,0.1);
            padding: 10px;
            border-radius: 50px;
        }
        .newsletter input {
            flex: 1; background: none; border: none;
            padding: 0 25px; color: white; outline: none;
            font-family: inherit; font-size: 1rem;
        }
        .newsletter button {
            background: var(--sky-blue); color: var(--deep-indigo);
            border: none; padding: 15px 30px; border-radius: 30px;
            font-weight: 700; cursor: pointer; transition: 0.3s;
        }

        /* --- PAGES --- */
        .page { display: none; }
        .page.active { display: block; }

        @media (max-width: 900px) {
            .modal-content { grid-template-columns: 1fr; }
            .hero-content { padding: 0 20px; }
            header { padding: 20px; }
            .nav-links a { font-size: 2.5rem; }
        }

            .modal {
        position: fixed;
        inset: 0;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.8);
        z-index: 5000;
        padding: 20px;
    }
    .modal.active { display: flex; }
