/* =========================================
   GATI SHIKSHA — DESIGN SYSTEM
   ========================================= */


/* =========================================
   ROOT VARIABLES
   ========================================= */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}

:root {

    /* Colors */
    --color-bg: #f8f8f6;
    --color-surface: #ffffff;
    --color-text: #171717;
    --color-text-muted: #666666;
    --color-border: #e5e5e2;

    /* Accent */
    --color-accent: #1f4f46;
    --color-accent-light: #e8f0ee;

    /* Typography */
    --font-main: "Inter", sans-serif;

    /* Layout */
    --container-width: 1600px;

    /* Spacing */
    --section-padding: 100px;
}


/* =========================================
   GLOBAL RESET
   ========================================= */

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


/* =========================================
   HTML
   ========================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================
   BODY
   ========================================= */

body {
    background-color: var(--color-bg);

    color: var(--color-text);

    font-family: var(--font-main);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


/* =========================================
   HEADINGS
   ========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;

    letter-spacing: -0.02em;
}


/* =========================================
   PARAGRAPHS
   ========================================= */

p {
    color: var(--color-text-muted);
}


/* =========================================
   LINKS
   ========================================= */

a {
    color: inherit;

    text-decoration: none;
}


/* =========================================
   IMAGES
   ========================================= */

img {
    max-width: 100%;

    height: auto;

    display: block;
}


/* =========================================
   CONTAINER
   ========================================= */

.container-custom {
    width: min(calc(100% - 40px),
            var(--container-width));

    margin-inline: auto;
}


/* =========================================
   SECTION
   ========================================= */

.section {
    padding: var(--section-padding) 0;
}


/* =========================================
   SECTION LABEL
   ========================================= */

.section-label {
    font-size: 17px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    line-height: 1.2;

    color: var(--color-text-muted);

    margin-bottom: 16px;
}

/* Responsive scaling — keeps labels readable, never huge */
@media (max-width: 768px) {
    .section-label { font-size: 15px; }
}
@media (max-width: 480px) {
    .section-label { font-size: 14px; }
}


/* =========================================
   SECTION TITLE
   ========================================= */

.section-title {
    font-size: clamp(2rem,
            4vw,
            3.5rem);

    line-height: 1.1;

    max-width: 800px;
}


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

.btn-gati {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 22px;

    border: 1px solid var(--color-text);

    background: var(--color-text);

    color: white;

    font-size: 0.9rem;

    font-weight: 500;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.btn-gati:hover {
    background: transparent;

    color: var(--color-text);

    transform: translateY(-2px);
}


/* =========================================
   OUTLINE BUTTON
   ========================================= */

.btn-gati-outline {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 22px;

    border: 1px solid var(--color-border);

    background: transparent;

    color: var(--color-text);

    font-size: 0.9rem;

    font-weight: 500;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}


.btn-gati-outline:hover {
    background: var(--color-surface);

    border-color: var(--color-text);
}


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

.gati-card {
    background: var(--color-surface);

    border: 1px solid var(--color-border);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}


.gati-card:hover {
    transform: translateY(-4px);

    border-color: #ccccca;
}


/* =========================================
   DIVIDER
   ========================================= */

.gati-divider {
    width: 100%;

    height: 1px;

    background: var(--color-border);
}


/* =========================================
   SCROLL REVEAL
   ========================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   NAVBAR
   ========================================= */

.gati-navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(228, 228, 226, 0.96);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid transparent;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease;
}


/* Navbar after scrolling */

.gati-navbar.scrolled {
    background: rgba(240, 243, 240, 0.945);

    border-bottom-color:
        var(--color-border);
}


/* Navbar inner */

.navbar-inner {
    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* Brand */

.gati-brand {
    display: block;

    color: var(--color-text);

    font-size: 1.15rem;

    font-weight: 600;

    line-height: 1;

    letter-spacing: -0.03em;
}


/* Desktop navigation */

.gati-nav-links {
    display: flex;

    align-items: center;

    gap: 28px;
}


.gati-nav-links a {
    display: block;

    position: relative;

    color: var(--color-text-muted);

    font-size: 0.85rem;

    font-weight: 500;

    line-height: 1;

    transition:
        color 0.25s ease;
}


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


/* Navigation hover underline */

.gati-nav-links a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 100%;

    height: 1px;

    background: var(--color-text);

    transform: scaleX(0);

    transform-origin: right;

    transition:
        transform 0.25s ease;
}


.gati-nav-links a:hover::after {
    transform: scaleX(1);

    transform-origin: left;
}


/* =========================================
   MOBILE MENU BUTTON
   ========================================= */

.gati-menu-button {
    display: none;

    width: 42px;

    height: 42px;

    padding: 0;

    border: 1px solid var(--color-border);

    background: transparent;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 6px;

    cursor: pointer;
}


.gati-menu-button span {
    display: block;

    width: 18px;

    height: 1.5px;

    background: var(--color-text);
}


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

.gati-mobile-menu {
    display: none;

    width: 100%;

    padding: 10px 20px 25px;

    background: var(--color-bg);

    border-top: 1px solid var(--color-border);
}


.gati-mobile-menu a {
    display: block;

    padding: 14px 0;

    color: var(--color-text);

    font-size: 1rem;

    border-bottom: 1px solid var(--color-border);
}


.gati-mobile-menu.active {
    display: block;
}


/* =========================================
   OPENING SECTION
   ========================================= */

.gati-opening {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    background-color: var(--color-bg);
    background-image: url('../images/media/mainpage.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;

    text-align: center;
}


/* Opening introduction */

.opening-intro {
    max-width: 960px;

    margin-inline: auto;

    text-align: center;
}


.opening-intro .section-label {
    display: inline-block;

    font-size: 0.75rem;

    font-weight: 600;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: var(--color-accent);

    margin-bottom: 22px;

    text-align: center;
}


/* Opening title */

.opening-title {
    max-width: 920px;

    margin-inline: auto;

    text-align: center;

    font-family: var(--font-main);

    font-size: clamp(3.2rem,
            5.5vw,
            5.2rem);

    line-height: 1.08;

    letter-spacing: -0.04em;

    font-weight: 500;

    color: var(--color-text);
}


/* Opening description */

.opening-description {
    max-width: 680px;

    margin-top: 30px;

    margin-inline: auto;

    text-align: center;

    font-size: 1.05rem;

    line-height: 1.75;

    color: var(--color-text-muted);
}


/* Opening meta information */

.opening-meta {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

    max-width: 100%;

    margin-top: 70px;

    margin-inline: auto;

    padding-top: 35px;

    border-top:
        1px solid var(--color-border);

    text-align: center;
}


.opening-meta-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 6px;
}


.meta-label {
    font-size: 0.7rem;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--color-text-muted);

    text-align: center;
}


.meta-value {
    font-size: 0.9rem;

    color: var(--color-text);

    text-align: center;
}


/* =========================================
   GATI SHIKSHA MAIN IMAGE SECTION
   ========================================= */

.gati-image-section {
    padding-top: 40px;

    padding-bottom: 20px;

    background-color: var(--color-bg);
}


.gati-main-image-wrapper {

    position: relative;

    width: 100%;

    overflow: hidden;

    border:
        1px solid rgba(23, 32, 31, 0.10);

    border-radius: 16px;

    background-color:
        var(--color-surface);

    box-shadow:
        0 18px 45px rgba(23, 32, 31, 0.07);

}


.gati-main-image {
    width: 100%;

    height: auto;

    display: block;

    object-fit: contain;
}

/* =========================================
   PARTNER / INITIATIVE LOGOS
   ========================================= */

.partner-logos-section {
    padding-top: 70px;

    padding-bottom: 70px;

    background-color: var(--color-surface);

    border-top:
        1px solid var(--color-border);
}


.partner-logos {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 50px;

    align-items: center;

    justify-items: center;
}


.partner-logo {
    width: 100%;

    max-width: 220px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.partner-logo img {
    width: 100%;

    height: auto;

    display: block;

    object-fit: contain;
}

/* =========================================
   OPENING WORK IMAGE GRID
   ========================================= */

.opening-work-grid {
    display: grid;

    grid-template-columns:
        1.6fr 1fr;

    gap: 12px;

    margin-top: 70px;
}


/* Large image */

.opening-image-large {
    height: 650px;
}


/* Side image grid */

.opening-side-grid {
    display: grid;

    grid-template-rows:
        1fr 1fr;

    gap: 12px;
}


.opening-side-grid .opening-image {
    height: 319px;
}


/* Image container */

.opening-image {
    position: relative;

    overflow: hidden;

    background:
        var(--color-border);
}


/* Actual images */

.opening-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


.opening-image:hover img {
    transform: scale(1.025);
}


/* =========================================
   IMAGE PLACEHOLDERS
   ========================================= */

.image-placeholder {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e9e9e6;

    color: #777;

    font-size: 0.85rem;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


/* Image caption */

.image-caption {
    position: absolute;

    left: 20px;

    right: 20px;

    bottom: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    color: white;

    font-size: 0.8rem;

    font-weight: 500;

    z-index: 2;
}


/* Image bottom gradient */

.opening-image::after {
    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 35%;

    background:
        linear-gradient(transparent,
            rgba(0, 0, 0, 0.65));

    pointer-events: none;
}


/* =========================================
   PRESS
   ========================================= */

.opening-press {
    display: grid;
    grid-template-columns:
        1fr 2fr;
    align-items: center;
    gap: 40px;
    margin-top: 25px;
    padding-top: 10px;

    border-top:
        1px solid var(--color-border);
}


.press-label {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.press-title {
    font-size: 1rem;

    font-weight: 500;
}


.press-items {
    display: flex;

    align-items: center;

    gap: 20px;
}


.press-item {
    width: 180px;

    height: 90px;

    overflow: hidden;

    border:
        1px solid var(--color-border);

    background:
        var(--color-surface);
}


.press-item img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


.press-item:hover img {
    transform: scale(1.04);
}


/* Press placeholder */

.press-placeholder {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #777;

    font-size: 0.75rem;

    letter-spacing: 0.05em;
}


/* =========================================
   OUR WORK
   ========================================= */

.work-section {
    position: relative;
    padding-top: 40px;
    border-top:
        1px solid var(--color-border);
    background-image: url('../images/media/programs-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Subtle overlay so STEM illustrations stay visible but content is readable */
.work-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(248, 248, 246, 0.72);
    pointer-events: none;
    z-index: 0;
}

/* Ensure all direct children of work-section sit above the overlay */
.work-section > * {
    position: relative;
    z-index: 1;
}


/* Work header */

.work-header {
    display: grid;

    grid-template-columns:
        1.4fr 0.6fr;

    gap: 60px;

    align-items: end;

    margin-bottom: 70px;
}


/* Work intro */

.work-intro {
    max-width: 400px;

    margin: 0;

    font-size: 0.95rem;

    line-height: 1.7;
}


/* Work list */

.work-list {
    border-top:
        1px solid var(--color-border);
}


/* Work item */

.work-item {
    display: grid;

    grid-template-columns:
        70px 1fr 300px;

    gap: 40px;

    align-items: center;

    min-height: 230px;

    padding: 30px 0;

    border-bottom:
        1px solid var(--color-border);

    transition:
        padding 0.3s ease;
}


.work-item:hover {
    padding-left: 10px;

    padding-right: 10px;
}


/* Work number */

.work-number {
    font-size: 0.75rem;

    color: var(--color-text-muted);

    font-weight: 500;
}


/* Work content */

.work-content h3 {
    margin-bottom: 12px;

    font-size: 1.7rem;

    font-weight: 500;

    letter-spacing: -0.03em;
}


.work-content p {
    max-width: 560px;

    margin: 0;

    font-size: 0.9rem;

    line-height: 1.7;
}


/* Work placeholder */

.work-placeholder {
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: #e9e9e6;
    transition: background-color 0.3s ease;
}

.work-placeholder img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


/* Subtle image zoom on hover */

.work-item:hover .work-placeholder img {
    transform: scale(1.03);
}

/* =========================================
   SCROLL OFFSET
   ========================================= */

section {
    scroll-margin-top: 90px;
}


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

@media (max-width: 992px) {

    .opening-work-grid {
        grid-template-columns: 1fr;
    }


    .opening-image-large {
        height: 500px;
    }


    .opening-side-grid {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            280px;
    }


    .opening-side-grid .opening-image {
        height: 280px;
    }


    .work-item {
        grid-template-columns:
            50px 1fr 240px;

        gap: 25px;
    }

}


/* =========================================
   COURSES
   ========================================= */

.courses-section {
    border-top: 1px solid var(--color-border);
}


.course-list {
    margin-top: 60px;
}


.course-item {
    display: grid;

    grid-template-columns:
        70px minmax(0, 1fr) 340px;

    gap: 40px;

    padding: 40px 0;

    border-top: 1px solid var(--color-border);

    align-items: center;
}


.course-item:last-child {
    border-bottom: 1px solid var(--color-border);
}


.course-number {
    font-size: 14px;

    color: var(--color-text-muted);

    font-weight: 500;
}


.course-content h3 {
    margin: 10px 0 14px;

    font-size: 28px;

    font-weight: 500;

    line-height: 1.2;
}


.course-content p {
    max-width: 650px;

    color: var(--color-text-muted);

    line-height: 1.7;

    margin-bottom: 20px;
}


.course-meta {
    display: flex;

    gap: 25px;

    flex-wrap: wrap;

    font-size: 14px;
}


.course-meta a {
    color: var(--color-text);

    text-decoration: none;

    border-bottom: 1px solid var(--color-text);

    padding-bottom: 2px;
}


.course-placeholder {
    min-height: 220px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--color-border);

    color: var(--color-text-muted);

    font-size: 13px;

    text-align: center;

    padding: 20px;

    background: transparent;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}


.course-placeholder img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: block;
    object-fit: cover;
}


.course-placeholder {
    padding: 0;
    border: 0;
}


.course-placeholder::before {
    display: none;
}


.course-item:hover .course-placeholder {
    background: var(--color-text);

    color: var(--color-bg);
}


/* =========================================
   GATISHAALA
   ========================================= */

.gatishaala-section {
    border-top: 1px solid var(--color-border);
}


.gatishaala-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

    padding: 100px 0;
}


.gatishaala-content {
    min-width: 0;
}


.gatishaala-description {
    max-width: 650px;

    margin-top: 25px;

    color: var(--color-text-muted);

    line-height: 1.8;

    font-size: 17px;
}


.gatishaala-feature {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 40px;

    padding-top: 20px;

    border-top: 1px solid var(--color-border);

    max-width: 400px;
}


.gatishaala-placeholder {
    min-height: 350px;

    border: 1px solid var(--color-border);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--color-text-muted);
}


