* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #2c5364, #0f2027);
    color: #fff;
}

/* ========== NAVBAR ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 6%;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(14px);
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #00eaff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.menu-icon {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ========== SECTIONS (MOBILE SAFE) ========== */
.section {
    min-height: 90vh;
    padding: 100px 16px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero {
    padding-top: 120px;
    /* navbar space */
}

/* ========== GLASS CARD ========== */
.glass {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 36px 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(22px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
}

.glass h1 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.glass h2 {
    font-size: 16px;
    color: #00eaff;
    margin-bottom: 14px;
}

.glass p {
    font-size: 14px;
    line-height: 1.6;
    opacity: .9;
    margin-bottom: 22px;
}

/* ========== BUTTON ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: #00eaff;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

/* ========== TEXT ========== */
.sub {
    max-width: 600px;
    opacity: .9;
}

/* ========== DARK SECTION ========== */
.dark {
    background: rgba(0, 0, 0, .35);
}

/* ========== CARDS ========== */
.cards {
    cursor: pointer;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cards a {
    text-decoration: none;
    color: inherit;
}

.card,
.project-card {
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(14px);
    transition: .3s;
}

.card:hover,
.project-card:hover {
    transform: translateY(-6px);
    background: rgba(0, 234, 255, .45);
    color: black;
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.6);
}

/* ========== FOOTER ========== */
footer {
    padding: 18px;
    text-align: center;
    background: black;
    opacity: .75;
}

/* ========== MOBILE NAV MENU ========== */
@media(max-width:768px) {
    .menu-icon {
        display: block;
        z-index: 1100;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        height: 100vh;
        width: 100%;
        background: rgba(0, 0, 0, .95);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 26px;
        display: none;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        font-size: 22px;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ========== DESKTOP SCALE ========== */
@media(min-width:769px) {
    .section {
        padding: 120px 10%;
    }

    .glass {
        max-width: 900px;
        padding: 60px 50px;
    }

    .glass h1 {
        font-size: 44px
    }

    .glass h2 {
        font-size: 22px
    }

    .glass p {
        font-size: 16px
    }
}