/* ============ ABOUT PAGE CUSTOM STYLES ============ */
:root {
    --zf-red: #e63946;
    --zf-red-dark: #c92a38;
    --zf-cream: #fdf3ee;
    --zf-cream-2: #fbeee7;
    --zf-ink: #1f2430;
    --zf-muted: #6b7280;
}

/* ---- Breadcrumb Banner ---- */
.breadcrumb-banner {
    position: relative;
    background-image: url('../assets/about-us.png');
    background-size: cover;
    background-position: center;
    /* padding: 110px 0 90px; */
    padding: 250px 0px 300px;
    text-align: center;
}

.breadcrumb-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(180deg, rgba(20, 20, 25, .55), rgba(20, 20, 25, .65)); */
}

.breadcrumb-banner .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-banner h1 {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: .6rem;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
}

.breadcrumb-list li a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-list li+li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(255, 255, 255, .5);
}

.breadcrumb-list li.active {
    color: var(--zf-red);
    font-weight: 600;
}

@media (max-width:768px) {
    .breadcrumb-banner {
        background-image: url('../assets/about-us.png');
        padding: 70px 0 160px;
        /* padding: 70px 0 55px; */
    }

    .breadcrumb-banner h1 {
        font-size: 1.9rem;
    }
}

/* ---- About Us (text left / image right) ---- */
.bg-paper {
    background: #ffffff;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--zf-red);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ---- About Us: image card SLIDER (4 cards, manual swipe) ---- */
.about-img-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .1);
}

.about-img-track {
    display: flex;
    width: 100%;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.about-img-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
}

.about-img-slide img {
    width: 100%;
    height: 460px;
    display: block;
    object-fit: cover;
}

/* dark info bar overlay on each slide (shows tier text) */
.slide-info-bar {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    background: rgba(20, 20, 25, .88);
    color: #fff;
    padding: 16px 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.slide-info-bar .info-label {
    display: block;
    font-size: .66rem;
    letter-spacing: .07em;
    color: var(--zf-red);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.slide-info-bar .info-title {
    display: block;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
}

.slide-info-bar .info-count {
    display: inline-block;
    background: var(--zf-red);
    color: #fff;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* prev / next swipe buttons */
.about-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--zf-ink);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
    z-index: 4;
    transition: all .25s ease;
}

.about-slider-btn:hover {
    background: var(--zf-red);
    color: #fff;
}

.about-slider-btn.prev {
    left: 14px;
}

.about-slider-btn.next {
    right: 14px;
}

/* dots */
.about-slider-dots {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 4;
}

.about-slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: all .25s ease;
}

.about-slider-dots button.active {
    background: var(--zf-red);
    width: 22px;
    border-radius: 4px;
}

.about-exp-badge {
    position: absolute;
    left: 20px;
    bottom: -16px;
    z-index: 5;
    background: var(--zf-red);
    color: #fff;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 4px solid #fff;
    box-shadow: 0 12px 26px rgba(230, 57, 70, .35);
}

