:root {
    --blue: #0b3c78;
    --yellow: #ffd200;
    --black: #111111;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* HEADER */
.header-wrapper {
    position: relative;
}

.navbar {
    background-color: var(--blue);
    padding: 60px 40px 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--yellow);
}

/* FLOATING LOGO */
.floating-logo {
    position: absolute;
    top: 10px;
    right: 5px;
    z-index: 1000;
}

.floating-logo img {
    height: 110px;
}

/* HERO */
.hero {
    margin-top: 60px;
    padding: 120px 20px 100px;
    background: linear-gradient(
        to right,
        var(--blue),
        var(--black)
    );
    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 44px;
    margin-bottom: 20px;
}

.hero-sub {
    margin-bottom: 30px;
}

.hero-btn {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    padding: 14px 36px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}
/* =====================
   CONTACT POPUP (HOME)
===================== */

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 360px;
    position: relative;
}

.popup-box h3 {
    color: var(--blue);
    margin-bottom: 10px;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.popup-actions button {
    background: var(--yellow);
    border: none;
    padding: 12px 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
}
.contact-btn {
    background: var(--yellow);
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
}

.contact-btn:hover {
    background: var(--white);
}
/* =====================
   ABOUT PAGE
===================== */

.about-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
    line-height: 1.7;
}

.about-section h1,
.about-section h2 {
    color: var(--blue);
    margin-bottom: 20px;
}

.about-section p {
    margin-bottom: 15px;
    font-size: 16px;
}

.light-bg {
    background-color: #f5f7fa;
    padding: 60px 20px;
}

.about-points {
    margin-top: 20px;
    margin-left: 20px;
}

.about-points li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Director */
.director-section {
    background-color: var(--blue);
    color: white;
    padding: 70px 20px;
    text-align: center;
}

.director-section h2 {
    margin-bottom: 25px;
}

.director-section p {
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.6;
}

.director-name {
    margin-top: 20px;
    font-weight: bold;
}
.hero {
    background: linear-gradient(to right, var(--blue), var(--black));
    color: white;
    padding: 140px 20px 120px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.hero-main {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.admission-strip {
    background-color: var(--yellow);
    color: var(--blue);
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.hero-sub {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-btn {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    padding: 16px 40px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
}

.hero-btn:hover {
    background-color: white;
}
/* WHY SECTION */

.why-section {
    padding: 100px 20px;
    text-align: center;
    background: #f8f9fb;
}

.section-title {
    font-size: 34px;
    color: var(--blue);
    margin-bottom: 60px;
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.why-card {
    background: white;
    padding: 40px 20px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border: 3px solid var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.why-card h3 {
    font-size: 18px;
    color: var(--blue);
}
/* LIFE SECTION */

.life-section {
    padding: 110px 20px;
    text-align: center;
    background: white;
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 70px;
}

.life-item {
    background: #f4f6fb;
    padding: 25px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--blue);
    transition: 0.3s ease;
}

.life-item:hover {
    background: var(--blue);
    color: white;
}

.life-quote {
    font-size: 22px;
    font-style: italic;
    color: var(--black);
    line-height: 1.6;
}

.life-quote span {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    color: var(--blue);
}
/* BOTTOM CTA */

.bottom-cta {
    background: var(--yellow);
    padding: 80px 20px;
    text-align: center;
}

.bottom-cta h2 {
    color: var(--blue);
    font-size: 32px;
    margin-bottom: 25px;
}

.bottom-cta .hero-btn {
    background: var(--blue);
    color: white;
}

.bottom-cta .hero-btn:hover {
    background: var(--black);
}
/* =========================
   ABOUT PAGE
========================= */

/* Top Hero Section */
.about-hero {
    background: linear-gradient(to right, var(--blue), var(--black));
    color: white;
    padding: 130px 20px 110px;
    text-align: center;
}

.about-hero h1 {
    font-size: 46px;
    margin-bottom: 25px;
    font-weight: 800;
}

.about-hero p {
    max-width: 800px;
    margin: auto;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}


/* Director Section */
.director-section-about {
    padding: 110px 20px;
    background: #f8f9fb;
}

.director-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.director-content h2 {
    font-size: 34px;
    color: var(--blue);
    margin-bottom: 40px;
    font-weight: 700;
}

.director-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 22px;
    color: var(--black);
}

.director-sign {
    margin-top: 45px;
    font-size: 18px;
    color: var(--blue);
    font-weight: bold;
}


/* Footer polish (if not already styled) */
.footer {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 25px 20px;
    font-size: 14px;
}
/* =========================
   STAFF SECTION
========================= */

.staff-section {
    padding: 110px 20px;
    background: white;
    text-align: center;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 60px auto;
}

.staff-card {
    background: #f8f9fb;
    padding: 35px 25px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.staff-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.staff-card h3 {
    color: var(--blue);
    margin-bottom: 15px;
}

.staff-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
}

/* Team Image */

.team-image {
    margin: 60px 0;
}

.team-image img {
    max-width: 900px;
    width: 100%;
    border-radius: 12px;
}

/* Quote */

.staff-quote {
    font-size: 20px;
    font-style: italic;
    margin-top: 40px;
}

.staff-quote span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--blue);
}
/* =========================
   PROGRAMS PAGE
========================= */

.programs-hero {
    background: linear-gradient(to right, var(--blue), var(--black));
    color: white;
    padding: 130px 20px;
    text-align: center;
}

.programs-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}
.programs-section {
    padding: 100px 20px;
    background: #f8f9fb;
    text-align: center;   /* 👈 THIS fixes heading */
}

.programs-section .section-title {
    text-align: center;   /* 👈 force centre */
    margin-bottom: 50px;
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.program-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--blue);
    transition: 0.3s ease;
}

