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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

a {
    text-decoration: none;
}

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


/* ================================
   HEADER
================================ */

header {
    width: 100%;
    min-height: 75px;
    padding: 12px 3%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    flex-shrink: 0;
}

.logo h2 {
    margin: 0;
    color: #174a7c;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    margin-top: 4px;
    color: #25a65a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

nav a {
    display: inline-block;
    padding: 9px 9px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 7px;
    transition: all 0.25s ease;
}

/* NORMAL HOVER */

nav a:hover {
    color: #174a7c;
    background: #f2f7fb;
}

/* ACTIVE PAGE BUTTON */

nav a.active {
    background: #174a7c;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(23, 74, 124, 0.18);
}




.header-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.header-enrol,
.header-chat {
    display: inline-block;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* ENROL NOW */

.header-enrol {
    background: #174a7c;
    color: #ffffff;
    border: 1px solid #174a7c;
}

.header-enrol:hover {
    background: #123b63;
    transform: translateY(-1px);
}

/* CHAT WITH US */

.header-chat {
    background: #25a65a;
    color: #ffffff;
    border: 1px solid #25a65a;
}

.header-chat:hover {
    background: #1e8c4d;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 28px;
    color: #174a7c;
    cursor: pointer;
}


.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 60px 8%;
    background-image:
        linear-gradient(
            to right,
            rgba(0, 45, 80, 0.88) 0%,
            rgba(0, 45, 80, 0.65) 38%,
            rgba(0, 45, 80, 0.15) 70%,
            rgba(0, 45, 80, 0.05) 100%
        ),
        url("school.jpg");
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
    color: #ffffff;
}

.approved {
    display: inline-block;
    margin-bottom: 18px;
    padding: 9px 17px;
    background: #25a65a;
    color: #ffffff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
}

.hero p {
    max-width: 560px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.6;
}

.hero .enrol {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: #25a65a;
    color: #ffffff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.hero .enrol span {
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
     -webkit-text-stroke: 1px currentColor;
}
/* ================================
   SECTION TITLES
================================ */

.section-title {
    text-align: center;
    margin-bottom: 25px;
}

.section-title span {
    display: block;
    color: #25a65a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title h2 {
    color: #174a7c;
    font-size: 36px;
    line-height: 1.2;
}


/* ================================
   WELCOME
================================ */

.home-welcome {
    max-width: 900px;
    margin: auto;
    padding: 90px 20px;
    text-align: center;
}

.home-welcome p {
    max-width: 750px;
    margin: 0 auto 30px;
    font-size: 17px;
    color: #555;
}


/* ================================
   BUTTONS
================================ */

.primary-button {
    display: inline-block;
    padding: 13px 24px;
    background: #174a7c;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s ease;
}

.primary-button:hover {
    background: #0f385d;
    transform: translateY(-2px);
}


/* ================================
   SCHOOL LIFE
================================ */

.home-school-life {
    padding: 80px 5%;
    background: #f7f9fb;
    text-align: center;
}

.home-school-life > p {
    max-width: 650px;
    margin: 0 auto 35px;
    color: #666;
}

.home-photo {
    max-width: 850px;
    height: 430px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.home-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ================================
   ADMISSIONS
================================ */

.home-admissions {
    padding: 90px 20px;
    background:
        linear-gradient(
            rgba(23, 74, 124, 0.92),
            rgba(23, 74, 124, 0.92)
        ),
        url("school.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
}

.admissions-content {
    max-width: 750px;
    margin: auto;
}

.admissions-content > span {
    display: block;
    color: #8be0ad;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.admissions-content h2 {
    font-size: 40px;
    margin-bottom: 18px;
}

.admissions-content p {
    font-size: 17px;
    margin-bottom: 30px;
}

.admission-button {
    display: inline-block;
    padding: 14px 26px;
    background: #25a65a;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s ease;
}

.admission-button:hover {
    background: #1c8548;
    transform: translateY(-2px);
}


/* ================================
   CONTACT
================================ */

.home-contact {
    padding: 90px 5%;
    text-align: center;
}

.home-contact-grid {
    max-width: 950px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.contact-card {
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    color: #174a7c;
    margin-bottom: 15px;
    font-size: 21px;
}

.contact-card p {
    color: #666;
    margin-bottom: 20px;
}

.contact-whatsapp {
    display: inline-block;
    padding: 11px 20px;
    background: #25a65a;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
}

.contact-whatsapp:hover {
    background: #1c8548;
}


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

footer {
    padding: 45px 20px 25px;
    background: #123a61;
    color: #ffffff;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

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

.footer-links a {
    color: #ffffff;
    font-size: 14px;
}

.footer-links a:hover {
    color: #8be0ad;
}


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

@media (max-width: 1100px) {

    header {
        flex-wrap: wrap;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 13px;
    }

    .header-buttons {
        display: none;
    }
}


@media (max-width: 850px) {

    header {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #ffffff;
        padding: 10px 0;
        border-top: 1px solid #eeeeee;
    }

    nav.show {
        display: flex;
    }

    nav a {
        padding: 13px 10px;
        border-bottom: 1px solid #eeeeee;
    }

    .hero {
        min-height: 580px;
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    .hero .enrol .arrow {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    margin-left: 3px;
}

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .home-contact-grid {
        grid-template-columns: 1fr;
    }

    .home-photo {
        height: 350px;
    }
}


@media (max-width: 550px) {

    .logo {
        font-size: 22px;
    }

    .hero {
        min-height: 550px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }

    .buttons {
        flex-direction: column;
    }

    .buttons a {
        width: 100%;
        max-width: 260px;
    }

    .home-welcome,
    .home-school-life,
    .home-contact {
        padding: 65px 20px;
    }

    .home-photo {
        height: 250px;
    }

    .admissions-content h2 {
        font-size: 32px;
    }

    .hero-arrow {
        display: none;
    }

    .section-title h2 {
        font-size: 27px;
    }
}
/* ================================
   ABOUT US PAGE
================================ */

/* PAGE HERO */

.page-hero {
    min-height: 360px;
    padding: 80px 20px;
    background:
        linear-gradient(
            rgba(0, 45, 80, 0.75),
            rgba(0, 45, 80, 0.75)
        ),
        url("school.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.page-hero-content {
    max-width: 800px;
}

.page-hero-content span {
    display: block;
    color: #8be0ad;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.page-hero-content h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.page-hero-content p {
    max-width: 700px;
    margin: auto;
    font-size: 17px;
    line-height: 1.7;
}


/* ABOUT SCHOOL */

.about-page-section {
    padding: 90px 5%;
    background: #ffffff;
}

.about-page-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-page-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.about-page-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-page-text {
    color: #555;
}

.about-label {
    display: block;
    color: #25a65a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.about-page-text h2 {
    color: #174a7c;
    font-size: 38px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-page-text p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
}


/* MISSION & VISION */

.mission-vision {
    padding: 90px 5%;
    background: #f7f9fb;
}

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

.mission-card {
    background: #ffffff;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.mission-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.mission-card h3 {
    color: #174a7c;
    font-size: 25px;
    margin-bottom: 15px;
}

.mission-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}


/* VALUES */

.values-section {
    padding: 90px 5%;
    background: #ffffff;
    text-align: center;
}

.values-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 16px;
}

.values-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    padding: 35px 25px;
    background: #f7f9fb;
    border-radius: 10px;
    text-align: left;
    border-top: 4px solid #25a65a;
}

.value-number {
    color: #25a65a;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.value-card h3 {
    color: #174a7c;
    font-size: 22px;
    margin-bottom: 12px;
}

.value-card p {
    color: #666;
    line-height: 1.7;
}


.commitment-section {
    background: #ffffff;
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid #e8eef3;
}

.commitment-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 35px 30px;
    background: #f7fafc;
    border-left: 5px solid #174a7c;
    border-radius: 8px;
}

.commitment-content h2 {
    color: #174a7c;
    margin: 10px 0 15px;
    font-size: 30px;
}

.commitment-content p {
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* ABOUT PAGE MOBILE */

@media (max-width: 850px) {

    .page-hero {
        min-height: 320px;
    }

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

    .about-page-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-page-image img {
        height: 350px;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 550px) {

    .page-hero {
        min-height: 300px;
        padding: 60px 20px;
    }

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

    .page-hero-content p {
        font-size: 15px;
    }

    .about-page-section,
    .mission-vision,
    .values-section {
        padding: 65px 20px;
    }

    .about-page-image img {
        height: 260px;
    }

    .about-page-text h2 {
        font-size: 30px;
    }

    .mission-card {
        padding: 30px 20px;
    }

    .commitment-section {
        padding: 65px 20px;
    }

    .commitment-content h2 {
        font-size: 31px;
    }
}
.footer-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 3px 0;
}

.footer-content h3 {
    font-size: 18px;
}

.footer-content h4 {
    font-size: 16px;
}
/* SUBJECTS OFFERED */

.subjects-section {
    padding: 70px 20px;
    background: #ffffff;
}

.subjects-container {
    max-width: 1000px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.subjects-card {
    background: #f7fafc;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e5ebf0;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.subjects-card h3 {
    color: #174a7c;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #174a7c;
    padding-bottom: 12px;
}

.subjects-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subjects-card li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #e5ebf0;
}

.subjects-card li:last-child {
    border-bottom: none;
}

.subjects-card li::before {
    content: "✓";
    color: #25a65a;
    font-weight: bold;
    margin-right: 10px;
}


/* MOBILE */

@media (max-width: 768px) {

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

    .subjects-card {
        padding: 25px;
    }

}
/* WHY CHOOSE US PAGE */

.why-intro {
    padding: 70px 20px 40px;
    background: #ffffff;
    text-align: center;
}

.why-container {
    max-width: 800px;
    margin: 0 auto;
}

.why-container h2 {
    color: #174a7c;
    font-size: 32px;
    margin: 10px 0 18px;
}

.why-container p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}


/* WHY FEATURES */

.why-features {
    padding: 50px 20px 80px;
    background: #f7fafc;
}

.why-features-grid {
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-feature-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5ebf0;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.why-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #174a7c;
    color: #ffffff;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 20px;
}

.why-feature-card h3 {
    color: #174a7c;
    font-size: 20px;
    margin-bottom: 12px;
}

.why-feature-card p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}


/* VISION MESSAGE */

.why-message {
    padding: 70px 20px;
    background: #ffffff;
    text-align: center;
}

.why-message-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 30px;
    background: #f7fafc;
    border-left: 5px solid #174a7c;
    border-radius: 8px;
}

.why-message-content h2 {
    color: #174a7c;
    font-size: 30px;
    margin: 10px 0 15px;
}

.why-message-content p {
    color: #555;
    line-height: 1.8;
    margin: 0;
}


/* MOBILE */

@media (max-width: 768px) {

    .why-features-grid {
        grid-template-columns: 1fr;
    }

    .why-container h2 {
        font-size: 27px;
    }

    .why-feature-card {
        padding: 25px;
    }

}
/* =========================
   LEADERSHIP PAGE
========================= */

.leadership-section {
    padding: 70px 20px 90px;
    background: #ffffff;
}


/* =========================
   LEADERSHIP GRID
========================= */

.leadership-grid {
    width: 100%;
    max-width: 1050px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}


/* =========================
   DESKTOP CARD POSITIONS
========================= */

/* Top row - 3 cards */

.leader-card:nth-child(1) {
    grid-column: 1 / 3;
}

.leader-card:nth-child(2) {
    grid-column: 3 / 5;
}

.leader-card:nth-child(3) {
    grid-column: 5 / 7;
}


/* Bottom row - 2 centered cards */

.leader-card:nth-child(4) {
    grid-column: 2 / 4;
}

.leader-card:nth-child(5) {
    grid-column: 4 / 6;
}


/* =========================
   LEADER CARD
========================= */

.leader-card {
    background: #ffffff;
    border: 1px solid #e3e8ed;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}


/* =========================
   LEADER PHOTO
========================= */

.leader-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f7f9;
}

.leader-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* =========================
   NAME & POSITION
========================= */

.leader-content {
    padding: 22px 20px 25px;
    text-align: center;
}

.leader-title {
    display: block;
    margin-bottom: 8px;
    color: #25a65a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.leader-content h3 {
    margin: 0;
    color: #174a7c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .leader-card:nth-child(1),
    .leader-card:nth-child(2),
    .leader-card:nth-child(3),
    .leader-card:nth-child(4),
    .leader-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
    }

}


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