.about-exp-badge strong {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.about-exp-badge span {
    font-size: .6rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 3px;
    line-height: 1.2;
}

.about-inline-stats {
    display: flex;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.about-inline-stats .stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-inline-stats .stat i {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--zf-cream);
    color: var(--zf-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.about-inline-stats .stat h6 {
    margin: 0;
    font-weight: 700;
}

.about-inline-stats .stat span {
    color: var(--zf-muted);
    font-size: .85rem;
}

@media (max-width:991px) {
    .about-img-slide img {
        height: 340px;
    }

    .about-exp-badge {
        width: 88px;
        height: 88px;
        left: 16px;
        bottom: -10px;
    }

    .about-exp-badge strong {
        font-size: 1.3rem;
    }

    .slide-info-bar {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 12px 16px;
        gap: 16px;
    }

    .slide-info-bar .info-title {
        font-size: .82rem;
    }

    .about-slider-btn {
        width: 38px;
        height: 38px;
        font-size: .9rem;
    }
}

@media (max-width:576px) {
    .about-img-slide img {
        height: 260px;
    }

    .slide-info-bar {
        left: 10px;
        right: 10px;
        bottom: 10px;
        /* flex-direction:column;  */
        gap: 8px;
        padding: 12px 14px;
    }

    .slide-info-bar .info-count {
        align-self: center;
    }

    .about-exp-badge {
        width: 74px;
        height: 74px;
        left: 10px;
        bottom: -8px;
    }

    .about-exp-badge strong {
        font-size: 1.1rem;
    }

    .about-exp-badge span {
        font-size: .5rem;
    }
}

/* ---- Mission / Vision toggle ---- */
.bg-cream {
    background: var(--zf-cream);
}

.mv-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.mv-toggle-switch {
    display: inline-flex;
    background: #fff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.mv-tab {
    border: none;
    background: transparent;
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--zf-ink);
    cursor: pointer;
    transition: all .25s ease;
}

.mv-tab.active {
    background: var(--zf-red);
    color: #fff;
}

.mv-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.mv-card.d-none {
    display: none;
}

.mv-card .mv-img {
    border-radius: 14px;
    overflow: hidden;
}

.mv-card .mv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.mv-card .mv-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--zf-cream-2);
    color: var(--zf-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.mv-card h3 {
    font-weight: 800;
    margin-bottom: 16px;
}

.mv-card p {
    color: var(--zf-muted);
}

.mv-tagline {
    display: inline-block;
    margin-top: 16px;
    color: var(--zf-red);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-top: 1px solid #f0e4dc;
    padding-top: 14px;
    width: 100%;
}

@media (max-width:768px) {
    .mv-card {
        padding: 24px;
    }

    .mv-tab {
        padding: 10px 18px;
        font-size: .9rem;
    }
}

/* ---- Story / History (recolored, no green) ---- */
.bg-story {
    background: var(--zf-cream-2);
}

/* ============ FOUNDERS ============ */
.founders {
    background: var(--orange-50);
    padding: 40px 0 60px;
}


.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    /* or whatever max width you prefer */
    margin: 0 auto;
    /* This centers the grid */
    justify-items: center;
    /* Centers items within grid cells */
    align-items: start;
}

/* Founder Card */
.founder-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 16px rgba(36, 22, 8, 0.04);
    position: relative;
    isolation: isolate;
}

/* Always visible red glow behind card */
.founder-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 19, 19, 0.055), transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: founderFloatBg 20s ease-in-out infinite alternate;
}

@keyframes founderFloatBg {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-20px, -30px) scale(1.1);
    }

    66% {
        transform: translate(30px, 20px) scale(0.9);
    }

    100% {
        transform: translate(-10px, -40px) scale(1.05);
    }
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -16px rgba(36, 22, 8, 0.15);
    border-color: var(--chili);
}

.founder-card:hover::before {
    animation-duration: 12s;
}

/* Founder Image Container */
.founder-img {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--white);
    isolation: isolate;
}

/* Always visible red glow behind image */
.founder-img::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 158, 158, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: founderGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes founderGlowPulse {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(30px, -20px) scale(1.3);
        opacity: 1;
    }

    100% {
        transform: translate(-20px, 20px) scale(0.8);
        opacity: 0.7;
    }
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    position: relative;
    z-index: 1;
}

.founder-card:hover .founder-img img {
    transform: scale(1.05);
}

/* Rotating border effect - always visible with subtle opacity */
.founder-img::after {
    content: '';
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--chili), #c03a2b33, var(--chili));
    background-size: 200% 200%;
    animation: founderBorderRotate 5s linear infinite;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.founder-card:hover .founder-img::after {
    opacity: 1;
}

@keyframes founderBorderRotate {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 200%;
    }
}

/* Social Icons on Image */
.founder-social {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s ease;
    z-index: 2;
}

.founder-card:hover .founder-social {
    opacity: 1;
    transform: translateY(0);
}

.founder-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.founder-social a:hover {
    background: var(--chili);
    color: #fff;
    transform: translateY(-2px);
    border-color: var(--chili);
}

/* Founder Info */
.founder-info {
    padding: 20px 24px 24px;
    position: relative;
    z-index: 1;
}

.founder-info h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--ink);
}

.founder-role {
    font-size: 0.78rem;
    color: var(--chili);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.founder-info p {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-bottom: 14px;
    line-height: 1.6;
}

.founder-badge {
    display: inline-flex;
    gap: 6px;
}

.founder-badge span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    background: var(--cream);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--basil);
}

.founder-badge span i {
    font-size: 0.6rem;
}