.gatishaala-placeholder span {
    font-size: 32px;

    color: var(--color-text);

    margin-bottom: 10px;
}


.gatishaala-placeholder small {
    font-size: 13px;
}


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

@media (max-width: 900px) {

    .course-item {
        grid-template-columns:
            50px 1fr;

        gap: 20px;
    }


    .course-placeholder {
        grid-column: 2;

        min-height: 120px;
    }


    .gatishaala-layout {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 70px 0;
    }


    .gatishaala-placeholder {
        min-height: 280px;
    }

    .partner-logos {
        gap: 35px;
    }

    .partner-logo {
        max-width: 180px;
    }

}


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

@media (max-width: 768px) {

    :root {
        --section-padding: 70px;
    }


    .container-custom {
        width: min(calc(100% - 30px),
                var(--container-width));
    }


    /* Navbar */

    .navbar-inner {
        height: 68px;
    }


    .gati-nav-links {
        display: none;
    }


    .gati-menu-button {
        display: flex;
    }


    /* Opening */

    .gati-opening {
        padding-top: 115px;

        padding-bottom: 70px;
    }


    .opening-title {
        font-size: clamp(2.7rem,
                12vw,
                4rem);

        line-height: 1;
    }


    .opening-description {
        font-size: 1rem;

        margin-top: 24px;
    }


    .opening-meta {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 50px;
    }


    /* Opening work */

    .opening-work-grid {
        grid-template-columns: 1fr;

        margin-top: 50px;
    }


    .opening-image-large {
        height: 420px;
    }


    .opening-side-grid {
        grid-template-columns: 1fr;

        grid-template-rows: auto;
    }


    .opening-side-grid .opening-image {
        height: 280px;
    }


    /* Press */

    .opening-press {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .press-items {
        gap: 10px;

        flex-wrap: wrap;
    }


    .press-item {
        width: 150px;

        height: 75px;
    }


    /* Work header */

    .work-header {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-bottom: 50px;
    }


    /* Work item */

    .work-item {
        grid-template-columns:
            30px 1fr;

        gap: 20px;

        padding: 25px 0;
    }


    .work-placeholder {
        grid-column: 2;

        width: 100%;

        height: 200px;
    }


    .work-content h3 {
        font-size: 1.4rem;
    }


    .work-content p {
        font-size: 0.85rem;
    }


    /* Courses */

    .course-item {
        grid-template-columns: 1fr;

        gap: 15px;

        padding: 30px 0;
    }


    .course-placeholder {
        grid-column: auto;

        min-height: 100px;
    }


    .course-content h3 {
        font-size: 23px;
    }


    /* GatiShaala */

    .gatishaala-layout {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 60px 0;
    }


    .gatishaala-description {
        font-size: 16px;
    }


    .gatishaala-placeholder {
        min-height: 220px;
    }


    .gatishaala-placeholder span {
        font-size: 27px;
    }


    /* Mobile menu */

    .gati-mobile-menu.active {
        display: block;
    }

    /* Partner Logos */

    .partner-logos-section {
        padding-top: 50px;

        padding-bottom: 50px;
    }

    /* Mobile Partner Logos: Single column, circular containers */
    .partner-logos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px; /* Spacing between circles */
    }

    .partner-logo {
        /* Circular container */
        width: clamp(170px, 50vw, 210px);
        height: clamp(170px, 50vw, 210px);
        max-width: none;
        border-radius: 50%;
        background-color: #f7f7f4; /* Very light background */
        border: 1px solid #e0e0db; /* Subtle border */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 25px;
    }

    .partner-logo img {
        max-width: 85%;
        max-height: 85%;
        width: auto;
        height: auto;
        object-fit: contain;
        mix-blend-mode: multiply; /* Blends white logo backgrounds into the circle */
    }
}


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

@media (max-width: 480px) {

    .container-custom {
        width: calc(100% - 28px);
    }


    .opening-title {
        font-size: 2.7rem;
    }


    .opening-image-large {
        height: 350px;
    }


    .opening-side-grid .opening-image {
        height: 220px;
    }


    .work-content h3 {
        font-size: 1.25rem;
    }


    .work-content p {
        font-size: 0.85rem;
    }


    .press-items {
        flex-direction: column;

        align-items: flex-start;
    }


    .press-item {
        width: 100%;

        max-width: 220px;
    }

}


/* =========================================
   DESKTOP SAFETY
   ========================================= */

