/* =========================================================
   ELNAPO ACADEMY — TRAINING APPLY
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    height: 78px;
    background: rgba(5,5,5,.96);
    border-bottom: 1px solid rgba(212,175,55,.12);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.nav-container {
    width: min(1400px, 94%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #d4af37;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #ddd;
    font-size: 15px;
    transition: .25s;
}

nav a:hover,
nav a.active {
    color: #d4af37;
}


/* =========================================================
   MAIN
========================================================= */

.apply-page {
    width: min(1180px, 94%);
    margin: auto;
}


/* =========================================================
   HERO
========================================================= */

.apply-hero {
    position: relative;
    text-align: center;
    padding: 110px 20px 75px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 300px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse,
        rgba(212,175,55,.13),
        transparent 70%
    );
    pointer-events: none;
}

.section-label {
    color: #d4af37;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.apply-hero h1 {
    margin-top: 18px;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1;
}

.apply-hero h1 span {
    color: #d4af37;
}

.apply-hero p {
    max-width: 700px;
    margin: 28px auto 0;
    color: #8e8e8e;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   COMMUNITY BANNER
========================================================= */

.community-banner {
    display: flex;
    align-items: center;
    gap: 22px;

    padding: 25px 30px;

    margin-bottom: 70px;

    border: 1px solid rgba(212,175,55,.28);
    border-radius: 18px;

    background:
        linear-gradient(
            110deg,
            rgba(212,175,55,.08),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 0 50px rgba(212,175,55,.04);
}

.community-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #d4af37;
    font-size: 25px;

    background: rgba(212,175,55,.08);
    border: 1px solid rgba(212,175,55,.25);
}

.community-banner strong {
    display: block;
    font-size: 17px;
    color: #d4af37;
}

.community-banner p {
    margin-top: 7px;
    color: #888;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   FORM SECTION
========================================================= */

.apply-section {
    padding-bottom: 100px;
}

.form-heading {
    text-align: center;
    margin-bottom: 55px;
}

.form-heading > span {
    color: #d4af37;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 700;
}

.form-heading h2 {
    margin-top: 12px;
    font-size: 40px;
}

.form-heading p {
    color: #777;
    margin-top: 12px;
}


/* =========================================================
   FORM BLOCK
========================================================= */

.form-block {
    position: relative;

    margin-bottom: 28px;
    padding: 35px;

    border: 1px solid #202020;
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.008)
        );

    transition: .3s;
}

.form-block:hover {
    border-color: rgba(212,175,55,.25);
}

.block-title {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.block-title > span {
    color: #d4af37;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.block-title h3 {
    font-size: 19px;
}

.block-title p {
    margin-top: 6px;
    color: #666;
    font-size: 13px;
}


/* =========================================================
   INPUTS
========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group.full {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;

    border: 1px solid #292929;
    border-radius: 10px;

    padding: 15px 16px;

    background: #0b0b0b;
    color: #fff;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition: .25s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #d4af37;

    box-shadow:
        0 0 0 3px rgba(212,175,55,.07);
}

input::placeholder,
textarea::placeholder {
    color: #4d4d4d;
}

select {
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 140px;
}


/* =========================================================
   CHOICE CARDS
========================================================= */

.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.choice-card {
    cursor: pointer;
}

.choice-card input {
    display: none;
}

.choice-content {
    height: 100%;

    padding: 23px;

    border: 1px solid #272727;
    border-radius: 14px;

    background: #0b0b0b;

    transition: .25s;
}

.choice-content:hover {
    border-color: rgba(212,175,55,.4);
    transform: translateY(-2px);
}

.choice-card input:checked + .choice-content {
    border-color: #d4af37;

    background:
        linear-gradient(
            135deg,
            rgba(212,175,55,.1),
            rgba(212,175,55,.025)
        );

    box-shadow:
        0 0 30px rgba(212,175,55,.06);
}

.choice-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 10px;

    color: #d4af37;
    background: rgba(212,175,55,.08);
}

.choice-content h4 {
    font-size: 16px;
}

