/* ==============================
   ACADEMY HERO SECTION
================================ */
/* Note: Added .elementor-editor-active .hero context for Elementor fixes, and width: 100% on .hero */
.elementor-editor-active .hero {
    width: 100%;
}

.hero {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.93) 0%, rgba(17, 24, 39, 0.80) 50%, rgba(97, 206, 112, 0.15) 100%),
        url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInLeft 0.8s ease forwards;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(97, 206, 112, 0.15);
    border: 1px solid rgba(97, 206, 112, 0.4);
    color: var(--primary);
    font-family: var(--font-sub);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5.5vw, 62px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sub);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.badge::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Lead Form */
.hero-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-form h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.hero-form p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: var(--font-sub);
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--secondary);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(97, 206, 112, 0.15);
}

.form-group select {
    cursor: pointer;
}

.btn-form {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 15px;
    border-radius: 8px;
    margin-top: 8px;
}

.form-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
}

@media(max-width:1024px) {
    .elementor-editor-active .hero-grid,
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-form {
        max-width: 500px;
    }

    .hero {
        padding: 120px 0 60px;
    }
}
