/* =========================================================
   AL FALAH PUBLIC SCHOOL
   GLOBAL WEBSITE STYLE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f8fb;
    color: #172033;
    line-height: 1.6;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;
    background: #071b33;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.header-container {
    max-width: 1250px;
    margin: auto;
    min-height: 78px;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */

.logo {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-subtitle {
    color: #d4a914;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: #d4a914;
}

.main-nav a.active {
    color: #d4a914;
}

/* Admissions Button */

.main-nav .admission-btn {
    background: #d4a914;
    color: #071b33;
    padding: 13px 22px;
    margin-left: 8px;
    font-weight: 700;
}

.main-nav .admission-btn:hover {
    background: #e4c04d;
    color: #071b33;
    transform: translateY(-2px);
}

/* Mobile Menu Button */

.menu-toggle {
    display: none;

    width: 44px;
    height: 40px;

    border: none;
    background: transparent;
    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    display: block;
    transition: 0.3s ease;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.back-wrapper {
    max-width: 1250px;
    margin: auto;
    padding: 25px 30px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #ffffff;
    color: #071b33;

    text-decoration: none;

    padding: 10px 17px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 5px 20px rgba(7, 27, 51, 0.08);

    transition: 0.3s ease;
}

.back-btn:hover {
    background: #071b33;
    color: #ffffff;
    transform: translateX(-4px);
}


/* =========================================================
   COMMON HERO
========================================================= */

.page-hero {
    max-width: 1250px;
    margin: 25px auto 0;
    padding: 70px 30px;

    background: #071b33;
    border-radius: 20px;

    text-align: center;
}

.page-hero .eyebrow {
    color: #d4a914;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-hero h1 {
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.page-hero h1 span {
    color: #d4a914;
}

.page-hero p {
    max-width: 750px;
    margin: auto;
    color: #dce4ed;
    font-size: 17px;
}


/* =========================================================
   COMMON SECTIONS
========================================================= */

.section {
    max-width: 1250px;
    margin: auto;
    padding: 80px 30px;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading .eyebrow {
    display: block;
    color: #b28b00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading h2 {
    color: #071b33;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    margin-bottom: 12px;
}

.section-heading p {
    max-width: 700px;
    margin: auto;
    color: #667085;
}


/* =========================================================
   CARDS
========================================================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;

    box-shadow: 0 10px 35px rgba(7, 27, 51, 0.07);

    transition: 0.3s ease;
}

.info-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(7, 27, 51, 0.12);
}

.info-card h3 {
    color: #071b33;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    margin-bottom: 10px;
}

.info-card p {
    color: #667085;
    font-size: 15px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-block;
    padding: 13px 24px;

    background: #071b33;
    color: #ffffff;

    text-decoration: none;
    border-radius: 8px;

    font-weight: 700;

    transition: 0.3s ease;
}

.btn:hover {
    background: #102b4c;
    transform: translateY(-2px);
}

.btn-gold {
    background: #d4a914;
    color: #071b33;
}

.btn-gold:hover {
    background: #e4c04d;
    color: #071b33;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    max-width: 1100px;
    margin: 70px auto;
    padding: 55px 30px;

    background: #d4a914;
    border-radius: 20px;

    text-align: center;
}

.cta-section h2 {
    color: #071b33;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    margin-bottom: 12px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #243247;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #071b33;
    color: #ffffff;
    padding: 60px 30px 25px;
}

.footer-container {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;
}

.footer-brand h3 {
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    margin-bottom: 12px;
}

.footer-brand h3 span {
    color: #d4a914;
}

.footer-brand p,
.footer-column p {
    color: #aebbc9;
    font-size: 14px;
}

.footer-column h4 {
    font-size: 17px;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-column a {
    display: block;
    color: #aebbc9;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: 0.3s ease;
}

.footer-column a:hover {
    color: #d4a914;
}

.footer-bottom {
    max-width: 1250px;
    margin: 45px auto 0;
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.12);

    display: flex;
    justify-content: space-between;

    color: #8f9baa;
    font-size: 13px;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: #25d366;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-size: 25px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.2);

    z-index: 5000;

    transition: 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 95px;

    width: 45px;
    height: 45px;

    display: none;
    align-items: center;
    justify-content: center;

    background: #d4a914;
    color: #071b33;

    border-radius: 50%;

    font-size: 20px;
    font-weight: 700;

    cursor: pointer;

    z-index: 5000;
}

.back-to-top.show {
    display: flex;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1000px) {

    .main-nav a {
        padding: 10px 10px;
        font-size: 13px;
    }

    .main-nav .admission-btn {
        padding: 11px 15px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 800px) {

    .header-container {
        min-height: 70px;
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        background: #071b33;

        display: none;
        flex-direction: column;

        padding: 15px 20px 25px;

        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 13px;
    }

    .main-nav .admission-btn {
        margin-left: 0;
        margin-top: 5px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .logo-text {
        font-size: 17px;
    }

    .logo-subtitle {
        font-size: 8px;
    }

    .page-hero {
        margin: 20px;
        padding: 55px 20px;
        border-radius: 15px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .cta-section {
        margin: 50px 20px;
    }
}