* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #050816;
    color: white;
    overflow-x: hidden;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 255, 255, 0.22), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(255, 0, 180, 0.22), transparent 28%),
        radial-gradient(circle at 50% 85%, rgba(124, 58, 237, 0.35), transparent 30%),
        linear-gradient(135deg, #050816, #0f172a, #111827);
    background-size: 250% 250%;
    animation: bgMove 12s ease infinite;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1150px, calc(100% - 30px));
    z-index: 50;
    padding: 14px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.logo {
    font-weight: 900;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    transition: 0.25s;
}

.nav-links a:hover {
    background: white;
    color: #111827;
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 120px 20px 70px;
}

.tag {
    display: inline-block;
    margin-bottom: 22px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #67e8f9;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 8.5rem);
    line-height: 0.95;
    background: linear-gradient(90deg, #67e8f9, #a78bfa, #f472b6, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: -3px;
    text-shadow: 0 0 45px rgba(255,255,255,0.12);
}

.subtitle {
    max-width: 820px;
    margin: 26px auto 34px;
    color: #d1d5db;
    font-size: clamp(1.15rem, 2.5vw, 1.55rem);
    line-height: 1.6;
    font-weight: 700;
}

.main-btn,
.open-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 900;
    transition: 0.25s;
}

.main-btn {
    padding: 17px 28px;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899);
    color: white;
    box-shadow: 0 18px 38px rgba(139, 92, 246, 0.35);
}

.main-btn:hover,
.open-btn:hover {
    transform: translateY(-6px) scale(1.04);
}

.programs-section {
    padding: 70px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title span {
    display: block;
    font-size: 3rem;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    margin-bottom: 8px;
}

.section-title p {
    color: #cbd5e1;
    font-size: 1.2rem;
    font-weight: 700;
}

.cards {
    width: min(1180px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    min-height: 420px;
    padding: 30px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: translateX(-90%) rotate(20deg);
    transition: 0.65s;
}

.card:hover::before {
    transform: translateX(90%) rotate(20deg);
}

.card:hover {
    transform: translateY(-14px) scale(1.03);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 18px;
}

.card-label {
    width: fit-content;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.card-one .card-label {
    background: rgba(250, 204, 21, 0.18);
    color: #fde047;
}

.card-two .card-label {
    background: rgba(244, 114, 182, 0.18);
    color: #f9a8d4;
}

.card-three .card-label {
    background: rgba(103, 232, 249, 0.18);
    color: #67e8f9;
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.card p {
    color: #d1d5db;
    line-height: 1.65;
    font-weight: 700;
    margin-bottom: 28px;
}

.open-btn {
    position: absolute;
    left: 30px;
    bottom: 30px;
    padding: 14px 20px;
    color: #020617;
    background: white;
}

.card-one {
    background:
        linear-gradient(135deg, rgba(250,204,21,.16), rgba(255,255,255,.08));
}

.card-two {
    background:
        linear-gradient(135deg, rgba(244,114,182,.16), rgba(255,255,255,.08));
}

.card-three {
    background:
        linear-gradient(135deg, rgba(103,232,249,.16), rgba(255,255,255,.08));
}

.about {
    width: min(900px, calc(100% - 40px));
    margin: 50px auto 80px;
    padding: 34px;
    border-radius: 30px;
    text-align: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(12px);
}

.about h2 {
    font-size: 2.3rem;
    margin-bottom: 14px;
}

.about p {
    color: #d1d5db;
    line-height: 1.65;
    font-weight: 700;
}

footer {
    text-align: center;
    padding: 35px 20px 45px;
    color: #cbd5e1;
    font-weight: 800;
}

.particle {
    position: fixed;
    pointer-events: none;
    z-index: 100;
    font-size: 1.6rem;
    animation: pop 0.9s ease-out forwards;
}

@keyframes pop {
    from {
        transform: translate(0,0) scale(0.2);
        opacity: 1;
    }
    to {
        transform: translate(var(--x), var(--y)) scale(1.8);
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 360px;
    }
}

@media (max-width: 650px) {
    .navbar {
        border-radius: 24px;
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }
}
