* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 20%, rgba(35, 105, 210, 0.25), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(70, 40, 180, 0.20), transparent 35%),
        linear-gradient(135deg, #030817, #07152e 55%, #020611);
    min-height: 100vh;
}


/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 15, 35, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    backdrop-filter: blur(18px);
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 8px;
}

nav a {
    color: #cbd7ed;
    text-decoration: none;
    padding: 9px 13px;
    border-radius: 10px;
    transition: 0.25s;
}

nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 80px;
}

.hero-content {
    max-width: 900px;
}

.badge,
.section-label {
    color: #65a8ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    margin-top: 18px;
    font-size: clamp(55px, 9vw, 110px);
    line-height: 0.95;
    letter-spacing: -5px;
}

.hero-text {
    max-width: 650px;
    margin: 28px auto;
    color: #aebbd0;
    font-size: 19px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
========================= */

.button {
    display: inline-block;
    border: none;
    cursor: pointer;
    padding: 13px 20px;
    border-radius: 13px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.25s;
}

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

.primary {
    color: white;
    background:
        linear-gradient(
            135deg,
            #267cff,
            #4d5dff
        );
    box-shadow:
        0 10px 30px rgba(38, 124, 255, 0.25);
}

.secondary {
    color: white;
    background: rgba(255, 255, 255, 0.07);
    border:
        1px solid rgba(255, 255, 255, 0.12);
}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
    max-width: 1150px;
    margin: auto;
    padding: 110px 25px;
}

.section h2 {
    margin-top: 10px;
    font-size: clamp(38px, 5vw, 65px);
    letter-spacing: -2px;
}

.section-text {
    max-width: 750px;
    margin-top: 20px;
    color: #aebbd0;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================
   INFO CARDS
========================= */

.info-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.info-card {
    padding: 30px;
    border-radius: 22px;
    background:
        rgba(255, 255, 255, 0.045);
    border:
        1px solid rgba(255, 255, 255, 0.08);
    transition: 0.25s;
}

.info-card:hover {
    transform: translateY(-5px);
    background:
        rgba(255, 255, 255, 0.07);
}

.info-card span {
    font-size: 28px;
}

.info-card h3 {
    margin-top: 18px;
    font-size: 20px;
}

.info-card p {
    margin-top: 8px;
    color: #94a5c1;
}


/* =========================
   GALLERY
========================= */

.gallery-placeholder {
    margin-top: 40px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    border:
        1px dashed rgba(255, 255, 255, 0.15);
    background:
        rgba(255, 255, 255, 0.035);
    color: #8292ad;
}


/* =========================
   REVIEWS
========================= */

.reviews-section {
    text-align: center;
}

.rating-box {
    max-width: 650px;
    margin: 45px auto 0;
    padding: 45px 30px;
    border-radius: 25px;
    background:
        rgba(255, 255, 255, 0.045);
    border:
        1px solid rgba(255, 255, 255, 0.09);
}

.stars {
    font-size: 35px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: #ffd45c;
}

.rating-box h3 {
    font-size: 25px;
}

.rating-box p {
    color: #94a5c1;
    margin:
        10px 0 25px;
}


/* =========================
   REVIEW FORM
========================= */

.review-form {
    max-width: 700px;
    margin: 30px auto 0;
    padding: 5px;
    border-radius: 26px;
    background:
        linear-gradient(
            135deg,
            rgba(45, 120, 255, 0.18),
            rgba(100, 70, 220, 0.12)
        );
    border:
        1px solid rgba(255, 255, 255, 0.10);
}

.review-form-inner {
    position: relative;
    padding: 35px;
    border-radius: 22px;
    background:
        rgba(4, 13, 31, 0.94);
    border:
        1px solid rgba(255, 255, 255, 0.06);
}

.review-form h3 {
    margin-top: 8px;
    font-size: 30px;
}

.close-review {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 12px;
    background:
        rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s;
}

.close-review:hover {
    background:
        rgba(255, 255, 255, 0.13);
    transform:
        rotate(5deg);
}

.star-selector {
    display: flex;
    gap: 7px;
    margin-top: 25px;
}

.star-selector button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 13px;
    background:
        rgba(255, 255, 255, 0.06);
    color: #58677f;
    font-size: 27px;
    cursor: pointer;
    transition: 0.2s;
}

.star-selector button:hover {
    color: #ffd45c;
    transform:
        translateY(-2px);
}

.star-selector button.selected {
    color: #ffd45c;
    background:
        rgba(255, 212, 92, 0.10);
}

.selected-rating {
    margin-top: 10px;
    color: #8fa2bf;
    font-size: 14px;
}

