/* =========================
   HERO SECTION — CLEAN PREMIUM
========================= */

.hero{
    position:relative;
    min-height:100vh;
    background:url('/noonacademy/img/hero.jpeg') center/cover no-repeat;
    display:flex;
    align-items:center;
    padding:0 8%;
    font-family:'Poppins',sans-serif;
    color:#fff;
    overflow:hidden;
}

/* ===== SMART READABILITY OVERLAY (NO CARD) ===== */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(4,18,32,.95) 0%,
        rgba(6,30,55,.92) 25%,
        rgba(8,40,70,.82) 45%,
        rgba(8,40,70,.55) 60%,
        rgba(8,40,70,.18) 75%,
        transparent 92%
    );
    z-index:1;
}

/* content */
.hero-content{
    position:relative;
    z-index:2;
    max-width:680px;
}

/* subtitle */
.subtitle{
    font-size:18px;
    font-weight:500;
    letter-spacing:.6px;
    color:rgba(255,255,255,.85);
    margin-bottom:14px;
}

/* title — premium typography */
.hero h1{
    font-size:68px;
    line-height:1.08;
    font-weight:700;
    letter-spacing:-0.8px;
    margin-bottom:38px;
    color:#ffffff;

    text-shadow:
        0 2px 8px rgba(0,0,0,.25),
        0 15px 40px rgba(0,0,0,.45);
}

/* ================= BUTTONS ================= */

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

/* primary button */
.btn-primary{
    background:#f4a11b;
    color:#000;
    padding:17px 32px;
    border-radius:60px;
    text-decoration:none;
    font-weight:600;
    font-size:16px;
    display:inline-flex;
    align-items:center;
    gap:12px;
    transition:.35s cubic-bezier(.4,0,.2,1);
    box-shadow:0 10px 35px rgba(244,161,27,.35);
}

.btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 55px rgba(244,161,27,.55);
}

/* outline button */
.btn-outline{
    border:2px solid rgba(255,255,255,.65);
    color:#fff;
    padding:17px 32px;
    border-radius:60px;
    text-decoration:none;
    font-weight:600;
    font-size:16px;
    display:inline-flex;
    align-items:center;
    gap:12px;
    transition:.35s cubic-bezier(.4,0,.2,1);
}

.btn-outline:hover{
    background:#fff;
    color:#000;
    border-color:#fff;
    transform:translateY(-4px);
}

/* arrow animation */
.hero-buttons a span{
    transition:transform .25s ease;
}

.hero-buttons a:hover span{
    transform:translateX(6px);
}

/* subtle text entrance */
.hero-content{
    animation:heroFade 1.1s ease forwards;
}
/* Focus Effect */
.premium-form-card .form-control:focus{
    outline:none;
    border-color:#f6a623;
    box-shadow:0 0 10px rgba(246,166,35,0.4);
}


@keyframes heroFade{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= MOBILE PERFECT ================= */

@media(max-width:900px){

.hero{
    padding:120px 6% 80px;
    align-items:flex-start;
}

.hero-content{
    max-width:100%;
}

/* title mobile */
.hero h1{
    font-size:40px;
    line-height:1.18;
    margin-bottom:28px;
}

/* subtitle */
.subtitle{
    font-size:16px;
}

/* buttons stacked */
.hero-buttons{
    flex-direction:column;
    gap:14px;
}

.btn-primary,
.btn-outline{
    width:100%;
    justify-content:center;
    font-size:15px;
    padding:16px 20px;
}

/* stronger overlay on mobile */
.hero::before{
    background:linear-gradient(
        180deg,
        rgba(4,18,32,.96) 0%,
        rgba(6,30,55,.92) 35%,
        rgba(8,40,70,.75) 55%,
        rgba(8,40,70,.35) 75%,
        transparent 100%
    );
}

}
