body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}


/* === Navbar === */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 97%;
    max-width: 1200px;
    border-radius: 20px;
    background: #111;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.4s ease;
}

.navbar-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 12px 25px;
    width: 100%;
    transition: all 0.5s ease;
}


/* Logo */

.logo {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    user-select: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.logo .compact-text {
    display: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.logo .full-text {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
}

#agency {
    font-size: 0.9rem;
    font-weight: 400;
}


/* Nav Links */

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    background: #222;
}


/* CTA Button */

.cta {
    background: linear-gradient(135deg, #2fbcf3, #1e9fd8);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(47, 188, 243, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta:hover {
    background: linear-gradient(135deg, #1e9fd8, #2fbcf3);
}


/* Hamburger */

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}


/* === Scrolled Navbar === */

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.95);
    border-radius: 50px;
    max-width: 45%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

.navbar.scrolled .logo .full-text {
    opacity: 0;
    transform: scale(0);
    width: 0;
    height: 0;
    overflow: hidden;
}

.navbar.scrolled .logo .compact-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2fbcf3, #1e9fd8);
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.4s ease, opacity 0.4s ease;
}


/* === Mobile === */

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        border-radius: 0;
        z-index: 9999;
        /* stay on top */
    }
    .navbar.scrolled {
        border-radius: 0;
        backdrop-filter: none;
    }
    .navbar-container {
        display: flex;
        justify-content: space-between;
        /* logo left, hamburger right */
        align-items: center;
        padding: 12px 20px;
        position: relative;
        z-index: 9999;
    }
    .hamburger {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: white;
        z-index: 10000;
        /* clickable on top */
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 100%;
        /* just below navbar */
        left: 0;
        width: 100%;
        max-height: 0;
        /* collapsed by default */
        overflow: hidden;
        transition: height 0.4s ease, padding 0.4s ease;
        padding: 0;
        z-index: 9998;
        gap: 0;
        border-top: none;
        /* remove horizontal line */
    }
    .nav-links a {
        padding: 12px;
        text-align: center;
        display: block;
        color: #ccc;
        text-decoration: none;
        font-weight: 500;
        border-radius: 0;
        transition: all 0.3s ease;
    }
    .nav-links a:hover {
        color: #fff;
        background: #222;
    }
    /* CTA inside dropdown */
    .cta {
        order: 99;
        /* push to bottom */
        margin: 10px auto;
        width: 90%;
        text-align: center;
        padding: 10px 0;
        display: block;
        border-radius: 20px;
        background: linear-gradient(135deg, #2fbcf3, #1e9fd8);
        color: #fff;
        font-weight: 500;
        box-shadow: 0 4px 12px rgba(47, 188, 243, 0.3);
        transition: all 0.3s ease;
    }
    .cta:hover {
        background: linear-gradient(135deg, #1e9fd8, #2fbcf3);
    }
    /* Active state will be handled dynamically by JS height */
    .nav-links.active {
        padding: 10px 0;
        min-height: fit-content;
    }
}