/* =========================================================
   PKS FOUNDATION
   PUBLIC WEBSITE — FINAL STYLE
   Matches current index.html + main.js
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');


/* =========================================================
   ROOT
========================================================= */

:root {
    --navy: #061B2F;
    --navy-2: #08243D;
    --navy-3: #0D304D;

    --gold: #E4A21A;
    --gold-light: #F3BD45;
    --gold-pale: #FFF7E5;

    --white: #FFFFFF;
    --off-white: #F7F8FA;

    --text: #172B3D;
    --muted: #667789;
    --border: #E5E9EE;

    --success: #1D8A5A;
    --danger: #C94C4C;

    --container: 1180px;

    --shadow-sm:
        0 8px 25px rgba(6, 27, 47, 0.08);

    --shadow:
        0 20px 55px rgba(6, 27, 47, 0.12);

    --shadow-lg:
        0 30px 80px rgba(6, 27, 47, 0.18);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

section {
    position: relative;
}

::selection {
    background: rgba(228, 162, 26, 0.25);
    color: var(--navy);
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 18px;
    left: 0;
    width: 100%;

    padding: 0 18px;

    z-index: 1000;
}

.header-inner {
    width: min(96%, 1240px);
    min-height: 76px;

    margin: 0 auto;
    padding: 10px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.95);

    border-radius: 20px;

    box-shadow:
        0 12px 40px rgba(6, 27, 47, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;

    min-width: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    object-fit: contain;

    border-radius: 14px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.brand-text strong {
    display: block;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: 0.98rem;
    font-weight: 800;

    letter-spacing: 0.035em;
    line-height: 1.2;
}

.brand-text span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 0.67rem;
    font-weight: 600;

    letter-spacing: 0.08em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 5px;

    margin-left: auto;
}

.desktop-nav a {
    padding: 10px 13px;

    border-radius: 10px;

    color: var(--text);

    font-size: 0.86rem;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--navy);
    background: var(--gold-pale);
}

.desktop-nav a.active {
    color: var(--navy);
    background: var(--gold-pale);
}

.desktop-nav .nav-login {
    color: var(--white);
    background: var(--navy);

    margin-left: 4px;
}

.desktop-nav .nav-login:hover {
    color: var(--white);
    background: var(--navy-3);

    transform: translateY(-1px);
}


/* =========================================================
   HAMBURGER BUTTON
========================================================= */

.menu-button {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 0;
    border-radius: 12px;

    background: var(--navy);

    box-shadow:
        0 10px 25px rgba(6, 27, 47, 0.22);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.menu-button:hover {
    background: var(--navy-3);
    transform: translateY(-1px);
}

.menu-button span {
    display: block;

    width: 20px;
    height: 2px;

    border-radius: 10px;

    background: var(--white);

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MENU OVERLAY
========================================================= */

.menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 1200;

    background:
        rgba(6, 27, 47, 0.62);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   SIDE MENU
========================================================= */

.side-menu {
    position: fixed;

    top: 0;
    right: 0;

    width: min(420px, 92vw);
    height: 100vh;

    z-index: 1210;

    padding: 28px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F8FAFC 100%
        );

    box-shadow:
        -25px 0 70px rgba(6, 27, 47, 0.22);

    transform: translateX(105%);

    visibility: hidden;

    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.38s ease;
}

.side-menu.open {
    transform: translateX(0);

    visibility: visible;
}

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-bottom: 22px;

    border-bottom:
        1px solid var(--border);
}

.side-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.side-brand img {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    object-fit: contain;

    border-radius: 12px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.side-brand div {
    min-width: 0;
}

.side-brand strong {
    display: block;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: 0.9rem;
    font-weight: 800;

    line-height: 1.25;
}

.side-brand span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.08em;
}

.close-menu {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: var(--gold-pale);

    color: var(--navy);

    font-size: 1.75rem;
    line-height: 1;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.close-menu:hover {
    background: #FBECC6;
    transform: rotate(90deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-top: 25px;
}

.mobile-nav a {
    display: grid;

    grid-template-columns: 42px 1fr;

    align-items: center;

    min-height: 54px;

    padding: 11px 13px;

    border-radius: 12px;

    color: var(--text);

    font-size: 0.93rem;
    font-weight: 700;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.mobile-nav a span {
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 800;
}

.mobile-nav a:hover {
    color: var(--navy);

    background: var(--gold-pale);

    transform: translateX(4px);
}

.side-menu-footer {
    margin-top: auto;

    padding-top: 20px;

    border-top:
        1px solid var(--border);
}

.side-menu-footer p {
    color: var(--muted);

    font-size: 0.74rem;
    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}

.side-menu-footer a {
    display: inline-block;

    margin-top: 7px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: 1rem;
    font-weight: 800;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--navy);
}

.hero-image {
    position: absolute;
    inset: 0;

    background-image: url("../images/academy/academy.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.01);
    animation: heroZoom 16s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.055);
    }
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6, 27, 47, 0.93) 0%,
            rgba(6, 27, 47, 0.78) 38%,
            rgba(6, 27, 47, 0.40) 70%,
            rgba(6, 27, 47, 0.12) 100%
        );
}

