/* ==========================================================
THE ADHISHA - About Us Page Stylesheet
========================================================== */

.about-page {
    background: var(--bg);
    color: var(--text);
}

/* --- Layout Helper Classes --- */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.container-narrow {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-label {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    font-weight: 700;
}

h2 {
    font-family: 'Josefin Sans', serif;
    font-weight: 600;
    font-size: clamp(38px, 4.5vw, 56px);
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 28px;
}

h2 span {
    color: var(--gold);
}

p {
    font-size: clamp(15.5px, 1.8vw, 17px);
    line-height: 1.8;
    color: #554d45;
    margin-bottom: 20px;
    font-weight: 400;
}

.lead-text {
    font-family: 'Josefin Sans', serif;
    font-size: 24px;
    line-height: 1.7;
    color: var(--text);
    font-style: normal;
    margin-bottom: 28px;
    font-weight: 500;
}

.media-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 48px rgba(24, 18, 12, 0.05);
    background: rgba(0, 0, 0, 0.02);
    position: relative;
}

.media-container img, 
.media-container video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.video-wrapper {
    aspect-ratio: 16 / 10;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =======================================
   SECTION 1: SMALL PAGE BANNER
   ======================================= */
.about-banner {
    position: relative;
    height: 55vh;
    min-height: 380px;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
}

.about-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.65) 0%, rgba(24, 18, 12, 0.85) 100%);
    z-index: 2;
}

.about-banner-content {
    position: relative;
    z-index: 3;
    width: min(900px, 90%);
    padding-top: 60px;
}

