:root {
    --pink: #F72585;
    --blue: #4CC9F0;
    --dark-blue: #1a2744;
    --darker: #0d1220;
    --white: #ffffff;
    --light-gray: #f0f4f8;
    --mid-gray: #8892a4;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background: var(--darker);
    color: var(--white);
    overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5%;
    background: rgba(13, 18, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(76, 201, 240, 0.15);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1;
}

.nav-logo-text span {
    color: var(--pink);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-cta {
    background: var(--pink);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 4px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: #c51a6e !important;
    color: #fff !important;
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 5% 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(247, 37, 133, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(76, 201, 240, 0.15) 0%, transparent 55%),
        linear-gradient(180deg, #0d1220 0%, #101828 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(76, 201, 240, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 201, 240, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-badge {
    display: inline-block;
    background: rgba(76, 201, 240, 0.12);
    border: 1px solid rgba(76, 201, 240, 0.35);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: fadeUp 0.7s ease 0.1s both;
}

.hero-title .pink {
    color: var(--pink);
}

.hero-title .blue {
    color: var(--blue);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
    animation: fadeUp 0.7s ease 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.7s ease 0.3s both;
}

.btn-primary {
    background: var(--pink);
    color: #fff;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(247, 37, 133, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(247, 37, 133, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 48px;
    margin-top: 70px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.7s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: var(--blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* Photo strip */
.photo-strip {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 40px 0;
    background: var(--dark-blue);
}

.photo-strip::before,
.photo-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
}

.photo-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark-blue), transparent);
}

.photo-strip::after {
    right: 0;
    background: linear-gradient(270deg, var(--dark-blue), transparent);
}

.photo-track {
    display: flex;
    gap: 16px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.photo-track img {
    height: 200px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ─── SECTION COMMON ─── */
section {
    padding: 100px 5%;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 20px;
}

.section-title .accent {
    color: var(--blue);
}

.section-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 580px;
}

/* ─── ABOUT ─── */
.about {
    background: var(--darker);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 500px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-img-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 60%;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--dark-blue);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-badge-float {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--pink);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(247, 37, 133, 0.4);
    z-index: 3;
    line-height: 1.2;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.value-card {
    background: rgba(76, 201, 240, 0.07);
    border: 1px solid rgba(76, 201, 240, 0.15);
    border-radius: 10px;
    padding: 20px;
}

.value-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.value-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blue);
    margin-bottom: 5px;
}

.value-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* ─── PROGRAMS ─── */
.programs {
    background: var(--dark-blue);
}

.programs-header {
    text-align: center;
    margin-bottom: 60px;
}

.programs-header .section-desc {
    margin: 0 auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.program-card.pink::before {
    background: var(--pink);
}

.program-card.blue::before {
    background: var(--blue);
}

.program-card.grad::before {
    background: linear-gradient(90deg, var(--pink), var(--blue));
}

.program-card:hover {
    transform: translateY(-6px);
    border-color: rgba(76, 201, 240, 0.3);
}

.program-age {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.program-age.pink {
    background: rgba(247, 37, 133, 0.15);
    color: var(--pink);
}

.program-age.blue {
    background: rgba(76, 201, 240, 0.15);
    color: var(--blue);
}

.program-age.grad {
    background: rgba(247, 37, 133, 0.1);
    color: #d070c0;
}

.program-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.program-desc {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.program-features {
    list-style: none;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.program-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(76, 201, 240, 0.15);
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ─── WHY US ─── */
.why {
    background: var(--darker);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-list {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: rgba(247, 37, 133, 0.25);
    line-height: 1;
    min-width: 48px;
}

.why-text-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.why-text-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.why-image-wrap {
    position: relative;
}

.why-image-wrap img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    height: 480px;
}

.why-overlay-card {
    position: absolute;
    bottom: -28px;
    left: -28px;
    background: var(--pink);
    color: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(247, 37, 133, 0.35);
}

.why-overlay-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    line-height: 1;
}

.why-overlay-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 4px;
}

/* ─── GALLERY ─── */
.gallery {
    background: var(--dark-blue);
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s, filter 0.3s;
}

.gallery-grid img:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 100%;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* ─── REGISTRATION FORM ─── */
.register {
    background: var(--darker);
    padding: 100px 5%;
}

.register-inner {
    max-width: 820px;
    margin: 0 auto;
}

.register-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

input,
select,
textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    padding: 14px 18px;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    background: rgba(76, 201, 240, 0.05);
}

select option {
    background: #1a2744;
    color: #fff;
}

textarea {
    resize: vertical;
    min-height: 110px;
}

.form-divider {
    grid-column: 1 / -1;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 10px 0;
}

.form-section-label {
    grid-column: 1 / -1;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--blue);
}

.form-submit-wrap {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.form-submit-wrap button {
    background: var(--pink);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    padding: 18px 56px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(247, 37, 133, 0.3);
}

.form-submit-wrap button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(247, 37, 133, 0.5);
}

.form-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px;
    background: rgba(76, 201, 240, 0.08);
    border: 1px solid rgba(76, 201, 240, 0.25);
    border-radius: 14px;
    margin-top: 20px;
}

.success-message h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 12px;
}

.success-message p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ─── FAQ ─── */
.faq {
    background: var(--dark-blue);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    padding: 22px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question .arrow {
    color: var(--blue);
    font-size: 1.2rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
}

.faq-answer.open {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 24px 22px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.95rem;
    line-height: 1.75;
}

.faq-item.active .arrow {
    transform: rotate(45deg);
}

/* ─── FOOTER ─── */
footer {
    background: #080c14;
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.footer-brand-name span {
    color: var(--pink);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
}

.footer-col-title {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-contact-item .ico {
    color: var(--pink);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {

    .about,
    .why {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-images {
        height: 340px;
    }

    .why-image-wrap {
        order: -1;
    }

    .why-overlay-card {
        bottom: -20px;
        left: 10px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid img:first-child {
        grid-row: auto;
        height: 240px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .nav-links {
        display: none;
    }
}

/* overwrite */
.nav-logo-text img {
    width: 5rem;
    height: auto;
}

.popup-overlay:not(.active) {
    user-select: none;
    pointer-events: none;
}