/* E-Learning portal — full-bleed branded entry */
.elp-page {
    --elp-navy: #0c1c37;
    --elp-blue: #1f3c88;
    --elp-sky: #418FDE;
    --elp-gold: #c9a43b;
    --elp-gold-soft: #e4c56a;
    --elp-ink: #162033;
    --elp-muted: #5c6578;
    --elp-paper: #f3f6fb;
    --elp-line: rgba(31, 60, 136, 0.12);
    --elp-sans: 'DM Sans', 'Poppins', sans-serif;
    --elp-serif: 'Cormorant Garamond', Georgia, serif;
    font-family: var(--elp-sans);
    color: var(--elp-ink);
    background: #fff;
    overflow-x: hidden;
}

/* ---- Hero: one composition ---- */
.elp-hero {
    position: relative;
    min-height: calc(100vh - 0px);
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 140px 0 64px;
    isolation: isolate;
    color: #fff;
}

.elp-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.elp-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.04);
    animation: elpDrift 22s ease-in-out infinite alternate;
}

.elp-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(12, 28, 55, 0.92) 0%, rgba(18, 42, 82, 0.78) 42%, rgba(31, 60, 136, 0.45) 68%, rgba(12, 28, 55, 0.72) 100%),
        linear-gradient(180deg, rgba(12, 28, 55, 0.35) 0%, rgba(12, 28, 55, 0.15) 40%, rgba(12, 28, 55, 0.75) 100%);
}

.elp-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(201, 164, 59, 0.22) 0%, transparent 28%),
        radial-gradient(circle at 82% 70%, rgba(65, 143, 222, 0.2) 0%, transparent 32%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}

.elp-hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 400px);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    width: 100%;
}

.elp-hero-copy {
    max-width: 34rem;
    animation: elpRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.elp-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.elp-brand-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.elp-brand-mark span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--elp-gold-soft);
}

.elp-hero-copy h1 {
    margin: 0 0 1rem;
    font-family: var(--elp-serif);
    font-size: clamp(3.4rem, 8vw, 5.6rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.elp-hero-lead {
    margin: 0 0 1.75rem;
    max-width: 32ch;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.65;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.elp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.elp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.4rem;
    border-radius: 2px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.elp-btn-gold {
    background: var(--elp-gold);
    color: #1a2332;
}

.elp-btn-gold:hover {
    background: var(--elp-gold-soft);
    color: #1a2332;
}

.elp-btn-line {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
}

.elp-btn-line:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Sign-in panel = interaction surface */
.elp-signin {
    background: rgba(255, 255, 255, 0.96);
    color: var(--elp-ink);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 24px 60px rgba(8, 18, 40, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    padding: 1.75rem 1.6rem 1.4rem;
    backdrop-filter: blur(14px);
    animation: elpRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
    position: relative;
    overflow: hidden;
}

.elp-signin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--elp-gold) 0%, var(--elp-sky) 55%, var(--elp-blue) 100%);
}

.elp-signin-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.elp-signin-top img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.elp-signin-top h2 {
    margin: 0;
    font-family: var(--elp-serif);
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--elp-blue);
}

.elp-signin-top p {
    margin: 0.15rem 0 0;
    font-size: 0.84rem;
    color: var(--elp-muted);
}

.elp-soon {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    margin-bottom: 1.35rem;
    background: linear-gradient(135deg, rgba(201, 164, 59, 0.14), rgba(65, 143, 222, 0.08));
    border: 1px solid rgba(201, 164, 59, 0.28);
}

.elp-soon-pulse {
    width: 10px;
    height: 10px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: var(--elp-gold);
    box-shadow: 0 0 0 0 rgba(201, 164, 59, 0.55);
    animation: elpPulse 2.2s ease-out infinite;
    flex-shrink: 0;
}

.elp-soon strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
    color: var(--elp-ink);
}

.elp-soon p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--elp-muted);
}

.elp-form {
    display: grid;
    gap: 0.95rem;
}

.elp-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--elp-ink);
}

.elp-input {
    position: relative;
}

