﻿:root {
    --bg: #f5f8fe;
    --surface-soft: #ecf3ff;
    --text: #10213d;
    --text-soft: #51617d;
    --line: #d9e5ff;

    --primary: #0f4cc9;

    --hero-overlay: linear-gradient(115deg, rgba(4, 22, 62, 0.85), rgba(15, 76, 201, 0.68));

    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 8px 20px rgba(16, 33, 61, 0.08);
    --shadow-md: 0 14px 40px rgba(16, 33, 61, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background:
        radial-gradient(circle at 12% -10%, rgba(15, 76, 201, 0.13), transparent 38%),
        radial-gradient(circle at 95% 0%, rgba(13, 159, 130, 0.08), transparent 34%),
        var(--bg);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

section {
    padding: clamp(52px, 7vw, 72px) clamp(16px, 4vw, 72px);
}

.section-heading {
    text-align: center;
    margin: 0 auto 30px;
    max-width: 860px;
}

.section-heading span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    letter-spacing: 1.6px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.section-heading h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.24;
}

.section-heading p {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: clamp(0.95rem, 2vw, 1.08rem);
}

nav {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px clamp(16px, 4vw, 72px);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(217, 229, 255, 0.85);
    box-shadow: var(--shadow-sm);
}

nav h2 {
    font-family: 'Libre Baskerville', serif;
    color: #071f53;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
}

nav .navigation {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

#menu-close,
#menu-btn {
    display: none;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #122b58 !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 9px 13px;
    border-radius: 999px;
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--surface-soft);
    color: var(--primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), #2f79ff);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 76, 201, 0.33);
}

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

#about-home {
    text-align: center;
    color: #fff;
    background: var(--hero-overlay), url('../img/school_back.jpg') center/cover no-repeat;
    padding-top: clamp(86px, 11vw, 132px);
    padding-bottom: clamp(76px, 10vw, 118px);
}

#about-home .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#about-home h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    line-height: 1.15;
}

#about-home p {
    margin-top: 10px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #ecf3ff;
    font-weight: 600;
}

#about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(22px, 3vw, 40px);
    align-items: start;
}

#about-container .about-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

#about-container .about-text h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.3;
    margin-bottom: 12px;
}

#about-container .about-text p {
    color: var(--text-soft);
    font-weight: 500;
}

#about-container .about-fe {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 18px;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

#about-container .about-fe img {
    width: 48px;
    flex: 0 0 48px;
}

#about-container .about-fe .fe-text h5 {
    color: #0f2d64;
    font-size: 1rem;
    margin-bottom: 5px;
}

#about-container .about-fe .fe-text p {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.section-panel {
    background: linear-gradient(180deg, #f9fbff, #f3f7ff);
}

.vision-mission {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.vm-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(18px, 3vw, 26px);
}

.vm-card h3 {
    color: #0f4cc9;
    margin-bottom: 8px;
}

.vm-card p {
    color: var(--text-soft);
}

#course .course-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(12px, 2vw, 20px);
}

#course .courses {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#course .courses:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

#course .courses img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

#course .courses::after {
    content: 'View Photo';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 25, 66, 0.6);
    color: #fff;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#course .courses:hover::after {
    opacity: 1;
}

#features {
    background: linear-gradient(180deg, #f9fbff, #f3f7ff);
}

#features .fea-base {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

#features .fea-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#features .fea-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

#features .fea-box i {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 8px;
}

#features .fea-box h3 {
    color: #0f2d64;
    margin-bottom: 8px;
}

#features .fea-box p {
    color: var(--text-soft);
}

.choose-panel {
    text-align: center;
}

.choose-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    text-align: left;
}

.choose-grid p {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: #2a3d62;
    font-weight: 600;
}

.choose-grid i {
    color: #0f4cc9;
    margin-right: 8px;
}

.panel-cta {
    margin-top: 26px;
}

.panel-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #2f79ff);
    box-shadow: 0 12px 22px rgba(15, 76, 201, 0.3);
}

.panel-cta a:hover {
    transform: translateY(-2px);
}

#trust {
    text-align: center;
    background: linear-gradient(180deg, #f9fbff, #f3f7ff);
}

#trust .trust-img {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 16px;
    align-items: center;
}

#trust .trust-img img {
    width: 86px;
    margin: 0 auto;
    filter: grayscale(25%);
    opacity: 0.95;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#trust .trust-img img:hover {
    transform: translateY(-2px);
    opacity: 1;
}

footer {
    margin-top: 52px;
    background:
        radial-gradient(circle at 15% -10%, rgba(47, 121, 255, 0.27), transparent 34%),
        radial-gradient(circle at 95% 0%, rgba(13, 159, 130, 0.2), transparent 32%),
        #061533;
    color: #dce8ff;
    padding: clamp(20px, 3.2vw, 36px) clamp(16px, 4vw, 72px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

footer .footer-col h3 {
    font-size: 1.02rem;
    color: #fff;
    margin-bottom: 6px;
}

footer .footer-col li,
footer .footer-col p {
    list-style: none;
    color: #d4e3ff;
    font-size: 0.88rem;
    margin-bottom: 5px;
    line-height: 1.45;
}

footer .footer-col li:hover {
    transform: translateX(4px);
    color: #fff;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 6px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
}

.social-links a:hover {
    background: #fff;
    color: #0f4cc9;
    transform: translateY(-2px);
}

.social-text {
    color: #c9d9ff;
    font-size: 0.84rem;
    line-height: 1.45;
}

footer .copyright {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: static;
    bottom: auto;
    display: block;
}

footer .copyright p,
footer .copyright p > a {
    color: #fff;
}

footer .copyright a {
    font-weight: 700;
}

@media (max-width: 960px) {
    #menu-btn {
        display: initial;
        width: 28px;
        height: 28px;
        cursor: pointer;
    }

    #menu-close {
        display: initial;
        font-size: 1.3rem;
        color: #0f2f6a;
        padding: 6px 12px;
        margin-left: auto;
        margin-bottom: 6px;
    }

    nav .navigation ul {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 84vw);
        height: 100vh;
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: -20px 0 40px rgba(16, 33, 61, 0.15);
        transform: translateX(110%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    nav .navigation ul.active {
        transform: translateX(0);
    }

    nav .navigation ul li {
        width: 100%;
    }

    nav .navigation ul li a {
        display: block;
        width: 100%;
        color: #122b58 !important;
        background: transparent;
    }

    nav .navigation ul li a:hover,
    nav .navigation ul li a.active {
        background: #ecf3ff;
        color: #0f4cc9;
    }

    #about-container {
        grid-template-columns: 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    section {
        padding: 44px 14px;
    }

    #trust .trust-img {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}



