:root {
    --primary-blue: #0A192F;
    --accent-blue: #00B4D8;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-white: #FFFFFF;
    --text-dim: #A8B2D1;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-blue);
    color: var(--text-white);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background gradient placeholder */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('background.png') no-repeat center center/cover;
    /* Add a subtle overlay to ensure text readability */
    box-shadow: inset 0 0 0 1000px rgba(10, 25, 47, 0.4);
}

/* Wrapper to keep content centered appropriately */
.wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* HEADER & NAV */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
}

.logo i {
    font-size: 1.8rem;
    color: var(--accent-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    background: var(--glass-bg);
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--text-white);
}

.socials {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Changed from center to move text up */
    text-align: center;
    padding-top: 60px;
    /* Add specific top spacing */
    padding-bottom: 40px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}



h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
    background: linear-gradient(to right, #ffffff, #bde0fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.subtitle strong {
    color: var(--accent-blue);
    font-weight: 600;
}



/* Mobile Toggle */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--text-white);
    cursor: pointer;
}

/* Redesigned CTA Button (No Input) */
.glass-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    font-family: var(--font-main);
}

.glass-button:hover {
    background: var(--text-white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {

    /* Hide Socials on Mobile */
    .socials {
        display: none;
    }

    /* Mobile Nav Drawer */
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 25, 47, 0.98);
        /* Deep blue with high opacity */
        backdrop-filter: blur(15px);
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
    }

    nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* Menu Items Container */
    nav ul {
        flex-direction: column;
        background: transparent;
        border: none;
        backdrop-filter: none;
        gap: 50px;
        text-align: center;
        width: 100%;
    }

    /* Animated Menu Items */
    nav ul li {
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.5s ease;
    }

    /* Staggered Animation on Active */
    nav.active ul li {
        transform: translateY(0);
        opacity: 1;
    }

    nav.active ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    nav.active ul li:nth-child(2) {
        transition-delay: 0.2s;
    }

    nav.active ul li:nth-child(3) {
        transition-delay: 0.3s;
    }

    nav.active ul li:nth-child(4) {
        transition-delay: 0.4s;
    }

    nav ul li a {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--text-white);
        position: relative;
    }

    /* Hover underline effect */
    nav ul li a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -10px;
        left: 50%;
        background: var(--accent-blue);
        transition: all 0.3s;
        transform: translateX(-50%);
    }

    nav ul li a:hover::after {
        width: 100%;
    }

    /* Close Button Styling (Using existing toggle) */
    .menu-toggle {
        display: block;
        z-index: 1001;
        /* Above the menu */
        position: relative;
        transition: color 0.3s;
    }

    /* Change toggle color when menu is open */
    body:has(nav.active) .menu-toggle {
        color: var(--accent-blue);
    }

    h1 {
        font-size: 2.2rem;
        padding: 0 10px;
    }

    .cta-container {
        position: fixed;
        bottom: 80px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 90;
        padding: 0 20px;
    }

    .wrapper {
        padding: 0 20px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}