.choice-content p {
    margin-top: 8px;

    color: #707070;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   PACKAGES
========================================================= */

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.package-card {
    cursor: pointer;
}

.package-card input {
    display: none;
}

.package-card > div {
    height: 100%;

    padding: 28px;

    border: 1px solid #292929;
    border-radius: 15px;

    background: #0a0a0a;

    transition: .25s;
}

.package-card:hover > div {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,.4);
}

.package-card input:checked + div {
    border-color: #d4af37;

    box-shadow:
        0 0 35px rgba(212,175,55,.07);

    background:
        linear-gradient(
            145deg,
            rgba(212,175,55,.09),
            #0a0a0a
        );
}

.package-tag {
    color: #d4af37;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.package-card h4 {
    margin-top: 14px;
    font-size: 25px;
}

.package-card p {
    margin: 14px 0 25px;

    color: #707070;
    font-size: 12px;
    line-height: 1.7;
}

.package-card strong {
    color: #ddd;
    font-size: 12px;
}


/* =========================================================
   SUBMIT
========================================================= */

.submit-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 35px;

    margin-top: 30px;

    border-radius: 18px;

    border: 1px solid rgba(212,175,55,.22);

    background:
        linear-gradient(
            110deg,
            rgba(212,175,55,.08),
            rgba(255,255,255,.015)
        );
}

.submit-info span {
    color: #d4af37;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.submit-info p {
    max-width: 550px;
    margin-top: 10px;

    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

.submit-button {
    min-width: 230px;

    padding: 17px 25px;

    border: none;
    border-radius: 10px;

    background: #d4af37;
    color: #080808;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition: .25s;
}

.submit-button span {
    margin-left: 15px;
    font-size: 18px;
}

.submit-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 35px rgba(212,175,55,.18);
}


/* =========================================================
   BOTTOM
========================================================= */

.apply-bottom {
    text-align: center;

    padding: 100px 20px;

    border-top: 1px solid #151515;
}

.apply-bottom > span {
    color: #d4af37;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.apply-bottom h2 {
    margin-top: 15px;
    font-size: 38px;
}

.apply-bottom p {
    max-width: 600px;
    margin: 18px auto 28px;

    color: #777;
    line-height: 1.8;
    font-size: 14px;
}

.apply-bottom a {
    color: #d4af37;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    border-top: 1px solid #161616;
    background: #030303;
}

.footer-container {
    width: min(1180px, 94%);
    margin: auto;

    padding: 65px 0;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo h2 {
    color: #d4af37;
    letter-spacing: 4px;
}

.footer-logo p {
    max-width: 400px;

    margin-top: 18px;

    color: #555;
    font-size: 12px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links h3 {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links a {
    color: #666;
    font-size: 12px;
    transition: .2s;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-bottom {
    border-top: 1px solid #111;

    padding: 22px;

    text-align: center;

    color: #444;
    font-size: 11px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }

    .choice-grid,
    .package-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 650px) {

    .header {
        height: auto;
        padding: 18px 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 18px;
    }

    nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    nav a {
        white-space: nowrap;
    }

    .apply-hero {
        padding: 75px 10px 55px;
    }

    .apply-hero h1 {
        font-size: 43px;
    }

    .apply-hero p {
        font-size: 14px;
    }

    .community-banner {
        align-items: flex-start;
        padding: 20px;
    }

    .form-block {
        padding: 23px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .choice-grid,
    .package-grid {
        grid-template-columns: 1fr;
    }

    .submit-area {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-button {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

.form-success {
    display: none;
    text-align: center;
    padding: 70px 30px;
    animation: successFade .5s ease;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
}

.form-success-label {
    font-size: 12px;
    letter-spacing: 3px;
    opacity: .5;
    margin-bottom: 12px;
}

.form-success h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 18px;
}

.form-success p {
    font-size: 16px;
    line-height: 1.7;
    opacity: .7;
    margin-bottom: 35px;
}

.form-success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    transition: .2s ease;
}

.form-success-button:hover {
    transform: translateY(-2px);
}

@keyframes successFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