@media (min-width: 769px) {

    .gati-mobile-menu {
        display: none !important;
    }


    .gati-menu-button {
        display: none !important;
    }


    .gati-nav-links {
        display: flex;
    }

    /* =========================================
   IMPACT
   ========================================= */

    .impact-section {
        border-top: 1px solid var(--color-border);
    }


    .impact-header {
        max-width: 750px;

        margin-bottom: 70px;
    }


    .impact-grid {
        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        border-top: 1px solid var(--color-border);

        border-bottom: 1px solid var(--color-border);
    }


    .impact-item {
        padding: 45px 30px;

        border-right: 1px solid var(--color-border);
    }


    .impact-item:last-child {
        border-right: none;
    }


    .impact-value {
        font-size: clamp(2.5rem,
                4vw,
                4.5rem);

        line-height: 1;

        letter-spacing: -0.05em;

        font-weight: 500;

        color: var(--color-text);

        margin-bottom: 18px;
    }


    .impact-label {
        font-size: 0.9rem;

        font-weight: 600;

        color: var(--color-text);

        line-height: 1.4;
    }


    .impact-description {
        margin-top: 12px;

        font-size: 0.8rem;

        line-height: 1.6;

        color: var(--color-text-muted);
    }


    /* =========================================
   IMPACT RESPONSIVE
   ========================================= */

    @media (max-width: 900px) {

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


        .impact-item:nth-child(2) {
            border-right: none;
        }


        .impact-item:nth-child(-n + 2) {
            border-bottom: 1px solid var(--color-border);
        }

    }


    @media (max-width: 600px) {

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


        .impact-item {
            border-right: none;

            border-bottom: 1px solid var(--color-border);
        }


        .impact-item:last-child {
            border-bottom: none;
        }


        .impact-value {
            font-size: 3rem;
        }

    }

    /* =========================================
   IMPACT
   ========================================= */

    .impact-section {
        border-top: 1px solid var(--color-border);
    }


    .impact-header {
        max-width: 750px;

        margin-bottom: 70px;
    }


    .impact-grid {
        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        border-top: 1px solid var(--color-border);

        border-bottom: 1px solid var(--color-border);
    }


    .impact-item {
        padding: 45px 30px;

        border-right: 1px solid var(--color-border);
    }


    .impact-item:last-child {
        border-right: none;
    }


    .impact-value {
        font-size: clamp(2.5rem,
                4vw,
                4.5rem);

        line-height: 1;

        letter-spacing: -0.05em;

        font-weight: 500;

        color: var(--color-text);

        margin-bottom: 18px;
    }


    .impact-label {
        font-size: 0.9rem;

        font-weight: 600;

        color: var(--color-text);

        line-height: 1.4;
    }


    .impact-description {
        margin-top: 12px;

        font-size: 0.8rem;

        line-height: 1.6;

        color: var(--color-text-muted);
    }


    /* =========================================
   IMPACT RESPONSIVE
   ========================================= */

    @media (max-width: 900px) {

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


        .impact-item:nth-child(2) {
            border-right: none;
        }


        .impact-item:nth-child(-n + 2) {
            border-bottom: 1px solid var(--color-border);
        }

    }


    @media (max-width: 600px) {

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


        .impact-item {
            border-right: none;

            border-bottom: 1px solid var(--color-border);
        }


        .impact-item:last-child {
            border-bottom: none;
        }


        .impact-value {
            font-size: 3rem;
        }

    }

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

    .leadership-section {
        border-top: 1px solid var(--color-border);
    }


    .leadership-header {
        max-width: 100%;

        margin-bottom: 50px;
    }


    .leader-list {
        border-top: 1px solid var(--color-border);
    }


    .leader-item {
        display: grid;

        grid-template-columns:
            70px 1fr 300px;

        gap: 40px;

        align-items: center;

        padding: 45px 0;

        border-bottom: 1px solid var(--color-border);
    }


    .leader-number {
        font-size: 14px;

        color: var(--color-text-muted);
    }


    .leader-content h3 {
        font-size: 28px;

        font-weight: 500;

        line-height: 1.2;

        margin-bottom: 8px;
    }


    .leader-role {
        font-size: 14px;

        font-weight: 600;

        color: var(--color-text);

        margin-bottom: 18px;
    }


    .leader-content p {
        max-width: 600px;

        font-size: 15px;

        line-height: 1.7;

        margin: 0;
    }



    /* =========================================
   /* =========================================
   LEADERSHIP RESPONSIVE
   ========================================= */

    @media (max-width: 900px) {

        .leader-item {
            grid-template-columns: 50px minmax(0, 1fr) 240px;
            gap: 25px;
        }

        .leader-placeholder {
            grid-column: auto;

            width: 240px;
            height: 200px;

            min-height: 0;
        }

    }


    @media (max-width: 700px) {

        .leader-item {
            grid-template-columns: 45px 1fr;
            gap: 20px;
        }

        .leader-placeholder {
            grid-column: 2;

            width: 100%;
            max-width: 280px;
            height: 220px;

            margin-top: 10px;
        }

    }


    @media (max-width: 600px) {

        .leader-item {
            grid-template-columns: 1fr;
            gap: 15px;
            padding: 35px 0;
        }

        .leader-number {
            grid-column: 1;
        }

        .leader-content {
            grid-column: 1;
        }

        .leader-placeholder {
            grid-column: 1;

            width: 100%;
            max-width: 300px;
            height: 230px;

            margin-top: 10px;
        }

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

    }

    /* =========================================
   ADVISORY MENTORS
   ========================================= */

    .mentors-section {
        border-top: 1px solid var(--color-border);
    }


    .mentor-list {
        border-top: 1px solid var(--color-border);
    }


    .mentor-item {
        display: grid;

        grid-template-columns:
            70px 1fr 300px;

        gap: 40px;

        align-items: center;

        padding: 40px 0;

        border-bottom: 1px solid var(--color-border);
    }


    .mentor-number {
        font-size: 14px;

        color: var(--color-text-muted);
    }


    .mentor-content h3 {
        font-size: 24px;

        font-weight: 500;

        line-height: 1.2;

        margin-bottom: 8px;
    }


    .mentor-role {
        font-size: 14px;

        font-weight: 600;

        color: var(--color-text);

        margin-bottom: 16px;
    }


    .mentor-content p {
        max-width: 600px;

        font-size: 14px;

        line-height: 1.7;

        margin: 0;
    }

    /* 



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

    .contact-layout {
        display: grid;

        grid-template-columns: 0.7fr 1.3fr;

        gap: 80px;

        align-items: start;
    }


    .contact-info {
        display: flex;

        flex-direction: column;

        gap: 35px;
    }


    .contact-info-item p {
        max-width: 300px;

        margin: 0;

        font-size: 14px;

        line-height: 1.7;
    }


    .inquiry-form {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 24px 20px;

        width: 100%;
    }


    .inquiry-form .form-group {
        min-width: 0;
    }


    .inquiry-form label {
        display: block;

        margin-bottom: 8px;

        color: var(--color-text);

        font-size: 0.8rem;

        font-weight: 500;
    }


    .inquiry-form input,
    .inquiry-form select,
    .inquiry-form textarea {
        display: block;

        width: 100%;

        border: 1px solid var(--color-border);

        border-radius: 0;

        background: var(--color-surface);

        color: var(--color-text);

        font: inherit;

        font-size: 0.9rem;

        outline: none;

        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }


    .inquiry-form input,
    .inquiry-form select {
        height: 46px;

        padding: 0 12px;
    }


    .inquiry-form textarea {
        min-height: 150px;

        padding: 12px;

        resize: vertical;
    }


    .inquiry-form input:focus,
    .inquiry-form select:focus,
    .inquiry-form textarea:focus {
        border-color: var(--color-accent);

        box-shadow: 0 0 0 2px var(--color-accent-light);
    }


    .inquiry-form .form-group:nth-of-type(5),
    .inquiry-form .inquiry-submit {
        grid-column: 1 / -1;
    }


    .inquiry-submit {
        justify-self: start;

        border: 1px solid var(--color-text);

        padding: 12px 22px;

        background: var(--color-text);

        color: white;

        cursor: pointer;

        font: inherit;

        font-size: 0.9rem;

        font-weight: 500;

        transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }


    .inquiry-submit:hover {
        background: transparent;

        color: var(--color-text);

        transform: translateY(-2px);
    }


    /* =========================================
   MENTORS RESPONSIVE
   ========================================= */

    @media (max-width: 900px) {

        .mentor-item {
            grid-template-columns:
                50px 1fr;

            gap: 25px;
        }


        .mentor-placeholder {
            grid-column: 2;

            min-height: 200px;
        }


        .contact-layout {
            grid-template-columns: 1fr 1.5fr;

            gap: 45px;
        }

    }


    @media (max-width: 600px) {

        .mentor-item {
            grid-template-columns: 1fr;

            gap: 15px;

            padding: 35px 0;
        }


        .mentor-placeholder {
            grid-column: auto;

            min-height: 180px;
        }


        .mentor-content h3 {
            font-size: 22px;
        }


        .contact-layout {
            grid-template-columns: 1fr;

            gap: 45px;
        }


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


        .inquiry-form .form-group:nth-of-type(5),
        .inquiry-form .inquiry-submit {
            grid-column: auto;
        }

    }

    /* =========================================
   FLASH MESSAGES
   ========================================= */

    .flash-messages {
        margin-bottom: 25px;
    }


    .flash-message {
        padding: 14px 16px;

        border: 1px solid var(--color-border);

        font-size: 14px;

        line-height: 1.5;
    }


    .flash-message.success {
        border-color: #777;
    }


    .flash-message.error {
        border-color: #777;
    }

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

    .gati-footer {
        border-top: 1px solid var(--color-border);

        margin-top: 0;

        padding: 60px 0 30px;
    }


    .footer-main {
        display: flex;

        justify-content: space-between;

        gap: 60px;

        padding-bottom: 60px;
    }


    .footer-brand {
        max-width: 400px;
    }


    .footer-logo {
        font-size: 20px;

        font-weight: 600;

        margin-bottom: 15px;
    }


    .footer-brand p {
        max-width: 350px;

        font-size: 14px;

        line-height: 1.7;

        color: var(--color-text-muted);

        margin: 0;
    }


    .footer-links {
        display: flex;

        flex-wrap: wrap;

        justify-content: flex-end;

        gap: 12px 30px;

        max-width: 450px;
    }


    .footer-links a {
        font-size: 13px;

        color: var(--color-text);

        text-decoration: none;

        transition: opacity 0.2s ease;
    }


    .footer-links a:hover {
        opacity: 0.55;
    }


    .footer-bottom {
        border-top: 1px solid var(--color-border);

        padding-top: 25px;

        display: flex;

        justify-content: space-between;

        gap: 30px;

        font-size: 12px;

        color: var(--color-text-muted);
    }


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

    @media (max-width: 700px) {

        .footer-main {
            flex-direction: column;

            gap: 40px;
        }


        .footer-links {
            justify-content: flex-start;
        }


        .footer-bottom {
            flex-direction: column;

            gap: 10px;
        }

    }

    /* =========================================
   ADMIN PAGES
   ========================================= */

    .admin-page {
        min-height: 100vh;

        background: var(--color-background);
    }


    .admin-login-container {
        min-height: 100vh;

        display: flex;

        align-items: center;

        justify-content: center;

        padding: 30px;
    }


    .admin-login-box {
        width: 100%;

        max-width: 430px;

        border: 1px solid var(--color-border);

        padding: 50px;
    }


    .admin-login-box h1 {
        margin: 20px 0 12px;

        font-size: 36px;

        font-weight: 500;
    }


    .admin-login-description {
        color: var(--color-text-muted);

        font-size: 14px;

        line-height: 1.6;

        margin-bottom: 40px;
    }


    .admin-login-form {
        width: 100%;
    }


    .admin-messages {
        margin-bottom: 25px;
    }


    .admin-message {
        border: 1px solid var(--color-border);

        padding: 12px 14px;

        font-size: 13px;
    }


    .admin-back-link {
        display: inline-block;

        margin-top: 25px;

        font-size: 13px;

        color: var(--color-text);

        text-decoration: none;
    }


    .admin-back-link:hover {
        opacity: 0.6;
    }


    /* =========================================
   ADMIN DASHBOARD
   ========================================= */

    .admin-dashboard {
        max-width: 1200px;

        margin: 0 auto;

        padding: 70px 30px;
    }


    .admin-dashboard-header {
        display: flex;

        justify-content: space-between;

        align-items: flex-end;

        gap: 40px;

        padding-bottom: 40px;

        border-bottom: 1px solid var(--color-border);
    }


    .admin-dashboard-header h1 {
        margin: 20px 0 10px;

        font-size: 42px;

        font-weight: 500;
    }


    .admin-dashboard-header p {
        color: var(--color-text-muted);

        font-size: 14px;

        margin: 0;
    }


    .admin-actions {
        display: flex;

        gap: 10px;
    }


    .admin-secondary-button {
        border: 1px solid var(--color-border);

        padding: 11px 16px;

        color: var(--color-text);

        text-decoration: none;

        font-size: 13px;
    }


    .admin-secondary-button:hover {
        border-color: var(--color-text);
    }


    .inquiry-count {
        padding: 25px 0;

        color: var(--color-text-muted);

        font-size: 13px;
    }


    .admin-inquiry-list {
        border-top: 1px solid var(--color-border);
    }


    .admin-inquiry-card {
        display: grid;

        grid-template-columns: 70px 1fr;

        gap: 30px;

        padding: 35px 0;

        border-bottom: 1px solid var(--color-border);
    }


    .admin-inquiry-number {
        color: var(--color-text-muted);

        font-size: 13px;
    }


    .admin-inquiry-content h2 {
        margin: 0 0 12px;

        font-size: 22px;

        font-weight: 500;
    }


    .admin-inquiry-meta {
        display: flex;

        flex-wrap: wrap;

        gap: 8px 25px;

        margin-bottom: 20px;

        font-size: 12px;

        color: var(--color-text-muted);
    }


    .admin-inquiry-content p {
        max-width: 800px;

        margin: 0 0 20px;

        font-size: 14px;

        line-height: 1.7;
    }


    .admin-inquiry-date {
        font-size: 11px;

        color: var(--color-text-muted);
    }


    .no-inquiries {
        padding: 70px 0;

        text-align: center;

        border-top: 1px solid var(--color-border);
    }


    .no-inquiries h2 {
        font-size: 24px;

        font-weight: 500;

        margin-bottom: 10px;
    }


    .no-inquiries p {
        color: var(--color-text-muted);

        font-size: 14px;
    }


    /* =========================================
   ADMIN RESPONSIVE
   ========================================= */

    @media (max-width: 700px) {

        .admin-login-box {
            padding: 35px 25px;
        }


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


        .admin-dashboard-header {
            flex-direction: column;

            align-items: flex-start;
        }


        .admin-actions {
            width: 100%;
        }


        .admin-secondary-button {
            flex: 1;

            text-align: center;
        }


        .admin-inquiry-card {
            grid-template-columns: 1fr;

            gap: 12px;
        }

    }
}


/* Contact rules apply at every viewport size. */
.contact-layout {
    display: grid;

    grid-template-columns: 0.7fr 1.3fr;

    gap: 80px;

    align-items: start;
}


.contact-info {
    display: flex;

    flex-direction: column;

    gap: 35px;
}


.contact-info-item p {
    max-width: 300px;

    margin: 0;

    font-size: 14px;

    line-height: 1.7;
}


.inquiry-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px 20px;

    width: 100%;
}


.inquiry-form .form-group {
    min-width: 0;
}


.inquiry-form label {
    display: block;

    margin-bottom: 8px;

    color: var(--color-text);

    font-size: 0.8rem;

    font-weight: 500;
}


.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    display: block;

    width: 100%;

    border: 1px solid var(--color-border);

    border-radius: 0;

    background: var(--color-surface);

    color: var(--color-text);

    font: inherit;

    font-size: 0.9rem;

    outline: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.inquiry-form input,
.inquiry-form select {
    height: 46px !important;

    padding: 0 12px !important;
}


.inquiry-form textarea {
    min-height: 150px;

    padding: 12px;

    resize: vertical;
}


.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: var(--color-accent);

    box-shadow: 0 0 0 2px var(--color-accent-light);
}


.inquiry-form .form-group:nth-of-type(5),
.inquiry-form .inquiry-submit {
    grid-column: 1 / -1;
}


.inquiry-submit {
    justify-self: start;

    border: 1px solid var(--color-text);

    padding: 12px 22px;

    background: var(--color-text);

    color: white;

    cursor: pointer;

    font: inherit;

    font-size: 0.9rem;

    font-weight: 500;

    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}


.inquiry-submit:hover {
    background: transparent;

    color: var(--color-text);

    transform: translateY(-2px);
}


@media (max-width: 900px) {

    .contact-layout {
        grid-template-columns: 1fr 1.5fr;

        gap: 45px;
    }

}


@media (max-width: 600px) {

    .contact-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }


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


    .inquiry-form .form-group:nth-of-type(5),
    .inquiry-form .inquiry-submit {
        grid-column: auto;
    }

}


/* =========================================
   HOMEPAGE REFINEMENT
   ========================================= */

:root {
    --color-bg: #f5f6f2;
    --color-surface: #ffffff;
    --color-text: #17201f;
    --color-text-muted: #5f6b68;
    --color-border: #d9dfdb;
    --color-accent: #176b5b;
    --color-accent-light: #e3efeb;
    --section-padding: 112px;
}


body {
    background-color: var(--color-bg);
}


/* .gati-navbar {
    background: rgba(245, 246, 242, 0.94);
    border-bottom-color: var(--color-border);
} */
.gati-navbar {

    background: rgba(255, 255, 255, 0.90);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    border-bottom:
        1px solid rgba(23, 32, 31, 0.08);

    box-shadow:
        0 4px 18px rgba(23, 32, 31, 0.04);

}

.gati-brand {

    color: var(--color-text);

    font-size: 1.2rem;

    font-weight: 650;

    letter-spacing: -0.045em;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

}


.gati-brand:hover {

    opacity: 0.72;

    transform: translateY(-1px);

}

.gati-nav-links {

    gap: 34px;

}

.gati-brand-logo {
    width: 150px;
    height: auto;
    display: block;
    object-fit: contain;
}

.gati-nav-links a {

    color: #000000;

    font-size: 0.95rem;

    font-weight: 500;

    letter-spacing: 0.015em;

    padding: 7px 0;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}

.gati-nav-links a:hover,
.gati-nav-links a:focus-visible {

    color: var(--color-accent);

    transform: translateY(-1px);

}

.gati-nav-links a::after {
    bottom: -11px;
    background: var(--color-accent);
}


.gati-opening {

    position: relative;

    padding-top: 165px;

    padding-bottom: 82px;

    background-color: var(--color-bg);

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.12)),
        url('../images/media/mainpage.png');

    background-repeat: no-repeat;

    background-size: cover;

    background-position: center center;

    text-align: center;

}


.opening-intro {
    position: relative;

    max-width: 960px;

    margin-inline: auto;

    text-align: center;
}


.opening-intro .section-label {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    color: var(--color-accent);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-align: center;

}

.opening-intro .section-label::before {

    content: "";

    width: 22px;

    height: 1px;

    margin-right: 10px;

    background: var(--color-accent);

    opacity: 0.55;

}


.opening-intro .section-label::after {

    content: "";

    width: 22px;

    height: 1px;

    margin-left: 10px;

    background: var(--color-accent);

    opacity: 0.55;

}

.opening-title {

    max-width: 960px;

    margin-inline: auto;

    text-align: center;

    font-family: var(--font-main);

    font-size: clamp(3.2rem,
            5.5vw,
            5.4rem);

    line-height: 1.03;

    letter-spacing: -0.055em;

    font-weight: 500;

    color: var(--color-text);

    text-wrap: balance;

}

.opening-description {

    max-width: 700px;

    margin-top: 30px;

    margin-inline: auto;

    text-align: center;

    font-size: 1rem;

    line-height: 1.8;

    color: var(--color-text-muted);

    text-wrap: balance;

}