.program-card:hover {
    background: var(--blue);
    color: white;
}

/* ENROLMENT */

.enrolment-section {
    padding: 100px 20px;
    text-align: center;
}

.enrolment-section h2 {
    color: var(--blue);
    margin-bottom: 30px;
}

.enrolment-section p {
    max-width: 800px;
    margin: auto;
    margin-bottom: 30px;
}

.enrolment-section ul {
    list-style: none;
    max-width: 600px;
    margin: auto;
}

.enrolment-section li {
    margin-bottom: 12px;
    font-weight: 500;
}

/* RESOURCES */

.resources-section {
    background: #f8f9fb;
    padding: 100px 20px;
    text-align: center;
}

.resources-section h2 {
    color: var(--blue);
    margin-bottom: 40px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: auto;
}

.resource-grid div {
    background: white;
    padding: 25px;
    border-radius: 8px;
    font-weight: 600;
}
.program-badges {
    margin-top: 25px;
}

.program-badges span {
    background: var(--yellow);
    color: var(--blue);
    padding: 8px 18px;
    margin: 5px;
    display: inline-block;
    font-weight: 600;
    border-radius: 20px;
    font-size: 14px;
}
.program-category {
    max-width: 850px;
    margin: 60px auto;
    background: white;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;   /* 👈 now centered */
}

.program-category h3 {
    color: var(--blue);
    margin-bottom: 25px;
    font-size: 22px;
}

.program-category ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;  /* 👈 keeps content centered */
}

.program-category li {
    margin-bottom: 12px;
    font-weight: 500;
}
.program-duration {
    padding: 90px 20px;
    background: #f8f9fb;
    text-align: center;
}

.duration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.duration-grid div {
    background: white;
    padding: 30px;
    border-radius: 10px;
}
/* =========================
   ACHIEVERS PAGE
========================= */

.achievers-hero {
    background: linear-gradient(to right, var(--blue), var(--black));
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.results-section {
    padding: 100px 20px;
    text-align: center;
}

.results-section h2 {
    color: var(--blue);
    margin-bottom: 50px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.result-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s ease;
}

.result-card span {
    display: block;
    font-size: 28px;
    color: var(--blue);
    margin-bottom: 10px;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* BRANCHES */

.branches-section {
    padding: 100px 20px;
    text-align: center;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: auto;
}

.branch-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
}
.whatsapp-btn {
    display: inline-block;
    margin-top: 10px;
    background-color: #25D366;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-btn:hover {
    background-color: #1da851;
}
/* =========================
   FLOATING CONTACT BUTTONS
========================= */

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 24px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 3000;
}

.floating-whatsapp:hover {
    background-color: #1da851;
}

.floating-call {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--blue);
    color: white;
    font-size: 24px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 3000;
}

.floating-call:hover {
    background-color: var(--black);
}
/* HEADER LOGO FIX */

.top-header {
    background: var(--blue);
    text-align: center;
    padding: 20px 0;
}

.main-logo {
    height: 90px;
    width: auto;
}

/* Navbar */

.navbar {
    background: var(--black);
    padding: 15px 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--yellow);
}