@media (max-width: 600px) {

    .leadership-section {
        padding: 50px 15px 70px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 30px;
    }

    .leader-card:nth-child(1),
    .leader-card:nth-child(2),
    .leader-card:nth-child(3),
    .leader-card:nth-child(4),
    .leader-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
    }

    .leader-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .leader-image {
        width: 100%;
        height: 220px;
        aspect-ratio: auto;
    }

    .leader-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .leader-content {
        padding: 20px 15px 23px;
    }

    .leader-title {
        font-size: 11px;
    }

    .leader-content h3 {
        font-size: 18px; 
       }
    }

/* =========================
   ADMISSION PAGE
========================= */

.admission-intro {
    padding: 70px 20px 50px;
    background: #ffffff;
    text-align: center;
}

.admission-container {
    max-width: 800px;
    margin: 0 auto;
}

.admission-container h2 {
    color: #174a7c;
    font-size: 32px;
    margin: 10px 0 18px;
}

.admission-container p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* ADMISSION PROCESS */

.admission-process {
    padding: 60px 20px 80px;
    background: #f7fafc;
}

.admission-steps {
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.admission-card {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e5ebf0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.admission-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #174a7c;
    color: #ffffff;
    border-radius: 50%;
    font-weight: bold;
}

.admission-card h3 {
    color: #174a7c;
    font-size: 21px;
    margin-bottom: 12px;
}

.admission-card p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}