.hero-content {
    position: relative;

    z-index: 5;

    width: min(92%, var(--container));

    margin: 0 auto;

    padding-top: 100px;

    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--gold);

    font-size: 0.74rem;
    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 28px;
    height: 3px;

    border-radius: 20px;

    background: var(--gold);
}

.eyebrow.dark {
    color: var(--gold);
}

.hero h1 {
    max-width: 900px;

    margin-top: 20px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        3.2rem,
        7vw,
        6.5rem
    );

    line-height: 1.08;

    letter-spacing: -0.055em;

    font-weight: 800;

    color: var(--white);

    text-shadow:
        0 10px 35px rgba(0, 0, 0, 0.23);
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-content > p {
    max-width: 620px;

    margin-top: 28px;

    color: rgba(255,255,255,0.88);

    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.btn {
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        13px 22px;

    border-radius: 10px;

    font-size: 0.88rem;
    font-weight: 800;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-gold {
    color: var(--navy);

    background: var(--gold);

    box-shadow:
        0 12px 28px rgba(228, 162, 26, 0.28);
}

.btn-gold:hover {
    background: var(--gold-light);

    box-shadow:
        0 18px 35px rgba(228, 162, 26, 0.34);
}

.btn-outline {
    color: var(--white);

    background:
        rgba(255,255,255,0.10);

    border:
        1px solid rgba(255,255,255,0.45);

    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.18);
}

.btn-light {
    color: var(--navy);

    background: var(--white);
}

.btn-light:hover {
    background: #F5F7FA;
}

.hero-bottom {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 6;

    width: min(92%, var(--container));

    margin: 0 auto;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 35px;
}

.hero-bottom > div {
    display: flex;
    flex-direction: column;
}

.hero-bottom strong {
    color: var(--white);

    font-size: 0.92rem;
}

.hero-bottom span {
    margin-top: 2px;

    color:
        rgba(255,255,255,0.72);

    font-size: 0.72rem;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    background: var(--navy);

    border-top:
        1px solid rgba(255,255,255,0.08);
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;
}

.stat-item {
    min-height: 125px;

    padding:
        28px 24px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    border-right:
        1px solid rgba(255,255,255,0.11);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    color: var(--gold-light);

    font-family: "Manrope", sans-serif;

    font-size: 1.55rem;
    font-weight: 800;
}

.stat-item span {
    margin-top: 5px;

    color:
        rgba(255,255,255,0.72);

    font-size: 0.73rem;
}


/* =========================================================
   INTRO
========================================================= */

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;

    grid-template-columns: 0.45fr 1.55fr;

    gap: 80px;

    align-items: start;
}

.section-label {
    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--gold);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.section-label span {
    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: 2rem;

    letter-spacing: -0.05em;
}

.section-label small {
    font-size: 0.66rem;
}

.intro-content {
    max-width: 780px;
}

.intro-content h2 {
    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.4rem,
        5vw,
        4.4rem
    );

    line-height: 1.04;

    letter-spacing: -0.045em;
}

.intro-content h2 span {
    display: block;

    color: var(--gold);
}

.intro-content p {
    max-width: 720px;

    margin-top: 24px;

    color: #000000;

    font-size: 1rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 25px;

    color: var(--navy);

    font-size: 0.88rem;
    font-weight: 800;
}

.text-link:hover {
    color: var(--gold);
}

.text-link span {
    color: var(--gold);

    font-size: 1.2rem;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading h2 {
    margin-top: 17px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.3rem,
        5vw,
        4.2rem
    );

    line-height: 1.05;

    letter-spacing: -0.045em;
}

.section-heading h2 span {
    color: var(--gold);
}

.section-heading > p {
    max-width: 620px;

    margin-top: 17px;

    color: var(--muted);
}

.section-heading.centered > p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   JOURNEY
========================================================= */

.journey-section {
    background:
        linear-gradient(
            180deg,
            #F7F8FA,
            #FFFFFF
        );
}

.timeline {
    position: relative;

    max-width: 1000px;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 113px;

    top: 5px;
    bottom: 30px;

    width: 2px;

    background:
        linear-gradient(
            180deg,
            var(--gold),
            #DDE3E9
        );
}

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns:
        150px 1fr;

    gap: 30px;

    padding-bottom: 35px;
}

