/* ==========================================================
   BANO QABIL WEBSITE - STYLESHEET  (Official Clone)
   HTML + CSS only (No JavaScript)
   Brand color: #2C8E84 (real site teal-green)
   Made by: Munza Ashraf Malik
   ========================================================== */

/* ---------- 0. RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: #23303d;             /* light mode text */
    background: #fff;           /* light mode background */
    line-height: 1.6;
    overflow-x: hidden;
}

:root {
    --teal: #2C8E84;          /* real Bano Qabil brand color */
    --teal-dark: #247A71;
    --teal-darker: #216b60;
    --teal-light: #eaf7f4;
    --navy: #0c1b2a;
    --dark-heading: #0c1b2a;    /* headings on light bg */
    --text: #23303d;            /* body text on light bg */
    --muted: #5f6f7e;
    --light: #fff;
}

h1, h2, h3, h4, h5 {
    line-height: 1.3;
    font-weight: 700;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- 1. BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    font-family: inherit;
}

.btn-green {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 10px 40px rgba(44, 142, 132, 0.3);
}
.btn-green:hover {
    background: var(--teal-dark);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}


/* ---------- 2. SECTION HEADINGS ---------- */
.section {
    padding: 70px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.eyebrow {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(44, 142, 132, 0.1);
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(27px, 4vw, 40px);
    font-weight: 600;
    color: var(--dark-heading);
    letter-spacing: 0.5px;
}
.section-title span {
    color: var(--teal);
}

.section-sub {
    color: var(--muted);
    max-width: 620px;
    margin: 14px auto 0;
    font-size: 15px;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}


/* ==========================================================
   3. HEADER / NAVIGATION
   ========================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4%;
    z-index: 999;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}
.logo-text {
    color: var(--dark-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.logo-text b {
    color: var(--teal);
}

/* Nav links (desktop) */
.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav a {
    color: #5b6770;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}
.nav a:hover,
.nav a.active {
    color: var(--teal);
}
.nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: 0.3s;
}
.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav .nav-btn {              /* login / register buttons */
    border: 1px solid var(--teal);
    color: var(--teal);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
}
.nav .nav-btn::after {
    display: none;
}
.nav .nav-btn:hover {
    background: var(--teal-light);
}
.nav .nav-btn-fill {
    background: var(--teal);
    color: #fff;
}
.nav .nav-btn-fill:hover {
    background: var(--teal-dark);
}

/* Hamburger + checkbox (mobile menu) */
.nav-toggle {
    display: none;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1000;
}
.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--dark-heading);
    border-radius: 3px;
    transition: 0.3s;
}


/* ==========================================================
   4. HERO BANNER SLIDER (CSS-only auto-slider)
   ========================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 92vh;
    min-height: 560px;
    overflow: hidden;
    margin-top: 62px;          /* header ki height */
}

.slider-track {
    display: flex;
    width: 400%;               /* 4 slides => 400% width */
    height: 100%;
    animation: slide 24s infinite;   /* har slide ~4.3s rukta hai */
}

.slide {
    position: relative;
    width: 25%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

/* Real banner images from the original website */
.slide-1 { background-image: url('images/slide-1.png'); }
.slide-2 { background-image: url('images/slide-2.png'); }
.slide-3 { background-image: url('images/slide-3.png'); }
.slide-4 { background-image: url('images/slide-4.png'); }

/* Dark overlay so text is readable */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 28, 27, 0.55);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-left: 8%;
    color: #fff;
    animation: fadeUp 1s ease both;
}

.slide-tag {
    font-size: 15px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
    color: #d9f2ee;
}

