﻿/* ----- Base / keep Bootstrap, just refine ----- */
:root {
    --bs-primary: #3B82F6; /* brand blue */
    --bs-primary-rgb: 59,130,246;
}

html, body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

/* HERO */
.hero {
    background: radial-gradient(900px 320px at 10% 0, rgba(var(--bs-primary-rgb),.10), transparent 60%), linear-gradient(180deg,#fff,#f8fafc);
    padding: 2.25rem 0 1.75rem;
}

    .hero h1 {
        /* scale heading on small screens */
        font-weight: 900;
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        line-height: 1.15;
    }

    .hero .lead {
        color: #334155;
        font-size: clamp(1rem, 3.5vw, 1.25rem);
    }

/* BUTTON GROUP: stack on phones, align inline on ≥576px */
.cta {
    display: grid;
    gap: .6rem;
}

@media (max-width: 575.98px) {
    .navbar-collapse {
        max-height: 70vh;
        overflow: auto;
    }
}

/* INSTRUCTOR PHOTOS: center and scale safely */
.avatars {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.avatar {
    width: min(46vw, 210px);
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* Cards & footer polish */
.card {
    border: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

footer.footer {
    background: #0b1220;
    color: #cbd5e1;
}

    footer.footer a {
        color: #93c5fd
    }

/* Prevent any accidental overlap */
footer.footer {
    position: static;
}
/* kill the template's fixed footer */
.footer {
    position: static !important;
    bottom: auto !important;
    width: 100%;
    white-space: normal;
}
/* ensure not fixed */