.opening-meta {

    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;

    max-width: 1050px;

    margin-top: 72px;

    margin-inline: auto;

    padding-top: 30px;

    border-top:
        1px solid rgba(23, 32, 31, 0.13);

    text-align: center;

}

.opening-meta-item {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 55px;

    padding:
        5px 25px;

    text-align: center;

    gap: 6px;

}

.opening-meta-item:not(:last-child)::after {

    content: "";

    position: absolute;

    top: 5px;

    right: 0;

    width: 1px;

    height: 45px;

    background:
        rgba(23, 32, 31, 0.12);

}

.meta-label {
    font-size: 0.7rem;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--color-text-muted);

    text-align: center;
}


.meta-value {
    font-size: 0.9rem;

    color: var(--color-text);

    text-align: center;
}


.opening-work-grid {
    margin-top: 55px;
    margin-left: 34px;
    gap: 16px;
}


.opening-image {
    border: 1px solid #cbd5d0;
    background: #dfe8e3;
}


.opening-image::before {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(23, 32, 31, 0.18);
    content: "";
    z-index: 1;
}


.opening-image::after {
    height: 100%;
    background:
        linear-gradient(135deg, transparent 49.7%, rgba(23, 32, 31, 0.18) 50%, transparent 50.3%),
        linear-gradient(transparent, rgba(23, 32, 31, 0.18));
    opacity: 0.7;
}


.image-placeholder {
    position: relative;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 28px;
    background:
        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px),
        linear-gradient(145deg, #edf3ef 0%, #c9d9d1 100%);
    color: var(--color-text);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: left;
    z-index: 2;
}


.opening-side-grid .opening-image:first-child .image-placeholder {
    background: linear-gradient(145deg, #e6eeea 0%, #b5cec4 100%);
}


.opening-side-grid .opening-image:last-child .image-placeholder {
    background: linear-gradient(145deg, #edf1ed 0%, #c7d1c5 100%);
}


.opening-press {
    margin-top: 38px;
    margin-left: 34px;
    padding-top: 20px;
}


.press-item {
    width: 160px;
    height: 70px;
    background: var(--color-surface);
}


.press-placeholder {
    color: var(--color-text);
    font-size: 0.68rem;
    font-weight: 600;
}


.section {
    padding: var(--section-padding) 0;
}


.section-title {
    max-width: 720px;
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 500;
}


.work-section,
.courses-section,
.gatishaala-section,
.impact-section,
.leadership-section,
.mentors-section {
    border-top: 1px solid var(--color-border);
}

.work-section {
    padding-top: 40px;
    background-image: url('../images/media/programs-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.work-header {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 70px;
    margin-bottom: 58px;
}


.work-intro {
    max-width: 390px;
    font-size: 0.9rem;
    line-height: 1.8;
}


.work-list,
.course-list,
.leader-list,
.mentor-list {
    border-top-color: var(--color-border);
}


.work-item,
.course-item,
.leader-item,
.mentor-item {
    border-bottom-color: var(--color-border);
    transition: background-color 0.25s ease, padding 0.25s ease;
}


.work-item:hover,
.course-item:hover,
.leader-item:hover,
.mentor-item:hover {
    background: rgba(227, 239, 235, 0.34);
}

/* Slightly more visible hover on the Programs background */
.work-item:hover {
    background: rgba(227, 239, 235, 0.55);
}


.work-item {
    grid-template-columns: 52px minmax(0, 1fr) 320px;
    gap: 34px;
    min-height: 220px;
    padding: 30px 18px;
}


.work-number,
.course-number,
.leader-number,
.mentor-number {
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}


.work-content h3,
.course-content h3,
.leader-content h3,
.mentor-content h3 {
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: -0.025em;
}


.work-content h3 {
    font-size: 1.55rem;
}


.work-content p,
.course-content p,
.leader-content p,
.mentor-content p {
    color: var(--color-text-muted);
    line-height: 1.75;
}


.work-placeholder,
.course-placeholder,
.leader-placeholder,
.mentor-placeholder {
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-accent);
}


.work-placeholder,
.course-placeholder {
    position: relative;
    overflow: hidden;
}


.work-placeholder::before,
.course-placeholder::before,
.leader-placeholder::before,
.mentor-placeholder::before {
    position: absolute;
    inset: 12px;
    border: 1px solid var(--color-border);
    content: "";
}


.course-item {
    grid-template-columns: 52px minmax(0, 1fr) 340px;
    gap: 34px;
    padding: 35px 18px;
}


.course-content h3 {
    margin-top: 8px;
    font-size: 1.65rem;
}


.course-meta {
    color: var(--color-text);
    font-size: 0.78rem;
}


.course-meta a {
    border-bottom-color: var(--color-accent);
    color: var(--color-accent);
}


.gatishaala-layout {
    gap: 90px;
    padding: 20px 0;
}


.gatishaala-feature {
    border-top-color: var(--color-accent);
}


.gatishaala-placeholder {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 35px;
    background:
        linear-gradient(rgba(23, 32, 31, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 32, 31, 0.07) 1px, transparent 1px),
        #dce9e3;
    background-size: 34px 34px;
}


.gatishaala-placeholder::before {
    position: absolute;
    top: 48px;
    right: 48px;
    width: 170px;
    height: 170px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    content: "";
    opacity: 0.55;
}


.gatishaala-placeholder span,
.gatishaala-placeholder small {
    position: relative;
    z-index: 1;
}


.gatishaala-placeholder span {
    margin-bottom: 7px;
    color: var(--color-text);
    font-size: 2.2rem;
    font-weight: 500;
}


.impact-header,
.leadership-header,
.mentors-header {
    margin-bottom: 58px;
}


.impact-grid {
    border-top-color: var(--color-border);
    border-bottom-color: var(--color-border);
}


.impact-item {
    padding: 35px 24px;
}


.impact-value {
    margin-bottom: 14px;
    color: var(--color-accent);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}


.impact-label {
    font-size: 0.82rem;
}


.mentor-item {
    grid-template-columns: 52px minmax(0, 1fr) 250px;
    gap: 34px;
    padding: 34px 18px;
}


.mentor-placeholder {
    min-height: 160px;
    position: relative;
}


.leader-placeholder span,
.mentor-placeholder span {
    position: relative;
    z-index: 1;
    color: var(--color-text);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}


.contact-section {
    border-top: 1px solid var(--color-border);
    background: #eaf0ec;
}


.contact-header {
    max-width: none;       /* full-width — two-column grid handles layout */
    margin-bottom: 58px;
}


.contact-intro {
    max-width: 520px;
    margin-top: 24px;
    font-size: 0.95rem;
    line-height: 1.8;
}


.contact-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 90px;
}


.contact-info {
    gap: 34px;
}


.contact-info-item {
    padding-top: 16px;
    border-top: 1px solid var(--color-accent);
}


.contact-info-item p {
    max-width: 280px;
    margin-top: 9px;
}


.inquiry-form {
    gap: 22px 18px;
}


.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    border-color: #c7d2cd;
    background: rgba(255, 255, 255, 0.78);
}


.inquiry-submit {
    background: var(--color-accent);
}


.inquiry-submit:hover {
    color: var(--color-accent);
}


@media (max-width: 900px) {

    .gati-opening {
        padding-top: 120px;

        padding-bottom: 60px;
    }


    .work-item,
    .course-item,
    .mentor-item {
        grid-template-columns: 42px minmax(0, 1fr) 210px;
        gap: 22px;
        padding-inline: 10px;
    }


    .contact-layout {
        gap: 45px;
    }

}


@media (max-width: 768px) {

    .gati-opening {
        padding-top: 20px;

        padding-bottom: 30px;

        background-image: none;

        background-color: var(--color-bg);
    }

    .opening-intro {
        position: relative;

        padding: 36px 20px 32px 20px;

        border-radius: 16px;

        background-image:
            linear-gradient(rgba(255, 255, 255, 0.18),
                rgba(255, 255, 255, 0.18)),
            url('../images/media/mainpage.png');

        background-repeat: no-repeat;

        background-size: cover;

        background-position: center center;

        border: 1px solid rgba(23, 32, 31, 0.08);

        box-shadow: 0 10px 30px rgba(23, 32, 31, 0.05);

        overflow: hidden;
    }

    .work-header {
        grid-template-columns: 1fr;
    }


    .opening-intro,
    .opening-meta,
    .opening-work-grid,
    .opening-press {
        margin-left: 0;
    }

    .opening-meta-item:not(:last-child)::after {

        display: none;

    }

    .opening-intro .section-label::before,
    .opening-intro .section-label::after {

        width: 14px;

    }

    .opening-intro {
        padding-left: 0;
    }


    .opening-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }


    .opening-meta {
        display: flex;

        flex-direction: row;

        width: 100%;

        margin-top: 24px;

        padding-top: 20px;

        gap: 4px;

        grid-template-columns: unset;
    }

    .opening-meta-item {
        flex: 1 1 0;

        min-width: 0;

        text-align: center;

        padding: 0 4px;

        border-bottom: 0;

        border-right: 1px solid var(--color-border);
    }

    .opening-meta-item:last-child {
        border-right: 0;
    }

    .opening-meta-item .meta-label {
        font-size: 0.62rem;

        letter-spacing: 0.05em;

        margin-bottom: 4px;
    }

    .opening-meta-item .meta-value {
        font-size: 0.78rem;

        line-height: 1.3;

        word-break: break-word;
    }

    .gati-main-image-wrapper {
        margin-top: 24px;
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        overflow: hidden;
    }

    /* On mobile: give the image a fixed tall frame with cover
       so it fills the space boldly like it does on desktop */
    .gati-main-image {
        width: 100%;
        height: 280px;
        object-fit: cover;
        object-position: center top;
        display: block;
    }


    .opening-work-grid {
        margin-top: 45px;
    }


    .opening-press {
        margin-top: 30px;
    }


    .work-header {
        gap: 26px;
        margin-bottom: 44px;
    }


    .work-item,
    .course-item,
    .mentor-item {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 18px;
        padding-inline: 0;
    }


    .work-placeholder,
    .course-placeholder,
    .mentor-placeholder {
        grid-column: 2;
    }

    .course-placeholder,
    .course-placeholder img {
        min-height: 200px;
    }


    .gatishaala-layout {
        gap: 42px;
        padding: 0;
    }


    .gatishaala-placeholder {
        min-height: 280px;
    }


    .impact-item {
        padding-inline: 0;
    }


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


    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

}


@media (max-width: 480px) {

    .container-custom {
        width: calc(100% - 28px);
    }


    .section-title {
        font-size: 2.25rem;
    }


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


    .opening-side-grid .opening-image {
        height: 220px;
    }

}


.admin-login-form .form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 20px;
}


.admin-login-form label {
    display: block;

    color: var(--color-text);

    font-size: 0.8rem;

    font-weight: 500;
}


.admin-login-form input {
    display: block;

    width: 100%;

    height: 46px;

    padding: 0 12px;

    border: 1px solid var(--color-border);

    border-radius: 0;

    background: var(--color-surface);

    color: var(--color-text);

    font: inherit;

    font-size: 0.9rem;

    outline: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.admin-login-form input:focus {
    border-color: var(--color-accent);

    box-shadow: 0 0 0 2px var(--color-accent-light);
}


/* =========================================
   CORE SERVICES
   ========================================= */

.services-section {
    padding-top: 80px;
    padding-bottom: 40px;
    background: #f7f7f4;
    border-top: 1px solid #e5e5e1;
    border-bottom: 1px solid #e5e5e1;
    overflow: hidden;
}


/* Header */

.services-header {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 90px;
}

.services-title {
    max-width: 720px;
    margin: 20px 0 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.045em;
    color: #171717;
}

.services-intro {
    max-width: 420px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #626b73;
}


/* Services List */

.services-list {
    border-top: 1px solid #cfcfca;
}


/* Individual Service */

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    padding: 55px 0;
    border-bottom: 1px solid #cfcfca;
    transition: padding-left 0.3s ease;
}

.service-item:hover {
    padding-left: 18px;
}


/* Number */

.service-number {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #66727c;
    padding-top: 8px;
}


/* Content */

.service-content {
    max-width: 850px;
}

.service-content h3 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #171717;
}

.service-content p {
    max-width: 720px;
    margin: 0 0 25px;
    font-size: 17px;
    line-height: 1.7;
    color: #626b73;
}


/* Tags */

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid #d3d4cf;
    border-radius: 100px;
    font-size: 12px;
    line-height: 1;
    color: #4d565d;
    background: transparent;
    transition: all 0.25s ease;
}

.service-item:hover .service-tags span {
    background: #171717;
    border-color: #171717;
    color: #ffffff;
}


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