.slide-content h1 {
    font-size: clamp(30px, 5.5vw, 58px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
}
.slide-content h1 span {
    color: #7fe3d5;           /* light teal accent */
}

.slide-vision {
    margin: 16px 0 28px;
    font-size: 15px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
}
.slide-vision .green {
    color: #7fe3d5;
}

/* Auto-slide animation: 4 slides, har slide ~4.5s rukta hai */
@keyframes slide {
    0%, 18%   { transform: translateX(0); }        /* slide 1 */
    25%, 43%  { transform: translateX(-25%); }     /* slide 2 */
    50%, 68%  { transform: translateX(-50%); }     /* slide 3 */
    75%, 93%  { transform: translateX(-75%); }     /* slide 4 */
    100%      { transform: translateX(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Slider dots (decorative) */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: dot 24s infinite;
}
@keyframes dot {
    0%, 18%   { background: #fff; }
    25%, 43%  { background: rgba(255,255,255,0.5); }
    50%, 68%  { background: rgba(255,255,255,0.5); }
    75%, 93%  { background: rgba(255,255,255,0.5); }
}
.slider-dots span:nth-child(2) { animation-delay: 6s; }
.slider-dots span:nth-child(3) { animation-delay: 12s; }
.slider-dots span:nth-child(4) { animation-delay: 18s; }


/* ==========================================================
   5. IMPACT STATS
   ========================================================== */
.impact {
    background: linear-gradient(180deg, #F5FFF8, rgba(164, 244, 207, 0.3));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 1px solid #eef4f2;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(8, 70, 64, 0.05);
    transition: 0.3s;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(8, 70, 64, 0.12);
}

.stat-number {
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--dark-heading);
}
.stat-label {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}


/* ==========================================================
   6. DIGITAL FOOTPRINT (Provinces)
   ========================================================== */
.footprint {
    background: linear-gradient(180deg, #EDFFF8, #F9FFFD);
}

.footprint-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fp-card {
    background: #fff;
    border: 1px solid #eef4f2;
    border-radius: 16px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.fp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(44, 142, 132, 0.5);
    box-shadow: 0 14px 35px rgba(8, 70, 64, 0.12);
}

.fp-featured {
    grid-column: span 2;
    border-color: rgba(44, 142, 132, 0.35);
}

.fp-num {
    background: var(--teal);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    align-self: flex-start;
    margin-bottom: 14px;
}

.fp-card h4 {
    font-size: 15px;
    color: #14233a;
}

.fp-count {
    font-size: 38px;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-top: 12px;
}
.fp-count small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-left: 4px;
}


/* ==========================================================
   7. CAMPUSES
   ========================================================== */
.campuses {
    background: linear-gradient(180deg, #F5FFF8, rgba(164, 244, 207, 0.3));
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.campus-card {
    background: #fff;
    border: 1px solid #eef4f2;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}
.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(8, 70, 64, 0.12);
    border-color: var(--teal);
}

.campus-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
.campus-top h3 {
    font-size: 17px;
    color: #1a2530;
}

.badge-active {
    background: var(--teal);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.campus-info p {
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 8px;
}
.campus-info .icon {
    color: var(--teal);
    flex-shrink: 0;
}
.campus-info .addr .icon {
    color: #b91c1c;
}


/* ==========================================================
   8. COURSES
   ========================================================== */
.courses {
    background: linear-gradient(180deg, #FFFFFF, #D1F2FF);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.course-card h3 {
    font-size: 18px;
    color: #383e49;
    margin-bottom: 12px;
}

.course-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}
.course-code {
    background: rgba(44, 142, 132, 0.1);
    color: var(--teal);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
}
.course-meta span:last-child {
    font-size: 12px;
    color: var(--muted);
}

.course-card p {
    font-size: 13.5px;
    color: var(--muted);
}


/* ==========================================================
   9. LEADERSHIP MESSAGES
   ========================================================== */
.leadership {
    background: linear-gradient(180deg, #F9FFFB, #F9FFFB);
}

.leader-card {
    background: #fff;
    border: 1px solid #eef4f2;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    margin-bottom: 60px;
}
.leader-card:last-child {
    margin-bottom: 0;
}

.leader-photo {
    width: 33%;
    background: rgba(44, 142, 132, 0.06);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #eef4f2;
}
.leader-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(44, 142, 132, 0.25);
    margin-bottom: 18px;
}
.leader-photo h3 {
    font-size: 22px;
    color: #1a2530;
}
.leader-role {
    color: var(--teal);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12.5px;
    margin-top: 6px;
}
.leader-org {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.leader-msg {
    width: 67%;
    padding: 50px 55px;
    position: relative;
}
.quote-mark {
    position: absolute;
    top: 24px;
    left: 34px;
    font-size: 100px;
    line-height: 1;
    color: rgba(245, 166, 35, 0.15);
    font-family: Georgia, serif;
    user-select: none;
}
.leader-msg p {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 15px;
    position: relative;
    z-index: 1;
}
.leader-msg .msg-strong {
    color: #33404c;
    font-weight: 500;
}

/* Alternate layout: photo on the right */
.leader-reverse {
    flex-direction: row-reverse;
}
.leader-reverse .leader-photo {
    border-right: none;
    border-left: 1px solid #eef4f2;
}


/* ==========================================================
   10. TESTIMONIALS
   ========================================================== */
.testimonials {
    background: linear-gradient(180deg, #FFFFFF, #D1F2FF);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testi-card {
    background: #fff;
    border: 1px solid #eef4f2;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.testi-quote {
    display: block;
    font-size: 46px;
    line-height: 1;
    color: rgba(245, 166, 35, 0.3);
    font-family: Georgia, serif;
    margin-bottom: 8px;
    transition: 0.3s;
}
.testi-card:hover .testi-quote {
    color: #f5a623;
}

.testi-card p {
    font-style: italic;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.testi-card h4 {
    color: #0f766e;
    font-size: 16px;
    border-top: 2px solid #eef4f2;
    padding-top: 16px;
}
.testi-role {
    font-style: normal !important;
    font-size: 13px !important;
    margin-bottom: 0 !important;
    color: #94a3b8 !important;
}


/* ==========================================================
   11. THE PROCESS (6 steps)
   ========================================================== */
.process {
    background: linear-gradient(180deg, #EDFAFF, #fff);
}

.process-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: nowrap;
}

.step {
    position: relative;
    flex: 1;
    max-width: 320px;
    background: #fff;
    border: 1px solid #f0f5f4;
    border-radius: 14px;
    padding: 34px 24px 22px 32px;
    box-shadow: 0 4px 24px rgba(44, 142, 132, 0.08);
    transition: 0.3s;
}
.step:hover {
    box-shadow: 0 10px 34px rgba(44, 142, 132, 0.14);
    transform: translateY(-4px);
}

.step-num {
    position: absolute;
    top: -16px;
    left: -14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(44, 142, 132, 0.35);
}

.step h4 {
    font-size: 16px;
    color: var(--dark-heading);
    margin-bottom: 8px;
}
.step p {
    font-size: 13.5px;
    color: var(--muted);
}

.step-arrow {
    width: 40px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}


/* ==========================================================
   12. CTA BANNER
   ========================================================== */
.cta-banner {
    background: #0c1b2a url('images/slide-2.png') center/cover no-repeat;
    position: relative;
    padding: 90px 20px;
    text-align: center;
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(4, 14, 13, 0.75);
}

.cta-box {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.7));
    backdrop-filter: blur(4px);
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 44px;
    border-radius: 26px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-box h2 {
    font-size: clamp(27px, 4vw, 40px);
    font-weight: 600;
    color: var(--dark-heading);
}
.cta-box h2 span {
    color: var(--teal);
}

.cta-box p {
    color: #33404c;
    font-size: 15px;
    max-width: 500px;
    margin: 18px auto 30px;
}


/* ==========================================================
   13. CONTACT US
   ========================================================== */
.contact {
    background: #fff;
}

.contact-box {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eef4f2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

/* Left info panel (teal) */
.contact-info {
    width: 40%;
    background: var(--teal);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}
.info-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
}
.info-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13.5px;
}
.info-value {
    color: #fff !important;
    font-weight: 600;
    margin-top: 4px;
}

/* Right form */
.contact-form {
    width: 60%;
    padding: 50px 45px;
    background: #f8faf9;
}

.contact-form h4 {
    font-size: 22px;
    color: #1a2530;
    margin-bottom: 6px;
}
.form-note {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4a5560;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dfe7e4;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: 0.3s;
    resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(44, 142, 132, 0.15);
}

.contact-form button {
    margin-top: 22px;
}


/* ==========================================================
   14. PARTNERS
   ========================================================== */
.partners {
    background: linear-gradient(180deg, #fff, #f4faf9);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.partner-card {
    background: #fff;
    border: 2px solid #eef4f2;
    border-radius: 16px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: 0.3s;
}
.partner-card:hover {
    border-color: var(--teal);
    box-shadow: 0 12px 30px rgba(8, 70, 64, 0.12);
}
.partner-card img {
    max-height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: 0.3s;
}
.partner-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0);
}


/* ==========================================================
   15. FOOTER
   ========================================================== */
.footer {
    background: #edf7f5;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 3fr 1.5fr 1.5fr 1.5fr 2fr;
    gap: 36px;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}
.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--teal);
}

.footer-brand p {
    font-size: 13.5px;
    color: #133c37;
    max-width: 300px;
}

.footer-col h4 {
    color: #133c37;
    font-size: 15px;
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    font-size: 13.5px;
    color: #48505e;
    font-weight: 500;
    transition: 0.3s;
}
.footer-col ul a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.footer-address p {
    font-size: 13.5px;
    color: #48505e;
    margin-bottom: 18px;
}
.social-title {
    margin-bottom: 12px !important;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.social-links a:hover {
    background: #e2eeec;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #20655E;
    color: #fff;
    font-size: 12.5px;
    padding: 16px 4%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}


/* ==========================================================
   16. RESPONSIVE
   ========================================================== */
@media (max-width: 992px) {
    .stats-grid,
    .footprint-grid { grid-template-columns: repeat(2, 1fr); }
    .fp-featured { grid-column: span 2; }

    .campus-grid,
    .course-grid,
    .testi-grid { grid-template-columns: repeat(2, 1fr); }

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

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

    .leader-card { flex-direction: column; }
    .leader-photo {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eef4f2;
        padding: 36px;
    }
    .leader-msg { width: 100%; padding: 40px 30px; }
    .leader-reverse { flex-direction: column; }
    .leader-reverse .leader-photo {
        border-left: none;
        border-bottom: 1px solid #eef4f2;
    }

    .contact-box { flex-direction: column; }
    .contact-info,
    .contact-form { width: 100%; }

    .process-row { flex-wrap: wrap; }
    .step { max-width: 260px; }
}

@media (max-width: 768px) {
    /* Mobile menu via checkbox hack */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 62px;
        right: 0;
        height: calc(100vh - 62px);
        width: 280px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 28px;
        gap: 18px;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: 0.4s;
        overflow-y: auto;
    }

    /* Jab checkbox checked ho, menu andar aaye */
    .nav-toggle:checked ~ .nav {
        transform: translateX(0);
    }

    .nav a {
        font-size: 16px;
    }

    .hero { height: 78vh; }
    .slide-content { margin-left: 6%; }

    .stats-grid,
    .footprint-grid,
    .campus-grid,
    .course-grid,
    .testi-grid { grid-template-columns: 1fr; }
    .fp-featured { grid-column: span 1; }

    .form-row { grid-template-columns: 1fr; }

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

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }

    .process-row { flex-direction: column; }
    .step { max-width: 100%; }
    .step-arrow { transform: rotate(90deg); }
}


/* ==========================================================
   17. INNER PAGES  (courses / gallery / faqs)
   ========================================================== */

/* Page hero banner (every inner page ke top par) */
.page-hero {
    position: relative;
    height: 320px;
    background: url('images/slide-3.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 62px;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 28, 27, 0.6);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
}
.page-hero-content h1 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
}
.page-hero-content h1 span {
    color: #7fe3d5;
}
.page-hero-content .crumb {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #cdeee9;
    margin-top: 10px;
}
.page-hero-content .crumb a {
    color: #fff;
    text-decoration: underline;
}

/* Courses page — intro line */
.page-intro {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    max-width: 620px;
    margin: -30px auto 44px;
    padding: 0 16px;
}
.page-intro b {
    color: var(--teal);
}

/* Gallery page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.5s;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 34px 18px 14px;
    background: linear-gradient(180deg, transparent, rgba(6, 28, 27, 0.85));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* FAQ page — CSS-only accordion (details/summary, no JS!) */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #e8f0ee;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(8, 70, 64, 0.05);
    transition: 0.3s;
}
.faq-item:hover {
    border-color: rgba(44, 142, 132, 0.4);
}
.faq-item summary {
    list-style: none;                    /* default arrow hatayen */
    cursor: pointer;
    padding: 20px 22px;
    font-weight: 600;
    font-size: 15px;
    color: #14233a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    user-select: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;                       /* Safari arrow hatayen */
}
/* Plus icon — details open hone par rotate hokar cross banta hai */
.faq-item summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 400;
    color: var(--teal);
    line-height: 1;
    transition: 0.3s;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--teal-dark);
}
.faq-item[open] summary {
    color: var(--teal);
    border-bottom: 1px solid #eef4f2;
}
.faq-answer {
    padding: 6px 22px 20px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item img { height: 200px; }
}
@media (max-width: 520px) {
    .gallery-grid { grid-template-columns: 1fr; }
}


/* ==========================================================
   18. POLISH & PROFESSIONAL TOUCHES
   ========================================================== */

/* Anchored sections fixed header ke neeche na chhupen */
html {
    scroll-padding-top: 90px;
}

/* Text select karne par brand teal highlight */
::selection {
    background: rgba(44, 142, 132, 0.25);
    color: inherit;
}

/* Scrollbar (real site ke colors) */
* {
    scrollbar-color: #2c8e84 #e2e8f0;
    scrollbar-width: thin;
}

/* Smooth theme change (background/color sirf) */
.site *,
.site {
    transition-property: background-color, border-color, color, box-shadow, transform;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(44, 142, 132, 0.35);
    z-index: 900;
}
.back-to-top:hover {
    background: var(--teal-dark);
    transform: translateY(-4px);
}


/* ==========================================================
   19. DARK MODE  (CSS-only — checkbox hack, koi JS nahi)
   Real Bano Qabil ke colors: bg #0f172a, cards #1e293b, text #ededed
   ========================================================== */

/* Checkbox input hidden hai, sirf label button visible */
.theme-toggle {
    display: none;
}

/* Theme toggle button (header mein round circle) */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    margin-left: 6px;
    border: 1px solid #dfe9e6;
    background: #fff;
    flex-shrink: 0;
}
.theme-toggle-btn:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
}
/* Default = DARK (real site jaisa). Light mode mein moon dikhta hai, sun hidden */
.theme-toggle-btn .icon-sun { display: none; }

