/* ========================================
   TASBETPARK PRIMARY SCHOOL
   PREMIUM EDITORIAL DESIGN
   ======================================== */


/* ---------- BASIC RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f1eb;
    color: #171717;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ---------- COLOURS ---------- */

:root {
    --red: #8f1729;
    --yellow: #c49a24;
    --dark: #171717;
    --cream: #f4f1eb;
    --white: #ffffff;
    --grey: #6b6b6b;
    --light-grey: #ded9cf;
}


/* ---------- GENERAL SECTIONS ---------- */

section {
    padding: 100px 8%;
}

.section-label {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 25px;
}


/* ---------- BUTTONS ---------- */

.primary-button {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 15px 25px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s ease;
}

.primary-button:hover {
    background: var(--dark);
}

.secondary-button {
    display: inline-block;
    padding: 15px 25px;
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s ease;
}

.secondary-button:hover {
    background: var(--white);
    color: var(--dark);
}

/* ---------- HEADER ---------- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 8%;
    background: var(--cream);
    border-bottom: 1px solid #d8d3ca;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--dark);
}

.logo small {
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: 6px;
    color: var(--red);
}

.site-header nav {
    display: flex;
    gap: 28px;
}

.site-header nav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    transition: 0.3s ease;
}

.site-header nav a:hover {
    color: var(--red);
}

.admission-button {
    background: var(--dark);
    color: var(--white);
    padding: 13px 20px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s ease;
}

.admission-button:hover {
    background: var(--red);
}

/* ---------- HERO ---------- */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(23, 23, 23, 0.92) 0%,
            rgba(23, 23, 23, 0.70) 45%,
            rgba(23, 23, 23, 0.25) 100%
        ),
        url("../images/school-hero.jpg") center/cover no-repeat;
    color: var(--white);
}

.hero-content {
    max-width: 750px;
}

.hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--yellow);
}

.hero h1 {
    font-size: clamp(55px, 8vw, 110px);
    line-height: 0.92;
    letter-spacing: -3px;
    font-weight: 800;
    margin-bottom: 30px;
}

.hero-text {
    max-width: 520px;
    font-size: 18px;
    color: #eeeeee;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ---------- OUR STORY ---------- */

.intro {
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.intro h2 {
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 700;
}

.intro-grid p {
    max-width: 560px;
    font-size: 17px;
    color: var(--grey);
    margin-bottom: 22px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--red);
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid var(--red);
    padding-bottom: 5px;
}

/* ---------- TASBETPARK EXPERIENCE ---------- */

.pillars {
    background: var(--white);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #d8d3ca;
    border: 1px solid #d8d3ca;
}

.pillar {
    background: var(--white);
    padding: 45px 30px;
    min-height: 330px;
    transition: 0.3s ease;
}

.pillar:hover {
    background: var(--dark);
    color: var(--white);
}

.pillar span {
    display: block;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 45px;
}

.pillar h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.pillar p {
    font-size: 15px;
    color: var(--grey);
    margin-bottom: 25px;
}

.pillar:hover p {
    color: #cccccc;
}

.pillar a {
    font-size: 13px;
    font-weight: bold;
    color: var(--red);
}

/* ---------- 2026 HIGHLIGHTS ---------- */

.achievements {
    background: var(--dark);
    color: var(--white);
}

.achievements .section-label {
    color: var(--yellow);
}

.achievements h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444444;
}

.achievement-grid article {
    background: var(--dark);
    padding: 40px 30px;
    min-height: 350px;
}

.achievement-number {
    font-size: 50px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 35px;
}

.achievement-grid article > span {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #aaaaaa;
}

.achievement-grid h3 {
    font-size: 27px;
    line-height: 1.15;
    margin: 15px 0 20px;
}

.achievement-grid p {
    color: #bdbdbd;
    font-size: 15px;
    max-width: 350px;
}

/* ---------- LEADERSHIP ---------- */

.principal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
    padding: 0;
    background: var(--cream);
}

.principal-image {
    min-height: 650px;
    background: #d8d3ca;
    display: flex;
    align-items: center;
    justify-content: center;
}

.principal-image img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-placeholder {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
    color: #777777;
}

