/* =========================
   GENERAL STYLES
========================= */

:root {
    --purple: #8e50e4;
    --light-purple: #d4b1ff;
    --lilac: #d5bbf4;
    --dark-purple: #3f3155;
    --white: #FFFFFF;
    --soft-purple: #e7d1ff;
}

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

body {
    font-family: Arial, sans-serif;
    background-color: var(--light-purple);
    color: var(--dark-purple);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   NAVIGATION
========================= */

header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(63, 49, 85, 0.08);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-purple)
}

.logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--purple);
}

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

footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 60px 30px;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: auto;
}

.footer-content h2 {
    margin-bottom: 5px;
}

.footer-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a:hover {
    color: var(--lilac);
}

.copyright {
    font-size: 13px;
    opacity: 0.7;
}

/* =========================
   ABOUT PAGE HEADER
========================= */
.page-header{
    background: linear-gradient(
        135deg,
        var(--purple),
        var(--lilac)
    );
    text-align: center;
    padding: 100px 20px;
    color: var(--white);
}

.page-header .section-label{
    color: var(--white)
}

.page-header h1 {
    font-size: 55px;
    margin-bottom: 15px;
}

.page-header p:last-child {
    font-size: 18px;
}

/* =========================
   ABOUT SECTION
========================= */
.about-section{
    background-color: var(--white);
    padding: 100px 30px;
}

.about-text {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-text p:not(.section-label) {
    color: #665b72;
    font-size: 17px;
    margin-bottom: 20px;
}

/* =========================
   MISSION & VISION
========================= */
.mission-section {
    background-color: var(--soft-purple);
    padding: 100px 30px;
}
.mission-header {
    text-align: center;
    margin-bottom: 50px;
}
.mission-header .section-label {
    color: var(--dark-purple);
}
.mission-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-card {
    background-color: var(--white);
    padding: 45px;
    border-radius: 25px;
}
.info-card h3 {
    font-size: 25px;
    margin-bottom: 15px;
}
.info-card p {
    color: #665b72;
}

/* =========================
   WHY NTHS
========================= */
.why-section {
    background-color: var(--light-purple);
    padding: 120px 30px;
    text-align: center;
}

.benefit-container {
    max-width: 1100px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(63, 49, 85, 0.08);
}

.benefit-card h3 {
    margin-bottom: 10px;
}

.benefit-card p {
    color: #665b72;
    font-size: 15px;
}

/* =========================
   CHAPTER
========================= */
.chapter-section {
    background-color: var(--white);
    padding: 100px 30px;
    text-align: center;
}

.chapter-section p:not(.section-label) {
    max-width: 750px;
    margin: 0 auto 30px;
    color:#665b72;
    font-size: 17px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px
    }

    .page-header h1 {
        font-size: 42px;
    }

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

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

    .chapter-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {

    .pillar-container {
        grid-template-columns: 1fr;
    }

    .page-header h1{
        font-size: 35px;
    }

    h2 {
        font-size: 30px;
    }
}