:root {
    --bg-main: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.75);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --color-cyan: #2563EB;
    --color-cyan-glow: rgba(6, 182, 212, 0.25);
    --color-blue: #60a5fa;
    --color-blue-glow: rgba(59, 130, 246, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    --gradient-hover: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    --gradient-accent: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    /* FIX 4: brighter default border */
    --gradient-border: linear-gradient(135deg, rgba(6, 182, 212, 0.55), rgba(59, 130, 246, 0.55));
    --gradient-glow-active: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    --font-headings: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --dark: #060e1e;
    --dark2: #0a1628;
    --accent: #1a5fff;
    --accent2: #6fa3ff;
    --accent-lt: rgba(26,95,255,0.08);
    --white: #ffffff;
    --cream: #f5f7fc;
    --muted: #6b7a99;
    --border: rgba(255,255,255,0.08);
    --border-light: rgba(13,27,53,0.09);
    --font-head: 'Poppins',sans-serif;
    --font-body: 'Poppins',sans-serif;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 28px;
    --shadow-sm: 0 2px 12px rgba(13,27,53,0.07);
    --shadow: 0 6px 28px rgba(13,27,53,0.10);
    --shadow-lg: 0 16px 48px rgba(13,27,53,0.14);
    --boxshadow: rgba(37, 99, 235, 0.45);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo-img {
    width: 125px;
    height: 85px;
    padding: 2px;
} 
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-secondary);
    overflow-x: hidden;
    line-height: 1.6;
}

.ambient-glows {
    display: none;
}

.glow-blob {
    display: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 100;
    transition: var(--transition-smooth);
}

    header.scrolled {
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
        background: rgba(248, 250, 252, 0.85);
    }

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-symbol {
    position: relative;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}

.logo-text {
    line-height: 1.1;
    text-transform: uppercase;
}

    .logo-text span {
        display: block;
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--text-secondary);
        letter-spacing: 2px;
    }

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
    position: relative;
}

    .nav-link:hover {
        color: var(--text-primary);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 0;
        height: 2.5px;
        background: var(--gradient-primary);
        border-radius: 2px;
        transition: var(--transition-smooth);
    }

    .nav-link:hover::after {
        width: 100%;
    }
/* Dropdown nav */
.nav-item {
    position: relative;
}

    .nav-item.open .dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

.dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: white;
    border-radius: 16px;
    padding: 0.6rem;
    min-width: 220px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.12);
    border: 1.5px solid rgba(6, 182, 212, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 200;
}

    .dropdown::before {
        content: "";
        position: absolute;
        top: -7px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: white;
        border-left: 1.5px solid rgba(6,182,212,0.3);
        border-top: 1.5px solid rgba(6,182,212,0.3);
    }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

    .dropdown-item:hover {
        background: rgba(6,182,212,0.06);
        color: var(--text-primary);
    }

        .dropdown-item:hover .dd-icon {
            background: var(--gradient-primary);
        }

            .dropdown-item:hover .dd-icon svg {
                stroke: white;
            }

.dd-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(6,182,212,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

    .dd-icon svg {
        width: 14px;
        height: 14px;
        stroke: var(--color-cyan);
        transition: var(--transition-smooth);
    }

.nav-link .chevron {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.nav-item.open .nav-link .chevron {
    transform: rotate(180deg);
}

/* Mobile menu toggle (hamburger) — shared so it works on every page */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsive header/nav — applies site-wide */
@media (max-width: 768px) {
    .nav-wrapper {
        height: 70px;
    }

    .nav-logo-img {
        width: 90px;
        height: auto;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(0,0,0,0.05);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    /* Dropdown becomes an inline expandable list under its parent link on mobile */
    .nav-item {
        width: 100%;
    }

    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 0.5rem;
        transition: max-height 0.35s ease, margin-top 0.35s ease;
    }

    .dropdown::before {
        display: none;
    }

    .nav-item.open .dropdown {
        pointer-events: auto;
        max-height: 500px;
        padding: 0.6rem;
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-logo-img {
        width: 75px;
    }
}