/* Body ko bhi dark karo (default, checkbox unchecked hone par — :has() selector) */
body:has(#theme-toggle:not(:checked)) {
    background: #0f172a;
    color: #ededed;              /* real site --foreground in dark */
}

/* ---- DARK is the DEFAULT. Checkbox unchecked (default) = dark, checked = light. ---- */
#theme-toggle:not(:checked) ~ .site {
    --dark-heading: #f1f5f9;     /* section titles, stats, logo */
    --muted: #94a3b8;           /* sub-text, cards paragraphs */
    --text: #ededed;             /* real site --foreground dark */
    --teal-light: rgba(44, 142, 132, 0.18);
    background: #0f172a;
    color: #ededed;
    min-height: 100vh;
}

/* Dark scrollbar */
#theme-toggle:not(:checked) ~ .site * {
    scrollbar-color: #2c8e84 #0f172a;
}

/* ---- Dark section backgrounds ---- */
#theme-toggle:not(:checked) ~ .site .impact      { background: linear-gradient(180deg, #0c2231, #0f1f2e); }
#theme-toggle:not(:checked) ~ .site .footprint   { background: linear-gradient(180deg, #0d2330, #0f172a); }
#theme-toggle:not(:checked) ~ .site .campuses    { background: linear-gradient(180deg, #0c2231, #0f1f2e); }
#theme-toggle:not(:checked) ~ .site .courses     { background: linear-gradient(180deg, #0f172a, #122b33); }
#theme-toggle:not(:checked) ~ .site .leadership  { background: linear-gradient(180deg, #0d2130, #0e2330); }
#theme-toggle:not(:checked) ~ .site .testimonials{ background: linear-gradient(180deg, #0f172a, #122b33); }
#theme-toggle:not(:checked) ~ .site .process     { background: linear-gradient(180deg, #0d2230, #0f172a); }
#theme-toggle:not(:checked) ~ .site .partners    { background: linear-gradient(180deg, #0f172a, #0d2230); }
#theme-toggle:not(:checked) ~ .site .contact     { background: #0f172a; }