.about-banner-content h1 {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.about-banner-content .subtitle {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(17px, 2.2vw, 21px);
    font-style: normal;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    letter-spacing: 1.5px;
}

.breadcrumbs {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    transition: color .3s;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumbs .current {
    color: var(--gold);
}

/* =======================================
   SECTION 2: INTRODUCTION SECTION
   ======================================= */
.about-intro {
    padding: 120px 0;
}

.about-intro-left .image-wrapper {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.about-intro-left .image-wrapper img,
.about-story-right .media-container img,
.founder-media .media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-intro-left .image-wrapper img {
    object-position: 57.5% center;
}

.about-intro-left .image-wrapper:hover img,
.about-story-right .media-container:hover img,
.founder-media .media-container:hover img {
    transform: scale(1.025);
}

/* =======================================
   SECTION 3: OUR STORY
   ======================================= */
.about-story {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.35);
}

.story-block {
    margin-bottom: 48px;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-block h3 {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(26px, 3.2vw, 30px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.story-subtitle {
    color: var(--gold);
    font-size: clamp(18px, 2.2vw, 21px);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 18px;
    font-style: normal;
    font-family: 'Josefin Sans', serif;
    letter-spacing: 0.3px;
}

.story-block p:not(.story-subtitle) {
    font-size: clamp(15.5px, 1.8vw, 17px);
    line-height: 1.8;
    color: #554d45;
    margin-bottom: 0;
}

/* Full-Width Impact Block styling */
.about-story-impact {
    margin-top: 50px;
}

.story-blocks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.story-team-image {
    margin: 65px 0;
    width: 100%;
}

.story-team-image .horizontal-wrapper {
    aspect-ratio: 21 / 9;
}

@media (max-width: 1024px) {
    .about-story > .container {
        display: flex !important;
        flex-direction: column !important;
    }
    .about-story .about-story-left {
        display: contents !important;
    }
    .about-story .section-label {
        order: 1 !important;
    }
    .about-story h2 {
        order: 2 !important;
        margin-bottom: 25px !important;
    }
    .about-story .story-team-image {
        order: 3 !important;
        margin-top: 0 !important;
        margin-bottom: 35px !important;
    }
    .about-story .story-blocks-grid {
        order: 4 !important;
        margin-top: 0 !important;
    }
    .about-story .about-story-impact {
        order: 5 !important;
        margin-top: 35px !important;
    }
}

@media (max-width: 768px) {
    .story-blocks-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .story-team-image .horizontal-wrapper {
        aspect-ratio: 16 / 10;
    }
}

@media (min-width: 992px) {
    .about-story-right {
        height: 100%;
    }
    .about-story-right .media-container {
        height: 100%;
    }
    .about-story-right .media-container img {
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* =======================================
   SECTION 4: MEANING OF ADHISHA
   ======================================= */
.about-meaning {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/meaning-of-adhisha.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    overflow: hidden;
}

.about-meaning::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 12, 8, 0.82) 0%, rgba(16, 12, 8, 0.74) 50%, rgba(16, 12, 8, 0.82) 100%);
    z-index: 1;
}

.about-meaning .container-narrow {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-meaning .section-label {
    font-size: 12px;
    letter-spacing: 3.5px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
    font-weight: 700;
}

.about-meaning h2 {
    color: #ffffff;
    font-family: 'Josefin Sans', serif;
    font-size: clamp(34px, 3.8vw, 46px);
    font-weight: 600;
    line-height: 1.18;
    margin-bottom: 14px;
}

.meaning-subtitle {
    color: var(--gold);
    font-size: clamp(15px, 1.6vw, 17px);
    font-family: 'Josefin Sans', serif;
    font-style: normal;
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.meaning-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(16.5px, 1.6vw, 19px);
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.92);
    font-style: normal;
    font-weight: 400;
    margin-bottom: 24px;
}

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

@media (max-width: 992px) {
    .about-meaning {
        padding: 80px 0;
    }
    .about-meaning .container-narrow {
        max-width: 86%;
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .about-meaning {
        padding: 60px 0;
        background-attachment: scroll;
    }
    .about-meaning .container-narrow {
        max-width: 92%;
        padding: 0 20px;
    }
    .about-meaning h2 {
        font-size: clamp(28px, 6.5vw, 34px);
        margin-bottom: 12px;
    }
    .meaning-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
    .meaning-text {
        font-size: 16px;
        line-height: 1.68;
        margin-bottom: 20px;
    }
}

/* =======================================
   SECTION 5: OUR LOGO
   ======================================= */
.about-logo {
    position: relative;
    padding: 85px 0 75px;
    background: #F9F6F0;
    overflow: hidden;
}

/* Side Ornamental Arcs */
.logo-side-arc {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    height: 440px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.logo-side-arc.arc-left {
    left: -40px;
}

.logo-side-arc.arc-right {
    right: -40px;
}

.logo-side-arc svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-logo .container-narrow {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-logo .section-label {
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
}

.about-logo h2 {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(38px, 4.2vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    color: #1A1208;
    margin-bottom: 10px;
}

.about-logo .story-subtitle {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(16px, 1.7vw, 19px);
    color: var(--gold);
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}

.logo-display-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 24px;
    padding: 0;
}

.about-logo-img {
    width: min(410px, 90vw);
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform var(--transition);
}

.about-logo-img:hover {
    transform: scale(1.015);
}

.logo-text-block {
    margin-top: 24px;
}

.logo-desc {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(16px, 1.5vw, 17.5px);
    line-height: 1.75;
    color: #4A433B;
    max-width: 760px;
    margin: 0 auto 24px;
    font-weight: 400;
}

.logo-desc:last-of-type {
    margin-bottom: 0;
}

/* Formula Wrapper with Side Lines */
.logo-formula-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.formula-line {
    flex: 1;
    height: 1px;
    background: rgba(196, 154, 53, 0.35);
}

.logo-formula {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(15px, 1.6vw, 18px);
    letter-spacing: 3.5px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .logo-side-arc.arc-left {
        left: -90px;
    }
    .logo-side-arc.arc-right {
        right: -90px;
    }
}

@media (max-width: 992px) {
    .about-logo {
        padding: 60px 0 50px;
    }
    .about-logo .container-narrow {
        max-width: 88%;
        padding: 0 24px;
    }
    .about-logo-img {
        width: min(330px, 85vw);
    }
    .logo-display-wrapper {
        margin: 16px auto 20px;
    }
    .logo-side-arc {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-logo {
        padding: 45px 0 40px;
    }
    .about-logo .container-narrow {
        max-width: 92%;
        padding: 0 20px;
    }
    .about-logo-img {
        width: min(270px, 80vw);
    }
    .logo-display-wrapper {
        margin: 14px auto 18px;
    }
    .logo-desc {
        font-size: 15.5px;
        line-height: 1.68;
        margin-bottom: 18px;
    }
    .logo-formula-wrapper {
        gap: 12px;
        margin-top: 30px;
        max-width: 100%;
    }
    .logo-formula {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

/* =======================================
   SECTION 6 & 9: SWIPER SLIDERS
   ======================================= */
.about-teachers-slider-sec {
    padding: 85px 0 75px;
}

.about-guides-slider-sec {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.35);
}

.slider-header {
    margin-bottom: 38px;
}

.slider-header h2 {
    font-size: clamp(34px, 3.6vw, 44px);
}

/* Swiper Container adjustments */
.teachers-swiper,
.guides-swiper {
    padding-bottom: 70px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Teacher Card */
.teacher-slide-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 15px 35px rgba(24, 18, 12, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.teacher-slide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(24, 18, 12, 0.08);
}

.teacher-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    background: #eaeaea;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    padding: 26px 24px;
    text-align: center;
}

.teacher-info h3 {
    font-family: 'Josefin Sans', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.teacher-info .designation {
    font-size: 13.5px;
    letter-spacing: 1.5px;
    color: var(--gold, #c49a35);
    text-transform: uppercase;
    font-weight: 500;
}

.guide-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
    outline: none;
}

/* Guide Card */
.guide-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 15px 35px rgba(24, 18, 12, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(24, 18, 12, 0.08);
}

.guide-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

.guide-details {
    padding: 24px;
    text-align: center;
}

.guide-details h3 {
    font-family: 'Josefin Sans', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.guide-details .role {
    font-size: 12.5px;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Custom Swiper Bullet/Arrow Styles matching luxury theme */
.swiper-button-prev,
.swiper-button-next {
    color: var(--gold) !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(196, 154, 53, 0.2);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--gold);
    color: white !important;
    border-color: var(--gold);
}

/* Scoped styles for guides swiper wrapper and button positioning */
.guides-swiper-wrapper {
    position: relative;
    width: 100%;
}

.guides-swiper-wrapper .swiper-button-prev,
.guides-swiper-wrapper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -35px; /* Offset pagination height */
    z-index: 10;
}

@media (min-width: 1200px) {
    .guides-swiper-wrapper .swiper-button-prev {
        left: -65px !important;
    }
    .guides-swiper-wrapper .swiper-button-next {
        right: -65px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .guides-swiper-wrapper .swiper-button-prev {
        left: 15px !important;
    }
    .guides-swiper-wrapper .swiper-button-next {
        right: 15px !important;
    }
}

@media (max-width: 1023px) {
    .guides-swiper-wrapper .swiper-button-prev,
    .guides-swiper-wrapper .swiper-button-next {
        display: none !important;
    }
}

/* Hide disabled navigation buttons completely */
.guides-swiper-wrapper .swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
}

.slider-footer {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slider-footer p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.7;
}

/* =======================================
   SECTION 7: OUR PHILOSOPHY
   ======================================= */
.about-philosophy {
    padding: 120px 0;
    background: #FAF7F2;
}

.philosophy-lead-gold {
    color: var(--gold);
    font-size: clamp(18px, 2.2vw, 21px);
    font-style: normal;
    font-family: 'Josefin Sans', serif;
    margin-top: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.philosophy-lead-body {
    font-size: clamp(15.5px, 1.8vw, 17px);
    line-height: 1.8;
    color: #554d45;
    max-width: 800px;
    margin: 0 auto 30px;
}

.philosophy-subtitle-text {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(24px, 2.8vw, 28px);
    font-weight: 600;
    color: var(--text);
    margin-top: 40px;
    font-style: normal;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 70px;
}

.philosophy-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 15px 35px rgba(24, 18, 12, 0.03);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.philosophy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(24, 18, 12, 0.07);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(196, 154, 53, 0.08);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.philosophy-card h3 {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(24px, 2.8vw, 28px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.philosophy-card p {
    font-size: clamp(15.5px, 1.8vw, 17px);
    line-height: 1.8;
    color: #554d45;
    margin-bottom: 0;
}

/* =======================================
   SECTION 8: OUR FOUNDERS
   ======================================= */
.about-founders-sec {
    padding: 120px 0;
}

.founder-row {
    margin-top: 80px;
    gap: 80px;
    grid-template-columns: 1fr 1.2fr;
}

.founder-row.reverse-layout {
    grid-template-columns: 1.2fr 1fr;
}

.founder-media {
    position: sticky;
    top: 120px;
    align-self: start;
    z-index: 5;
}

.founder-media .media-container {
    aspect-ratio: 4 / 5;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.founder-media .media-container img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
}

/* Align Sandeep Ji's photo specifically to fit and center his portrait */
.founder-row:first-of-type .founder-media .media-container img {
    object-position: 57.5% center !important;
}

.founder-bio {
    padding-right: 20px;
}

.founder-row.reverse-layout .founder-bio {
    padding-right: 0;
    padding-left: 20px;
}

.role-tag {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.founder-bio h3 {
    font-family: 'Josefin Sans', serif;
    font-size: 40px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 22px;
}

.founder-story-txt,
.founder-bio p {
    font-size: clamp(15.5px, 1.8vw, 17px);
    line-height: 1.8;
    color: #554d45;
}

blockquote {
    font-family: 'Josefin Sans', serif;
    font-style: normal;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--gold, #c49a35);
    border-left: 2px solid var(--gold);
    padding-left: 24px;
    margin: 32px 0;
}

/* =======================================
   SECTION 10: THE HEART OF ADHISHA
   ======================================= */
.about-heart {
    padding: 120px 0;
}

.about-heart-left {
    padding-right: 20px;
}

/* Collage grid */
.collage-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 520px;
    position: relative;
}

.collage-item {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(24, 18, 12, 0.05);
    transition: transform 0.4s ease, z-index 0s;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-item:hover {
    transform: scale(1.05);
    z-index: 5;
}

.collage-1 {
    grid-column: 1 / 8;
    grid-row: 1 / 8;
    z-index: 1;
}

.collage-2 {
    grid-column: 7 / 13;
    grid-row: 3 / 8;
    z-index: 2;
}

.collage-3 {
    grid-column: 3 / 9;
    grid-row: 7 / 13;
    z-index: 3;
}

.collage-4 {
    grid-column: 9 / 13;
    grid-row: 8 / 12;
    z-index: 2;
}

.about-heart-right .intro-p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.staff-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.staff-row {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.staff-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.staff-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(196, 154, 53, 0.25);
    background: #eaeaea;
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-meta {
    flex: 1;
}

.staff-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.staff-title h4 {
    font-family: 'Josefin Sans', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.staff-title .badge {
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--gold);
    border: 1px solid rgba(196, 154, 53, 0.3);
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
    font-weight: 600;
}

.staff-meta p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--grey);
    margin-bottom: 0;
}

/* =======================================
   SECTION 11: A LIFETIME OF CONNECTION (GALLERY)
   ======================================= */
.about-gallery {
    padding: 120px 0;
    background: var(--bg);
}

.gallery-lead {
    font-size: 14px;
    color: var(--grey);
    margin-top: -14px;
    margin-bottom: 60px;
}

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

.gallery-masonry .gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(24, 18, 12, 0.04);
}

.gallery-masonry .gallery-item:nth-child(2),
.gallery-masonry .gallery-item:nth-child(5) {
    aspect-ratio: 3 / 4;
}

.gallery-masonry .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-masonry .gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(24, 18, 12, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-masonry .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-family: 'Josefin Sans', serif;
    font-size: 20px;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-masonry .gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox Modal CSS */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 40px;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    will-change: opacity, transform;
    transition: opacity 0.38s cubic-bezier(0.25, 1, 0.5, 1), transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Josefin Sans', serif;
    font-size: 22px;
    margin-top: 15px;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--gold);
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    color: #FAF5ED !important;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000005;
}

.lightbox-close:hover {
    background: rgba(197, 160, 89, 0.95) !important;
    border-color: rgba(197, 160, 89, 0.95) !important;
    color: #1a1208 !important;
    transform: scale(1.08) rotate(90deg);
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
}

.lightbox-footer {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000002;
    pointer-events: auto;
}

.lightbox-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lightbox-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-dot.active {
    background: #C49A35;
    border-color: #C49A35;
    transform: scale(1.35);
    box-shadow: 0 0 10px rgba(196, 154, 53, 0.7);
}

.lightbox-swipe-hint {
    display: none !important;
}

@media (max-width: 1024px) {
    .lightbox-prev,
    .lightbox-next {
        display: none !important;
    }
}

/* =======================================
   RESPONSIVENESS MEDIA QUERIES
   ======================================= */
@media (max-width: 1200px) {
    .grid-two-col {
        gap: 50px;
    }
    
    .about-heart-left {
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .grid-two-col {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .founder-row,
    .founder-row.reverse-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .founder-bio {
        display: contents !important;
    }

    .founder-bio h3 {
        order: 1 !important;
        margin-bottom: 6px !important;
        text-align: left !important;
    }

    .role-tag {
        order: 2 !important;
        margin-bottom: 18px !important;
        text-align: left !important;
    }

    .founder-media {
        order: 3 !important;
        position: static !important;
        width: 100% !important;
        margin-bottom: 22px !important;
    }

    .founder-media .media-container {
        margin: 0 auto;
    }

    .founder-bio p,
    .founder-bio blockquote,
    .founder-story-txt {
        order: 4 !important;
        text-align: left !important;
    }

    .reverse-tablet {
        direction: rtl;
    }

    .reverse-tablet > * {
        direction: ltr;
    }

    .about-story-right {
        order: -1;
    }

    .about-intro {
        padding: 90px 0;
    }

    .about-story {
        padding: 90px 0;
    }

    .about-teachers-slider-sec,
    .about-guides-slider-sec,
    .about-philosophy,
    .about-founders-sec,
    .about-heart,
    .about-gallery {
        padding: 90px 0;
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 50px;
    }

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

    .founder-row {
        margin-top: 60px;
        gap: 50px;
    }

    .founder-bio,
    .founder-row.reverse-layout .founder-bio {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 991px) {
    .about-banner {
        height: 45vh;
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .about-banner {
        height: 35vh;
        min-height: 250px;
    }

    .about-intro,
    .about-teachers-slider-sec,
    .about-guides-slider-sec,
    .about-philosophy,
    .about-founders-sec,
    .about-heart,
    .about-gallery {
        padding: 60px 0 !important;
    }

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

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

    .gallery-masonry .gallery-item,
    .gallery-masonry .gallery-item:nth-child(2),
    .gallery-masonry .gallery-item:nth-child(5) {
        aspect-ratio: 4 / 3;
    }

    .collage-container {
        height: 380px;
    }

    .staff-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .staff-title {
        justify-content: center;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 34px;
    }

    .lightbox-prev {
        left: 15px;
        font-size: 26px;
    }

    .lightbox-next {
        right: 15px;
        font-size: 26px;
    }
}

/* ==========================================================
   INDIA STORYTELLING SLIDER
========================================================== */

.india-story-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    max-width: 1080px; /* Enlarged slide width */
    margin: 0 auto;
}

.india-story-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 580px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 35px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 55px rgba(24, 18, 12, 0.07);
}

.india-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prevent blue selection highlight on drag/click */
.teachers-swiper,
.teachers-swiper *,
.india-story-card,
.india-story-image,
.india-story-image img {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

.india-story-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

.india-story-content h3 {
    font-family: 'Josefin Sans', serif;
    font-size: 30px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.india-story-content p {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    margin: 0;
}

.india-story-static-text {
    max-width: 880px;
    margin: 32px auto 0;
    padding: 0 20px;
}

.india-story-static-text p {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(16px, 1.5vw, 17.5px);
    line-height: 1.75;
    color: #4A433B;
}

/* Custom Swiper Controls Positioned Outside Image with Breathing Room */
.teachers-swiper {
    position: relative;
    overflow: visible !important;
    padding-bottom: 45px !important;
}

.teachers-swiper .swiper-button-prev,
.teachers-swiper .swiper-button-next {
    color: var(--gold);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(196, 154, 53, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(24, 18, 12, 0.12);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
    top: 45%;
    transform: translateY(-50%);
    outline: none !important;
}

.teachers-swiper .swiper-button-prev::after,
.teachers-swiper .swiper-button-next::after {
    font-size: 19px;
    font-weight: 700;
}

.teachers-swiper .swiper-button-prev:hover,
.teachers-swiper .swiper-button-next:hover {
    background: #18120C;
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 35px rgba(24, 18, 12, 0.25);
}

.teachers-swiper .swiper-button-prev:focus-visible,
.teachers-swiper .swiper-button-next:focus-visible {
    outline: 2px solid var(--gold) !important;
    outline-offset: 3px;
}

.teachers-swiper .swiper-button-prev:active,
.teachers-swiper .swiper-button-next:active {
    transform: translateY(-50%) scale(0.96);
}

.teachers-swiper .swiper-button-prev {
    left: -25px;
}

.teachers-swiper .swiper-button-next {
    right: -25px;
}

/* Pagination Dots Styling & Positioning */
.teachers-swiper .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 18px !important;
    z-index: 10;
}

.teachers-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(196, 154, 53, 0.35);
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.teachers-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 22px;
    border-radius: 6px;
}

@media(max-width: 1199px) {
    .teachers-swiper .swiper-button-prev,
    .teachers-swiper .swiper-button-next {
        display: none !important;
    }
}

@media(max-width: 992px) {
    .about-teachers-slider-sec {
        padding: 65px 0 55px;
    }
    .slider-header {
        margin-bottom: 30px;
    }
    .india-story-image {
        aspect-ratio: 16 / 10;
    }
}

@media(max-width: 767px) {
    .about-teachers-slider-sec {
        padding: 50px 0 40px;
    }
    .slider-header {
        margin-bottom: 24px;
    }
    .slider-header h2 {
        font-size: clamp(26px, 6vw, 32px);
    }
    .india-story-content h3 {
        font-size: 24px;
    }
    .india-story-content p {
        font-size: 15px;
    }

    /* Mobile arrows hidden per requirement 6 */
    .teachers-swiper .swiper-button-prev,
    .teachers-swiper .swiper-button-next {
        display: none !important;
    }

    .india-story-image {
        aspect-ratio: 16 / 11;
        border-radius: 18px;
        margin-bottom: 20px;
    }

    .india-story-static-text {
        margin-top: 24px;
    }

    .india-story-static-text p {
        font-size: 15.5px;
        line-height: 1.68;
    }
}

/* ==========================================================
TEACHERS BIO MODAL STYLES
========================================================== */
.bio-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bio-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.bio-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 12, 8, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bio-modal-container {
    position: relative;
    background: #FAF8F5;
    width: min(1200px, 95%);
    max-height: 90vh;
    border-radius: 24px;
    overflow: hidden;
    z-index: 10002;
    box-shadow: 0 30px 80px rgba(16, 12, 8, 0.15);
    border: 1px solid rgba(196, 154, 53, 0.08);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.bio-modal.active .bio-modal-container {
    transform: scale(1);
}

.bio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 12, 8, 0.05);
    border: none;
    font-size: 24px;
    color: #554d45;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.bio-modal-close:hover {
    background: var(--gold);
    color: white;
}

.bio-modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    width: 100%;
    height: 100%;
}

.bio-modal-media {
    overflow: hidden;
    height: 100%;
}

.bio-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-modal-info {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: 90vh;
}

.bio-modal-role {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.bio-modal-name {
    font-family: 'Josefin Sans', serif;
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.bio-modal-body p {
    font-size: 15px;
    line-height: 1.75;
    color: #554d45;
    margin-bottom: 15px;
}

.bio-modal-body p:last-child {
    margin-bottom: 0;
}

.bio-modal-body h4 {
    font-family: 'Josefin Sans', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-top: 25px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 4px;
}

.bio-modal-body h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 1.5px;
    background: var(--gold);
}

.bio-modal-body ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.bio-modal-body li {
    font-size: 14px;
    line-height: 1.6;
    color: #655d55;
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.bio-modal-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.bio-modal-body blockquote {
    font-family: 'Josefin Sans', serif;
    font-size: 18px;
    font-style: normal;
    line-height: 1.6;
    color: #655d55;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
    margin: 20px 0;
}

@media (max-width: 1023px) {
    .bio-modal {
        padding: 16px !important;
    }
    .bio-modal-container {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100dvh - 32px) !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .bio-modal-content {
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        height: 100%;
    }
    .bio-modal-media {
        aspect-ratio: 16 / 10;
        width: 100%;
        height: auto;
        flex-shrink: 0;
    }
    .bio-modal-info {
        padding: 30px 24px;
        overflow: visible;
        max-height: none;
        height: auto;
    }
    .bio-modal-close {
        background: rgba(250, 248, 245, 0.9) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        top: 15px;
        right: 15px;
    }
}

/* Landscape / low-height devices optimization */
@media (max-width: 1023px) and (max-height: 500px) {
    .bio-modal-media {
        aspect-ratio: 21 / 9 !important;
        max-height: 120px !important;
    }
}

/* ==========================================================
GPU PERFORMANCE OPTIMIZATIONS
========================================================== */
.philosophy-card,
.founder-row,
.guides-swiper,
.teachers-swiper,
.collage-item,
.staff-card {
    will-change: transform, opacity;
}