/* ADMISSION CTA */

.admission-cta {
    padding: 70px 20px;
    background: #ffffff;
    text-align: center;
}

.admission-cta-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 30px;
    background: #f7fafc;
    border-left: 5px solid #174a7c;
    border-radius: 8px;
}

.admission-cta-content h2 {
    color: #174a7c;
    font-size: 30px;
    margin: 10px 0 15px;
}

.admission-cta-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}


/* MOBILE */

@media (max-width: 768px) {

    .admission-steps {
        grid-template-columns: 1fr;
    }

    .admission-container h2 {
        font-size: 27px;
    }

    .admission-card {
        padding: 25px;
    }

}
/* =========================
   ANNOUNCEMENTS PAGE
========================= */

.announcements-section {
    padding: 70px 20px 90px;
    background: #ffffff;
}

.announcements-container {
    max-width: 950px;
    margin: 45px auto 0;
    display: grid;
    gap: 25px;
}

.announcement-card {
    display: flex;
    background: #f7fafc;
    border: 1px solid #e5ebf0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.announcement-date {
    width: 120px;
    min-width: 120px;
    background: #174a7c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.announcement-date span {
    font-size: 14px;
    font-weight: bold;
}

.announcement-content {
    padding: 25px 30px;
}

.announcement-content h3 {
    color: #174a7c;
    font-size: 22px;
    margin: 0 0 10px;
}