.principal-content {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.principal-content h2 {
    font-size: clamp(45px, 5vw, 70px);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 35px;
}

.principal-content p {
    max-width: 520px;
    color: var(--grey);
    font-size: 16px;
    margin-bottom: 20px;
}

.principal-content strong {
    margin-top: 25px;
    font-size: 17px;
}

.principal-content strong small {
    display: block;
    margin-top: 5px;
    color: var(--red);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---------- ADMISSIONS ---------- */

.admissions {
    background: var(--red);
    color: var(--white);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.admissions .section-label {
    color: var(--yellow);
}

.admissions h2 {
    font-size: clamp(50px, 7vw, 95px);
    line-height: 0.92;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.admissions p {
    max-width: 500px;
    font-size: 17px;
    color: #f0dfe2;
    margin-bottom: 35px;
}

.admissions .primary-button {
    background: var(--white);
    color: var(--red);
}

.admissions .primary-button:hover {
    background: var(--dark);
    color: var(--white);
}

/* ---------- CONTACT ---------- */

.contact {
    background: var(--cream);
}

.contact h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    border-top: 1px solid #d8d3ca;
    padding-top: 40px;
}

.contact-grid span {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 15px;
}

.contact-grid p {
    font-size: 16px;
    color: var(--grey);
}

.contact-grid a:hover {
    color: var(--red);
}

/* ---------- ACADEMICS HERO ---------- */

.academic-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(23, 23, 23, 0.95),
            rgba(23, 23, 23, 0.65)
        ),
        var(--dark);
    color: var(--white);
}

.academic-hero > div {
    max-width: 850px;
}

.academic-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.academic-hero h1 {
    font-size: clamp(55px, 8vw, 100px);
    line-height: 0.92;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.academic-hero p:last-child {
    max-width: 600px;
    color: #dddddd;
    font-size: 18px;
}


/* ---------- ACADEMICS INTRO ---------- */

.academic-intro {
    background: var(--cream);
}

.academic-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.academic-intro h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.academic-intro p {
    max-width: 560px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 25px;
}


/* ---------- SOUTH AFRICAN EDUCATION ---------- */

.south-africa-academics {
    background: var(--dark);
    color: var(--white);
}

.south-africa-academics .section-label {
    color: var(--yellow);
}

.south-africa-academics h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.academic-lead {
    max-width: 700px;
    color: #bbbbbb;
    font-size: 17px;
    margin-bottom: 70px;
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444444;
    margin-bottom: 50px;
}

.phase-grid article {
    background: var(--dark);
    padding: 40px 30px;
    min-height: 350px;
}

.phase-grid article > span {
    font-size: 45px;
    font-weight: bold;
    color: var(--yellow);
}

.phase-grid h3 {
    font-size: 27px;
    line-height: 1.1;
    margin: 30px 0 12px;
}

.phase-grid p {
    color: #aaaaaa;
    font-size: 15px;
    margin-bottom: 15px;
}

.south-africa-academics .text-link {
    color: var(--yellow);
    border-color: var(--yellow);
}


/* ---------- LEARNER RESOURCES ---------- */

.learner-resources {
    background: var(--white);
}

.learner-resources h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--light-grey);
}

.resource-grid article {
    background: var(--white);
    padding: 40px 30px;
    min-height: 280px;
}

.resource-grid article > span {
    font-size: 12px;
    font-weight: bold;
    color: var(--red);
    letter-spacing: 2px;
}

.resource-grid h3 {
    font-size: 23px;
    margin: 35px 0 15px;
}

.resource-grid p {
    color: var(--grey);
    font-size: 15px;
}


/* ---------- AI PREVIEW ---------- */

.ai-preview {
    background: var(--red);
    color: var(--white);
    min-height: 550px;
    display: flex;
    align-items: center;
}

.ai-preview .section-label {
    color: var(--yellow);
}

.ai-preview h2 {
    font-size: clamp(55px, 7vw, 95px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.ai-preview p {
    max-width: 600px;
    color: #f1dfe2;
    font-size: 17px;
    margin-bottom: 30px;
}

.ai-button {
    border: none;
    background: var(--white);
    color: var(--red);
    padding: 15px 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.ai-button:hover {
    background: var(--dark);
    color: var(--white);
}

/* ---------- SPORT HERO ---------- */

.sport-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}

.sport-hero > div {
    max-width: 850px;
}

.sport-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.sport-hero h1 {
    font-size: clamp(60px, 8vw, 105px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.sport-hero p:last-child {
    max-width: 600px;
    color: #dddddd;
    font-size: 18px;
}


/* ---------- SPORT INTRO ---------- */

.sport-intro {
    background: var(--cream);
}

.sport-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.sport-intro h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.sport-intro p {
    max-width: 560px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 25px;
}


/* ---------- SPORTING CODES ---------- */

.sport-codes {
    background: var(--white);
}

.sport-codes h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.sport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: transparent;
}

.sport-grid article {
    background: var(--white);
    padding: 40px 30px;
    min-height: 300px;
    transition: 0.3s ease;
}

.sport-grid article:hover {
    background: var(--dark);
    color: var(--white);
}

.sport-grid article > span {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--red);
}

.sport-grid h3 {
    font-size: 27px;
    margin: 40px 0 15px;
}

.sport-grid p {
    color: var(--grey);
    font-size: 15px;
}

.sport-grid article:hover p {
    color: #cccccc;
}


/* ---------- SPORT ACHIEVEMENTS ---------- */

.sport-achievements {
    background: var(--red);
    color: var(--white);
}

.sport-achievements .section-label {
    color: var(--yellow);
}

.sport-achievements h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.sport-achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.sport-achievement-grid article {
    background: var(--red);
    padding: 40px 30px;
    min-height: 350px;
}

.sport-achievement-grid .achievement-number {
    color: var(--yellow);
    margin-bottom: 35px;
}

.sport-achievement-grid article > span {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #f1dfe2;
}

.sport-achievement-grid h3 {
    font-size: 27px;
    margin: 15px 0 20px;
}

.sport-achievement-grid p {
    color: #f1dfe2;
    font-size: 15px;
}


/* ---------- SOUTH AFRICAN SCHOOL SPORT ---------- */

.south-africa-sport {
    background: var(--dark);
    color: var(--white);
}

.south-africa-sport .section-label {
    color: var(--yellow);
}

.south-africa-sport h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.sport-lead {
    max-width: 700px;
    color: #bbbbbb;
    font-size: 17px;
    margin-bottom: 70px;
}

.sport-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444444;
}

.sport-info-grid article {
    background: var(--dark);
    padding: 40px 30px;
    min-height: 300px;
}

.sport-info-grid article > span {
    font-size: 45px;
    font-weight: bold;
    color: var(--yellow);
}

.sport-info-grid h3 {
    font-size: 27px;
    margin: 30px 0 15px;
}

.sport-info-grid p {
    color: #aaaaaa;
    font-size: 15px;
}


/* ---------- SPORT PARENT SECTION ---------- */

.sport-parent {
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.sport-parent h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.sport-parent p {
    max-width: 550px;
    color: var(--grey);
    font-size: 17px;
}

.parent-tips {
    border-top: 1px solid var(--light-grey);
}

.parent-tips div {
    padding: 22px 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: 15px;
}

.parent-tips strong {
    display: inline-block;
    width: 45px;
    color: var(--red);
}

/* ---------- CULTURE HERO ---------- */

.culture-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}

.culture-hero > div {
    max-width: 850px;
}

.culture-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.culture-hero h1 {
    font-size: clamp(60px, 8vw, 105px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.culture-hero p:last-child {
    max-width: 600px;
    color: #dddddd;
    font-size: 18px;
}


/* ---------- CULTURE INTRO ---------- */

.culture-intro {
    background: var(--cream);
}

.culture-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.culture-intro h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.culture-intro p {
    max-width: 560px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 25px;
}


/* ---------- CREATIVE AREAS ---------- */

.creative-areas {
    background: var(--white);
}

.creative-areas h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.creative-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--light-grey);
}

.creative-grid article {
    background: var(--white);
    padding: 40px 30px;
    min-height: 300px;
    transition: 0.3s ease;
}

.creative-grid article:hover {
    background: var(--dark);
    color: var(--white);
}

.creative-grid article > span {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--red);
}

