/* GENERAL SETTINGS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --navy: #102b50;
    --dark-navy: #091b32;
    --gold: #c49a45;
    --light-gold: #e5c77f;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --text: #4d5663;
}

body {
    font-family: Arial, sans-serif;
    background: white;
    color: #222;
    line-height: 1.8;
}

h1, h2, h3 {
    font-family: Georgia, serif;
}

section {
    padding: 85px 8%;
    scroll-margin-top: 90px;
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.section-heading h2 {
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-heading > p:last-child {
    color: var(--text);
}

.section-label {
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 12px;
}


/* NAVIGATION */

header {
    background: var(--navy);
    padding: 15px 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.4;
}

.logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--light-gold);
}


/* HERO */

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: linear-gradient(110deg, #f5f7fa, #e8edf4);
}

.hero-content,
.hero-image {
    flex: 1;
}

.welcome {
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 13px;
}

.hero h1 {
    font-size: 50px;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 25px;
}

.hero-content > p:not(.welcome) {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 25px;
}

.hero h3 {
    color: var(--gold);
    font-size: 17px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 15px 15px 0 var(--gold);
}


/* BUTTONS */

.btn {
    display: inline-block;
    background: var(--navy);
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid var(--navy);
}

.btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
}


/* STATISTICS */

.statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--navy);
    padding: 45px 8%;
    text-align: center;
    gap: 25px;
}

.stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h2 {
    color: var(--light-gold);
    font-size: 40px;
    margin-bottom: 5px;
}

.stat-item p {
    color: white;
    font-size: 14px;
}


/* ABOUT */

.about {
    background: white;
}

.about-content {
    max-width: 1050px;
    margin: auto;
}

.about-text h3 {
    color: var(--navy);
    font-size: 25px;
    margin-bottom: 20px;
    text-align: center;
}

.about-text p {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 18px;
    text-align: justify;
}


/* MISSION AND VISION */

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.mission-box,
.vision-box {
    padding: 35px;
    border-radius: 8px;
    border-top: 5px solid var(--gold);
    background: var(--light-bg);
    transition: 0.3s;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mission-box h3,
.vision-box h3 {
    color: var(--navy);
    font-size: 25px;
    margin-bottom: 15px;
}

.mission-box p,
.vision-box p {
    color: var(--text);
}


/* CORE VALUES */

.values {
    background: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    background: white;
    padding: 35px 28px;
    text-align: center;
    border-radius: 7px;
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-7px);
}

.value-card h3 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text);
    font-size: 15px;
}


/* ACADEMICS */

.academics {
    background: white;
}

.academic-content {
    max-width: 950px;
    margin: auto;
    text-align: center;
}

.academic-content h3 {
    color: var(--navy);
    font-size: 25px;
    margin-bottom: 20px;
}

.academic-content p {
    color: var(--text);
    margin-bottom: 18px;
}

.academic-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 45px;
}

.highlight {
    background: var(--light-bg);
    padding: 30px;
    border-left: 4px solid var(--gold);
    border-radius: 5px;
}

.highlight h3 {
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 12px;
}

.highlight p {
    color: var(--text);
    font-size: 14px;
}


/* ACTIVITIES */

.activities {
    background: var(--light-bg);
}

.activities-content {
    max-width: 950px;
    margin: 0 auto 40px;
    text-align: center;
}

.activities-content p {
    color: var(--text);
    margin-bottom: 15px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.activity-card {
    background: white;
    padding: 30px 22px;
    border-radius: 7px;
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

.activity-card:hover {
    transform: translateY(-6px);
}

.activity-card h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 12px;
}

.activity-card p {
    color: var(--text);
    font-size: 14px;
}


/* GALLERY */

.gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 7px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-grid img:hover {
    transform: scale(1.03);
}


/* ADMISSIONS */

.admissions {
    background: linear-gradient(120deg, var(--navy), var(--dark-navy));
    color: white;
    text-align: center;
}

.admissions-content {
    max-width: 850px;
    margin: auto;
}

.admissions h2 {
    color: white;
    font-size: 40px;
}

.admissions p {
    color: #e0e6ef;
    margin: 15px auto;
    max-width: 780px;
}

.admission-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.admissions .btn {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.admissions .btn:hover {
    background: white;
    color: var(--navy);
    border-color: white;
}

/* WHATSAPP BUTTON */

.admissions .whatsapp-btn {
    background: #218c52;
    border-color: #218c52;
    color: white;
}

.admissions .whatsapp-btn:hover {
    background: #176b3d;
    border-color: #176b3d;
    color: white;
}


/* CONTACT */

.contact {
    background: var(--light-bg);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.contact-item {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 7px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.contact-item h3 {
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 12px;
}

.contact-item p {
    color: var(--text);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.contact-item a {
    color: var(--navy);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--gold);
}


/* FOOTER */

footer {
    background: var(--dark-navy);
    color: white;
    text-align: center;
    padding: 50px 20px 25px;
}

footer h3 {
    color: var(--light-gold);
    font-size: 25px;
    margin-bottom: 10px;
}

footer p {
    font-size: 14px;
    margin: 8px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--light-gold);
}


/* TABLET */

@media (max-width: 1000px) {

    .navbar {
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        gap: 30px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 700px) {

    section {
        padding: 60px 6%;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-content > p:not(.welcome) {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 90%;
        margin: 15px auto;
    }

    .hero-image img {
        height: 300px;
        box-shadow: 10px 10px 0 var(--gold);
    }

    .statistics {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .academic-highlights,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-grid img {
        height: 180px;
    }

    .admissions h2 {
        font-size: 31px;
    }

    .admission-buttons {
        flex-direction: column;
    }

    .admission-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 12px;
    }

}


/* SMALL PHONES */

@media (max-width: 420px) {

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 230px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .logo {
        font-size: 13px;
    }

}