.timeline-item::before {
    content: "";

    position: absolute;

    left: 105px;

    top: 7px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: var(--white);

    border:
        4px solid var(--gold);

    box-shadow:
        0 0 0 6px rgba(228,162,26,0.12);

    z-index: 2;
}

.timeline-year {
    color: var(--gold);

    font-family: "Manrope", sans-serif;

    font-size: 0.84rem;

    font-weight: 800;
}

.timeline-content {
    padding:
        24px 26px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 16px;

    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: 1.1rem;
}

.timeline-content p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   EDUCATION
========================================================= */

.education-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.education-card {
    position: relative;

    min-height: 350px;

    padding: 32px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #FFFFFF,
            #F8FAFC
        );

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.education-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);

    border-color:
        rgba(228,162,26,0.35);
}

.education-card.featured {
    border-color:
        rgba(228,162,26,0.40);

    background:
        linear-gradient(
            145deg,
            #FFFDF8,
            #FFFFFF
        );
}

.card-number {
    position: absolute;

    top: 20px;
    right: 22px;

    color:
        rgba(6,27,47,0.06);

    font-family: "Manrope", sans-serif;

    font-size: 3.7rem;
    font-weight: 800;
}

.card-icon {
    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--navy);

    color: var(--gold-light);

    font-size: 1.2rem;

    box-shadow:
        0 10px 24px rgba(6,27,47,0.14);
}

.education-card h3 {
    margin-top: 28px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: 1.25rem;
}

.education-card p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 0.88rem;
}

.education-card a {
    position: absolute;

    left: 32px;
    bottom: 28px;

    color: var(--navy);

    font-size: 0.83rem;
    font-weight: 800;
}

.education-card a:hover {
    color: var(--gold);
}


/* =========================================================
   FEATURE / CLASSROOM
========================================================= */

.feature-section {
    background:
        linear-gradient(
            135deg,
            #F7F8FA,
            #FFFFFF
        );
}

.feature-grid {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 70px;

    align-items: center;
}

.feature-image-wrap {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    border-radius: 22px;

    box-shadow: var(--shadow-lg);
}

.feature-image {
    width: 100%;
    height: 100%;

    min-height: 520px;

    object-fit: cover;
}

.image-caption {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 20px;

    padding:
        16px 18px;

    display: flex;
    flex-direction: column;

    background:
        rgba(6,27,47,0.84);

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 12px;

    backdrop-filter: blur(8px);
}

.image-caption strong {
    color: var(--white);

    font-size: 0.9rem;
}

.image-caption span {
    margin-top: 3px;

    color:
        rgba(255,255,255,0.68);

    font-size: 0.7rem;
}

.feature-content h2 {
    margin-top: 17px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.3rem,
        5vw,
        4rem
    );

    line-height: 1.05;

    letter-spacing: -0.045em;
}

.feature-content h2 span {
    display: block;

    color: var(--gold);
}

.feature-content > p {
    margin-top: 20px;

    color: var(--muted);
}

.feature-list {
    display: grid;

    gap: 10px;

    margin-top: 26px;
}

.feature-list > div {
    display: flex;

    align-items: center;

    gap: 14px;

    padding:
        12px 14px;

    border:
        1px solid var(--border);

    border-radius: 11px;

    background: var(--white);
}

.feature-list strong {
    min-width: 28px;

    color: var(--gold);

    font-family: "Manrope", sans-serif;

    font-size: 0.76rem;
}

.feature-list span {
    color: var(--text);

    font-size: 0.82rem;
    font-weight: 600;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: var(--white);
}

.services-list {
    border-top:
        1px solid var(--border);
}

.service-row {
    display: grid;

    grid-template-columns:
        70px 1fr 50px;

    align-items: center;

    gap: 20px;

    padding:
        24px 8px;

    border-bottom:
        1px solid var(--border);

    transition:
        background 0.2s ease,
        padding 0.2s ease;
}

.service-row:hover {
    padding-left: 16px;
    padding-right: 16px;

    background: var(--gold-pale);
}

.service-number {
    color: var(--gold);

    font-family: "Manrope", sans-serif;

    font-size: 0.78rem;
    font-weight: 800;
}

.service-row h3 {
    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: 1.08rem;
}

.service-row p {
    margin-top: 4px;

    color: var(--muted);

    font-size: 0.78rem;
}

.service-arrow {
    color: var(--navy);

    font-size: 1.25rem;

    text-align: right;
}


/* =========================================================
   VALUES
========================================================= */

.values-section {
    background: var(--navy);

    color: var(--white);
}

.values-heading {
    display: grid;

    grid-template-columns:
        1fr 0.75fr;

    gap: 60px;

    align-items: end;

    margin-bottom: 50px;
}