/* ===== RESPONSIVE FOUNDERS ===== */
@media (max-width: 992px) {
    .founders {
        padding: 60px 0 80px;
    }

    .founders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .founder-img {
        height: 240px;
    }

    .founder-img::before {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .founders {
        padding: 50px 0 60px;
    }

    .founders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .founder-img {
        height: 200px;
    }

    .founder-info {
        padding: 16px 18px 20px;
    }

    .founder-info h4 {
        font-size: 1rem;
    }

    .founder-role {
        font-size: 0.7rem;
    }

    .founder-info p {
        font-size: 0.78rem;
    }

    .founder-social a {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .founder-img::before {
        width: 150px;
        height: 150px;
        bottom: -30%;
        left: -10%;
    }
}

@media (max-width: 576px) {
    .founders {
        padding: 40px 0 50px;
    }

    .founders-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .founder-img {
        height: 160px;
    }

    .founder-info {
        padding: 12px 14px 16px;
    }

    .founder-info h4 {
        font-size: 0.9rem;
    }

    .founder-role {
        font-size: 0.6rem;
        margin-bottom: 6px;
    }

    .founder-info p {
        font-size: 0.7rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .founder-badge span {
        font-size: 0.55rem;
        padding: 2px 10px;
    }

    .founder-social {
        bottom: 10px;
        right: 10px;
        gap: 4px;
    }

    .founder-social a {
        width: 26px;
        height: 26px;
        font-size: 0.6rem;
    }

    .founder-img::before {
        width: 120px;
        height: 120px;
        bottom: -20%;
        left: -5%;
    }
}

@media (max-width: 400px) {
    .founders-grid {
        gap: 10px;
    }

    .founder-img {
        height: 130px;
    }

    .founder-info h4 {
        font-size: 0.8rem;
    }

    .founder-info p {
        font-size: 0.65rem;
    }

    .founder-img::before {
        width: 80px;
        height: 80px;
    }
}



/* =============================================
   GALLERY SECTION
   ============================================= */

.gallery-section {
    background: linear-gradient(180deg,
            var(--cream) 0%,
            #FFEBCE 12%,
            #FFE0B4 45%,
            #FFE3BB 70%,
            #FFF3E1 90%,
            var(--cream) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 29, 37, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(242, 169, 59, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.gallery-tab {
    padding: 8px 24px;
    border-radius: 50px;
    border: 2px solid var(--border-soft);
    background: transparent;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.35s ease;
    font-family: var(--font-body);
}

.gallery-tab:hover {
    border-color: var(--chili);
    color: var(--chili);
    transform: translateY(-2px);
}

.gallery-tab.active {
    background: var(--chili);
    border-color: var(--chili);
    color: #fff;
    box-shadow: 0 8px 24px -8px rgba(200, 29, 37, 0.4);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: var(--paper);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
    aspect-ratio: auto;
}

.gallery-item:nth-child(7) {
    grid-column: span 2;
    aspect-ratio: auto;
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gallery-item-inner img {
    transform: scale(1.08);
}

/* Gallery Item Overlay */
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(36, 22, 8, 0.1) 0%, 
        rgba(36, 22, 8, 0.5) 60%, 
        rgba(36, 22, 8, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-content {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gallery-item-content {
    transform: translateY(0);
}

.gallery-item-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-item-icon {
    background: var(--chili);
    transform: scale(1.1);
}

.gallery-item-icon.play-btn {
    width: 56px;
    height: 56px;
    font-size: 22px;
    background: rgba(200, 29, 37, 0.85);
}

.gallery-item-icon.play-btn:hover {
    background: var(--chili);
    transform: scale(1.15);
}

.gallery-item-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.gallery-item-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Video Badge */
.gallery-video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(200, 29, 37, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.gallery-video-badge i {
    font-size: 10px;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 10;
}

.video-modal-close:hover {
    transform: rotate(90deg);
}

.video-modal-body {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== IMAGE MODAL ===== */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal.active {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 10;
}

.image-modal-close:hover {
    transform: rotate(90deg);
}

.image-modal-body {
    position: relative;
}

.image-modal-body img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 12px;
    object-fit: contain;
    display: block;
}

.image-modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    border-radius: 0 0 12px 12px;
    color: #fff;
}

.image-modal-caption h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.image-modal-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 5;
}

.image-modal-nav:hover {
    background: var(--chili);
    transform: translateY(-50%) scale(1.05);
}

.image-modal-prev {
    left: -60px;
}

.image-modal-next {
    right: -60px;
}

/* ===== LOAD MORE BUTTON ===== */
.btn-load-more {
    padding: 14px 40px;
}

.btn-load-more.loading {
    pointer-events: none;
    opacity: 0.6;
}

.btn-load-more.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE GALLERY ===== */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
    }
}

@media (max-width: 992px) {
    .gallery-section {
        padding: 60px 0 80px;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
    }
    .gallery-tab {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
    .image-modal-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .image-modal-prev {
        left: -45px;
    }
    .image-modal-next {
        right: -45px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0 60px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1;
    }
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
    .gallery-item-content h4 {
        font-size: 0.85rem;
    }
    .gallery-item-content p {
        font-size: 0.7rem;
    }
    .gallery-item-overlay {
        padding: 16px;
    }
    .gallery-item-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .gallery-item-icon.play-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .gallery-tabs {
        gap: 4px;
    }
    .gallery-tab {
        padding: 4px 12px;
        font-size: 0.65rem;
        border-width: 1.5px;
    }
    .video-modal-content {
        max-width: 95vw;
    }
    .video-modal-close {
        top: -40px;
        font-size: 22px;
    }
    .image-modal-nav {
        display: none;
    }
    .image-modal-body img {
        max-height: 60vh;
    }
    .image-modal-caption {
        padding: 20px 16px 16px;
    }
    .image-modal-caption h4 {
        font-size: 1rem;
    }
    .image-modal-caption p {
        font-size: 0.8rem;
    }
    .gallery-section::before,
    .gallery-section::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 40px 0 50px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .gallery-item {
        border-radius: 12px;
        aspect-ratio: 1 / 1;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1;
    }
    .gallery-item-overlay {
        padding: 12px;
    }
    .gallery-item-content h4 {
        font-size: 0.75rem;
    }
    .gallery-item-content p {
        font-size: 0.6rem;
    }
    .gallery-item-icon {
        width: 28px;
        height: 28px;
        font-size: 11px;
        margin-bottom: 6px;
    }
    .gallery-item-icon.play-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .gallery-tab {
        padding: 3px 10px;
        font-size: 0.55rem;
    }
    .gallery-video-badge {
        font-size: 8px;
        padding: 2px 8px;
        top: 8px;
        right: 8px;
    }
    .btn-load-more {
        padding: 10px 28px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .gallery-grid {
        gap: 6px;
    }
    .gallery-item {
        border-radius: 10px;
    }
    .gallery-item-overlay {
        padding: 8px;
    }
    .gallery-item-content h4 {
        font-size: 0.65rem;
    }
    .gallery-item-content p {
        font-size: 0.55rem;
    }
    .gallery-item-icon {
        width: 24px;
        height: 24px;
        font-size: 9px;
        margin-bottom: 4px;
    }
    .gallery-item-icon.play-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

    /* ===== Team / Founders Section — solid background instead of animation ===== */
    /* The moving/animated background lives in css/about.css. Overriding it here
       (loaded after that stylesheet) so the area behind each photo is solid. */
    .founders,
    .founders-grid,
    .founder-card,
    .founder-img {
        animation: none !important;
    }
    .founder-img,
    .founder-img::before,
    .founder-img::after,
    .founder-card::before,
    .founder-card::after {
        animation: none !important;
        background-image: none !important;
    }
    .founder-img {
        /* background-color: #F5F0EA !important; */
         /* background-color: #edd5b3 !important; */
         background-color: #ebafad !important;
    }


    /* ===== Mission & Vision — stacked layout (toggle removed) ===== */
    .mv-card-stacked {
        margin-bottom: 32px;
    }
    .mv-card-stacked:last-child {
        margin-bottom: 0;
    }

    /* Reviews styling for About page - Updated with Video Support */
    .reviews-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .review-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #EDE1CB;
        transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        display: flex;
        flex-direction: column;
    }

    .review-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(36, 22, 8, 0.08);
        border-color: #C81D25;
    }

    .review-card.featured {
        border-color: #C81D25;
        background: linear-gradient(135deg, #fff 0%, #FFF9F1 100%);
    }

    .review-card-inner {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    /* ===== Media Container ===== */
    .review-media-container {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* 16:9 Aspect Ratio (plain image cards) */
        overflow: hidden;
        background: #1a1a1a;
        flex-shrink: 0;
    }

    .review-media-container.video-container {
        cursor: pointer;
        padding-top: 0;
        aspect-ratio: 9 / 10;  
        /* aspect-ratio: 9 / 16;   */
        /* Portrait video ratio, height scales fully with card width, no cap */
        width: 100%;
        margin: 0 auto;
    }

    /* Regular Image */
    .review-image,
    .video-thumb-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .review-card:hover .review-image,
    .review-card:hover .video-thumb-img {
        transform: scale(1.05);
    }

    .review-image-placeholder,
    .video-thumb-placeholder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #F5F0EA;
        color: #6b5642;
        font-size: 48px;
    }

    .video-thumb-placeholder {
        background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
        color: #fff;
    }

    /* ===== Video Thumbnail with Play Button ===== */
    .video-thumbnail-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .play-button-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.3);
        transition: background 0.3s ease;
        z-index: 2;
    }

    .video-container:hover .play-button-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .play-button {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: rgba(200, 29, 37, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 28px;
        transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: 0 8px 32px rgba(200, 29, 37, 0.4);
        animation: pulse 2s ease-in-out infinite;
    }

    .video-container:hover .play-button {
        transform: scale(1.15);
        background: #C81D25;
        box-shadow: 0 12px 40px rgba(200, 29, 37, 0.5);
        animation: none;
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }

    .play-button .fas {
        margin-left: 4px;
    }

    /* ===== Video Player ===== */
    .video-player-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        z-index: 10;
        display: none;
    }

    .video-player-wrapper.active {
        display: block !important;
    }

    .video-player-inner {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .review-video-player {
        width: 100%;
        height: 100%;
        background: #000;
        display: block;
    }

    .review-video-player:focus {
        outline: none;
    }

    .review-video-iframe {
        width: 100%;
        height: 100%;
        background: #000;
        border: none;
    }

    /* Close Button */
    .video-close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.7);
        border: none;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s;
        z-index: 11;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-close-btn:hover {
        background: #C81D25;
        transform: scale(1.1);
    }

    /* ===== Review Content ===== */
    .review-content {
        padding: 20px 24px 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .review-header {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .review-meta {
        flex: 1;
    }

    .review-meta h4 {
        font-weight: 700;
        font-size: 1rem;
        color: #241608;
        margin: 0;
    }

    .review-role {
        font-size: 0.8rem;
        color: #6b5642;
        display: block;
    }

    .review-rating {
        color: #F2A93B;
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-top: 2px;
    }

    .review-rating .far {
        color: #ddd;
    }

    .featured-badge {
        background: #F2A93B;
        color: #fff;
        font-size: 0.6rem;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }

    .video-badge {
        background: #C81D25;
        color: #fff;
        font-size: 0.6rem;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }

    .review-body {
        flex: 1;
    }

    .review-body p {
        color: #6b5642;
        font-size: 0.9rem;
        line-height: 1.7;
        margin: 0;
        font-style: italic;
    }

    .review-body p::before {
        content: '"';
        color: #C81D25;
        font-size: 1.2rem;
    }

    .review-body p::after {
        content: '"';
        color: #C81D25;
        font-size: 1.2rem;
    }

    /* ===== Responsive ===== */
    @media (max-width: 992px) {
        .reviews-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .play-button {
            width: 60px;
            height: 60px;
            font-size: 24px;
        }
    }

    @media (max-width: 768px) {
        .review-content {
            padding: 16px 18px 18px;
        }

        .play-button {
            width: 50px;
            height: 50px;
            font-size: 20px;
        }
        
        .video-close-btn {
            top: 5px;
            right: 5px;
            width: 30px;
            height: 30px;
            font-size: 14px;
        }
    }

    @media (max-width: 576px) {
        .reviews-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }
        
        .review-content {
            padding: 14px 16px 16px;
        }
        
        .review-meta h4 {
            font-size: 0.9rem;
        }
        
        .review-body p {
            font-size: 0.85rem;
        }
        
        .play-button {
            width: 44px;
            height: 44px;
            font-size: 18px;
        }
    }