.creative-grid h3 {
    font-size: 27px;
    margin: 40px 0 15px;
}

.creative-grid p {
    color: var(--grey);
    font-size: 15px;
}

.creative-grid article:hover p {
    color: #cccccc;
}


/* ---------- CULTURE STORIES ---------- */

.culture-achievements {
    background: var(--red);
    color: var(--white);
}

.culture-achievements .section-label {
    color: var(--yellow);
}

.culture-achievements h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.culture-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.culture-story-grid article {
    background: var(--red);
    padding: 40px 30px;
    min-height: 350px;
}

.culture-story-grid .achievement-number {
    color: var(--yellow);
    margin-bottom: 35px;
}

.culture-story-grid article > span {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #f1dfe2;
}

.culture-story-grid h3 {
    font-size: 27px;
    margin: 15px 0 20px;
}

.culture-story-grid p {
    color: #f1dfe2;
    font-size: 15px;
}


/* ---------- SOUTH AFRICAN ARTS & CULTURE ---------- */

.south-africa-culture {
    background: var(--dark);
    color: var(--white);
}

.south-africa-culture .section-label {
    color: var(--yellow);
}

.south-africa-culture h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.culture-lead {
    max-width: 700px;
    color: #bbbbbb;
    font-size: 17px;
    margin-bottom: 70px;
}

.culture-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444444;
}

.culture-info-grid article {
    background: var(--dark);
    padding: 40px 30px;
    min-height: 300px;
}

.culture-info-grid article > span {
    font-size: 45px;
    font-weight: bold;
    color: var(--yellow);
}

.culture-info-grid h3 {
    font-size: 27px;
    margin: 30px 0 15px;
}

.culture-info-grid p {
    color: #aaaaaa;
    font-size: 15px;
}


/* ---------- CULTURE PARENT SECTION ---------- */

.culture-parent {
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.culture-parent h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.culture-parent p {
    max-width: 550px;
    color: var(--grey);
    font-size: 17px;
}

.culture-tips {
    border-top: 1px solid var(--light-grey);
}

.culture-tips div {
    padding: 22px 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: 15px;
}

.culture-tips strong {
    display: inline-block;
    width: 45px;
    color: var(--red);
}

/* ---------- PARENT INFORMATION CENTRE ---------- */

.parents-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}

.parents-hero > div {
    max-width: 850px;
}

.parents-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.parents-hero h1 {
    font-size: clamp(60px, 8vw, 105px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.parents-hero p:last-child {
    max-width: 600px;
    color: #dddddd;
    font-size: 18px;
}


/* ---------- PARENT INTRO ---------- */

.parents-intro {
    background: var(--cream);
}

.parents-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.parents-intro h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.parents-intro p {
    max-width: 560px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 25px;
}


/* ---------- PARENT RESOURCES ---------- */

.parent-information {
    background: var(--white);
}

.parent-information h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.parent-resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--light-grey);
}

.parent-resource-grid article {
    background: var(--white);
    padding: 40px 30px;
    min-height: 320px;
    transition: 0.3s ease;
}

.parent-resource-grid article:hover {
    background: var(--dark);
    color: var(--white);
}

.parent-resource-grid article > span {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--red);
}

.parent-resource-grid h3 {
    font-size: 27px;
    margin: 40px 0 15px;
}

.parent-resource-grid p {
    color: var(--grey);
    font-size: 15px;
    margin-bottom: 25px;
}

.parent-resource-grid article:hover p {
    color: #cccccc;
}

.parent-resource-grid article a {
    font-size: 13px;
    font-weight: bold;
    color: var(--red);
}


/* ---------- SOUTH AFRICAN EDUCATION ---------- */

.parent-education {
    background: var(--dark);
    color: var(--white);
}

.parent-education .section-label {
    color: var(--yellow);
}

.parent-education h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.parent-education-lead {
    max-width: 700px;
    color: #bbbbbb;
    font-size: 17px;
    margin-bottom: 70px;
}

.parent-phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444444;
    margin-bottom: 50px;
}

.parent-phase-grid article {
    background: var(--dark);
    padding: 40px 30px;
    min-height: 320px;
}

.parent-phase-grid article > span {
    font-size: 45px;
    font-weight: bold;
    color: var(--yellow);
}

.parent-phase-grid h3 {
    font-size: 27px;
    margin: 30px 0 15px;
}

.parent-phase-grid p {
    color: #aaaaaa;
    font-size: 15px;
}

.parent-education .text-link {
    color: var(--yellow);
    border-color: var(--yellow);
}


/* ---------- PARENT TIPS ---------- */