.announcement-content p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}


/* MOBILE */

@media (max-width: 600px) {

    .announcement-card {
        display: block;
    }

    .announcement-date {
        width: 100%;
        min-width: auto;
        height: 55px;
    }

    .announcement-content {
        padding: 22px;
    }

}
/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    padding: 70px 20px 80px;
    background: #ffffff;
}

.contact-container {
    max-width: 1100px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: #f7fafc;
    padding: 35px 25px;
    border: 1px solid #e5ebf0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #174a7c;
    color: #ffffff;
    border-radius: 50%;
    font-size: 24px;
}

.contact-card h3 {
    color: #174a7c;
    font-size: 21px;
    margin-bottom: 15px;
}

.contact-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* MAP */

.map-section {
    padding: 60px 20px 80px;
    background: #f7fafc;
}

.map-container {
    max-width: 1100px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e5ebf0;
}

.map-container iframe {
    display: block;
    width: 100%;
}


/* MOBILE */

@media (max-width: 768px) {

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

    .contact-card {
        padding: 30px 25px;
    }

}
/* =========================
   GALLERY PAGE
========================= */

.gallery-section {
    padding: 70px 20px 90px;
    background: #ffffff;
}

.gallery-empty {
    max-width: 700px;
    margin: 45px auto 0;
    padding: 50px 30px;
    background: #f7fafc;
    border: 1px solid #e5ebf0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.gallery-empty-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.gallery-empty h3 {
    color: #174a7c;
    font-size: 24px;
    margin-bottom: 12px;
}

.gallery-empty p {
    color: #555;
    line-height: 1.8;
    margin: 0;
}
/* =========================
   ACADEMICS PAGE
========================= */

/* ACADEMIC INTRO */

.academic-intro {
    padding: 70px 20px 50px;
    background: #ffffff;
    text-align: center;
}

.academic-container {
    max-width: 800px;
    margin: 0 auto;
}

.academic-container h2 {
    color: #174a7c;
    font-size: 32px;
    margin: 10px 0 18px;
}

.academic-container p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}


/* CORE AREAS */

.academic-areas {
    padding: 60px 20px 80px;
    background: #f7fafc;
}

.academic-grid {
    max-width: 1000px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.academic-card {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e5ebf0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.academic-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #174a7c;
    color: #ffffff;

    border-radius: 50%;
    font-weight: bold;
}

.academic-card h3 {
    color: #174a7c;
    font-size: 21px;
    margin-bottom: 12px;
}

.academic-card p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}


/* SUBJECTS */

.subjects-section {
    padding: 70px 20px;
    background: #ffffff;
}