/* ---- Header dark ---- */
#theme-toggle:not(:checked) ~ .site .header {
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
#theme-toggle:not(:checked) ~ .site .nav a { color: #cbd5e1; }
#theme-toggle:not(:checked) ~ .site .nav a:hover,
#theme-toggle:not(:checked) ~ .site .nav a.active { color: var(--teal); }
#theme-toggle:not(:checked) ~ .site .theme-toggle-btn {
    background: #1e293b;
    border-color: #334155;
}
#theme-toggle:not(:checked) ~ .site .theme-toggle-btn .icon-moon { display: none; }
#theme-toggle:not(:checked) ~ .site .theme-toggle-btn .icon-sun  { display: block; }

/* ---- Cards dark (stat / fp / campus / course / leader / testi / step / partner) ---- */
#theme-toggle:not(:checked) ~ .site .stat-card,
#theme-toggle:not(:checked) ~ .site .fp-card,
#theme-toggle:not(:checked) ~ .site .campus-card,
#theme-toggle:not(:checked) ~ .site .course-card,
#theme-toggle:not(:checked) ~ .site .leader-card,
#theme-toggle:not(:checked) ~ .site .testi-card,
#theme-toggle:not(:checked) ~ .site .step,
#theme-toggle:not(:checked) ~ .site .partner-card {
    background: #1e293b;
    border-color: #2b3a4d;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* Card headings — light text */