@media (max-width: 900px) {

    .services-section {
        padding: 100px 0;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .services-title {
        max-width: 600px;
    }

    .services-intro {
        max-width: 600px;
    }

    .service-item {
        grid-template-columns: 60px 1fr;
        gap: 25px;
        padding: 40px 0;
    }

}


@media (max-width: 600px) {

    .services-section {
        padding: 80px 0;
    }

    .services-title {
        font-size: 42px;
        line-height: 1;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-number {
        padding-top: 0;
    }

    .service-content h3 {
        font-size: 30px;
    }

    .service-content p {
        font-size: 16px;
    }

}

/* =========================================
   UNIQUE STRENGTHS — GLASSMORPHISM REDESIGN
   ========================================= */

/* Section */

.strengths-section {
    position: relative;
    padding: 40px 0 130px;
    background: #fdfdfd;
    border-top: 1px solid #e0e8e4;
    border-bottom: 1px solid #e0e8e4;
    overflow: hidden;
}

/* Open Book Background Visual */

.strengths-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background-image: url('../images/media/open-book-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Section Header */

.strengths-header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 64px;
}

.strengths-title {
    margin: 16px 0 0;
    font-size: clamp(38px, 4.8vw, 66px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.045em;
    color: #17201f;
}

.strengths-intro {
    max-width: 420px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #5a6a65;
}


/* Cards Grid */

.strengths-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border: none;
}


/* Individual Glassmorphism Card */

.strength-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 34px 32px 36px;
    background: rgba(255, 255, 255, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
    overflow: hidden;
}

.strength-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


/* Number */

.strength-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 52px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--color-accent, #176b5b);
}


/* Decorative accent dot (via ::after on number row) */

.strength-card::after {
    content: "";
    position: absolute;
    right: 32px;
    top: 34px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent, #176b5b);
    opacity: 0.55;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.strength-card:hover::after {
    opacity: 0.9;
    transform: scale(1.4);
}


/* Card title */

.strength-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #17201f;
    flex-grow: 0;
}


/* Card description */

.strength-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.72;
    color: #5a6a65;
    flex-grow: 1;
}


/* Very subtle inner top-edge shine */

.strength-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.45) 0%,
        transparent 55%
    );
    pointer-events: none;
    z-index: 0;
}

.strength-number,
.strength-card h3,
.strength-card p {
    position: relative;
    z-index: 1;
}


/* =========================================
   TABLET — 2 columns
   ========================================= */

@media (max-width: 1000px) {

    .strengths-header {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }

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

    .strength-card {
        min-height: 280px;
        padding: 30px 28px 32px;
    }

    .strength-number {
        margin-bottom: 44px;
    }

}


/* =========================================
   MOBILE — 1 column
   ========================================= */