.subjects-container {
    max-width: 1000px;
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.subjects-card {
    background: #f7fafc;
    padding: 35px;

    border-radius: 12px;
    border: 1px solid #e5ebf0;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.subjects-card h3 {
    color: #174a7c;
    font-size: 24px;
    margin-bottom: 20px;

    border-bottom: 2px solid #174a7c;
    padding-bottom: 12px;
}

.subjects-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subjects-card li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #e5ebf0;
}

.subjects-card li:last-child {
    border-bottom: none;
}

.subjects-card li::before {
    content: "✓";
    color: #25a65a;
    font-weight: bold;
    margin-right: 10px;
}


/* LEARNING ENVIRONMENT */

.learning-section {
    padding: 70px 20px;
    background: #f7fafc;
}

.learning-container {
    max-width: 850px;
    margin: 0 auto;
}

.learning-text {
    padding: 40px 35px;

    background: #ffffff;

    border-left: 5px solid #174a7c;
    border-radius: 8px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.learning-text h2 {
    color: #174a7c;
    font-size: 30px;
    margin: 10px 0 15px;
}

.learning-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.learning-text p:last-child {
    margin-bottom: 0;
}


/* MOBILE */

@media (max-width: 768px) {

    .academic-container h2 {
        font-size: 27px;
    }

    .academic-grid {
        grid-template-columns: 1fr;
    }

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

    .subjects-card {
        padding: 25px;
    }

    .learning-text {
        padding: 30px 25px;
    }

    .learning-text h2 {
        font-size: 27px;
    }
}
/* =========================
   HOME ADMISSIONS
========================= */

.home-admissions {
    padding: 85px 20px;
    background: #f5f9fc;
    text-align: center;
}

.home-admissions-content {
    max-width: 750px;
    margin: 0 auto;
}

.home-admissions .section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #25a65a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.home-admissions h2 {
    margin: 0 0 18px;
    color: #174a7c;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

.home-admissions p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.home-admissions-btn {
    display: inline-block;
    padding: 14px 26px;
    background: #174a7c;
    color: #ffffff;
    border: 1px solid #174a7c;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.home-admissions-btn:hover {
    background: #25a65a;
    border-color: #25a65a;
    transform: translateY(-2px);
}


/* MOBILE */

@media (max-width: 550px) {

    .home-admissions {
        padding: 65px 20px;
    }

    .home-admissions h2 {
        font-size: 30px;
    }

    .home-admissions p {
        font-size: 15px;
    }

    .home-admissions-btn {
        width: 100%;
        max-width: 260px;
    }

}
/* PAGE TRANSITION */

body {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.page-loading {
    opacity: 0;
}

/* =========================================
   CRADLE SAINTS ADMIN DASHBOARD
========================================= */

.admin-header {
    width: 100%;
    min-height: 75px;
    padding: 12px 5%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logout-btn {
    padding: 10px 18px;
    background: #ffffff;
    color: #174a7c;
    border: 1px solid #174a7c;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: #174a7c;
    color: #ffffff;
}


/* =========================================
   DASHBOARD MAIN
========================================= */

.admin-dashboard {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 5%;
    box-sizing: border-box;
    background: #f6f8fb;
}

.dashboard-heading {
    margin-bottom: 35px;
}

.dashboard-heading .section-label,
.manager-heading .section-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #25a65a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.dashboard-heading h1 {
    margin: 0 0 10px;
    color: #174a7c;
    font-size: 36px;
    line-height: 1.2;
}

.dashboard-heading p {
    margin: 0;
    color: #667085;
    font-size: 16px;
}


/* =========================================
   QUICK ACCESS CARDS
========================================= */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.dashboard-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.dashboard-card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5fa;
    border-radius: 12px;
    font-size: 25px;
}

.dashboard-card h2 {
    margin: 0 0 5px;
    color: #174a7c;
    font-size: 19px;
}

.dashboard-card p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================
   ANNOUNCEMENT MANAGER
========================================= */

.announcement-manager,
.gallery-manager {
    margin-bottom: 35px;
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
}

.manager-heading {
    margin-bottom: 28px;
}

.manager-heading h2 {
    margin: 0 0 8px;
    color: #174a7c;
    font-size: 27px;
}

.manager-heading p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}


/* =========================================
   FORM
========================================= */

#announcementForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

#announcementForm input[type="text"],
#announcementForm textarea {
    width: 100%;
    padding: 13px 15px;
    background: #ffffff;
    border: 1px solid #d6dde5;
    border-radius: 8px;
    color: #333333;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