#theme-toggle:not(:checked) ~ .site .fp-card h4,
#theme-toggle:not(:checked) ~ .site .campus-top h3,
#theme-toggle:not(:checked) ~ .site .course-card h3,
#theme-toggle:not(:checked) ~ .site .leader-photo h3,
#theme-toggle:not(:checked) ~ .site .testi-card h4,
#theme-toggle:not(:checked) ~ .site .step h3,
#theme-toggle:not(:checked) ~ .site .contact-form h4 {
    color: #f1f5f9;
}
#theme-toggle:not(:checked) ~ .site .course-card h3 { color: #ededed; }

/* Leader card details */
#theme-toggle:not(:checked) ~ .site .leader-photo {
    background: rgba(44, 142, 132, 0.1);
    border-color: #2b3a4d;
}
#theme-toggle:not(:checked) ~ .site .leader-photo img { border-color: #1e293b; }
#theme-toggle:not(:checked) ~ .site .leader-msg .msg-strong { color: #cbd5e1; }
#theme-toggle:not(:checked) ~ .site .testi-card h4 { border-top-color: #2b3a4d; }
#theme-toggle:not(:checked) ~ .site .testi-card:hover .testi-quote { color: #f5a623; }

/* ---- Course meta chip dark ---- */
#theme-toggle:not(:checked) ~ .site .course-code {
    background: rgba(44, 142, 132, 0.25);
    color: #7fe3d5;
}