.parent-tips-section {
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.parent-tips-section h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.parent-tips-section p {
    max-width: 550px;
    color: var(--grey);
    font-size: 17px;
}

.parent-tips-list {
    border-top: 1px solid var(--light-grey);
}

.parent-tips-list div {
    padding: 22px 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: 15px;
}

.parent-tips-list strong {
    display: inline-block;
    width: 45px;
    color: var(--red);
}


/* ---------- PARENT AI ---------- */

.parent-ai {
    background: var(--red);
    color: var(--white);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.parent-ai .section-label {
    color: var(--yellow);
}

.parent-ai h2 {
    font-size: clamp(55px, 7vw, 95px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.parent-ai p {
    max-width: 600px;
    color: #f1dfe2;
    font-size: 17px;
    margin-bottom: 30px;
}

.parent-ai .ai-button {
    width: fit-content;
}

/* ---------- OUR SCHOOL HERO ---------- */

.about-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}

.about-hero > div {
    max-width: 850px;
}

.about-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.about-hero h1 {
    font-size: clamp(60px, 8vw, 105px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.about-hero p:last-child {
    max-width: 600px;
    color: #dddddd;
    font-size: 18px;
}


/* ---------- OUR STORY ---------- */

.about-story {
    background: var(--cream);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.about-story h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.about-story p {
    max-width: 560px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 25px;
}


/* ---------- SCHOOL IDENTITY ---------- */

.school-identity {
    background: var(--white);
}

.school-identity h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--light-grey);
}

.identity-grid article {
    background: var(--white);
    padding: 40px 30px;
    min-height: 320px;
    transition: 0.3s ease;
}

.identity-grid article:hover {
    background: var(--dark);
    color: var(--white);
}

.identity-grid article > span {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--red);
}

.identity-grid h3 {
    font-size: 27px;
    margin: 40px 0 15px;
}

.identity-grid p {
    color: var(--grey);
    font-size: 15px;
}

.identity-grid article:hover p {
    color: #cccccc;
}


/* ---------- LEADERSHIP ---------- */

.about-leadership {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
    padding: 0;
    background: var(--cream);
}

.leadership-image {
    min-height: 650px;
    background: #d8d3ca;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-image img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.leadership-content {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leadership-content h2 {
    font-size: clamp(45px, 5vw, 70px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 35px;
}

.leadership-content p {
    max-width: 520px;
    color: var(--grey);
    font-size: 16px;
    margin-bottom: 20px;
}

.leadership-content strong {
    margin-top: 25px;
    font-size: 17px;
}

.leadership-content strong small {
    display: block;
    margin-top: 5px;
    color: var(--red);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ---------- SCHOOL COMMUNITY ---------- */

.school-community {
    background: var(--dark);
    color: var(--white);
}

.school-community .section-label {
    color: var(--yellow);
}

.school-community h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.community-lead {
    max-width: 700px;
    color: #bbbbbb;
    font-size: 17px;
    margin-bottom: 70px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444444;
}

.community-grid article {
    background: var(--dark);
    padding: 40px 30px;
    min-height: 300px;
}

.community-grid article > span {
    font-size: 45px;
    font-weight: bold;
    color: var(--yellow);
}

.community-grid h3 {
    font-size: 27px;
    margin: 30px 0 15px;
}

.community-grid p {
    color: #aaaaaa;
    font-size: 15px;
}


/* ---------- TASBETPARK HIGHLIGHTS ---------- */

.about-highlights {
    background: var(--red);
    color: var(--white);
}

.about-highlights .section-label {
    color: var(--yellow);
}

.about-highlights h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.highlight-grid article {
    background: var(--red);
    padding: 40px 30px;
    min-height: 350px;
}

.highlight-number {
    font-size: 50px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 35px;
}

.highlight-grid article > span {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #f1dfe2;
}

.highlight-grid h3 {
    font-size: 27px;
    margin: 15px 0 20px;
}

.highlight-grid p {
    color: #f1dfe2;
    font-size: 15px;
}


/* ---------- SOUTH AFRICAN EDUCATION ---------- */

.about-education {
    background: var(--cream);
}

.about-education h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.about-education p {
    max-width: 700px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 30px;
}

.about-education .text-link {
    color: var(--red);
    border-color: var(--red);
}


/* ---------- ABOUT AI ---------- */

.about-ai {
    background: var(--red);
    color: var(--white);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-ai .section-label {
    color: var(--yellow);
}

.about-ai h2 {
    font-size: clamp(55px, 7vw, 95px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.about-ai p {
    max-width: 600px;
    color: #f1dfe2;
    font-size: 17px;
    margin-bottom: 30px;
}

.about-ai .ai-button {
    width: fit-content;
}

/* ---------- NEWS HERO ---------- */

.news-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}

.news-hero > div {
    max-width: 850px;
}

.news-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.news-hero h1 {
    font-size: clamp(60px, 8vw, 105px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.news-hero p:last-child {
    max-width: 600px;
    color: #dddddd;
    font-size: 18px;
}


/* ---------- NEWS INTRO ---------- */

.news-intro {
    background: var(--cream);
}

.news-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.news-intro h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.news-intro p {
    max-width: 560px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 25px;
}


/* ---------- FEATURED NEWS ---------- */

.featured-news {
    background: var(--red);
    color: var(--white);
}

.featured-news .section-label {
    color: var(--yellow);
}

.featured-news-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    align-items: start;
}

.featured-number {
    font-size: 90px;
    line-height: 1;
    font-weight: bold;
    color: var(--yellow);
}

.featured-content > span {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #f1dfe2;
}

.featured-content h2 {
    max-width: 900px;
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin: 20px 0 30px;
}

.featured-content p {
    max-width: 650px;
    color: #f1dfe2;
    font-size: 17px;
    margin-bottom: 30px;
}

.featured-content .text-link {
    color: var(--yellow);
    border-color: var(--yellow);
}


/* ---------- NEWS STORIES ---------- */

.news-stories {
    background: var(--white);
}

.news-stories h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--light-grey);
}

.news-grid article {
    background: var(--white);
    padding: 40px 30px;
    min-height: 380px;
    transition: 0.3s ease;
}

.news-grid article:hover {
    background: var(--dark);
    color: var(--white);
}

.news-number {
    font-size: 45px;
    font-weight: bold;
    color: var(--red);
    margin-bottom: 30px;
}

.news-grid article > span {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--grey);
}

.news-grid h3 {
    font-size: 27px;
    line-height: 1.1;
    margin: 18px 0;
}

.news-grid p {
    color: var(--grey);
    font-size: 15px;
    margin-bottom: 25px;
}

.news-grid article:hover p {
    color: #cccccc;
}

.news-grid article > a {
    font-size: 13px;
    font-weight: bold;
    color: var(--red);
}


/* ---------- NEWS FUTURE ---------- */

.news-future {
    background: var(--dark);
    color: var(--white);
}

.news-future .section-label {
    color: var(--yellow);
}

.news-future h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.news-future > p {
    max-width: 700px;
    color: #bbbbbb;
    font-size: 17px;
    margin-bottom: 70px;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444444;
}

.future-grid article {
    background: var(--dark);
    padding: 40px 30px;
    min-height: 300px;
}

.future-grid article > span {
    font-size: 45px;
    font-weight: bold;
    color: var(--yellow);
}

.future-grid h3 {
    font-size: 27px;
    margin: 30px 0 15px;
}

.future-grid p {
    color: #aaaaaa;
    font-size: 15px;
}


/* ---------- NEWS AI ---------- */

.news-ai {
    background: var(--cream);
    color: var(--dark);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-ai .section-label {
    color: var(--red);
}

.news-ai h2 {
    font-size: clamp(55px, 7vw, 95px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.news-ai p {
    max-width: 600px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 30px;
}

.news-ai .ai-button {
    width: fit-content;
    background: var(--red);
    color: var(--white);
}

.news-ai .ai-button:hover {
    background: var(--dark);
}

/* ---------- ADMISSIONS HERO ---------- */

.admissions-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}

.admissions-hero > div {
    max-width: 900px;
}

.admissions-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.admissions-hero h1 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: 0.92;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.admissions-hero p:last-child {
    max-width: 600px;
    color: #dddddd;
    font-size: 18px;
}


/* ---------- ADMISSIONS INTRO ---------- */

.admissions-intro {
    background: var(--cream);
}

.admissions-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.admissions-intro h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.admissions-intro p {
    max-width: 560px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 25px;
}


/* ---------- WHY TASBETPARK ---------- */

.admission-benefits {
    background: var(--white);
}

.admission-benefits h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.admission-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--light-grey);
}

.admission-benefit-grid article {
    background: var(--white);
    padding: 40px 30px;
    min-height: 320px;
    transition: 0.3s ease;
}

.admission-benefit-grid article:hover {
    background: var(--dark);
    color: var(--white);
}

.admission-benefit-grid article > span {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--red);
}

.admission-benefit-grid h3 {
    font-size: 27px;
    margin: 40px 0 15px;
}

.admission-benefit-grid p {
    color: var(--grey);
    font-size: 15px;
}

.admission-benefit-grid article:hover p {
    color: #cccccc;
}


/* ---------- ADMISSION PROCESS ---------- */

.admission-process {
    background: var(--dark);
    color: var(--white);
}

.admission-process .section-label {
    color: var(--yellow);
}

.admission-process h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.admission-process-lead {
    max-width: 700px;
    color: #bbbbbb;
    font-size: 17px;
    margin-bottom: 70px;
}

.admission-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #444444;
}

.admission-steps article {
    background: var(--dark);
    padding: 40px 30px;
    min-height: 330px;
}

.admission-steps article > span {
    font-size: 45px;
    font-weight: bold;
    color: var(--yellow);
}

.admission-steps h3 {
    font-size: 27px;
    margin: 30px 0 15px;
}

.admission-steps p {
    color: #aaaaaa;
    font-size: 15px;
}


/* ---------- PARENT CHECKLIST ---------- */

.admission-checklist {
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.admission-checklist h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.admission-checklist p {
    max-width: 550px;
    color: var(--grey);
    font-size: 17px;
}

.checklist {
    border-top: 1px solid var(--light-grey);
}

.checklist div {
    padding: 22px 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: 15px;
}

.checklist strong {
    display: inline-block;
    width: 45px;
    color: var(--red);
}


/* ---------- ADMISSION FAQ ---------- */

.admission-faq {
    background: var(--white);
}

.admission-faq h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 70px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--light-grey);
}

.faq-grid article {
    background: var(--white);
    padding: 40px 30px;
    min-height: 230px;
}

.faq-grid h3 {
    font-size: 25px;
    margin-bottom: 20px;
}

.faq-grid p {
    color: var(--grey);
    font-size: 15px;
}


/* ---------- ADMISSION AI ---------- */

.admission-ai {
    background: var(--red);
    color: var(--white);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admission-ai .section-label {
    color: var(--yellow);
}

.admission-ai h2 {
    font-size: clamp(55px, 7vw, 95px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.admission-ai p {
    max-width: 600px;
    color: #f1dfe2;
    font-size: 17px;
    margin-bottom: 30px;
}

.admission-ai .ai-button {
    width: fit-content;
    background: var(--white);
    color: var(--red);
}

.admission-ai .ai-button:hover {
    background: var(--dark);
    color: var(--white);
}


/* ---------- ADMISSION CONTACT ---------- */

.admission-contact {
    background: var(--cream);
}

.admission-contact h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.admission-contact > p {
    max-width: 650px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 60px;
}

.admission-contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border-top: 1px solid var(--light-grey);
    padding-top: 40px;
}

.admission-contact-details span {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 15px;
}

.admission-contact-details a {
    font-size: 18px;
    font-weight: bold;
}

.admission-contact-details a:hover {
    color: var(--red);
}

.admission-contact-details p {
    color: var(--grey);
    font-size: 16px;
}

/* ---------- CONTACT HERO ---------- */

.contact-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}

.contact-hero > div {
    max-width: 900px;
}

.contact-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.contact-hero h1 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: 0.92;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.contact-hero p:last-child {
    max-width: 600px;
    color: #dddddd;
    font-size: 18px;
}


/* ---------- CONTACT INFORMATION ---------- */

.contact-information {
    background: var(--cream);
}

.contact-information-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-information h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.contact-information-grid > div > p {
    color: var(--grey);
    font-size: 17px;
    line-height: 1.8;
}

.contact-detail {
    border-top: 1px solid var(--light-grey);
    padding: 30px 0;
}

.contact-detail:last-child {
    border-bottom: 1px solid var(--light-grey);
}

.contact-detail span {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 12px;
}

.contact-detail a {
    font-size: 22px;
    font-weight: bold;
}

.contact-detail a:hover {
    color: var(--red);
}

.contact-detail p {
    color: var(--grey);
    font-size: 16px;
    line-height: 1.7;
}


/* ---------- CONTACT PARENTS ---------- */

.contact-parents {
    background: var(--white);
}

.contact-parents h2 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.contact-parents p {
    max-width: 650px;
    color: var(--grey);
    font-size: 17px;
    margin-bottom: 35px;
}


/* ---------- CONTACT AI ---------- */

.contact-ai {
    background: var(--red);
    color: var(--white);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-ai .section-label {
    color: var(--yellow);
}

.contact-ai h2 {
    font-size: clamp(55px, 7vw, 95px);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.contact-ai p {
    max-width: 600px;
    color: #f1dfe2;
    font-size: 17px;
    margin-bottom: 30px;
}

.contact-ai .ai-button {
    width: fit-content;
    background: var(--white);
    color: var(--red);
    padding: 15px 25px;
    font-size: 14px;
    font-weight: bold;
}


/* ---------- CONTACT RESPONSIVE ---------- */

@media (max-width: 900px) {

    .contact-information-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}

/* ==================================================
   MOBILE RESPONSIVE DESIGN
   ================================================== */

@media (max-width: 900px) {

    /* ---------- HEADER ---------- */

    .site-header {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 6%;
    }

    .site-header nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 15px 20px;
        order: 3;
    }

    .site-header nav a {
        font-size: 12px;
    }

    .admission-button {
        margin-left: auto;
    }


    /* ---------- GENERAL SECTIONS ---------- */

    section {
        padding: 70px 6%;
    }


    /* ---------- HERO HEADINGS ---------- */

    .hero h1,
    .academic-hero h1,
    .sport-hero h1,
    .culture-hero h1,
    .parents-hero h1,
    .about-hero h1,
    .news-hero h1,
    .admissions-hero h1,
    .contact-hero h1 {
        font-size: clamp(48px, 13vw, 75px);
        letter-spacing: -2px;
    }


    /* ---------- TWO COLUMN LAYOUTS ---------- */

    .intro-grid,
    .academic-intro-grid,
    .sport-intro-grid,
    .culture-intro-grid,
    .parents-intro-grid,
    .about-story-grid,
    .contact-information-grid,
    .admissions-intro-grid,
    .admission-checklist {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    /* ---------- FOUR COLUMN GRIDS ---------- */

    .pillar-grid,
    .admission-benefit-grid,
    .admission-steps {
        grid-template-columns: repeat(2, 1fr);
    }


    /* ---------- NEWS / ACHIEVEMENT GRIDS ---------- */

    .achievement-grid,
    .news-grid,
    .featured-news-grid,
    .highlight-grid {
        grid-template-columns: 1fr;
    }


    /* ---------- GENERAL TEXT ---------- */

    .hero-text,
    .academic-hero p,
    .sport-hero p,
    .culture-hero p,
    .parents-hero p,
    .about-hero p,
    .news-hero p,
    .admissions-hero p,
    .contact-hero p {
        font-size: 16px;
    }

}

/* ==================================================
   ASK TASBETPARK AI ASSISTANT
   ================================================== */

.ai-assistant-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;

    display: flex;
    align-items: center;
    gap: 12px;

    background: var(--dark);
    color: var(--white);

    padding: 14px 18px;

    border: 1px solid #333;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);

    cursor: pointer;
    transition: 0.3s ease;
}

.ai-assistant-button:hover {
    background: var(--red);
    transform: translateY(-3px);
}

.ai-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--yellow);
    color: var(--dark);

    font-size: 20px;
    font-weight: bold;
}

.ai-assistant-button strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.ai-assistant-button small {
    display: block;
    margin-top: 3px;

    color: #aaaaaa;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ---------- AI BUTTON ON MOBILE ---------- */

@media (max-width: 600px) {

    .ai-assistant-button {
        right: 15px;
        bottom: 15px;
        padding: 11px 14px;
    }

    .ai-icon {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    .ai-assistant-button strong {
        font-size: 12px;
    }

    .ai-assistant-button small {
        font-size: 9px;
    }

}

/* ==================================================
   ASK TASBETPARK AI CHAT WINDOW
   ================================================== */

.ai-chat-window {
    position: fixed;
    right: 25px;
    bottom: 95px;

    width: 360px;
    max-width: calc(100vw - 30px);

    background: var(--white);
    border: 1px solid #d8d3ca;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

    z-index: 999;

    display: none;
}


/* ---------- CHAT HEADER ---------- */

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--dark);
    color: var(--white);

    padding: 18px 20px;
}

.ai-chat-header strong {
    display: block;
    font-size: 15px;
}

.ai-chat-header small {
    display: block;
    margin-top: 3px;

    color: #aaaaaa;

    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ---------- CLOSE BUTTON ---------- */

.ai-close-button {
    width: 32px;
    height: 32px;

    border: none;
    background: transparent;

    color: var(--white);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}

.ai-close-button:hover {
    color: var(--yellow);
}


/* ---------- CHAT BODY ---------- */

.ai-chat-body {
    padding: 22px;
}


/* ---------- WELCOME MESSAGE ---------- */

.ai-welcome {
    display: flex;
    gap: 12px;
    align-items: flex-start;

    margin-bottom: 25px;
}

.ai-welcome-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--yellow);
    color: var(--dark);

    font-size: 19px;
    font-weight: bold;
}

.ai-welcome strong {
    display: block;
    margin-bottom: 5px;

    font-size: 14px;
}

.ai-welcome p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--grey);
}