@media (max-width: 600px) {

    .strengths-section {
        padding: 80px 0 90px;
    }

    .strengths-title {
        font-size: 36px;
    }

    .strengths-intro {
        font-size: 15px;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .strength-card {
        min-height: auto;
        padding: 28px 24px 30px;
        border-radius: 18px;
    }

    .strength-number {
        margin-bottom: 36px;
    }

    .strength-card h3 {
        font-size: 20px;
    }

    .strength-card p {
        font-size: 14px;
    }

    .strength-card::after {
        right: 24px;
        top: 28px;
    }

}

/* =========================================
   GATISHAALA
   ========================================= */

.gatishaala-section {
    padding: 150px 0;

    background: #171717;

    color: #ffffff;
}


/* Main Layout */

.gatishaala-layout {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 100px;

    align-items: center;
}


/* Content */

.gatishaala-content {
    max-width: 680px;
}


.gatishaala-content .section-label {
    color: #aeb8b4;
}


.gatishaala-title {
    margin: 25px 0 30px;

    font-size: clamp(48px,
            6vw,
            82px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -0.05em;

    color: #ffffff;
}


.gatishaala-description {
    max-width: 600px;

    margin: 0;

    font-size: 18px;

    line-height: 1.75;

    color: #b9bfbd;
}


/* Feature */

.gatishaala-feature {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 45px;

    padding-top: 22px;

    border-top: 1px solid #3b3f3d;
}


.gatishaala-feature .meta-label {
    color: #89928e;
}


.gatishaala-feature .meta-value {
    color: #ffffff;
}


/* Learning Journey */

.gatishaala-points {
    display: flex;

    gap: 35px;

    margin-top: 55px;
}


.gatishaala-point {
    display: flex;

    flex-direction: column;

    gap: 8px;

    font-size: 14px;

    color: #ffffff;
}


.gatishaala-point span {
    font-size: 11px;

    letter-spacing: 0.12em;

    color: #89928e;
}


/* =========================================
   VISUAL
   ========================================= */

.gatishaala-visual {
    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 520px;

    border: 1px solid #3b3f3d;

    background:
        radial-gradient(circle at center,
            #26302c 0%,
            #171717 62%);

    position: relative;

    overflow: hidden;
}


.gatishaala-visual::before {
    content: "";

    position: absolute;

    inset: 35px;

    border: 1px solid #303633;

    border-radius: 50%;
}


.gatishaala-visual::after {
    content: "";

    position: absolute;

    width: 1px;

    height: 100%;

    background: #303633;
}


/* Visual Inner */

.gatishaala-visual-inner {
    position: relative;

    z-index: 2;

    width: 100%;

    height: 100%;

    min-height: 520px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: space-between;

    padding: 35px;
}


.gatishaala-visual-label {
    align-self: flex-start;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.16em;

    color: #89928e;
}


/* Circle */

.gatishaala-circle {
    width: 240px;

    height: 240px;

    border: 1px solid #68746f;

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transform: rotate(-8deg);
}


.gatishaala-circle span {
    font-size: 12px;

    letter-spacing: 0.18em;

    color: #ffffff;
}


.gatishaala-circle span:nth-child(2) {
    font-size: 20px;

    font-weight: 500;
}


/* Footer */

.gatishaala-visual-footer {
    align-self: flex-end;

    font-size: 11px;

    letter-spacing: 0.08em;

    color: #89928e;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .gatishaala-section {
        padding: 110px 0;
    }

    .gatishaala-layout {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .gatishaala-visual {
        min-height: 420px;
    }

    .gatishaala-visual-inner {
        min-height: 420px;
    }

}


@media (max-width: 600px) {

    .gatishaala-section {
        padding: 85px 0;
    }

    .gatishaala-title {
        font-size: 48px;
    }

    .gatishaala-description {
        font-size: 16px;
    }

    .gatishaala-points {
        gap: 22px;
    }

    .gatishaala-visual {
        min-height: 360px;
    }

    .gatishaala-visual-inner {
        min-height: 360px;

        padding: 25px;
    }

    .gatishaala-circle {
        width: 190px;

        height: 190px;
    }

}

/* =========================================
   IMPACT
   ========================================= */

/* =========================================
   TWO-COLUMN ABOUT LAYOUT & IMPACT CARDS
   ========================================= */

.about-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content-left {
    display: flex;
    flex-direction: column;
}

.about-impact-right {
    display: flex;
    flex-direction: column;
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

/* Glassmorphism Impact Card */
.impact-item {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 35px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.12);
}

.impact-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.impact-number {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #8c9592;
}

.impact-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent, #176b5b);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.impact-item:hover .impact-dot {
    opacity: 1;
}

.impact-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.impact-value {
    font-size: clamp(42px, 4vw, 60px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #17201f;
    margin-bottom: 12px;
}

.impact-label {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    color: #2b3531;
}

.impact-description {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #636b68;
}

.impact-empty {
    padding: 40px 20px;
    color: #636b68;
    grid-column: span 2;
    text-align: center;
}

/* Layout Responsiveness */
@media (max-width: 1024px) {
    .about-two-column {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .about-two-column {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .impact-item {
        padding: 24px;
    }
}

/* =========================================
   LEADERSHIP / ABOUT
   ========================================= */

.leadership-section {
    padding: 40px 0 20px;

    background: #f7f7f4;

    border-bottom: 1px solid #deded9;
}


/* =========================================
   ABOUT GATI SHIKSHA (NEW INTERACTIVE)
   ========================================= */

.about-section {
    position: relative;
    padding: 100px 0;
    background: #fdfcf7; /* Subtle warm/educational background */
    border-bottom: 1px solid #deded9;
    overflow: hidden;
}

/* Subtle background pattern */
.about-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#d3d5d1 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.about-section .container-custom {
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.about-main-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-text, #171717);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-heading-divider {
    width: 60px;
    height: 4px;
    background: var(--color-accent, #1f4f46);
    margin: 0 auto;
    border-radius: 2px;
}

.about-welcome-title {
    margin-top: 10px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: #17201f;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.about-quote {
    margin: 0 0 40px 0;
    text-align: left;
}

.about-quote p {
    font-size: 20px;
    line-height: 1.8;
    color: #4a5550;
    font-style: italic;
    font-weight: 500;
}

/* Mission / Vision Tabs */

.mission-vision-container {
    margin: 0;
    background: #ffffff;
    border: 1px solid #e0e8e4;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    overflow: hidden;
}

.mv-tabs {
    display: flex;
    border-bottom: 1px solid #e0e8e4;
}

.mv-tab-btn {
    flex: 1;
    background: #f7f9f8;
    border: none;
    padding: 24px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #7a8a85;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.mv-tab-btn:hover {
    background: #f0f4f2;
    color: #333;
}

.mv-tab-btn.active {
    background: #ffffff;
    color: var(--color-accent, #176b5b);
    box-shadow: inset 0 3px 0 var(--color-accent, #176b5b);
}

.mv-content-container {
    padding: 40px;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.mv-panel {
    display: none;
    animation: fadeIn 0.4s ease;
    width: 100%;
}

.mv-panel.active {
    display: block;
}

.mv-panel p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #33403a;
}

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

/* Mobile adjustments */
@media (max-width: 600px) {
    .about-quote p {
        font-size: 16px;
    }
    .mv-tab-btn {
        padding: 16px 10px;
        font-size: 12px;
    }
    .mv-content-container {
        padding: 24px;
        min-height: 220px;
    }
    .mv-panel p {
        font-size: 16px;
    }
}


/* Leader list */

.leader-list {
    border-top: 1px solid #cfcfca;
}


/* Leader */

.leader-item {
    display: grid;

    grid-template-columns:
        80px minmax(0, 1fr) 260px;

    gap: 45px;

    align-items: center;

    padding: 55px 0;

    border-bottom: 1px solid #cfcfca;

    transition:
        padding-left 0.3s ease,
        background 0.3s ease;
}


.leader-item:hover {
    padding-left: 18px;

    background: #eeeeea;
}


/* Number */

.leader-number {
    align-self: start;

    padding-top: 8px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.1em;

    color: #68737b;
}


/* Content */

.leader-content h3 {
    margin: 0 0 8px;

    font-size: clamp(28px,
            3vw,
            40px);

    line-height: 1.1;

    font-weight: 500;

    letter-spacing: -0.03em;

    color: #171717;
}


.leader-role {
    margin-bottom: 18px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: #1d5c4a;
}


.leader-content p {
    max-width: 650px;

    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: #626b73;
}


/* Image */

.leader-placeholder {
    width: 300px;
    height: 250px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    background: #e5e5e0;
    color: #747b7f;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.leader-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border: 0;
}


/* Empty */

.leadership-empty {
    padding: 50px 0;

    color: #626b73;
}


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

@media (max-width: 900px) {

    .leadership-section {
        padding: 110px 0;
    }

    .leadership-header {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-bottom: 60px;
    }

    .leader-item {
        grid-template-columns:
            60px minmax(0, 1fr) 220px;

        gap: 25px;
    }

}


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

@media (max-width: 650px) {

    .leadership-section {
        padding: 85px 0;
    }

    .leader-item {
        grid-template-columns: 1fr;

        gap: 18px;

        padding: 40px 0;
    }

    .leader-item:hover {
        padding-left: 8px;
    }

    .leader-number {
        padding-top: 0;
    }

    .leader-placeholder {
        width: 220px;
        height: 200px;

        margin-top: 10px;
    }

}

/* Header */

.mentors-header {

    display: grid;

    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 480px);

    gap: 60px;

    align-items: start;

    justify-content: space-between;

    width: 100%;

    max-width: 100%;

    margin-bottom: 90px;

}


.mentors-header .section-label {

    margin-bottom: 16px;

}


.mentors-header .section-title {

    max-width: 650px;

    margin-top: 0;

}


.mentors-intro {

    max-width: 520px;

    margin: 25px 0 0;

    font-size: 17px;

    line-height: 1.75;

    color: #626b73;

}


.mentors-guidance-image {

    width: 100%;

    max-width: 480px;

    height: 280px;

    border-radius: 4px;

    border: 1px solid var(--color-border);

    overflow: hidden;

    justify-self: end;

    align-self: start;

}


.mentors-guidance-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}

/* Mentor Grid */

.mentor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 40px;
}

.mentor-card {
    /* (100% / 3) - (gap * 2 / 3) */
    width: calc(33.333% - 27px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border: none;
    padding: 0;
    transition: transform 0.3s ease;
}

.mentor-card:hover {
    transform: translateY(-5px);
}

.mentor-image-wrapper {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    background: #e5e5e0;
}

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

.mentor-content h4 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
    color: #171717;
}

.mentor-role {
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1d5c4a;
}

.mentor-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #626b73;
}

/* Empty */

.mentor-empty {
    padding: 50px 0;
    color: #626b73;
}


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

@media (max-width: 1024px) {

    .mentors-section {
        padding: 110px 0;
    }

    .mentors-header {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 60px;
    }

    .mentors-guidance-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        justify-self: start;
    }

    .mentor-grid {
        gap: 50px 30px;
    }

    .mentor-card {
        width: calc(50% - 15px);
    }

}

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

@media (max-width: 768px) {

    .mentors-section {
        padding: 85px 0;
    }

    .mentor-grid {
        gap: 40px 0;
    }

    .mentor-card {
        width: 100%;
    }

    .mentor-image-wrapper {
        width: 200px;
        height: 200px;
    }

}

/* =========================================
   FINAL LEADERSHIP IMAGE SIZE
   ========================================= */

.leader-item {
    grid-template-columns: 80px minmax(0, 1fr) 360px;
    gap: 45px;
}



@media (max-width: 900px) {
    .leader-item {
        grid-template-columns: 60px minmax(0, 1fr) 300px;
    }

    .leader-placeholder {
        width: 300px;
        height: 250px;
    }
}

@media (max-width: 650px) {
    .leader-item {
        grid-template-columns: 1fr;
    }

    .leader-placeholder {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

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

.contact-section {
    padding-top: 64px;
    padding-bottom: 72px;
    background: #f7f7f4;
    border-top: 1px solid #deded9;
}


/* Header — text left | image right-anchored */

.contact-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.contact-header-text {
    display: flex;
    flex-direction: column;
}

/* Bold eyebrow label */
.contact-eyebrow {
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 14px;
}

.contact-header .section-title {
    max-width: 100%;
    margin-top: 0;
}

/* Contact image — pushed to right edge within its grid column */
.contact-image-wrap {
    margin-left: auto;       /* pushes image to right edge of the column */
    overflow: hidden;
    border-radius: 10px;
    line-height: 0;
    width: fit-content;
}

.contact-image {
    width: 500px;
    height: auto;
    aspect-ratio: 1584 / 672;  /* natural image ratio */
    display: block;
    object-fit: cover;
    border-radius: 10px;
    object-position: center;
}

.contact-intro {
    max-width: 460px;
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.75;
    color: #626b73;
}

/* Right column wrapper */
.contact-form-col {
    display: flex;
    flex-direction: column;
}


/* Main layout */

.contact-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 100px;
    align-items: start;
}


/* Information */

.contact-info {
    border-top: 1px solid #cfcfca;
}


.contact-info-item {
    padding: 28px 0;

    border-bottom: 1px solid #cfcfca;
}


.contact-info-item p {
    max-width: 340px;

    margin: 12px 0 0;

    font-size: 15px;

    line-height: 1.7;

    color: #626b73;
}


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

.inquiry-form {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px 30px;
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.form-group label {
    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: #555f64;
}


.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {

    width: 100%;

    box-sizing: border-box;

    padding: 15px 16px;

    border: 1px solid #cfcfca;

    border-radius: 0;

    background: #ffffff;

    color: #171717;

    font-family: var(--font-main);

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.inquiry-form input,
.inquiry-form select {
    height: 52px;
}


.inquiry-form textarea {
    min-height: 160px;

    resize: vertical;
}


.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #9a9f9f;
}


.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {

    border-color: #1d5c4a;

    box-shadow:
        0 0 0 3px rgba(29, 92, 74, 0.08);
}


/* Message spans entire row */

.form-message {
    grid-column: 1 / -1;
}


/* Submit */

.inquiry-submit {

    grid-column: 1 / -1;

    justify-self: start;

    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 14px 22px;

    border: 1px solid #171717;

    background: #171717;

    color: #ffffff;

    font-family: var(--font-main);

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.inquiry-submit span {
    font-size: 18px;

    transition:
        transform 0.25s ease;
}


.inquiry-submit:hover {

    background: #1d5c4a;

    border-color: #1d5c4a;
}


.inquiry-submit:hover span {

    transform: translateX(5px);
}


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

@media (max-width: 900px) {

    .contact-section {
        padding: 56px 0 60px;
    }

    /* Tablet: keep two-column header, shrink image */
    .contact-header {
        gap: 32px;
        margin-bottom: 40px;
    }

    .contact-image {
        width: 340px;
        height: auto;
        aspect-ratio: 1584 / 672;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


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

@media (max-width: 650px) {

    .contact-section {
        padding: 44px 0 52px;
    }

    /* Mobile: stack header, image full-width below heading */
    .contact-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-image-wrap {
        justify-self: stretch;
    }

    .contact-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1584 / 672;
    }

    .inquiry-form {

        grid-template-columns: 1fr;

        gap: 22px;
    }

    .form-message,
    .inquiry-submit {

        grid-column: 1;
    }

    .inquiry-submit {

        width: 100%;

        justify-content: space-between;
    }

}

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

.gati-footer {
    padding: 90px 0 30px;

    background: #171717;

    color: #ffffff;
}


/* Main */

.footer-main {
    display: grid;

    grid-template-columns: 1.5fr 0.7fr 0.7fr 0.9fr;

    gap: 70px;

    padding-bottom: 80px;

    border-bottom: 1px solid #383d3b;
}


/* Brand */

.footer-logo {
    margin-bottom: 18px;

    font-size: 26px;

    font-weight: 600;

    letter-spacing: -0.03em;
}


.footer-brand p {
    max-width: 360px;

    margin: 0;

    font-size: 14px;

    line-height: 1.7;

    color: #9da6a2;
}


/* Columns */

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 13px;
}


.footer-label {
    margin-bottom: 12px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.14em;

    color: #737d79;
}


.footer-column a,
.footer-column span {
    font-size: 13px;

    line-height: 1.5;

    color: #c3c9c6;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-column a:hover {
    color: #ffffff;

    transform: translateX(3px);
}


.footer-column span {
    color: #737d79;
}


/* Bottom */

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding-top: 25px;

    font-size: 11px;

    color: #737d79;
}


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

@media (max-width: 800px) {

    .gati-footer {
        padding: 70px 0 25px;
    }

    .footer-main {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 50px 35px;

        padding-bottom: 55px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


@media (max-width: 500px) {

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

        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}

/* =========================================
   PROGRAM DETAIL
   ========================================= */

.program-detail {
    padding: 150px 0;
    background: #f7f7f4;
}


/* Back link */

.program-back {
    display: inline-block;
    margin-bottom: 80px;

    font-size: 13px;
    color: #626b73;
    text-decoration: none;

    transition: color 0.2s ease;
}

.program-back:hover {
    color: #171717;
}


/* Header */

.program-detail-header {
    max-width: 950px;
}

.program-detail-header h1 {
    max-width: 900px;
    margin: 22px 0 30px;

    font-size: clamp(48px, 7vw, 90px);
    line-height: 0.95;

    font-weight: 500;
    letter-spacing: -0.055em;

    color: #171717;
}

.program-detail-description {
    max-width: 720px;

    margin: 0;

    font-size: 19px;
    line-height: 1.75;

    color: #626b73;
}


/* Meta */

.program-detail-meta {
    display: flex;
    gap: 80px;

    margin-top: 80px;
    padding: 28px 0;

    border-top: 1px solid #cfcfca;
    border-bottom: 1px solid #cfcfca;
}

.program-detail-meta>div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* Main content */

.program-detail-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    padding: 130px 0;

    border-bottom: 1px solid #cfcfca;
}

.program-detail-content h2 {
    max-width: 500px;

    margin: 20px 0 0;

    font-size: clamp(36px, 4vw, 58px);
    line-height: 1;

    font-weight: 500;
    letter-spacing: -0.04em;
}

.program-detail-content p {
    max-width: 600px;

    margin: 0 0 25px;

    font-size: 17px;
    line-height: 1.8;

    color: #626b73;
}


/* CTA */

.program-detail-cta {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 50px;

    padding-top: 90px;
}

.program-detail-cta h2 {
    margin: 18px 0 0;

    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;

    font-weight: 500;
    letter-spacing: -0.04em;
}


.program-cta-button {
    display: inline-flex;

    align-items: center;
    gap: 25px;

    padding: 16px 22px;

    background: #171717;
    border: 1px solid #171717;

    color: #ffffff;
    text-decoration: none;

    font-size: 13px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.program-cta-button span {
    font-size: 18px;
}

.program-cta-button:hover {
    background: #1d5c4a;

    border-color: #1d5c4a;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 800px) {

    .program-detail {
        padding: 100px 0;
    }

    .program-detail-content {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 90px 0;
    }

    .program-detail-cta {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .program-detail {
        padding: 75px 0;
    }

    .program-back {
        margin-bottom: 55px;
    }

    .program-detail-header h1 {
        font-size: 48px;
    }

    .program-detail-description {
        font-size: 17px;
    }

    .program-detail-meta {
        flex-direction: column;

        gap: 25px;

        margin-top: 55px;
    }

    .program-detail-content {
        padding: 70px 0;
    }

    .program-detail-cta {
        padding-top: 65px;
    }

    .program-cta-button {
        width: 100%;

        justify-content: space-between;
    }

}

/* =========================================
   COURSE DETAIL
   ========================================= */

.course-detail {
    padding: 150px 0;
    background: #ffffff;
}


/* Back */

.course-back {
    display: inline-block;

    margin-bottom: 80px;

    font-size: 13px;

    color: #626b73;

    text-decoration: none;

    transition: color 0.2s ease;
}

.course-back:hover {
    color: #171717;
}


/* Header */

.course-detail-header {
    max-width: 950px;
}

.course-detail-header h1 {
    max-width: 900px;

    margin: 22px 0 30px;

    font-size: clamp(48px, 7vw, 90px);

    line-height: 0.95;

    font-weight: 500;

    letter-spacing: -0.055em;

    color: #171717;
}

.course-detail-header p {
    max-width: 720px;

    margin: 0;

    font-size: 19px;

    line-height: 1.75;

    color: #626b73;
}


/* Meta */

.course-detail-meta {
    display: flex;

    gap: 80px;

    margin-top: 80px;

    padding: 28px 0;

    border-top: 1px solid #cfcfca;

    border-bottom: 1px solid #cfcfca;
}

.course-detail-meta>div {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


/* Content */

.course-detail-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    padding: 130px 0;

    border-bottom: 1px solid #cfcfca;
}

.course-detail-content h2 {
    max-width: 500px;

    margin: 20px 0 0;

    font-size: clamp(36px, 4vw, 58px);

    line-height: 1;

    font-weight: 500;

    letter-spacing: -0.04em;
}

.course-detail-content p {
    max-width: 600px;

    margin: 0 0 25px;

    font-size: 17px;

    line-height: 1.8;

    color: #626b73;
}


/* CTA */

.course-detail-cta {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;

    padding-top: 90px;
}

.course-detail-cta h2 {
    margin: 18px 0 0;

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1;

    font-weight: 500;

    letter-spacing: -0.04em;
}


.course-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 16px 22px;

    background: #171717;

    border: 1px solid #171717;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.course-cta-button span {
    font-size: 18px;
}

.course-cta-button:hover {
    background: #1d5c4a;

    border-color: #1d5c4a;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 800px) {

    .course-detail {
        padding: 100px 0;
    }

    .course-detail-content {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 90px 0;
    }

    .course-detail-cta {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .course-detail {
        padding: 75px 0;
    }

    .course-back {
        margin-bottom: 55px;
    }

    .course-detail-header h1 {
        font-size: 48px;
    }

    .course-detail-header p {
        font-size: 17px;
    }

    .course-detail-meta {
        flex-direction: column;

        gap: 25px;

        margin-top: 55px;
    }

    .course-detail-content {
        padding: 70px 0;
    }

    .course-detail-cta {
        padding-top: 65px;
    }

    .course-cta-button {
        width: 100%;

        justify-content: space-between;
    }

}

/* =========================================
   ADMIN INQUIRY - INTEREST
   ========================================= */

.admin-interest {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-top: 25px;
    padding: 16px 18px;

    border-left: 3px solid #1d5c4a;

    background: #f4f5f2;
}


.admin-interest-label,
.admin-message-label {
    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #68737b;
}


.admin-interest strong {
    font-size: 15px;

    font-weight: 500;

    color: #171717;
}


.admin-interest-empty {
    border-left-color: #cfcfca;

    color: #68737b;
}


.work-placeholder {
    border: 0;
}


.work-placeholder::before {
    display: none;
}


.course-placeholder {
    padding: 0;
    border: 0;
}


.course-placeholder::before {
    display: none;
}


/* =========================================
   ADMIN MESSAGE
   ========================================= */

.admin-message {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #e0e0db;
}


.admin-message p {
    margin: 10px 0 0;

    font-size: 15px;

    line-height: 1.7;

    color: #626b73;
}


/* =========================================
   ADMIN DATE
   ========================================= */

.admin-inquiry-date {
    margin-top: 25px;

    font-size: 11px;

    letter-spacing: 0.04em;

    color: #8a9295;
}

/* =========================================
   INQUIRY STATUS
   ========================================= */

.admin-inquiry-status {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #e0e0db;
}


.status-form {
    margin: 0;
}


.inquiry-status-select {
    min-width: 145px;

    padding: 9px 32px 9px 12px;

    border: 1px solid #cfcfca;

    background: #ffffff;

    color: #171717;

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;

    outline: none;
}


.inquiry-status-select:focus {
    border-color: #1d5c4a;
}

/* Mentor cards - clean layout */

.mentor-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.mentor-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 35px;
    align-items: center;
    min-height: 260px;
    padding: 24px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}

.mentor-placeholder {
    order: 1;
    width: 300px;
    height: 230px;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.mentor-placeholder img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill !important;
    object-position: center;
}

.mentor-placeholder::before {
    display: none;
}

.mentor-content {
    order: 2;
}

.mentor-content h4,
.mentor-content h3 {
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .mentor-cards {
        grid-template-columns: 1fr;
    }

    .mentor-item {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
        align-items: center;
    }

    .mentor-placeholder {
        grid-column: 1 !important;
        order: 1 !important;
        width: 220px;
        height: 180px;
    }

    .mentor-content {
        grid-column: 2 !important;
        order: 2 !important;
    }
}

@media (max-width: 600px) {
    .mentor-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mentor-placeholder {
        width: 100%;
        max-width: 320px;
        height: 240px;
    }
}

/* =========================================================
   CORE SERVICES CAROUSEL
   ========================================================= */

/* =========================================================
   CORE SERVICES CAROUSEL
   ========================================================= */

.services-list {
    width: 100%;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px 0 90px;
    box-sizing: border-box;
    will-change: transform;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    flex: 0 0 calc((100% - 60px) / 3);
    width: calc((100% - 60px) / 3);
    min-width: 0;

    position: relative;

    background: #ffffff;

    border: 1.5px solid;
    border-radius: 26px;

    overflow: visible;

    box-sizing: border-box;
}


/* =========================================================
   STAGGERED POSITION
   ========================================================= */

/* .service-card:nth-child(1) {
    margin-top: 65px;
}

.service-card:nth-child(2) {
    margin-top: 0;
}

.service-card:nth-child(3) {
    margin-top: 65px;
}

.service-card:nth-child(4) {
    margin-top: 0;
}

.service-card:nth-child(5) {
    margin-top: 65px;
} */


/* =========================================================
   CARD IMAGE
   ========================================================= */

.service-card-image {
    width: 100%;
    height: 205px;

    overflow: hidden;

    border-radius: 25px 25px 0 0;

    background: #eeeeee;
}

.service-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.04);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.service-card-content {
    position: relative;

    min-height: 245px;

    padding: 24px 20px 70px;

    background: #ffffff;

    border-radius: 0 0 25px 25px;

    box-sizing: border-box;
}

.service-card-content h3 {
    margin: 0 0 17px;

    text-align: center;

    color: #111111;

    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
}

.service-card-content p {
    margin: 0;

    text-align: center;

    color: #333333;

    font-size: 0.9rem;
    line-height: 1.75;
}


/* =========================================================
   ARROW BUTTON
   ========================================================= */

.service-arrow {
    position: absolute;

    left: 50%;
    bottom: -24px;

    transform: translateX(-50%);

    width: 48px;
    height: 48px;

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

    border-radius: 50%;

    color: #ffffff;

    font-size: 22px;
    font-weight: 400;

    z-index: 10;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   CARD COLORS
   ========================================================= */

.service-card-yellow {
    border-color: #f5c400;
}

.service-card-yellow .service-arrow {
    background: #f5c400;
}


.service-card-pink {
    border-color: #e14ba5;
}

.service-card-pink .service-arrow {
    background: #e14ba5;
}


.service-card-blue {
    border-color: #36b7f4;
}

.service-card-blue .service-arrow {
    background: #36b7f4;
}


.service-card-orange {
    border-color: #ff9029;
}

.service-card-orange .service-arrow {
    background: #ff9029;
}


.service-card-purple {
    border-color: #4d8df7;
}

.service-card-purple .service-arrow {
    background: #4d8df7;
}


/* =========================================================
   TABLET
   3 CARDS
   ========================================================= */

@media (max-width: 1100px) {

    .services-list {
        gap: 20px;
        padding: 20px 0 80px;
    }

    .service-card {
        flex: 0 0 calc((100% - 40px) / 3);
        width: calc((100% - 40px) / 3);
    }



    .service-card-image {
        height: 190px;
    }

    .service-card-content {
        min-height: 230px;
        padding: 22px 18px 65px;
    }

    .service-card-content h3 {
        font-size: 1.1rem;
    }

    .service-card-content p {
        font-size: 0.87rem;
    }
}


/* =========================================================
   SMALL TABLET
   2 CARDS
   ========================================================= */

@media (max-width: 900px) {

    .services-list {
        gap: 20px;
    }

    .service-card {
        flex: 0 0 calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
    }

    
}


/* =========================================================
   MOBILE
   1 CARD
   ========================================================= */

@media (max-width: 700px) {

    .services-list {
        gap: 18px;

        overflow-x: hidden;
        overflow-y: visible;

        padding: 20px 8px 75px;
    }

    .service-card {
        flex: 0 0 82%;
        width: 82%;
        min-width: 82%;

        margin-top: 0 !important;
    }

    .service-card-image {
        height: 200px;
    }

    .service-card-content {
        min-height: 240px;

        padding: 22px 20px 65px;
    }

    .service-card-content h3 {
        font-size: 1.15rem;
    }

    .service-card-content p {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .service-arrow {
        width: 45px;
        height: 45px;

        bottom: -22px;

        font-size: 20px;
    }
}


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

@media (max-width: 450px) {

    .services-list {
        gap: 16px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .service-card {
        flex: 0 0 88%;
        width: 88%;
        min-width: 88%;
    }

    .service-card-image {
        height: 185px;
    }

    .service-card-content {
        min-height: 230px;
        padding: 20px 16px 62px;
    }

    .service-card-content h3 {
        font-size: 1.1rem;
    }

    .service-card-content p {
        font-size: 0.84rem;
    }
}

/* =========================================
   UNIFORM 3-IMAGE CAROUSEL
========================================= */

.image-slideshow-section {
    width: 100%;
    padding: 55px 0 30px;
    background: #ffffff;
    overflow: hidden;
}

.image-slideshow {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 28px;
    box-sizing: border-box;
    overflow: hidden;
}

.slideshow-track {
    display: flex;
    gap: 28px;
    width: max-content;
    will-change: transform;
}


/* EVERY PHOTO HAS EXACTLY THE SAME SIZE */

.slide {
    flex: 0 0 calc((100vw - 112px) / 3);
    width: calc((100vw - 112px) / 3);
    max-width: 540px;
    height: 400px;

    flex-shrink: 0;

    border-radius: 24px;
    overflow: hidden;

    background: #eeeeee;

    box-sizing: border-box;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}


/* PHOTO ALWAYS FILLS THE SAME FRAME */

.slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 24px;
}


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

@media (max-width: 1100px) {

    .image-slideshow {
        padding: 0 20px;
    }

    .slideshow-track {
        gap: 20px;
    }

    .slide {
        flex: 0 0 calc((100vw - 60px) / 3);
        width: calc((100vw - 60px) / 3);
        height: 340px;
        border-radius: 20px;
    }

    .slide img {
        border-radius: 20px;
    }
}


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

@media (max-width: 700px) {

    .image-slideshow-section {
        padding: 40px 0 50px;
    }

    .image-slideshow {
        padding: 0 15px;
    }

    .slideshow-track {
        gap: 18px;
    }

    .slide {
        flex: 0 0 85vw;
        width: 85vw;
        height: 300px;
        border-radius: 18px;
    }

    .slide img {
        border-radius: 18px;
    }
}


/* =========================================================================
   MOBILE RESPONSIVENESS FIXES
   Appended at end for highest cascade priority to override conflicting rules
   ========================================================================= */

/* Prevent horizontal scroll from any overflowing element */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Image section padding reduction on mobile */
@media (max-width: 768px) {
    .gati-image-section {
        padding-top: 20px;
        padding-bottom: 10px;
    }
}

/* Ensure image wrapper never exceeds viewport width */
@media (max-width: 768px) {
    .gati-main-image-wrapper {
        max-width: calc(100vw - 30px) !important;
        overflow: hidden;
    }
}




/* =========================================
   1. HERO SECTION — Reduce font on small mobile
   ========================================= */

@media (max-width: 480px) {
    .opening-title {
        font-size: clamp(1.85rem, 8.5vw, 2.3rem) !important;
        line-height: 1.12;
    }
}


/* =========================================
   2. MENTOR CARDS — Fix broken layout on mobile
   ROOT CAUSE: grid-column: 2 !important on .mentor-content
   (from the 900px breakpoint) is never overridden at 600px,
   so the content is pushed to an implicit 2nd grid column
   even when grid-template-columns: 1fr (single column).
   Fix: switch to flexbox at mobile to bypass all grid-column.
   ========================================= */

@media (max-width: 600px) {
    .mentor-cards {
        grid-template-columns: 1fr !important;
    }

    .mentor-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid var(--color-border);
        overflow: hidden;
    }

    .mentor-placeholder {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        grid-column: unset !important;
        border-bottom: 1px solid var(--color-border);
        overflow: hidden;
        position: relative;
    }

    .mentor-placeholder img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
    }

    .mentor-content {
        order: 2 !important;
        grid-column: unset !important;
        padding: 20px 4px 24px !important;
    }
}


/* =========================================
   3. IMPACT SECTION — Mobile layout
   All impact styles are inside @media (min-width: 769px)
   so they get zero layout on screens below 769px.
   ========================================= */

@media (max-width: 768px) {
    .impact-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        border: none !important;
    }

    .impact-item {
        padding: 24px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        min-height: auto !important;
    }

    .impact-card-header {
        margin-bottom: 20px !important;
    }

    .impact-content {
        justify-content: flex-start !important;
    }

    .impact-value {
        display: block;
        font-size: clamp(2.2rem, 7vw, 2.8rem) !important;
        line-height: 1 !important;
        letter-spacing: -0.04em !important;
        font-weight: 600 !important;
        color: #17201f !important;
        margin-bottom: 10px !important;
    }

    .impact-label {
        display: block;
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        color: #2b3531 !important;
        line-height: 1.35 !important;
        margin-top: 0 !important;
    }

    .impact-description {
        display: block;
        margin-top: 6px !important;
        font-size: 0.78rem !important;
        line-height: 1.55 !important;
        color: #636b68 !important;
    }
}

@media (max-width: 360px) {
    .impact-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .impact-item {
        padding: 20px 16px !important;
    }
}


/* =========================================
   4. LEADERSHIP SECTION — Mobile layout + image fix
   Leader placeholder had max-width: 280-300px on mobile,
   leaving asymmetric empty space on the right.
   ========================================= */

@media (max-width: 768px) {
    .leadership-section {
        border-top: 1px solid var(--color-border);
    }

    .leader-list {
        border-top: 1px solid var(--color-border);
    }

    .leader-item {
        display: grid !important;
        grid-template-columns: 32px 1fr !important;
        gap: 16px !important;
        align-items: start;
        padding: 26px 0 !important;
        border-bottom: 1px solid var(--color-border);
    }

    .leader-number {
        font-size: 12px;
        color: var(--color-text-muted);
        padding-top: 5px;
    }

    .leader-content h3 {
        font-size: 1.3rem !important;
        font-weight: 500;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .leader-role {
        font-size: 12px;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 12px;
    }

    .leader-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .leader-placeholder {
        grid-column: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 230px !important;
        margin-top: 12px;
        overflow: hidden;
    }

    .leader-placeholder img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
        display: block;
    }
}

@media (max-width: 480px) {
    .leader-item {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 22px 0 !important;
    }

    .leader-number {
        display: none;
    }

    .leader-placeholder {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 250px !important;
        margin-top: 6px;
    }
}


/* =========================================
   5. MENTORS SECTION HEADER — Mobile
   ========================================= */

@media (max-width: 768px) {
    .mentors-section {
        border-top: 1px solid var(--color-border);
    }

    .mentors-header {
        display: block !important;
        margin-bottom: 30px !important;
    }

    .mentors-guidance-image {
        margin-top: 20px;
        height: 180px;
        overflow: hidden;
        border-radius: 4px;
    }

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

    .mentor-list {
        border-top: 1px solid var(--color-border);
        margin-top: 8px;
    }

    .mentor-category {
        margin-top: 24px;
    }

    .mentor-category-title {
        display: block;
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--color-text-muted);
        padding-bottom: 12px;
        margin-bottom: 14px;
        border-bottom: 1px solid var(--color-border);
    }
}


/* =====================================================
   UX IMPROVEMENTS — ALL 6 AREAS
   Gati Shiksha · September 2026
   ===================================================== */


/* =====================================================
   AREA 1 · TYPOGRAPHY HIERARCHY
   Modular scale (1.25 ratio), improved contrast,
   clear heading vs body vs caption distinction.
   ===================================================== */

:root {
    /* Type scale — Major Third (1.25) */
    --text-xs:   0.64rem;   /* captions, labels   */
    --text-sm:   0.8rem;    /* small body          */
    --text-base: 1rem;      /* body                */
    --text-md:   1.25rem;   /* lead / large body   */
    --text-lg:   1.563rem;  /* h4                  */
    --text-xl:   1.953rem;  /* h3                  */
    --text-2xl:  2.441rem;  /* h2                  */
    --text-3xl:  3.052rem;  /* h1 small            */
    --text-4xl:  3.815rem;  /* h1 large            */

    /* WCAG AA compliant muted text (#5a5a5a on #f5f6f2 = 5.8:1) */
    --color-text-muted: #5a5a5a;
}

/* Global body — readable, balanced */
body {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
}

/* Paragraph contrast fix — WCAG AA */
p {
    color: var(--color-text-muted);
}

/* Section labels — consistent 17px bold across all sections */
.section-label {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
}

/* Meta-labels — smaller contextual tags inside cards/info items */
.meta-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* H3s across cards — clear size step */
.work-content h3,
.service-card-content h3,
.strength-card h3 {
    font-size: var(--text-xl);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

/* H4 — mentor names, leader names */
.mentor-content h4 {
    font-size: var(--text-lg);
    line-height: 1.2;
}

/* Body paragraphs inside cards — slightly smaller than lead */
.service-card-content p,
.strength-card p,
.mentor-content p,
.leader-content p {
    font-size: var(--text-sm);
    line-height: 1.75;
}

/* Contact intro — lead size */
.contact-intro,
.services-intro,
.strengths-intro,
.work-intro,
.mentors-intro {
    font-size: var(--text-md);
    line-height: 1.75;
}


/* =====================================================
   AREA 2 · CONTACT FORM UX
   Required indicators, inline validation, success banner
   ===================================================== */

/* Required asterisk */
.required-star {
    color: #c0392b;
    margin-left: 2px;
    font-weight: 700;
    aria-hidden: true;
}

/* Field hint text */
.field-hint {
    font-size: var(--text-xs);
    color: #7a8a85;
    margin-top: 2px;
    display: block;
}

/* Inline error message */
.field-error {
    display: block;
    min-height: 1.2em;
    font-size: var(--text-xs);
    color: #c0392b;
    margin-top: 4px;
    font-weight: 500;
}

/* Invalid field — red border */
.inquiry-form input:user-invalid,
.inquiry-form select:user-invalid,
.inquiry-form textarea:user-invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.10);
}

/* Valid field — subtle green tick */
.inquiry-form input:user-valid,
.inquiry-form textarea:user-valid {
    border-color: #27ae60;
}

/* JS-driven invalid state */
.inquiry-form input.is-invalid,
.inquiry-form select.is-invalid,
.inquiry-form textarea.is-invalid {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.10) !important;
}

/* Success Banner */
.form-success-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
    background: #eaf7ef;
    border: 1px solid #a3d9b5;
    border-left: 4px solid #27ae60;
    border-radius: 2px;
    grid-column: 1 / -1;
    animation: fadeSlideIn 0.4s ease;
}