/* ---- CTA box dark ---- */
#theme-toggle:not(:checked) ~ .site .cta-box {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
}
#theme-toggle:not(:checked) ~ .site .cta-box h2 { color: #f1f5f9; }
#theme-toggle:not(:checked) ~ .site .cta-box p  { color: #cbd5e1; }

/* ---- Contact form dark ---- */
#theme-toggle:not(:checked) ~ .site .contact-box { background: #1e293b; border-color: #2b3a4d; }
#theme-toggle:not(:checked) ~ .site .contact-form { background: #16233a; }
#theme-toggle:not(:checked) ~ .site .contact-form label { color: #cbd5e1; }
#theme-toggle:not(:checked) ~ .site .contact-form input,
#theme-toggle:not(:checked) ~ .site .contact-form textarea {
    background: #0f172a;
    border-color: #334155;
    color: #ededed;
}
#theme-toggle:not(:checked) ~ .site .contact-form input::placeholder,
#theme-toggle:not(:checked) ~ .site .contact-form textarea::placeholder { color: #64748b; }

/* ---- FAQ dark ---- */
#theme-toggle:not(:checked) ~ .site .faq-item {
    background: #1e293b;
    border-color: #2b3a4d;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
#theme-toggle:not(:checked) ~ .site .faq-item summary { color: #f1f5f9; }
#theme-toggle:not(:checked) ~ .site .faq-item[open] summary {
    border-bottom-color: #2b3a4d;
    color: #4fd1c5;
}
#theme-toggle:not(:checked) ~ .site .faq-answer { color: #94a3b8; }