#announcementForm input[type="text"]:focus,
#announcementForm textarea:focus {
    border-color: #174a7c;
    box-shadow: 0 0 0 3px rgba(23, 74, 124, 0.10);
}

#announcementForm textarea {
    min-height: 150px;
    resize: vertical;
}


/* =========================================
   PUBLISH OPTION
========================================= */

.publish-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.publish-option input {
    width: 18px;
    height: 18px;
    accent-color: #25a65a;
}


/* =========================================
   SAVE BUTTON
========================================= */

.save-announcement-btn {
    width: fit-content;
    padding: 13px 24px;
    background: #25a65a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.save-announcement-btn:hover {
    background: #1e8c4d;
    transform: translateY(-1px);
}


/* =========================================
   ANNOUNCEMENT LIST
========================================= */

.announcement-list-heading {
    margin-top: 40px;
    margin-bottom: 18px;
    padding-top: 28px;
    border-top: 1px solid #e6ebf0;
}

.announcement-list-heading h3 {
    margin: 0 0 5px;
    color: #174a7c;
    font-size: 20px;
}

.announcement-list-heading p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

#announcementList {
    display: grid;
    gap: 16px;
}


/* Individual announcement */

#announcementList > div {
    padding: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #174a7c;
    border-radius: 10px;
}

#announcementList h3 {
    margin: 0 0 10px;
    color: #174a7c;
    font-size: 18px;
}

#announcementList p {
    margin: 7px 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   EDIT / DELETE BUTTONS
========================================= */

.edit-announcement,
.delete-announcement {
    margin-top: 12px;
    padding: 9px 16px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-announcement {
    background: #174a7c;
    color: #ffffff;
    border: 1px solid #174a7c;
}

.edit-announcement:hover {
    background: #123b63;
}

.delete-announcement {
    margin-left: 8px;
    background: #ffffff;
    color: #c62828;
    border: 1px solid #c62828;
}

.delete-announcement:hover {
    background: #c62828;
    color: #ffffff;
}


/* =========================================
   GALLERY
========================================= */

.gallery-coming-soon {
    padding: 40px 25px;
    background: #f8fafc;
    border: 1px dashed #cfd8e3;
    border-radius: 12px;
    text-align: center;
}

.gallery-icon {
    margin-bottom: 12px;
    font-size: 40px;
}

.gallery-coming-soon h3 {
    margin: 0 0 8px;
    color: #174a7c;
    font-size: 19px;
}

.gallery-coming-soon p {
    max-width: 600px;
    margin: 0 auto;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}


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

.admin-footer {
    padding: 25px;
    background: #174a7c;
    text-align: center;
}

.admin-footer p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
}


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

@media (max-width: 700px) {

    .admin-header {
        padding: 12px 20px;
    }

    .admin-dashboard {
        padding: 35px 20px;
    }

    .dashboard-heading h1 {
        font-size: 28px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .announcement-manager,
    .gallery-manager {
        padding: 25px 20px;
    }

    .manager-heading h2 {
        font-size: 23px;
    }

    .save-announcement-btn {
        width: 100%;
    }

}
/* =========================================
   MOBILE NAVIGATION
========================================= */

@media (max-width: 700px) {

    .menu-toggle {
        display: block;
        padding: 6px;
        border: none;
        background: none;
        font-size: 28px;
        color: #174a7c;
        cursor: pointer;
    }

    nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 10px 20px 15px;
        background: #ffffff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        box-sizing: border-box;
        z-index: 999;
    }

    nav.open {
        display: flex;
    }

    nav a {
        width: 100%;
        padding: 13px 15px;
        box-sizing: border-box;
        text-align: left;
    }

}
/* =========================================
   PUBLISH TOGGLE SWITCH
========================================= */

.publish-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 320px;
    padding: 13px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
}

.publish-label {
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.25s ease;
}

.slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.switch input:checked + .slider {
    background: #25a65a;
}

.switch input:checked + .slider::before {
    transform: translateX(22px);
}
/* =========================================
   ANNOUNCEMENT CARD
========================================= */

.announcement-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.announcement-header h3 {
    margin: 0;
    color: #174a7c;
    font-size: 19px;
    font-weight: 700;
}

.announcement-content {
    margin: 0 0 18px;
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
}

.announcement-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-actions .edit-announcement,
.announcement-actions .delete-announcement {
    margin: 0;
}


/* Make every announcement card consistent */

#announcementList > div {
    padding: 22px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #174a7c;
    border-radius: 10px;
    box-sizing: border-box;
}