.form-success-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.form-success-banner p {
    margin: 0;
    font-size: var(--text-sm);
    color: #1d6b3a;
    font-weight: 500;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Focus ring — keyboard accessible */
.inquiry-form input:focus-visible,
.inquiry-form select:focus-visible,
.inquiry-form textarea:focus-visible,
.mv-tab-btn:focus-visible,
.inquiry-submit:focus-visible,
.press-card:focus-visible,
.services-scroll-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}


/* =====================================================
   AREA 3 · PRESS SECTION — CREDIBILITY CARDS
   Real press cards with pub name, date, headline, link
   ===================================================== */

/* Override old layout — press row is now column on mobile */
.opening-press {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

@media (min-width: 640px) {
    .opening-press {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }
}

/* Press label stays narrow */
.press-label {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 100px;
}

/* Cards row */
.press-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
}

/* Individual press card */
.press-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 220px;
    max-width: 340px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    /* cursor: pointer; */
}

.press-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(23, 32, 31, 0.09);
    border-color: var(--color-accent);
}

/* Publication name + date row */
.press-card-pub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.press-pub-name {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.press-pub-date {
    font-size: var(--text-xs);
    color: #9a9f9f;
    white-space: nowrap;
}

/* Hindi headline */
.press-card-headline {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #2d3530;
    font-weight: 500;
}

/* Read link */
.press-read-link {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    margin-top: auto;
    transition: letter-spacing 0.2s ease;
}

.press-card:hover .press-read-link {
    letter-spacing: 0.1em;
}

/* Mobile — full width cards */
@media (max-width: 600px) {
    .press-cards {
        flex-direction: column;
    }
    .press-card {
        max-width: 100%;
    }
}


/* =====================================================
   AREA 4 · SPACING & VERTICAL RHYTHM
   8px grid — section padding standardised
   ===================================================== */

/* Consistent section padding on 8px grid */
:root {
    --section-padding: 96px;   /* 12 × 8px */
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;  /* 8 × 8px */
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;  /* 6 × 8px */
    }
}