/* ---- Footer dark ---- */
#theme-toggle:not(:checked) ~ .site .footer { background: #0b1c1a; }
#theme-toggle:not(:checked) ~ .site .footer-brand p,
#theme-toggle:not(:checked) ~ .site .footer-address p { color: #aebfbc; }
#theme-toggle:not(:checked) ~ .site .footer-col h4 { color: #e8f5f2; }
#theme-toggle:not(:checked) ~ .site .footer-col ul a { color: #aebfbc; }
#theme-toggle:not(:checked) ~ .site .footer-col ul a:hover { color: #4fd1c5; }
#theme-toggle:not(:checked) ~ .site .social-links a {
    background: #1e293b;
    color: #4fd1c5;
}
#theme-toggle:not(:checked) ~ .site .footer-bottom { background: #174f49; }

/* ---- Page hero crumb dark ---- */
#theme-toggle:not(:checked) ~ .site .page-intro { color: #94a3b8; }

/* ---- Mobile nav menu dark ---- */
@media (max-width: 768px) {
    #theme-toggle:not(:checked) ~ .site .nav { background: #1e293b; }
    #theme-toggle:not(:checked) ~ .site .nav a { color: #cbd5e1; }
}


/* ==========================================================
   20. ANIMATIONS  (pure CSS — koi JavaScript nahi)
   Saari animations CSS keyframes se bani hain.
   Note: CSS-only hone ki wajah se ye animations page load
   par chalti hain (scroll ke sath nahi, kyunki uske liye JS
   chahiye hoti).
   ========================================================== */

/* ---- 1) Entrance: cards neeche se upar fade ho kar aate hain ----
   fill-mode: backwards → delay ke waqt card hidden rehta hai,
   aur animation khatam hone ke baad hover effects (lift) phir
   se sahi kaam karte hain. */
.stat-card,
.fp-card,
.campus-card,
.course-card,
.testi-card,
.leader-card,
.step,
.partner-card {
    animation: fadeUp 0.6s ease backwards;
}

/* Har grid ke cards ek ek karke (staggered) aate hain */

/* Impact stats — 4 cards */
.stats-grid > :nth-child(1) { animation-delay: 0s; }
.stats-grid > :nth-child(2) { animation-delay: 0.12s; }
.stats-grid > :nth-child(3) { animation-delay: 0.24s; }
.stats-grid > :nth-child(4) { animation-delay: 0.36s; }

/* Digital footprint — 6 cards */
.footprint-grid > :nth-child(1) { animation-delay: 0s; }
.footprint-grid > :nth-child(2) { animation-delay: 0.08s; }
.footprint-grid > :nth-child(3) { animation-delay: 0.16s; }
.footprint-grid > :nth-child(4) { animation-delay: 0.24s; }
.footprint-grid > :nth-child(5) { animation-delay: 0.32s; }
.footprint-grid > :nth-child(6) { animation-delay: 0.4s; }

/* Campuses — 6 cards */
.campus-grid > :nth-child(1) { animation-delay: 0s; }
.campus-grid > :nth-child(2) { animation-delay: 0.08s; }
.campus-grid > :nth-child(3) { animation-delay: 0.16s; }
.campus-grid > :nth-child(4) { animation-delay: 0.24s; }
.campus-grid > :nth-child(5) { animation-delay: 0.32s; }
.campus-grid > :nth-child(6) { animation-delay: 0.4s; }

/* Courses — 6 cards */
.course-grid > :nth-child(1) { animation-delay: 0s; }
.course-grid > :nth-child(2) { animation-delay: 0.08s; }
.course-grid > :nth-child(3) { animation-delay: 0.16s; }
.course-grid > :nth-child(4) { animation-delay: 0.24s; }
.course-grid > :nth-child(5) { animation-delay: 0.32s; }
.course-grid > :nth-child(6) { animation-delay: 0.4s; }

