
/* ============================================================
   PROFENAA TECHNOLOGIES - ENROLL PAGE
   Accent Color: #38bdf8
============================================================ */


/* =========================
   ROOT COLORS
========================= */

:root {
    --primary: #38bdf8;
    --primary-dark: #0ea5e9;
    --primary-light: #e0f7ff;

    --dark: #0f172a;
    --dark-light: #1e293b;

    --text: #334155;
    --muted: #64748b;

    --border: #e2e8f0;
    --light-bg: #f8fafc;

    --white: #ffffff;
}


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

.page-hero {
    position: relative;
    overflow: hidden;

    padding: 130px 0 85px;

    background:
        radial-gradient(
            circle at top right,
            rgba(56, 189, 248, 0.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #020617,
            #0f172a
        );

    color: #ffffff;
}


/* Background decoration */

.page-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    top: -200px;
    right: -100px;

    background: rgba(56, 189, 248, 0.12);

    filter: blur(10px);
}

.page-hero::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    bottom: -150px;
    left: 8%;

    background: rgba(56, 189, 248, 0.1);

    filter: blur(20px);
}


/* Hero Content */

.page-hero .container {
    position: relative;
    z-index: 2;

    max-width: 1100px;
}


/* Breadcrumb */

.breadcrumb {
    display: block;

    margin-bottom: 18px;

    font-size: 14px;

    color: #cbd5e1;
}


/* Eyebrow */

.eyebrow {
    display: inline-flex;

    align-items: center;

    margin-bottom: 16px;
    padding: 8px 15px;

    border-radius: 50px;

    background: rgba(56, 189, 248, 0.15);

    border: 1px solid rgba(56, 189, 248, 0.35);

    color: #7dd3fc;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


/* Hero Heading */

.page-hero h1 {
    max-width: 720px;

    margin: 0 0 18px;

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.page-hero h1 span {
    display: block;
    color: var(--primary);
}


/* Hero Text */

.page-hero p {
    max-width: 680px;

    margin: 0;

    color: #cbd5e1;

    font-size: 17px;

    line-height: 1.8;
}


/* ============================================================
   ENROLL SECTION
============================================================ */

.section {
    position: relative;

    padding: 90px 0;

    background: var(--light-bg);
}


/* ============================================================
   ENROLL PANEL
============================================================ */

.enroll-panel {
    max-width: 850px;

    margin: 0 auto;
}


/* ============================================================
   ENROLL STEPS
============================================================ */

.enroll-steps {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    overflow-x: auto;

    padding-bottom: 5px;
}


.step {
    flex: 1;

    min-width: 180px;

    padding: 14px 18px;

    text-align: center;

    border-radius: 10px;

    background: #ffffff;

    border: 1px solid var(--border);

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;

    transition: all 0.3s ease;
}


.step.active {
    background: var(--primary);

    color: #ffffff;

    border-color: var(--primary);

    box-shadow:
        0 8px 25px rgba(56, 189, 248, 0.25);
}


/* ============================================================
   FORM CARD
============================================================ */

.card {
    padding: 45px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 22px;

    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.08);
}


/* ============================================================
   FORM ROW
============================================================ */

.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}


/* ============================================================
   FORM FIELD
============================================================ */

.field {
    display: flex;

    flex-direction: column;

    margin-bottom: 20px;
}


.field label {
    margin-bottom: 9px;

    color: var(--dark);

    font-size: 14px;
    font-weight: 700;
}


/* Inputs */

.field input,
.field select,
.field textarea {
    width: 100%;

    padding: 14px 16px;

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    color: var(--dark);

    font-size: 15px;

    font-family: inherit;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


/* Placeholder */

.field input::placeholder,
.field textarea::placeholder {
    color: #94a3b8;
}


/* Focus */

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(56, 189, 248, 0.15);
}


/* Hover */

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #94a3b8;
}


/* Textarea */

.field textarea {
    min-height: 130px;

    resize: vertical;
}


/* Select */

.field select {
    cursor: pointer;
}


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

.btn-block {
    width: 100%;

    min-height: 54px;

    margin-top: 5px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #38bdf8,
            #0ea5e9
        );

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(56, 189, 248, 0.3);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.btn-block:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 35px rgba(56, 189, 248, 0.4);
}


.btn-block:active {
    transform: translateY(0);
}


/* ============================================================
   SUCCESS MESSAGE
============================================================ */

.form-note {
    margin-bottom: 22px;

    padding: 14px 18px;

    border-radius: 10px;

    font-size: 14px;

    line-height: 1.6;
}


.form-note.success {
    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    color: #047857;
}


.hidden {
    display: none;
}


/* ============================================================
   RESPONSIVE - TABLET
============================================================ */

@media (max-width: 768px) {

    .page-hero {
        padding: 110px 0 70px;
    }

    .section {
        padding: 60px 0;
    }

    .card {
        padding: 30px;
    }

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

        gap: 0;
    }

    .enroll-steps {
        gap: 8px;
    }

    .step {
        min-width: 155px;

        font-size: 12px;

        padding: 12px;
    }

}


/* ============================================================
   RESPONSIVE - MOBILE
============================================================ */

@media (max-width: 480px) {

    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero h1 {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .section {
        padding: 45px 0;
    }

    .card {
        padding: 25px 16px;

        border-radius: 16px;
    }

    .enroll-steps {
        margin-bottom: 15px;
    }

    .step {
        min-width: 150px;

        padding: 11px;

        font-size: 11px;
    }

    .field input,
    .field select,
    .field textarea {
        padding: 13px 14px;

        font-size: 16px;
    }

    .btn-block {
        min-height: 52px;
    }

}

