/* --- ROOT VARIABLES --- */
        :root {
            --primary-color: #00d4ff;
            --accent-color: #00d4ff;
            --glass-bg: rgba(15, 15, 15, 0.9);
            --glass-border: rgba(255, 255, 255, 0.1);
            --text-main: #ffffff;
            --body-bg: #0b0b0b;
        }

        /* --- RESET & BASE STYLES --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Raleway', sans-serif;
            color: var(--text-main);
            background-color: var(--body-bg);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* --- BACKGROUND SLIDER --- */
        .bg-slider {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100vh;
            z-index: -2;
        }
        .slide {
            position: absolute;
            width: 100%; height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 2s ease-in-out;
        }
        .slide.active { opacity: 1; }
        .overlay {
            position: absolute;
            width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.75);
            z-index: -1;
        }

        /* --- NAVIGATION --- */

        header {

            position: fixed;

            top: 0; width: 100%;

            z-index: 1000;

        }

        .navbar {

            display: flex;

            justify-content: space-between;

            align-items: center;

            padding: 20px 50px;

            background: rgba(0, 0, 0, 0.9);

            border-bottom: 1px solid var(--glass-border);

        }


        .logo {

            font-family: 'Kaushan Script', cursive;

            font-size: 1.8rem;

            color: var(--primary-color);

            text-decoration: none;

        }

        .main-nav {

            display: flex;

            list-style: none;

        }

        .nav-links {

            color: white;

            text-decoration: none;

            margin-left: 25px;

            font-weight: 600;

            text-transform: uppercase;

            font-size: 0.85rem;

            transition: 0.3s;

        }

        .nav-links:hover {

            color: var(--primary-color);

            text-shadow: 0 0 10px var(--primary-color);

        }

        /* Ensure background doesn't move when menu is open */
        body.menu-open {
            overflow: hidden;
        }

        /* Updated Glass Panel */
        .glass-panel {
            width: 100%; /* Take up full width of the 98% container */
            background: rgba(255, 255, 255, 0.08);
            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px); /* Safari support */
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            overflow: hidden;
        }

        /* Ensure the contact section also respects the width */
        #contact {
            width: 100%;
            margin-top: 40px;
        }
        /* Home Split Layout */
        .home-split {
            display: flex;
            gap: 40px;
            align-items: flex-start;
        }
        .profile-container { flex: 1; }
        .info-container { flex: 2; }

        .profile-pic {
            width: 100%;
            max-width: 350px;
            border-radius: 20px;
            border: 3px solid var(--accent-color);
            box-shadow: 0 0 25px rgba(145, 234, 228, 0.3);
        }

        /* Grid System */
        .grid-layout {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }

        /* --- BUTTONS --- */
        .landingbtn {
            display: inline-block;
            padding: 12px 30px;
            border: 2px solid var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            transition: 0.4s;
            text-align: center;
            background: transparent;
            cursor: pointer;
        }
        .landingbtn:hover {
            background: var(--primary-color);
            color: black;
            box-shadow: 0 0 20px var(--primary-color);
        }

        /* --- TYPOGRAPHY --- */
        h1 { font-size: 3rem; color: var(--primary-color); margin-bottom: 10px; }
        h6 { font-size: 1.2rem; color: var(--accent-color); margin-bottom: 20px; }
        .summary-list { list-style: none; margin: 20px 0; }
        .summary-list li { margin-bottom: 10px; padding-left: 20px; position: relative; }
        .summary-list li::before { content: '▹'; position: absolute; left: 0; color: var(--primary-color); }

        /* --- FOOTER / CONTACTS --- */
        .shared-footer {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid var(--glass-border);
        }

        /* --- RESPONSIVENESS --- */
        @media screen and (max-width: 992px) {
            .home-split { flex-direction: column; text-align: center; }
            .profile-container { margin: 0 auto; }
            h1 { font-size: 2.5rem; }
        }

        /* --- UPDATED MOBILE SIDE MENU --- */
        @media screen and (max-width: 768px) {
            .navbar { 
                padding: 15px 20px; 
                position: relative;
            }

            .main-nav {
                display: flex; /* Always flex, but moved off-screen */
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start; /* Align text to the left */
                
                /* Positioning */
                position: fixed;
                top: 0;
                left: -100%; /* Hides it completely to the left */
                width: 250px; /* Width of the side menu */
                height: 100vh;
                
                /* Visuals */
                background: rgba(11, 11, 11, 0.98); /* Darker for contrast */
                -webkit-backdrop-filter: blur(15px);
                backdrop-filter: blur(15px);
                padding: 80px 30px; /* Space for the logo/top */
                transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth "tangle" slide */
                border-right: 2px solid var(--primary-color);
                z-index: 999;
            }

            /* When active, slide into view */
            .main-nav.active {
                left: 0;
            }

            .main-nav li {
                margin: 20px 0;
                width: 100%;
            }

            .nav-links {
                margin-left: 0; /* Reset desktop margin */
                font-size: 1.1rem;
                display: block;
            }

            .navbar-toggle {
                display: block;
                z-index: 1001; /* Keep icon above the sliding menu */
            }
        }

       /* CONTACT SECTION LAYOUT */
.contact-form-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

/* Left side: Contact Info */
.contact-form-container > div:first-child {
    flex: 1;
    min-width: 300px;
}

/* Right side: The Form */
.c-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* INPUT STYLING */
.c-form input, 
.c-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.c-form input:focus, 
.c-form textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* MODAL STYLING (For the Success Popup) */
.modal-overlay {
    display: flex; /* Script will toggle this */
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
    .contact-form-container {
        flex-direction: column;
    }
    
    .c-form {
        width: 100%;
    }
} 

/* Desktop Styles (Default) */
.navbar-toggle {
    display: none; /* Hidden on big screens */
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .main-nav {
        display: none; /* Hide menu by default */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust based on nav height */
        left: 0;
        background: rgba(0, 0, 0, 0.9);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        text-align: center;
        padding: 20px 0;
        border-bottom: 2px solid var(--primary-color);
    }

    /* This class is added by JavaScript when you tap */
    .main-nav.active {
        display: flex;
    }

    .navbar-toggle {
        display: block; /* Show hamburger icon */
    }

    .main-nav li {
        margin: 15px 0;
    }
}



.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;

}

.footer-content {
    text-align: center;
    font-family: 'Inter', 'monospace', sans-serif;
}

.year-block {
    font-size: 1.5rem;
    font-weight: 900; 
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 3px;
}

.name-block {
    font-size:1.1rem;
    font-weight: 700;
    color: #3094ce; 
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-top: 3px;
}