/* Section headings — consistent bottom margin */
.services-header,
.strengths-header,
.work-header,
.contact-header,
.mentors-header {
    margin-bottom: 56px;   /* 7 × 8px */
}

/* Consistent gap inside partner logos */
.partner-logos-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

/* Intentional gap from Hero → image → logos → services */
.gati-image-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Press row — 8px breathing room */
.opening-press {
    margin-top: 40px;  /* 5 × 8px */
    padding-top: 24px; /* 3 × 8px */
}

/* About section — proper padding */
.about-section {
    padding-top: 96px;
    padding-bottom: 96px;
}

/* Contact section top — kept compact, no large gap */
.contact-section {
    padding-top: 64px;
}


/* =====================================================
   AREA 5 · ACCESSIBILITY & RESPONSIVENESS
   Focus rings, ARIA, mobile scroll-snap for services
   ===================================================== */

/* Global focus-visible ring */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* Skip to main link for keyboard users */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    background: var(--color-accent);
    color: #fff;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-to-main:focus {
    top: 16px;
}

/* Services horizontal scroll — mobile touch friendly */
.services-scroll-wrapper {
    position: relative;
    overflow: hidden; /* JS/CSS handles clipping */
}

/* On mobile, smooth JS-driven flex layout without native scroll-snap conflicts */
@media (max-width: 768px) {
    .services-scroll-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .services-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
        gap: 18px !important;
        padding: 20px 0 75px !important;
        will-change: transform;
        touch-action: pan-y;
    }

    .services-list .service-card {
        flex: 0 0 calc(100vw - 48px) !important;
        width: calc(100vw - 48px) !important;
        max-width: 340px !important;
        min-width: 280px !important;
        box-sizing: border-box !important;
    }
}

/* Right-fade edge — desktop hint that more content exists */
@media (min-width: 769px) {
    .services-scroll-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 100%;
        background: linear-gradient(to right, transparent, #f7f7f4 85%);
        pointer-events: none;
        z-index: 2;
        transition: opacity 0.3s;
    }
    .services-scroll-wrapper.at-end::after {
        opacity: 0;
    }
}

/* Scroll navigation buttons */
.services-scroll-btn {
    display: none; /* shown via JS when needed */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.services-scroll-btn:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 6px 18px rgba(23, 107, 91, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.services-scroll-btn.visible {
    display: flex;
}

.services-scroll-prev { left: -22px; }
.services-scroll-next { right: -22px; }

/* Mentor placeholder images — alt text enforced via HTML */
.mentor-placeholder img,
.leader-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile nav — keyboard accessible */
.gati-mobile-menu a:focus-visible {
    background: var(--color-accent-light);
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}


/* =====================================================
   AREA 6 · MICRO-INTERACTIONS & POLISH
   Hover/focus/active states — clean, confidence-inspiring
   ===================================================== */

/* --- Buttons: Send Inquiry + Start an Inquiry --- */
.inquiry-submit {
    position: relative;
    overflow: hidden;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

.inquiry-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 92, 74, 0.22);
}

.inquiry-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Footer "Start an Inquiry" link */
.footer-column a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* --- Service cards — lift & shadow on hover --- */
.service-card {
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(23, 32, 31, 0.10);
}

/* --- Strength cards — already have hover, polish it --- */
.strength-card {
    cursor: default; /* not clickable — remove pointer hint */
}

/* --- Work items / Program rows --- */
.work-item,
.program-link {
    transition:
        background 0.22s ease,
        padding-left 0.22s ease;
}

.work-item:hover,
.program-link:hover {
    background: rgba(227, 239, 235, 0.45);
}

/* Arrow animate on program row hover */
.work-item:hover .work-number::after,
.program-link:hover .work-number::after {
    content: " →";
}

/* --- Nav links — already have underline slide, add color --- */
.gati-nav-links a {
    transition:
        color 0.22s ease,
        transform 0.22s ease;
}

.gati-nav-links a:hover {
    color: var(--color-accent);
    transform: translateY(-1px);
}

/* --- Press cards — handled in Area 3 above --- */

/* --- Mission/Vision tabs --- */
.mv-tab-btn {
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.mv-tab-btn:hover:not(.active) {
    background: #ecf4f0;
    color: var(--color-accent);
}

/* --- Impact items — subtle lift --- */
.impact-item {
    transition: background 0.22s ease;
}

.impact-item:hover {
    background: rgba(227, 239, 235, 0.30);
}

/* --- Mentor cards — already have hover, reinforce --- */
.mentor-item {
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.mentor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(23, 23, 23, 0.08);
}

/* --- Leader items --- */
.leader-item {
    transition:
        background 0.22s ease,
        padding-left 0.22s ease;
}

.leader-item:hover {
    background: rgba(238, 238, 234, 0.7);
}

/* --- Strength cards — Why We're Different ---
     These are purely informational (not CTAs).
     Remove any pointer-event confusion from ::after dot.
     Add clear, calm hover lift only. */
.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.09);
    cursor: default;
}

/* Ensure the decorative dot is NOT tabbable / clickable */
.strength-card::after {
    pointer-events: none;
    aria-hidden: true;
}


/* =========================================
   TESTIMONIALS — VOICES BEHIND THE IMPACT
   ========================================= */

.testimonials-section {
    padding: 64px 0 60px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}


/* -- Header -- */

.testimonials-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}

.testimonials-header .section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--color-accent);
    letter-spacing: 0.14em;
}

.testimonials-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 14px;
}

.testimonials-subtitle {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
}


/* -- Carousel outer wrapper -- */

.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}


/* -- Track (clipping window) -- */

.testimonials-track-window {
    overflow: hidden;
    width: 100%;
}

/* The actual scrolling track */
.testimonials-track {
    display: flex;
    gap: 32px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}


/* -- Individual card -- */

.testimonial-card {
    flex: 0 0 calc((100% - 64px) / 3);   /* 3-up on desktop */
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
}


/* -- Portrait -- */

.testimonial-portrait-wrap {
    position: relative;
    width: 148px;
    height: 148px;
    margin-bottom: 26px;
    flex-shrink: 0;
}

.testimonial-portrait {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--color-accent-light);
}

/* Decorative play button — lower-right of portrait */
.testimonial-play-btn {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(31, 79, 70, 0.28);
    cursor: default;  /* decorative — no action yet */
    pointer-events: none;
    flex-shrink: 0;
}


/* -- Quote -- */

.testimonial-quote {
    margin: 0 0 20px;
    flex: 1;
}

.testimonial-quote p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--color-text);
    font-style: italic;
    margin: 0;
}


/* -- Name & role -- */

.testimonial-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.testimonial-role {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}


/* -- Navigation arrows -- */

.testimonials-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
    z-index: 2;
}

.testimonials-arrow:hover:not(:disabled) {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: scale(1.06);
}

.testimonials-arrow:disabled,
.testimonials-arrow[aria-disabled="true"] {
    opacity: 0.32;
    cursor: not-allowed;
    pointer-events: none;
}

.testimonials-arrow-prev {
    margin-right: 20px;
}

.testimonials-arrow-next {
    margin-left: 20px;
}


/* -- CTA -- */

.testimonials-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

.testimonials-cta-btn {
    font-size: 0.88rem;
    padding: 13px 28px;
    letter-spacing: 0.02em;
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #fff;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}

.testimonials-cta-btn:hover {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}


/* =========================================
   TESTIMONIALS — RESPONSIVE
   ========================================= */

/* Tablet: 2-up */
@media (max-width: 1023px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 32px) / 2);
    }

    .testimonials-header {
        margin-bottom: 40px;
    }
}

/* Mobile: 1-up */
@media (max-width: 639px) {
    .testimonials-section {
        padding: 48px 0 44px;
    }

    .testimonials-header {
        margin-bottom: 32px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 0 4px;
    }

    .testimonial-portrait-wrap {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .testimonials-arrow-prev {
        margin-right: 12px;
    }

    .testimonials-arrow-next {
        margin-left: 12px;
    }

    .testimonials-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .testimonials-cta-wrap {
        margin-top: 32px;
    }
}