/* ---------- SUGGESTED QUESTIONS ---------- */

.ai-question-title {
    margin-bottom: 12px;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: var(--red);
}

.ai-suggestions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ai-suggestions button {
    padding: 11px 9px;

    background: var(--cream);

    border: 1px solid var(--light-grey);

    color: var(--dark);

    font-size: 11px;
    text-align: left;

    cursor: pointer;

    transition: 0.3s ease;
}

.ai-suggestions button:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}


/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

    .ai-chat-window {
        right: 15px;
        bottom: 80px;

        width: calc(100vw - 30px);
    }

    .ai-chat-body {
        padding: 18px;
    }

}

/* ---------- AI CHARACTER ---------- */

.ai-character {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.ai-character img {
    width: 110px;
    height: 110px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid var(--yellow);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* ---------- AI RESPONSE ---------- */

.ai-response {
    display: none;

    margin-top: 18px;
    padding: 15px;

    background: var(--cream);
    border-left: 3px solid var(--yellow);

    color: var(--dark);

    font-size: 12px;
    line-height: 1.6;
}

.ai-response strong {
    display: block;

    margin-bottom: 6px;

    color: var(--red);

    font-size: 13px;
}

.ai-response p {
    margin-bottom: 8px;
}

.ai-response p:last-child {
    margin-bottom: 0;
}

/* ADMISSIONS JOURNEY PLACEHOLDER */

.admission-journey-placeholder {
    margin-top: 60px;
    padding: 50px;
    background: var(--white);
    border: 1px solid var(--light-grey);
}

.admission-journey-placeholder h3 {
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--dark);
}

.admission-journey-placeholder > p {
    max-width: 700px;
    color: var(--grey);
    margin-bottom: 40px;
}

.admission-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.journey-step {
    padding: 25px;
    background: var(--cream);
    border-top: 3px solid var(--yellow);
}

.journey-step span {
    display: block;
    margin-bottom: 15px;
    color: var(--red);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.journey-step h4 {
    margin-bottom: 10px;
    font-size: 17px;
    color: var(--dark);
}

.journey-step p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--grey);
}