/* Testimonials — 6 cards */
.testi-grid > :nth-child(1) { animation-delay: 0s; }
.testi-grid > :nth-child(2) { animation-delay: 0.08s; }
.testi-grid > :nth-child(3) { animation-delay: 0.16s; }
.testi-grid > :nth-child(4) { animation-delay: 0.24s; }
.testi-grid > :nth-child(5) { animation-delay: 0.32s; }
.testi-grid > :nth-child(6) { animation-delay: 0.4s; }

/* Partners — 10 cards (chota step taake sab jaldi aa jayein) */
.partner-grid > :nth-child(1)  { animation-delay: 0s; }
.partner-grid > :nth-child(2)  { animation-delay: 0.05s; }
.partner-grid > :nth-child(3)  { animation-delay: 0.1s; }
.partner-grid > :nth-child(4)  { animation-delay: 0.15s; }
.partner-grid > :nth-child(5)  { animation-delay: 0.2s; }
.partner-grid > :nth-child(6)  { animation-delay: 0.25s; }
.partner-grid > :nth-child(7)  { animation-delay: 0.3s; }
.partner-grid > :nth-child(8)  { animation-delay: 0.35s; }
.partner-grid > :nth-child(9)  { animation-delay: 0.4s; }
.partner-grid > :nth-child(10) { animation-delay: 0.45s; }

/* Leadership — 2 cards (section-head ke baad seedhe container mein) */
.leader-card { animation-delay: 0s; }
.leader-card + .leader-card { animation-delay: 0.15s; }

/* Process steps — 6 steps (nth-of-type sirf div.step count karta hai,
   kyunki beech mein img.step-arrow bhi aate hain) */
div.step:nth-of-type(1) { animation-delay: 0s; }
div.step:nth-of-type(2) { animation-delay: 0.1s; }
div.step:nth-of-type(3) { animation-delay: 0.2s; }
div.step:nth-of-type(4) { animation-delay: 0.3s; }
div.step:nth-of-type(5) { animation-delay: 0.4s; }
div.step:nth-of-type(6) { animation-delay: 0.5s; }

/* ---- 2) Section headings bhi softly aate hain ---- */
.section-head {
    animation: fadeUp 0.7s ease backwards;
}

/* ---- 3) Har section title ke neeche teal underline (growBar) ---- */
.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--teal), #4fd1c5);
    animation: growBar 0.8s ease 0.3s backwards;
}
@keyframes growBar {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

/* ---- 4) Impact numbers pop (scale overshoot ke saath) ---- */
.stat-number {
    animation: popIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.4); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---- 5) Green buttons par shine effect (hover par light sweep) ---- */
.btn-green {
    position: relative;
    overflow: hidden;
}
.btn-green::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}
.btn-green:hover::before {
    left: 130%;
}

/* ---- 6) CTA banner ka button softly pulse karta hai (attention) ---- */
.cta-box .btn-green {
    animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%   { box-shadow: 0 10px 40px rgba(44, 142, 132, 0.3); }
    50%  { box-shadow: 0 10px 55px rgba(44, 142, 132, 0.65); }
    100% { box-shadow: 0 10px 40px rgba(44, 142, 132, 0.3); }
}

/* ---- 7) Process mein hover karne par arrow aage badhta hai ---- */
.step:hover + .step-arrow {
    animation: nudgeArrow 0.5s ease;
}
@keyframes nudgeArrow {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(8px); }
    100% { transform: translateX(0); }
}

/* ---- 8) Slider ki har image dheemi si pan karti hai (alive feel) ---- */
.slide {
    animation: kenburns 14s ease-in-out infinite alternate;
}
@keyframes kenburns {
    from { background-position: center; }
    to   { background-position: 18% center; }
}

/* ---- 9) Inner pages ka hero content fade ho kar aata hai ---- */
.page-hero-content {
    animation: fadeUp 0.8s ease backwards;
}

/* ---- 10) Agar user ko motion pasand nahi to sab animations band ----
   (accessibility ke liye, sirf system setting ke hisaab se) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
