/* ===== Hero Section ===== */

.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

/* ---- Slider ---- */

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sits behind each slide's <img>. Visible only when the real photo is
   missing/fails to load (see the onerror handler in index.html) — once a
   real photo is dropped into images/college/, it covers this completely
   and this rule becomes irrelevant without needing any code changes.
   Positioned bottom-right, deliberately away from the headline text on
   the left, so it never overlaps or competes with real hero copy. */
.hero-slide-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 20px 28px;
}

.hero-slide-placeholder span {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 35, 58, 0.55), rgba(13, 35, 58, 0.8));
    z-index: 1;
}

/* ---- Content ---- */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 100px 24px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin-bottom: 30px;
}

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

@media (max-width: 640px) {
    .hero {
        min-height: 460px;
    }
    .hero-content {
        padding: 70px 20px;
    }
}