.admission-placeholder-note {
    margin-top: 30px;
    padding: 18px 20px;
    background: #f8f5ef;
    border-left: 4px solid var(--red);
    font-size: 13px;
    color: var(--grey);
}

.admission-placeholder-note strong {
    color: var(--red);
}


/* MOBILE */

@media (max-width: 800px) {

    .admission-journey-placeholder {
        padding: 30px 22px;
    }

    .admission-journey-placeholder h3 {
        font-size: 30px;
    }

    .admission-journey-grid {
        grid-template-columns: 1fr;
    }

}

/* PARENT NEWSLETTER / MAILERLITE PLACEHOLDER */

.parent-newsletter {
    background: var(--dark);
    color: var(--white);
    padding: 90px 8%;
}

.newsletter-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.parent-newsletter .section-label {
    color: var(--yellow);
}

.parent-newsletter h2 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.parent-newsletter h2 span {
    color: var(--yellow);
}

.parent-newsletter p {
    max-width: 620px;
    margin: 0 auto 35px;
    color: #d5d5d5;
    font-size: 16px;
}

.newsletter-placeholder {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background: #222;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.newsletter-placeholder strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.newsletter-placeholder span {
    display: block;
    color: #aaa;
    font-size: 12px;
}

.newsletter-placeholder button {
    flex-shrink: 0;
    padding: 13px 18px;
    background: var(--yellow);
    color: var(--dark);
    border: none;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: not-allowed;
}