.elp-input i {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3b5;
    font-size: 0.85rem;
    pointer-events: none;
}

.elp-input input {
    width: 100%;
    border: 1px solid #d4dbe8;
    background: #f7f9fc;
    border-radius: 2px;
    padding: 0.82rem 0.95rem 0.82rem 2.55rem;
    font-size: 0.95rem;
    color: var(--elp-ink);
    font-family: inherit;
}

.elp-input input:disabled {
    color: #95a0b4;
    cursor: not-allowed;
}

.elp-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.2rem;
    border: none;
    border-radius: 2px;
    padding: 0.95rem 1rem;
    background: linear-gradient(135deg, var(--elp-sky) 0%, var(--elp-blue) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    opacity: 0.7;
    cursor: not-allowed;
}

.elp-submit i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.elp-form-note {
    margin: 0.15rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--elp-muted);
}

.elp-form-note.is-alert {
    color: #8a6918;
    font-weight: 600;
}

.elp-signin-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--elp-line);
}

.elp-signin-foot a {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--elp-sky);
    text-decoration: none;
}

.elp-signin-foot a:hover {
    color: var(--elp-blue);
    text-decoration: underline;
}

/* ---- Path section ---- */
.elp-path {
    position: relative;
    padding: 5.5rem 0 5rem;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(65, 143, 222, 0.1), transparent 45%),
        radial-gradient(ellipse at 100% 100%, rgba(201, 164, 59, 0.1), transparent 40%),
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 55%, #f3f6fb 100%);
}

.elp-path-head {
    max-width: 40rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.elp-path-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--elp-gold);
}

.elp-path-head h2 {
    margin: 0 0 0.85rem;
    font-family: var(--elp-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--elp-blue);
}

.elp-path-head p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--elp-muted);
}

.elp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    counter-reset: none;
    border-top: 1px solid rgba(31, 60, 136, 0.12);
}

.elp-steps li {
    padding: 2rem 1.75rem 0.5rem;
    border-right: 1px solid rgba(31, 60, 136, 0.12);
    animation: elpRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.elp-steps li:nth-child(1) { animation-delay: 0.05s; }
.elp-steps li:nth-child(2) { animation-delay: 0.15s; }
.elp-steps li:nth-child(3) { animation-delay: 0.25s; }

.elp-steps li:last-child {
    border-right: none;
}

.elp-step-num {
    display: block;
    margin-bottom: 1rem;
    font-family: var(--elp-serif);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--elp-gold);
}

.elp-steps h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--elp-blue);
}

.elp-steps p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--elp-muted);
}

@keyframes elpRise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes elpDrift {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes elpPulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 164, 59, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(201, 164, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 164, 59, 0); }
}

@media (max-width: 991px) {
    .elp-hero {
        padding: 120px 0 48px;
        align-items: stretch;
        min-height: auto;
    }

    .elp-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .elp-hero-copy {
        max-width: none;
        padding-top: 0.5rem;
    }

    .elp-hero-copy h1 {
        font-size: clamp(3rem, 12vw, 4.2rem);
    }

    .elp-hero-lead {
        max-width: 38ch;
    }

    .elp-signin {
        max-width: 440px;
    }

    .elp-steps {
        grid-template-columns: 1fr;
        border-top: none;
    }

    .elp-steps li {
        border-right: none;
        border-top: 1px solid rgba(31, 60, 136, 0.12);
        padding: 1.5rem 0;
    }
}

@media (max-width: 575px) {
    .elp-hero {
        padding: 112px 0 36px;
    }

    .elp-signin {
        padding: 1.4rem 1.15rem 1.2rem;
        max-width: none;
    }

    .elp-hero-cta {
        width: 100%;
    }

    .elp-btn {
        flex: 1 1 auto;
    }

    .elp-path {
        padding: 3.5rem 0 3.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elp-hero-media img,
    .elp-hero-copy,
    .elp-signin,
    .elp-steps li,
    .elp-soon-pulse {
        animation: none !important;
    }

    .elp-hero-media img {
        transform: none;
    }
}