.values-heading h2 {
    margin-top: 17px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.4rem,
        5vw,
        4.1rem
    );

    line-height: 1.04;

    letter-spacing: -0.045em;
}

.values-heading h2 span {
    display: block;

    color: var(--gold-light);
}

.values-heading > p {
    color:
        rgba(255,255,255,0.68);

    font-size: 0.92rem;
}

.values-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.value-card {
    min-height: 190px;

    padding: 25px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 15px;

    background:
        rgba(255,255,255,0.045);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.value-card:hover {
    transform: translateY(-4px);

    background:
        rgba(255,255,255,0.075);

    border-color:
        rgba(228,162,26,0.38);
}

.value-card strong {
    color: var(--gold-light);

    font-family: "Manrope", sans-serif;

    font-size: 0.75rem;
}

.value-card h3 {
    margin-top: 24px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 1rem;
}

.value-card p {
    margin-top: 7px;

    color:
        rgba(255,255,255,0.62);

    font-size: 0.78rem;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;

    grid-template-columns:
        1.4fr 1fr;

    grid-template-rows:
        270px 270px;

    gap: 16px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: 16px;

    background: #EDEFF2;
}

.gallery-item.large {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.55s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* =========================================================
   ADMINISTRATOR
========================================================= */

.administrator-section {
    background:
        linear-gradient(
            180deg,
            #F7F8FA,
            #FFFFFF
        );
}

.administrator-card {
    display: grid;

    grid-template-columns:
        160px 1fr;

    align-items: center;

    gap: 50px;

    padding:
        45px;

    border:
        1px solid var(--border);

    border-radius: 20px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.administrator-mark {
    width: 130px;
    height: 130px;

    display: grid;
    place-items: center;

    border-radius: 22px;

    background: var(--navy);

    color: var(--gold-light);

    font-family: "Manrope", sans-serif;

    font-size: 2rem;
    font-weight: 800;

    box-shadow:
        0 15px 35px rgba(6,27,47,0.18);
}

.administrator-content h2 {
    margin-top: 17px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2rem,
        4vw,
        3.5rem
    );

    line-height: 1.05;

    letter-spacing: -0.04em;
}

.administrator-content h2 span {
    color: var(--gold);
}

.administrator-content p {
    margin-top: 16px;

    max-width: 670px;

    color: var(--muted);

    font-size: 0.94rem;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding:
        110px 0;

    background: var(--navy);

    text-align: center;
}

.cta-content {
    display: flex;

    flex-direction: column;

    align-items: center;
}

.cta-content h2 {
    margin-top: 17px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.5rem,
        5vw,
        4.8rem
    );

    line-height: 1.03;

    letter-spacing: -0.05em;
}

.cta-content h2 span {
    color: var(--gold-light);
}

.cta-content > p {
    max-width: 620px;

    margin-top: 18px;

    color:
        rgba(255,255,255,0.67);
}

.cta-actions {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 90px;
}

.contact-grid h2 {
    margin-top: 17px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.3rem,
        5vw,
        4.1rem
    );

    line-height: 1.05;

    letter-spacing: -0.045em;
}

.contact-grid h2 span {
    display: block;

    color: var(--gold);
}

.contact-details {
    display: grid;

    gap: 25px;
}