.newsletter-note {
    display: block;
    margin-top: 20px;
    color: #888;
    font-size: 10px;
    line-height: 1.5;
}


/* MOBILE */

@media (max-width: 700px) {

    .parent-newsletter {
        padding: 70px 8%;
    }

    .newsletter-placeholder {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .newsletter-placeholder button {
        width: 100%;
    }

}

/* HERO AI ASSISTANT */

.hero-ai {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    text-align: center;
    z-index: 2;
}

.hero-ai img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--yellow);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.hero-ai-label {
    margin-top: 18px;
    padding: 12px 18px;
    background: rgba(23, 23, 23, 0.85);
    border-left: 3px solid var(--yellow);
}

.hero-ai-label strong {
    display: block;
    color: var(--white);
    font-size: 15px;
    letter-spacing: 1px;
}

.hero-ai-label span {
    display: block;
    margin-top: 4px;
    color: #ccc;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* MOBILE */

@media (max-width: 800px) {

    .hero-ai {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 45px;
    }

    .hero-ai img {
        width: 150px;
        height: 150px;
    }

    .hero-ai-label {
        display: inline-block;
    }

}

/* =========================================
   CONTACT ENQUIRY FORM
   ========================================= */

.contact-enquiry {
    padding: 100px 7%;
    background: #f5f2ec;
}

.contact-enquiry h2 {
    margin: 20px 0;
    font-size: 3rem;
    line-height: 1.1;
}

.contact-enquiry > p {
    max-width: 750px;
    margin-bottom: 40px;
}

.enquiry-form {
    max-width: 850px;
}

.enquiry-form > div {
    margin-bottom: 24px;
}

.enquiry-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d6d0c7;
    background: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.enquiry-form textarea {
    resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    outline: 2px solid #c9a227;
    border-color: #c9a227;
}

.enquiry-form button {
    border: none;
    cursor: pointer;
}

.enquiry-form small {
    display: block;
    margin-top: 15px;
    color: #666;
    line-height: 1.5;
}


/* PARENT PORTAL - FIVE CARD LAYOUT */

.parent-portal-grid {
    grid-template-columns: repeat(6, 1fr);
}

.parent-portal-grid article:nth-child(-n+3) {
    grid-column: span 2;
}

.parent-portal-grid article:nth-child(n+4) {
    grid-column: span 3;
}

@media (max-width: 900px) {
    .parent-portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parent-portal-grid article {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .parent-portal-grid {
        grid-template-columns: 1fr;
    }
}

/* NEWS NAVIGATION DROPDOWN */

.site-header nav .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.site-header nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: white;
    padding: 10px 0;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 0;
    z-index: 1000;
}

.site-header nav .dropdown-menu a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 13px;
}