.announcement-actions .edit-announcement,
.announcement-actions .delete-announcement {
    margin: 0;
}
/* =========================================
   CLEAN ANNOUNCEMENT LAYOUT
========================================= */

#announcementList > div {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
}

.announcement-header {
    width: 100%;
    margin: 0 0 10px;
}

.announcement-header h3 {
    margin: 0;
    text-align: left;
    line-height: 1.4;
}

.announcement-content {
    width: 100%;
    margin: 0 0 20px;
    text-align: left;
    line-height: 1.7;
}

.announcement-actions {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-actions button {
    margin: 0;
}
/* =========================================
   FINAL ANNOUNCEMENT CARD LAYOUT
========================================= */

#announcementList > div {
    display: block !important;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #174a7c;
    border-radius: 10px;
}

#announcementList .announcement-header {
    display: block !important;
    width: 100%;
    margin: 0 0 12px;
}

#announcementList .announcement-header h3 {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #174a7c;
    font-size: 19px;
    line-height: 1.4;
}

#announcementList .announcement-content {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    text-align: left;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

#announcementList .announcement-actions {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
}

#announcementList .announcement-actions button {
    margin: 0 !important;
}
/* =========================================
   GALLERY ALBUM FORM
========================================= */

.gallery-album-form {
    padding: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.gallery-album-form h3 {
    margin: 0 0 6px;
    color: #174a7c;
    font-size: 20px;
}

.gallery-album-form > p {
    margin: 0 0 22px;
    color: #667085;
    font-size: 14px;
}

#albumForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#albumForm input[type="text"],
#albumForm textarea {
    width: 100%;
    padding: 13px 15px;
    background: #ffffff;
    border: 1px solid #d6dde5;
    border-radius: 8px;
    color: #333333;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

#albumForm input[type="text"]:focus,
#albumForm textarea:focus {
    border-color: #174a7c;
    box-shadow: 0 0 0 3px rgba(23, 74, 124, 0.10);
}

#albumForm textarea {
    min-height: 110px;
    resize: vertical;
}

.save-album-btn {
    width: fit-content;
    padding: 13px 24px;
    background: #174a7c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.save-album-btn:hover {
    background: #123b63;
    transform: translateY(-1px);
}

@media (max-width: 700px) {

    .gallery-album-form {
        padding: 20px;
    }

    .save-album-btn {
        width: 100%;
    }
}

/* =========================================
   GALLERY PHOTO UPLOAD
========================================= */

.gallery-photo-upload {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.gallery-photo-upload h3 {
    margin: 0 0 6px;
    color: #174a7c;
    font-size: 20px;
}

.gallery-photo-upload > p {
    margin: 0 0 22px;
    color: #667085;
    font-size: 14px;
}

#photoUploadForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#photoUploadForm select,
#photoUploadForm input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #d6dde5;
    border-radius: 8px;
    color: #333333;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

#photoUploadForm select:focus,
#photoUploadForm input[type="file"]:focus {
    border-color: #174a7c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(23, 74, 124, 0.10);
}

#selectedPhotoInfo {
    color: #667085;
    font-size: 13px;
}

.upload-photos-btn {
    width: fit-content;
    padding: 13px 24px;
    background: #25a65a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-photos-btn:hover {
    background: #1e8c4d;
    transform: translateY(-1px);
}

@media (max-width: 700px) {

    .gallery-photo-upload {
        padding: 20px;
    }

    .upload-photos-btn {
        width: 100%;
    }
}
/* =========================================
   PUBLIC DYNAMIC GALLERY
========================================= */

.gallery-loading {
    text-align: center;
    padding: 40px 20px;
    color: #667085;
    font-size: 15px;
}

.public-gallery-album {
    margin-bottom: 55px;
}

.public-gallery-album-heading {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dfe5eb;
}

.public-gallery-album-heading h3 {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: #174a7c;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
}

.public-gallery-album-heading h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: calc(100% - 8px);
    background: #25a65a;
    border-radius: 4px;
}

.public-gallery-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
}

.public-gallery-photo {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.public-gallery-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.public-gallery-photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.public-gallery-photo:hover img {
    transform: scale(1.03);
}

.public-gallery-photo p {
    display: none;
}

@media (max-width: 1100px) {

    .public-gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }

}

@media (max-width: 800px) {

    .public-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media (max-width: 600px) {

    .public-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .public-gallery-album-heading h3 {
        font-size: 21px;
    }

}
/* =========================================
   GALLERY PHOTO LIGHTBOX
========================================= */

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.92);
    box-sizing: border-box;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

