        /* Import fonts - Exact match to Homepage */
        @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Orbitron:wght@500;700;900&display=swap');

        /* --- SCROLLBAR REMOVAL (Fixes Layout Shift) --- */
        /* This hides the scrollbar visually but keeps scrolling enabled */
        html {
            scrollbar-width: none; /* For Firefox */
            -ms-overflow-style: none; /* For Internet Explorer and Edge */
        }
        
        body::-webkit-scrollbar {
            display: none; /* For Chrome, Safari, and Opera */
        }

        /* --- CORE RESET & LAYOUT --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            overflow-x: hidden; /* Prevent horizontal scroll */
            background-color: #050000;
            color: white;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* --- BACKGROUND LAYERS --- */
        #bg-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .bg-tint {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(40, 0, 0, 0.85), rgba(10, 0, 0, 0.95));
            z-index: 1;
            mix-blend-mode: multiply;
        }

        #art-collage {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(2, 1fr);
            opacity: 1.5; 
            filter: contrast(1.2) grayscale(30%);
        }

        .collage-item {
            background-size: cover;
            background-position: center;
            box-shadow: inset 0 0 50px #000;
        }

        .item-1 { 
            background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg/800px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg'); 
            background-position: center 20%; 
        }
        .item-2 { background-image: url('https://images.unsplash.com/photo-1578321272176-b7bbc0679853?q=80&w=1000&auto=format&fit=crop'); }
        .item-3 { background-image: url('https://media-cldnry.s-nbcnews.com/image/upload/t_fit-560w,f_avif,q_auto:eco,dpr_2/MSNBC/Components/Photo/_new/100520-matisse-theft-8a.jpg'); }
        .item-4 { background-image: url('https://images.unsplash.com/photo-1580136608260-4eb11f4b24fe?q=80&w=1000&auto=format&fit=crop'); }
        .item-5 { background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS1XT0nvPpneNeOLiCpNBaAIN5b4Wr6X1E8xw&s'); }
        .item-6 { background-image: url('https://miro.medium.com/v2/resize:fit:1100/format:webp/0*o0UA3d0rKtQXGpEc.jpg'); }

        canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            opacity: 0.7;
        }

        /* --- NAVBAR (Exact match to Homepage) --- */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            /* Exact padding from Homepage */
            padding: 15px 50px 15px 35px; 
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(255, 50, 50, 0.3);
            position: fixed;
            top: 0;
            width: 100%;
            height: 80px;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .logo {
            display: flex;
            align-items: center;
            z-index: 2001; 
        }

        .logo img {
            height: 45px; 
            width: auto; 
            display: block;
            mix-blend-mode: screen; 
            margin-left: -5px; 
            transition: transform 0.3s ease, filter 0.3s ease;
            will-change: transform, filter;
        }

        .logo img:hover {
            transform: scale(1.05);
            filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8)); 
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: #ccc;
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            position: relative;
            padding: 5px 0;
        }

        .nav-links a:hover, .nav-links a.active {
            color: #ff3333;
            text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #ff3333;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after, .nav-links a.active::after {
            width: 100%;
        }

        .nav-links a.nav-clicked::after {
            width: 100%;
            transition: width 0.5s ease-out;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            flex-direction: column;
            gap: 5px;
            z-index: 2001; 
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            background-color: #fff;
            transition: all 0.3s ease;
        }

        /* --- MAIN CONTENT LAYOUT --- */
        .main-content {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 100px 20px 60px 20px;
        }

        .content-layout-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 50px;
            width: 100%;
            max-width: 1100px;
        }

        /* --- CONTACT FORM --- */
        .contact-container {
            background: rgba(20, 0, 0, 0.75);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 50, 50, 0.3);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 0, 0, 0.1);
            padding: 50px;
            border-radius: 12px;
            width: 100%;
            max-width: 800px;
            flex: 1 1 auto;
            animation: fadeInUp 1s ease forwards;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .contact-header { text-align: center; margin-bottom: 35px; }
        .contact-header h1 { font-family: 'Orbitron', sans-serif; font-size: 2.8rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; color: #fff; text-shadow: 0 2px 10px rgba(255, 0, 0, 0.4); }
        .contact-header p { color: #bbb; font-size: 1rem; font-weight: 300; }

        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
        .form-group { position: relative; }
        .full-width { grid-column: span 2; }

        .form-input {
            width: 100%; background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.15); padding: 18px 15px;
            border-radius: 4px; color: #fff; font-family: 'Montserrat', sans-serif;
            font-size: 1rem; outline: none; transition: all 0.3s ease;
        }
        .form-label {
            position: absolute; left: 15px; top: 18px; color: #888;
            pointer-events: none; transition: all 0.3s ease; font-size: 0.95rem;
            background-color: transparent; padding: 0 5px;
        }
        .form-input:focus, .form-input:not(:placeholder-shown) {
            border-color: #ff3333; background: rgba(40, 0, 0, 0.3); box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
        }
        .form-input:focus ~ .form-label, .form-input:not(:placeholder-shown) ~ .form-label {
            top: -10px; left: 10px; font-size: 0.8rem; color: #ff3333; background-color: #1a0505; border-radius: 2px;
        }
        textarea.form-input { resize: vertical; min-height: 120px; }

        .submit-btn {
            grid-column: span 2; padding: 18px;
            background: linear-gradient(90deg, #800000, #cc0000, #800000);
            background-size: 200% auto; border: none; color: white;
            font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.2rem;
            cursor: pointer; border-radius: 4px; text-transform: uppercase;
            letter-spacing: 3px; transition: all 0.4s ease; margin-top: 15px;
            box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
        }
        .submit-btn:hover {
            background-position: right center; box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5); transform: translateY(-2px);
        }

        /* --- SOCIAL DOCK --- */
        .social-dock-vertical {
            animation: fadeInUp 1s ease forwards 0.2s; opacity: 0; flex: 0 0 auto; z-index: 10;
        }
        .card-vertical {
            width: fit-content; height: auto; background-color: rgba(20, 0, 0, 0.6);
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            padding: 30px 15px; gap: 25px; border-radius: 35px;
            border: 1px solid rgba(255, 0, 0, 0.3); backdrop-filter: blur(10px);
            box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
        }
        .social-container {
            width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
            background-color: rgba(255, 255, 255, 0.05); border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.1); text-decoration: none;
            transition-duration: .3s; flex-shrink: 0;
        }
        .social-container svg { width: 24px; height: 24px; fill: #ccc; transition: all 0.3s; }
        .social-container:hover {
            background-color: rgba(180, 0, 0, 0.2); transform: scale(1.1);
            border-color: #ff0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
        }
        .social-container:hover svg { fill: #ff3333; filter: drop-shadow(0 0 5px #ff0000); }

        /* --- MOBILE RESPONSIVE --- */
        @media (max-width: 968px) {
            nav { 
                padding: 0 20px; 
                height: 72px; /* Reduced from 80px (80% of original) */
            }

                    /* Adjust logo size to fit the smaller nav height */
            .logo img {
                height: 37px; /* Reduced from 45px */
            }

            .hamburger { display: flex; }

                    /* Mobile Menu Styling - Contact Page Style */
            .nav-links {
                position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
                background: linear-gradient(to left, #000000 0%, #000000 55%, rgba(0,0,0,0.1) 100%);
                backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
                flex-direction: column; align-items: flex-end; justify-content: flex-start;
                padding-top: 90px;
                padding-right: 50px;
                transform: translateX(100%); opacity: 0;
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
                z-index: 2000; pointer-events: none;
                will-change: transform, opacity;
            }
            .nav-links.active { transform: translateX(0); opacity: 1; pointer-events: all; }
                    
            .nav-links a { 
                font-size: 1.1rem; 
                margin: 12px 0;    
                width: auto; 
                text-align: right; 
                display: block; 
                font-weight: 500; 
            }
            .nav-links a::after { left: auto; right: 0; }

            .hamburger.toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
            .hamburger.toggle span:nth-child(2) { opacity: 0; }
            .hamburger.toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

            .main-content { padding: 180px 15px 40px 15px; }
            .content-layout-wrapper { flex-direction: column; gap: 40px; }
            
            .social-dock-vertical { width: 100%; display: flex; justify-content: center; }
            .card-vertical { 
                flex-direction: row; flex-wrap: wrap; justify-content: center;
                padding: 15px 25px; border-radius: 50px; gap: 15px; width: 100%; max-width: 400px;
            }
            
            .form-grid { grid-template-columns: 1fr; }
            .full-width, .submit-btn { grid-column: span 1; }
            #art-collage { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
        }

/* --- 1. LAPTOP & TABLET VIEW (Side-by-Side) --- */
/* This applies to everything wider than 600px */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 20px;
    width: 100%;
}

.full-width {
    grid-column: span 2; /* Message and Status span both columns */
}

.submit-btn {
    grid-column: span 2; /* Button spans both columns at the bottom */
}

/* --- 2. TABLET SPECIFIC ADJUSTMENTS --- */
/* Narrower tablets or landscape phones */
@media screen and (max-width: 1024px) and (min-width: 601px) {
    .contact-container {
        width: 90%; 
        max-width: 700px;
    }
}

/* --- 3. MOBILE VIEW (One after the other) --- */
/* This triggers only on small smartphone screens */
@media screen and (max-width: 600px) {
    .form-grid {
        display: flex;
        flex-direction: column; /* Stacked vertically */
        gap: 15px;
    }

    .form-group, .full-width, .submit-btn {
        width: 100%;
        grid-column: span 1; /* Reset grid behavior */
    }

    .contact-container {
        padding: 20px;
        width: 95%;
    }

    .contact-header h1 {
        font-size: 1.5rem;
    }

    /* Move social icons below the form on mobile */
    .content-layout-wrapper {
        flex-direction: column;
    }
    
    .social-dock-vertical {
        flex-direction: row;
        margin-top: 20px;
    }

    .card-vertical {
        flex-direction: row;
        gap: 10px;
    }
    
    .main-content {
            padding: 100px 20px 60px 20px;
        }
}

.main-content {
    padding-bottom: 80px; /* Adjust based on your layout */
}

/* --- FIX FOR GOOGLE AUTOFILL WHITE BACKGROUND --- */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    /* This overrides the background color by using a massive inner shadow */
    -webkit-box-shadow: 0 0 0px 1000px #1a0505 inset !important;
    /* This keeps the text color white */
    -webkit-text-fill-color: white !important;
    /* This ensures the border matches your focus state if needed */
    border: 1px solid rgba(255, 50, 50, 0.3);
    transition: background-color 5000s ease-in-out 0s;
}

/* Optional: Handles the label behavior when autofilled */
.form-input:-webkit-autofill ~ .form-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: #ff3333;
    background-color: #1a0505;
    border-radius: 2px;
}





.minimal-footer {
    width: 100%;
    /* Use clamp for responsive padding: min 15px, preferred 3vw, max 25px */
    padding: clamp(15px, 3vw, 25px) 0; 
    background-color: #050000;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 50, 50, 0.1);
    text-align: center;
    margin-top: auto;
}

.minimal-footer p {
    font-family: 'Montserrat', sans-serif;
    /* Scales font size based on screen width so it doesn't look huge on phones */
    font-size: clamp(0.75rem, 2vw, 1rem); 
    color: #ff0000;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    /* Prevents text from hitting the screen edges on mobile */
    margin: 0 15px; 
    line-height: 1.4;
}