.site-header nav .nav-dropdown:hover .dropdown-menu,
.site-header nav .nav-dropdown:focus-within .dropdown-menu {
    display: flex;
}

/* GRADE R CONCERT PHOTO GALLERY */

.concert-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.concert-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.concert-gallery img:first-child {
    grid-column: span 2;
    height: 300px;
}

@media (max-width: 768px) {
    .concert-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .concert-gallery img:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .concert-gallery {
        grid-template-columns: 1fr;
    }

    .concert-gallery img:first-child {
        grid-column: span 1;
    }

    .concert-gallery img {
        height: 220px;
    }
}

/* MERITS EVENING SECTION */

.merits-evening {
    padding: 100px 7%;
    background: #f4f0e9;
}

.merits-evening-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.merits-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.merits-content span {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.merits-content h2 {
    font-size: clamp(36px, 4vw, 56px);
    margin: 20px 0;
}

.merits-content p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .merits-evening-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .merits-image img {
        height: 300px;
    }
}

/* ACADEMIC SUBJECT CARDS */

.south-africa-academics .academic-lead {
    max-width: 750px;
    font-size: 17px;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 50px;
}

.south-africa-academics .subject-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 35px 0 45px;
}

.south-africa-academics .subject-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
}

.south-africa-academics .subject-card span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.south-africa-academics .subject-card h3 {
    color: var(--white);
    font-size: 23px;
    margin: 15px 0 20px;
}

.south-africa-academics .subject-card ul {
    padding-left: 20px;
    margin: 0;
}

.south-africa-academics .subject-card li {
    color: #d0d0d0;
    line-height: 2;
    font-size: 15px;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 768px) {
    .south-africa-academics .subject-grid {
        grid-template-columns: 1fr;
    }

    .south-africa-academics .subject-card {
        padding: 24px;
    }
}


/* MERITS EVENING ARTICLE */
.merits-article {
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 50px;
    background: #ffffff;
    border-radius: 12px;
    line-height: 1.8;
}

.merits-article h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #171717;
}

.merits-article h4 {
    font-size: 19px;
    margin-top: 30px;
    margin-bottom: 12px;
    color: #171717;
}

.merits-article p {
    color: #666;
    margin-bottom: 15px;
}

.merits-article ul {
    padding-left: 25px;
    margin-bottom: 25px;
}

.merits-article li {
    color: #555;
    margin-bottom: 8px;
}

.merits-article .merits-closing {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #98172b;
    font-weight: 700;
}

@media (max-width: 768px) {
    .merits-article {
        padding: 25px;
        margin-top: 35px;
    }
}


/* HOMEPAGE ACADEMIC PROGRAMME */

.homepage-academics .academic-intro {
    max-width: 750px;
    line-height: 1.8;
    margin: 20px 0 35px;
}

.homepage-academics .pillar ul {
    padding-left: 20px;
    margin-top: 15px;
}

.homepage-academics .pillar li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.homepage-academics > .text-link {
    display: inline-block;
    margin-top: 30px;
}

/* COMPACT AI ASSISTANT BUTTON */

.ai-assistant-button {
    padding: 11px 14px;
    gap: 10px;
}

.ai-assistant-button strong {
    font-size: 12px;
}

.ai-assistant-button small {
    font-size: 9px;
}


/* SPORT FEATURE IMAGE */
.sport-feature-image {
    margin-top: 35px;
    width: 100%;
}

.sport-feature-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}


/* HEAD OF SPORTS PROFILE */
.head-of-sports {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 55px;
    padding: 70px 3%;
}

.head-of-sports-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.head-of-sports-content h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin: 15px 0;
}

.head-of-sports-content p {
    line-height: 1.8;
    color: #666;
    max-width: 550px;
}

@media (max-width: 768px) {
    .head-of-sports {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


/* ADMISSIONS CHECKLIST TEXT COLOUR FIX */

.admission-checklist h2 {
    color: #171717 !important;
}

.admission-checklist .checklist span {
    color: #555555 !important;
}