.contact-item {
    padding-bottom: 22px;

    border-bottom:
        1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-item small {
    display: block;

    color: var(--gold);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.13em;
}

.contact-item p,
.contact-item a {
    display: inline-block;

    margin-top: 7px;

    color: var(--text);

    font-size: 0.9rem;
}

.contact-item a {
    font-weight: 800;
}

.contact-item a:hover {
    color: var(--gold);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding:
        55px 0 30px;

    background: #041522;

    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    gap: 35px;

    align-items: center;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-brand img {
    width: 48px;
    height: 48px;

    object-fit: contain;

    border-radius: 11px;

    background: var(--white);
}

.footer-brand div {
    display: flex;

    flex-direction: column;
}

.footer-brand strong {
    font-family: "Manrope", sans-serif;

    font-size: 0.85rem;
}

.footer-brand span {
    margin-top: 2px;

    color:
        rgba(255,255,255,0.52);

    font-size: 0.66rem;

    letter-spacing: 0.08em;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 15px;
}

.footer-links a {
    color:
        rgba(255,255,255,0.68);

    font-size: 0.74rem;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-copy {
    text-align: right;
}

.footer-copy p {
    color:
        rgba(255,255,255,0.72);

    font-size: 0.72rem;
}

.footer-copy span {
    display: block;

    margin-top: 6px;

    color:
        rgba(255,255,255,0.40);

    font-size: 0.66rem;
}


/* =========================================================
   FOCUS / ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible {
    outline:
        3px solid rgba(228,162,26,0.55);

    outline-offset: 3px;
}


/* =========================================================
   IMAGE FALLBACK
========================================================= */

.image-error {
    opacity: 0.4;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        display: none;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(3) {
        border-top:
            1px solid rgba(255,255,255,0.11);
    }

    .stat-item:nth-child(4) {
        border-top:
            1px solid rgba(255,255,255,0.11);
        border-right: 0;
    }

    .education-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .education-card:last-child {
        grid-column: 1 / -1;
    }

    .feature-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .feature-image-wrap {
        max-width: 760px;
    }

    .values-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .values-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .administrator-card {
        grid-template-columns:
            120px 1fr;

        gap: 30px;
    }

    .administrator-mark {
        width: 110px;
        height: 110px;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-copy {
        text-align: left;
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-header {
        top: 9px;
        padding: 0 8px;
    }

    .header-inner {
        min-height: 65px;

        padding:
            8px 10px;

        border-radius: 15px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;

        flex-basis: 43px;

        border-radius: 10px;
    }

    .brand-text strong {
        font-size: 0.78rem;
    }

    .brand-text span {
        font-size: 0.57rem;
    }

    .menu-button {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .side-menu {
        width: min(390px, 92vw);

        padding:
            22px 18px;
    }

    .hero {
        min-height: 780px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(6,27,47,0.78) 0%,
                rgba(6,27,47,0.78) 55%,
                rgba(6,27,47,0.94) 100%
            );
    }

    .hero-content {
        width: min(92%, 1180px);

        padding-top: 120px;
    }

    .hero h1 {
        font-size:
            clamp(
                2.55rem,
                12vw,
                4.2rem
            );
    }

    .hero-content > p {
        font-size: 0.92rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;

        max-width: 330px;
    }

    .hero-bottom {
        padding-bottom: 24px;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .section {
        padding: 78px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item,
    .stat-item:nth-child(2),
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-right: 0;

        border-top:
            1px solid rgba(255,255,255,0.11);
    }

    .stat-item:first-child {
        border-top: 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .intro-content h2 {
        font-size: 2.55rem;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        grid-template-columns: 1fr;

        gap: 10px;

        padding-left: 30px;
    }

    .timeline-item::before {
        left: 1px;
    }

    .timeline-content {
        padding:
            20px;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .education-card:last-child {
        grid-column: auto;
    }

    .education-card {
        min-height: 325px;
    }

    .feature-image-wrap,
    .feature-image {
        min-height: 340px;
    }

    .feature-content h2 {
        font-size: 2.55rem;
    }

    .service-row {
        grid-template-columns:
            42px 1fr 30px;

        gap: 12px;

        padding:
            20px 4px;
    }

    .service-row h3 {
        font-size: 0.95rem;
    }

    .service-row p {
        font-size: 0.72rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-template-rows:
            repeat(3, 240px);
    }

    .gallery-item.large {
        grid-row: auto;
    }

    .administrator-card {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 28px;
    }

    .administrator-mark {
        width: 90px;
        height: 90px;

        border-radius: 16px;

        font-size: 1.5rem;
    }

    .administrator-content h2 {
        font-size: 2.5rem;
    }

    .contact-grid h2 {
        font-size: 2.55rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-copy {
        grid-column: auto;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-copy {
        text-align: left;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .side-menu {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero-content > p {
        font-size: 0.87rem;
    }

    .btn {
        width: 100%;
    }

    .cta-actions {
        width: 100%;
        max-width: 330px;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .service-row {
        grid-template-columns:
            34px 1fr 22px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   END
========================================================= */
/* =========================================================
   PKS FOUNDATION - PREMIUM 6 PHOTO GALLERY
========================================================= */

.gallery-section {
    background: #f7f8fa;
}

.gallery-section .section-heading p {
    max-width: 650px;
    margin: 18px auto 0;
    color: #687585;
    line-height: 1.7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 18px;
    margin-top: 55px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #061B2F;
    cursor: pointer;
    min-width: 0;
}

.gallery-item.gallery-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(3, 14, 26, 0.90),
        rgba(3, 14, 26, 0.03) 65%
    );
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.82);
}

.gallery-caption {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.gallery-caption span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #d4aa4b;
    border-radius: 50%;
    color: #d4aa4b;
    font-size: 0.72rem;
    font-weight: 700;
}

.gallery-caption strong {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}


/* =========================================================
   GALLERY LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(3, 12, 22, 0.96);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-content {
    position: relative;

    width: min(1000px, 88vw);
    max-height: 90vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-lightbox-content img {
    display: block;

    max-width: 100%;
    max-height: 78vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 14px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-info {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 18px;

    color: #ffffff;
}

.gallery-lightbox-info span {
    color: #d4aa4b;
    font-size: 0.85rem;
    font-weight: 700;
}

.gallery-lightbox-info strong {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
}


/* CLOSE BUTTON */

.gallery-close {
    position: absolute;
    top: 25px;
    right: 30px;

    z-index: 5;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: #ffffff;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.gallery-close:hover {
    background: #d4aa4b;
    color: #061B2F;
    transform: rotate(90deg);
}


/* PREVIOUS / NEXT */

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;

    z-index: 5;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: #ffffff;

    font-size: 1.5rem;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.gallery-prev {
    left: 25px;
}

.gallery-next {
    right: 25px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #d4aa4b;
    color: #061B2F;
}

.gallery-prev:hover {
    transform:
        translateY(-50%)
        translateX(-3px);
}

.gallery-next:hover {
    transform:
        translateY(-50%)
        translateX(3px);
}


/* PREVENT PAGE SCROLL WHEN LIGHTBOX IS OPEN */

body.gallery-open {
    overflow: hidden;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }

    .gallery-item.gallery-large {
        grid-row: span 2;
    }

    .gallery-prev {
        left: 15px;
    }

    .gallery-next {
        right: 15px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
        gap: 14px;
        margin-top: 40px;
    }

    .gallery-item.gallery-large {
        grid-row: auto;
    }

    .gallery-caption {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .gallery-caption strong {
        font-size: 0.92rem;
    }

    .gallery-lightbox {
        padding: 15px;
    }

    .gallery-lightbox-content {
        width: 92vw;
    }

    .gallery-lightbox-content img {
        max-height: 70vh;
        border-radius: 10px;
    }

    .gallery-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;

        font-size: 1.7rem;
    }

    .gallery-prev,
    .gallery-next {
        width: 42px;
        height: 42px;

        font-size: 1.1rem;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-lightbox-info {
        margin-top: 12px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .gallery-grid {
        grid-auto-rows: 260px;
    }

    .gallery-caption span {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .gallery-caption strong {
        font-size: 0.85rem;
    }

}
/* =========================================================
   PKS GALLERY - FINAL IMAGE FIX
========================================================= */

.gallery-section {
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1.35fr 1fr 1fr !important;
    grid-template-rows: 280px 280px !important;
    gap: 18px !important;
    margin-top: 45px;
}

.gallery-item {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    overflow: hidden !important;
    cursor: pointer;
    background: #061B2F !important;
    border-radius: 18px;
}

.gallery-item.gallery-large {
    grid-row: 1 / 3 !important;
    height: 578px !important;
}

.gallery-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.72);
}

.gallery-caption {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3 !important;
    padding: 28px 22px 20px;
    color: white;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82),
        rgba(0, 0, 0, 0)
    );
    pointer-events: none;
}

.gallery-caption span {
    display: block;
    color: #D4AF37;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.gallery-caption strong {
    display: block;
    color: white;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

/* =========================================================
   GALLERY LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(3, 12, 22, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.gallery-lightbox-content {
    position: relative;
    width: min(1000px, 90vw);
    max-height: 90vh;
    text-align: center;
}

.gallery-lightbox-content img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    margin: auto;
}

.gallery-lightbox-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 15px;
    color: white;
}

.gallery-lightbox-info span {
    color: #D4AF37;
    font-size: 13px;
    font-weight: 700;
}

.gallery-lightbox-info strong {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.gallery-close,
.gallery-prev,
.gallery-next {
    position: absolute;
    z-index: 100000;
    border: 0;
    cursor: pointer;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
}

.gallery-close:hover,
.gallery-prev:hover,
.gallery-next:hover {
    background: #D4AF37;
    color: #061B2F;
}

.gallery-close {
    top: 25px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 32px;
}

.gallery-prev,
.gallery-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 25px;
}

.gallery-prev {
    left: 25px;
}

.gallery-next {
    right: 25px;
}

body.gallery-open {
    overflow: hidden;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 300px 220px 220px !important;
    }

    .gallery-item.gallery-large {
        grid-row: 1 / 3 !important;
        height: auto !important;
    }

    .gallery-item {
        height: 220px !important;
        min-height: 220px !important;
    }
}

@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 14px !important;
    }

    .gallery-item,
    .gallery-item.gallery-large {
        grid-row: auto !important;
        width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
    }

    .gallery-caption strong {
        font-size: 16px;
    }

    .gallery-lightbox {
        padding: 15px;
    }

    .gallery-lightbox-content {
        width: 100%;
    }

    .gallery-lightbox-content img {
        max-height: 72vh;
    }

    .gallery-prev,
    .gallery-next {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
    }
}
/* =========================================================
   PUBLIC STUDENT REVIEWS
========================================================= */

.public-student-reviews {

    position: relative;

    padding: 120px 0;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );

    overflow: hidden;

}


.public-student-reviews::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    background:
        rgba(228, 162, 26, 0.08);

    top: -180px;

    right: -140px;

    pointer-events: none;

}


.public-student-reviews::after {

    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    border-radius: 50%;

    background:
        rgba(6, 27, 47, 0.05);

    bottom: -170px;

    left: -130px;

    pointer-events: none;

}


.public-student-reviews .container {

    position: relative;

    z-index: 2;

}


.public-reviews-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;

}


.public-reviews-heading-text {

    max-width: 700px;

}


.public-reviews-heading-text h2 {

    margin: 12px 0 18px;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.5rem
        );

    line-height: 1;

    letter-spacing: -0.045em;

}


.public-reviews-heading-text h2 span {

    color: #d99a16;

}


.public-reviews-heading-text p {

    max-width: 620px;

    margin: 0;

    color: #64748b;

    font-size: 1.05rem;

    line-height: 1.8;

}


.public-reviews-summary {

    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 28px;

    padding: 22px 26px;

    border:
        1px solid
        rgba(6, 27, 47, 0.10);

    border-radius: 18px;

    background: rgba(255,255,255,0.88);

    box-shadow:
        0 18px 50px
        rgba(6, 27, 47, 0.08);

    backdrop-filter: blur(12px);

}


.public-review-summary-rating {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.public-review-summary-rating strong {

    font-size: 2.3rem;

    line-height: 1;

    color: #061b2f;

}


.public-review-summary-stars {

    color: #e4a21a;

    letter-spacing: 2px;

    font-size: 1rem;

}


.public-review-summary-rating span,
.public-review-summary-total span {

    color: #64748b;

    font-size: 0.78rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}


.public-review-summary-total {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.public-review-summary-total strong {

    font-size: 2rem;

    line-height: 1;

    color: #061b2f;

}


.public-review-summary-divider {

    width: 1px;

    height: 58px;

    background:
        rgba(6, 27, 47, 0.12);

}


.public-reviews-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 22px;

}


.public-review-card {

    position: relative;

    padding: 30px;

    min-height: 250px;

    border:
        1px solid
        rgba(6, 27, 47, 0.09);

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 16px 45px
        rgba(6, 27, 47, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}


.public-review-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 25px 55px
        rgba(6, 27, 47, 0.12);

    border-color:
        rgba(228, 162, 26, 0.38);

}


.public-review-top {

    display: flex;

    align-items: center;

    gap: 14px;

}


.public-review-avatar {

    width: 52px;

    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #061b2f,
            #123b5d
        );

    color: #ffffff;

    font-weight: 800;

    font-size: 0.9rem;

    letter-spacing: 0.04em;

}


.public-review-person {

    min-width: 0;

}


.public-review-person h3 {

    margin: 0;

    color: #061b2f;

    font-size: 1rem;

    font-weight: 800;

}


.public-review-person span {

    display: block;

    margin-top: 3px;

    color: #94a3b8;

    font-size: 0.78rem;

}


.public-review-stars {

    margin-top: 22px;

    color: #e4a21a;

    font-size: 1.05rem;

    letter-spacing: 3px;

}


.public-review-text {

    margin:
        18px 0 0;

    color: #475569;

    font-size: 0.98rem;

    line-height: 1.8;

}


.public-reviews-empty {

    padding: 55px 25px;

    text-align: center;

    border:
        1px dashed
        rgba(6, 27, 47, 0.16);

    border-radius: 22px;

    background: #ffffff;

}


.public-reviews-empty-icon {

    width: 58px;

    height: 58px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(228, 162, 26, 0.12);

    font-size: 1.5rem;

}


.public-reviews-empty h3 {

    margin: 0 0 8px;

    color: #061b2f;

}


.public-reviews-empty p {

    margin: 0;

    color: #64748b;

}


.public-reviews-footer {

    margin-top: 42px;

    padding: 24px 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    border-radius: 18px;

    background: #061b2f;

    color: #ffffff;

    box-shadow:
        0 18px 45px
        rgba(6, 27, 47, 0.16);

}


.public-reviews-footer div {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.public-reviews-footer strong {

    font-size: 1rem;

}


.public-reviews-footer span {

    color:
        rgba(255,255,255,0.68);

    font-size: 0.88rem;

}


.public-reviews-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 13px 19px;

    border-radius: 999px;

    background: #e4a21a;

    color: #061b2f;

    text-decoration: none;

    font-weight: 800;

    white-space: nowrap;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.public-reviews-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(228, 162, 26, 0.25);

}


.public-reviews-button span {

    color: #061b2f;

    font-size: 1.1rem;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .public-reviews-heading {

        flex-direction: column;

        align-items: flex-start;

    }

    .public-reviews-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


@media (max-width: 700px) {

    .public-student-reviews {

        padding: 80px 0;

    }

    .public-reviews-summary {

        width: 100%;

        justify-content: center;

    }

    .public-reviews-grid {

        grid-template-columns: 1fr;

    }

    .public-review-card {

        padding: 25px;

    }

    .public-reviews-footer {

        flex-direction: column;

        align-items: flex-start;

    }

    .public-reviews-button {

        width: 100%;

        justify-content: center;

    }

}

/* =========================================================
   HERO — FIX TEXT / BUTTON OVERLAP
========================================================= */

.hero-content {
    padding-bottom: 150px;
}

.hero-bottom {
    padding-bottom: 35px;
}

/* Keep the hero text and buttons safely above the bottom information */
.hero-actions {
    position: relative;
    z-index: 10;
}

/* Mobile spacing */
@media (max-width: 700px) {

    .hero-content {
        padding-bottom: 210px;
    }

    .hero-bottom {
        bottom: 0;
        padding-bottom: 24px;
    }

    .hero-actions {
        margin-bottom: 25px;
    }
}

/* Very small phones */
@media (max-width: 420px) {

    .hero-content {
        padding-bottom: 225px;
    }

    .hero-actions {
        margin-bottom: 30px;
    }
}


/* ABOUT: white descriptive text on dark-blue sections only */
.about-hero p,
.mission-content p,
.administrator-content p {
    color: #FFFFFF !important;
}

/* SERVICES: white descriptive text on dark-blue Values section */
.values-section .values-heading > p,
.values-section .value-card p {
    color: #FFFFFF !important;
}

/* Keep descriptions black on light-background sections */
.journey-section .timeline-content p,
.education-card p,
.services-section .service-row p,
.gallery-section .section-heading > p {
    color: #000000;
}



/* Fix paragraph colours in the exact sections */
.public-reviews-heading-text p,
.public-reviews-empty p,
.section-heading.centered > p,
.feature-content > p {
    color: #000000 !important;
}

.administrator-content p {
    color: #000000 !important;
}

/* Make About page paragraphs black */
.about-content p,
.about-section p,
.about-intro p,
.about-hero p,
.site-footer p,
.site-footer .footer-tagline,
.site-footer .footer-brand p {
    color: #000000 !important;
}

/* Make About page timeline card text black */
.timeline-card p,
.timeline-item p,
.journey-card p,
.history-card p {
    color: #000000 !important;
}

/* Make About page mission, values and education card text black */
.mission-section p,
.mission-content p,
.values-section p,
.value-card p,
.education-card p,
.education-item p,
.program-card p {
    color: #000000 !important;
}

/* Make the educational services description black */
.services-section p,
.services-intro p,
.services-heading p,
.section-subtitle {
    color: #000000 !important;
}

/* Education section: make all descriptive text black */
.education-section p,
.education-section li,
.education-section .card-description,
.education-section .education-card,
.education-section .education-card p,
.education-section .program-card p,
.education-section .service-card p {
    color: #000000 !important;
}

/* Services section: make all descriptive sentences black */
.services-section p,
.services-section li,
.services-section .service-card p,
.services-section .service-item p,
.services-section .section-heading p {
    color: #000000 !important;
}

/* Gallery section: make descriptive text black */
.gallery-section p,
.gallery-section .section-heading p,
.gallery-content p,
.gallery-item p,
.gallery-card p {
    color: #000000 !important;
}

/* Enquiry section: make descriptive text black */
.enquiry-section p,
.enquiry-section label,
.enquiry-section .section-heading p,
.inquiry-section p,
.inquiry-section label,
.inquiry-content p {
    color: #000000 !important;
}

/* LIGHT BACKGROUNDS: descriptive text in black */
.about-content p,
.intro-content p,
.timeline-content p,
.education-card p,
.service-row p,
.services-section p,
.gallery-section p,
.administrator-section p,
.section-heading > p {
    color: #000000 !important;
}

/* DARK-BLUE ABOUT SECTIONS: descriptive text in white */
.about-hero > p,
.mission-content p,
.administrator-content p {
    color: #FFFFFF !important;
}

/* DARK-BLUE SERVICES VALUES SECTION: descriptive text in white */
.values-section .values-heading > p,
.values-section .value-card p {
    color: #FFFFFF !important;
}
/* FIX: White descriptive text on dark backgrounds */
body.about-page .about-hero p:not(.about-eyebrow),
body.about-page .about-card:not(.gold) p,
body.about-page .admin-box p {
    color: #ffffff !important;
}
body.about-page .about-hero .about-eyebrow {
    color: #f3bd45 !important;
}