.review-form input,
.review-form textarea {
    width: 100%;
    margin-top: 18px;
    padding: 15px 16px;
    border:
        1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    outline: none;
    background:
        rgba(255, 255, 255, 0.045);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    transition: 0.2s;
}

.review-form input::placeholder,
.review-form textarea::placeholder {
    color: #687993;
}

.review-form input:focus,
.review-form textarea:focus {
    border-color:
        rgba(70, 140, 255, 0.7);
    background:
        rgba(255, 255, 255, 0.065);
    box-shadow:
        0 0 0 3px
        rgba(50, 120, 255, 0.10);
}

.review-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.review-counter {
    margin-top: 7px;
    text-align: right;
    color: #64748b;
    font-size: 12px;
}

.review-error {
    min-height: 20px;
    margin-top: 12px;
    color: #ff7777;
    font-size: 14px;
}

.submit-review {
    margin-top: 5px;
}


/* =========================
   REVIEW LIST
========================= */

.review-list {
    max-width: 900px;
    margin: 35px auto 0;
    display: grid;
    gap: 15px;
    text-align: left;
}

.review-card {
    padding: 24px;
    border-radius: 20px;
    background:
        rgba(255, 255, 255, 0.045);
    border:
        1px solid rgba(255, 255, 255, 0.08);
    transition: 0.25s;
}

.review-card:hover {
    transform:
        translateY(-3px);
    background:
        rgba(255, 255, 255, 0.065);
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.review-card-top strong {
    font-size: 17px;
}

.review-card-top span {
    color: #71819c;
    font-size: 12px;
}

.review-stars {
    margin-top: 10px;
    color: #ffd45c;
    letter-spacing: 2px;
    font-size: 17px;
}

.review-card p {
    margin-top: 12px;
    color: #aebbd0;
    line-height: 1.7;
    word-break: break-word;
}


/* =========================
   CONTACT
========================= */

.contact-card {
    margin-top: 40px;
    padding: 35px;
    max-width: 600px;
    border-radius: 22px;
    background:
        rgba(255, 255, 255, 0.045);
    border:
        1px solid rgba(255, 255, 255, 0.08);
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-card p {
    color: #aebbd0;
    line-height: 1.8;
    margin-top: 10px;
}


/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 45px 20px;
    color: #71819c;
    border-top:
        1px solid rgba(255, 255, 255, 0.07);
}

footer p + p {
    margin-top: 8px;
}


/* ==================================================
   STAFF PAGE
================================================== */

.staff-hero {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 25px 90px;
}

.staff-hero h1 {
    margin-top: 18px;
    font-size: clamp(55px, 9vw, 105px);
    line-height: 0.95;
    letter-spacing: -5px;
}

.staff-hero p:last-child {
    max-width: 700px;
    margin-top: 28px;
    color: #aebbd0;
    font-size: 18px;
    line-height: 1.8;
}

.staff-section {
    max-width: 1150px;
    margin: auto;
    padding: 90px 25px;
}

.staff-section h2 {
    margin-top: 10px;
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: -2px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.staff-card {
    position: relative;
    padding: 28px;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.025)
        );
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
    overflow: hidden;
}

.staff-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background:
        linear-gradient(
            180deg,
            #267cff,
            #675cff
        );
    opacity: 0;
    transition: opacity 0.25s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(70, 140, 255, 0.30);
    background:
        linear-gradient(
            145deg,
            rgba(45, 120, 255, 0.10),
            rgba(255, 255, 255, 0.045)
        );
}

.staff-card:hover::before {
    opacity: 1;
}

.staff-card h3 {
    font-size: 20px;
    line-height: 1.3;
    color: #ffffff;
}

.staff-card p {
    margin-top: 9px;
    color: #94a5c1;
    font-size: 14px;
    line-height: 1.6;
}


/* Highlight head teacher */

.staff-section:first-of-type .staff-card:first-child {
    background:
        linear-gradient(
            145deg,
            rgba(38, 124, 255, 0.15),
            rgba(255, 255, 255, 0.04)
        );
    border-color: rgba(70, 140, 255, 0.20);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 750px) {

    header {
        width:
            calc(100% - 20px);
        padding: 14px;
    }

    nav {
        display: none;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 20px;
    }

}


@media (max-width: 600px) {

    .review-form-inner {
        padding: 28px 20px;
    }

    .review-form h3 {
        font-size: 25px;
    }

    .star-selector {
        gap: 5px;
    }

    .star-selector button {
        width: 43px;
        height: 43px;
        font-size: 23px;
    }

    .review-card-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .staff-hero {
        min-height: 65vh;
        padding: 130px 20px 70px;
    }

    .staff-hero h1 {
        letter-spacing: -3px;
    }

    .staff-section {
        padding: 70px 20px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .staff-card {
        min-height: 125px;
        padding: 24px;
    }

}