#lightboxImage {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    object-fit: contain;
}

#lightboxCaption {
    margin: 14px 0 0;
    color: #ffffff;
    font-size: 14px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 60px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    transform: translateY(-50%);
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

.lightbox-previous {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 600px) {

    .gallery-lightbox {
        padding: 20px;
    }

    #lightboxImage {
        max-height: 75vh;
    }

    .lightbox-arrow {
        width: 42px;
        height: 52px;
        font-size: 24px;
    }

    .lightbox-previous {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 10px;
        right: 12px;
    }

}
/* =========================================
   ADMIN GALLERY ALBUMS
========================================= */

.gallery-albums-list {
    margin-top: 30px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.gallery-albums-heading {
    margin-bottom: 20px;
}

.gallery-albums-heading h3 {
    margin: 0 0 6px;
    color: #174a7c;
    font-size: 22px;
    font-weight: 700;
}

.gallery-albums-heading p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.admin-gallery-album {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid #e5e7eb;
}

.admin-gallery-album-info {
    min-width: 0;
}

.admin-gallery-album-info h4 {
    margin: 0 0 5px;
    color: #333333;
    font-size: 17px;
    font-weight: 700;
}

.admin-gallery-album-info p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

.delete-album-btn {
    flex-shrink: 0;
    padding: 9px 14px;
    background: #ffffff;
    color: #c62828;
    border: 1px solid #c62828;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-album-btn:hover {
    background: #c62828;
    color: #ffffff;
}

@media (max-width: 600px) {

    .admin-gallery-album {
        align-items: flex-start;
        flex-direction: column;
    }

    .delete-album-btn {
        width: 100%;
    }

}
/* ADMIN GALLERY ALBUM ACTIONS */

.admin-gallery-album-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.view-album-btn,
.delete-album-btn {
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-album-btn {
    background: #174a7c;
    color: #ffffff;
    border: 1px solid #174a7c;
}

.view-album-btn:hover {
    background: #123b63;
    border-color: #123b63;
}

.delete-album-btn {
    background: #ffffff;
    color: #c62828;
    border: 1px solid #c62828;
}

.delete-album-btn:hover {
    background: #c62828;
    color: #ffffff;
}

@media (max-width: 600px) {

    .admin-gallery-album-actions {
        width: 100%;
    }

    .view-album-btn,
    .delete-album-btn {
        flex: 1;
    }

}
/* =========================================
   ADMIN ALBUM PHOTOS
========================================= */

.admin-album-photos {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.admin-album-photo {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.admin-album-photo img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.delete-photo-btn {
    width: 100%;
    padding: 9px;
    background: #ffffff;
    color: #c62828;
    border: 0;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.delete-photo-btn:hover {
    background: #c62828;
    color: #ffffff;
}

@media (max-width: 900px) {

    .admin-album-photos {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 600px) {

    .admin-album-photos {
        grid-template-columns: repeat(2, 1fr);
    }

}
/* =========================================
   HOME ANNOUNCEMENT TICKER
========================================= */

.announcement-ticker {
    width: 100%;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-top: 1px solid #e4e9ef;
    border-bottom: 1px solid #e4e9ef;
    overflow: hidden;
}

.announcement-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 13px 24px;
    background: #174a7c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.announcement-track-container {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f8fafc;
}

.announcement-track {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    animation: announcementMove 35s linear infinite;
    will-change: transform;
}

.announcement-track span {
    display: inline-block;
    margin-right: 70px;
    padding: 13px 0;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}

.announcement-track span::before {
    content: "●";
    margin-right: 12px;
    color: #25a65a;
    font-size: 9px;
}

@keyframes announcementMove {
    from {
        transform: translateX(20%);
    }

    to {
        transform: translateX(-100%);
    }
}

.announcement-ticker:hover .announcement-track {
    animation-play-state: paused;
}

@media (max-width: 700px) {

    .announcement-label {
        padding: 12px 15px;
        font-size: 11px;
        letter-spacing: 0.7px;
    }

    .announcement-track span {
        font-size: 13px;
        margin-right: 50px;
    }
}
/* =========================================
   FINAL MOBILE LEADERSHIP PHOTO FIX
========================================= */

@media (max-width: 600px) {

    .leader-card {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .leader-image {
        width: 100% !important;
        height: 220px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: block !important;
        overflow: hidden !important;
        text-align: center;
    }

    .leader-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

}
.forgot-password {
    display: block;
    margin-top: 14px;
    color: #174a7c;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}