/* ============================================
   EPISODE HOME - CUSTOM STYLES
   Extracted for performance optimization
   ============================================ */

/* === FONTS === */
@font-face {
    font-family: "UTmarmalade";
    src: url("../font/UTMarmalade-Light.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MontserratBold";
    src: url("../font/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.header-utmarmalade {
    font-family: "UTmarmalade", sans-serif;
}

/* === IMAGE PANEL HOVER EFFECTS === */
.image-row {
    display: flex;
    width: 150%;
    margin-top: 16px;
    margin-left: -280px;
    border: 6px solid #e1b47a;
    border-radius: 6px;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 650px;
    background: transparent;
    position: relative;
}

.image-panel {
    flex: 1;
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

.image-panel.with-border {
    border-right: 6px solid #e1b47a;
}

.image-panel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.image-grayscale {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    z-index: 2;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.7s ease;
}

.image-panel:hover .image-grayscale {
    clip-path: inset(50% 0 0 0);
}

.image-panel:hover .image-caption {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 35%,
        rgba(0, 0, 0, 0) 100%
    );
    clip-path: inset(100% 0 0 0);
    -webkit-clip-path: inset(100% 0 0 0);
    mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.9) 40%,
        rgba(0, 0, 0, 0) 45%
    );
    -webkit-mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.9) 30%,
        rgba(0, 0, 0, 0) 45%
    );
    opacity: 0;
    transition:
        clip-path 0.7s ease,
        opacity 0.45s ease;
    will-change: clip-path, opacity;
}

.image-overlay::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
    filter: blur(8px);
    pointer-events: none;
    transform: translateY(-8px);
    opacity: 0.9;
}

.image-panel:hover .image-overlay {
    clip-path: inset(50% 0 0 0);
    opacity: 1;
}

.image-caption {
    z-index: 3;
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 30px 18px;
    line-height: 1.15;
    text-align: center;
    color: #e1b47a;
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    font-size: 60px;
    font-family: "MontserratBold", sans-serif;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    pointer-events: none;
    max-width: 90%;
    box-sizing: border-box;
    text-shadow:
        0 6px 18px rgba(0, 0, 0, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.95);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.image-panel:hover .image-caption {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

/* === TINTED HERO === */
.tinted-hero {
    position: relative;
    background-image:
        linear-gradient(rgba(63, 90, 77, 0.95), rgba(63, 90, 77, 0.95)),
        url("../img/photo/Background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}

.tinted-hero::after {
    content: none;
}

/* Best Episode section */
.tinted-hero {
    min-height: 115vh;
}

.best-ep-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 115vh;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 2;
}

.best-ep-top {
    text-align: center;
}

.best-ep-bottom {
    text-align: center;
    padding-bottom: 20px;
}

@media (max-width: 992px) {
    .tinted-hero {
        min-height: 105vh;
    }
    .best-ep-layout {
        min-height: 105vh;
        padding: 80px 16px 40px;
    }
}

/* Fix mobile gap above How We Support section */
@media (max-width: 768px) {
    .svc-section-wrap {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }
    /* Reduce contact section bottom padding on mobile */
    footer .mil-p-120-60 {
        padding-bottom: 30px !important;
    }
}

/* === CATEGORY STYLES === */
.category-frame .category-label,
.category-frame .category-label:link,
.category-frame .category-label:visited,
.category-frame .category-label:hover,
.category-frame .category-label:active,
.category-frame .category-label:focus {
    color: #e1b47a !important;
    text-decoration: none;
}

.category-svg {
    display: block;
    width: 100%;
    height: 700px;
}

.category-label {
    position: absolute;
    color: #e1b47a;
    font-family: "MontserratBold", sans-serif;
    font-weight: 700;
    font-size: 42px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    z-index: 10;
    line-height: 1.05;
    text-shadow:
        0 6px 18px rgba(0, 0, 0, 0.65),
        0 2px 6px rgba(0, 0, 0, 0.45);
}

.category-label.lt {
    left: 20%;
    top: 10%;
}
.category-label.lb {
    left: 6%;
    bottom: 10%;
}
.category-label.rt {
    right: 20%;
    top: 10%;
    text-align: right;
}
.category-label.rb {
    right: 6%;
    bottom: 10%;
    text-align: right;
}

.category-frame .category-label {
    cursor: pointer;
    transition: color 0.15s ease;
}

.category-frame .category-label:hover,
.category-frame .category-label:focus,
.category-frame .category-label:focus-visible {
    color: #ffffff !important;
}

/* === CATEGORY MODAL === */
.category-modal-backdrop {
    position: fixed;
    inset: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.category-modal {
    position: relative;
    width: min(600px, 92vw);
    margin: 0;
    background: rgba(17, 17, 17, 0.95);
    border: 6px solid #e1b47a;
    border-radius: 8px;
    padding: 24px;
    color: #e1b47a;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease;
}

@media (min-width: 768px) {
    .category-modal.shift-right {
        transform: translateX(100px) !important;
    }
    .category-modal.shift-left {
        transform: translateX(-140px) !important;
    }
}

.category-frame.modal-blur .cat-img {
    filter: blur(7px) brightness(0.8);
    transition: filter 0.25s ease;
}

.category-frame.modal-blur .cat-img.cat-selected {
    filter: none;
}

.category-frame.modal-blur .category-label {
    filter: blur(1.5px);
    opacity: 0.6;
    transition:
        filter 0.2s ease,
        opacity 0.2s ease;
}

.category-frame.modal-blur .category-label.active {
    filter: none;
    opacity: 1;
}

.category-mobile-stack.modal-blur .cat-mob-img {
    filter: blur(7px) brightness(0.8);
    transition: filter 0.25s ease;
}

.category-mobile-stack.modal-blur .cat-mob-img.mob-selected {
    filter: none !important;
}

.category-mobile-stack.modal-blur .category-mobile-label {
    filter: blur(1.5px);
    opacity: 0.6;
    transition:
        filter 0.2s ease,
        opacity 0.2s ease;
}

.category-mobile-stack.modal-blur .category-mobile-label.active {
    filter: none;
    opacity: 1;
}

.category-modal h3 {
    margin: 0 0 8px 0;
    font-family: "MontserratBold", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-modal p {
    color: #e1b47a;
    opacity: 0.9;
    margin-bottom: 18px;
}

.category-actions a {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #e1b47a;
    border-radius: 6px;
    color: #e1b47a;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.category-actions a:hover {
    background: #e1b47a;
    color: #111;
}

.category-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    color: #e1b47a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* === CONTACT SECTION === */
.contact-cta {
    position: relative;
    overflow: visible;
}

#particles-banner-3 {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.contact-cta > * {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: "MontserratBold", sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: clamp(32px, 4vw, 64px);
    color: #e1b47a;
    letter-spacing: 1px;
    margin: 0 0 28px 0;
    text-shadow:
        0 6px 18px rgba(0, 0, 0, 0.65),
        0 2px 6px rgba(0, 0, 0, 0.45);
}

.contact-title .accent {
    color: #eac891;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
    justify-items: center;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    text-align: center;
    color: #e1b47a;
}

.contact-icon {
    font-size: 88px;
    line-height: 1;
    color: #e1b47a;
    margin-bottom: 10px;
}

.contact-label {
    font-family: "MontserratBold", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
    text-shadow:
        0 6px 18px rgba(0, 0, 0, 0.65),
        0 2px 6px rgba(0, 0, 0, 0.45);
}

.contact-label .verified {
    font-size: 20px;
    color: #5da9ff;
    vertical-align: middle;
    margin-left: 6px;
}

.contact-btn {
    display: inline-block;
    padding: 18px 28px;
    min-width: 260px;
    border-radius: 40px;
    background: #e1b47a;
    color: #111;
    font-family: "MontserratBold", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    border: 2px solid #e1b47a;
}

.contact-btn:hover,
.contact-btn:focus {
    background: #f0c788;
    border-color: #f0c788;
}

/* === CONTACT SECTION - PHONE LAYOUT === */
@media (max-width: 480px) {
    .contact-cta {
        padding: 0 10px;
    }
    .contact-title {
        font-size: 28px !important;
        margin-bottom: 16px !important;
    }
    .contact-cta > p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .contact-icon {
        font-size: 40px !important;
        margin-bottom: 6px !important;
    }
    .contact-label {
        font-size: 11px !important;
        margin-bottom: 8px !important;
    }
    .contact-label .verified {
        font-size: 11px !important;
    }
    .contact-btn {
        padding: 8px 12px !important;
        min-width: 0 !important;
        font-size: 12px !important;
        border-radius: 30px !important;
        white-space: nowrap !important;
    }
    /* Email card centered on its own row */
    .contact-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    .mil-p-120-60 {
        padding-top: 50px !important;
        padding-bottom: 30px !important;
    }
    /* "We Specialise In" - keep on one line at small screens */
    #about .mil-about-content h1 {
        font-size: 36px !important;
    }
}

/* === WALL/VIEWPORT === */
#viewport {
    position: relative;
    width: 100%;
    height: 100vh !important;
    min-height: 780px;
    overflow: hidden;
}

#wall .tile {
    overflow: hidden !important;
    background: transparent !important;
}

#wall .tile > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}

#wall .tile > ul.slideshow,
#wall .tile > ul.slideshow > li {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#wall .tile > ul.slideshow img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.wall-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: rgba(120, 120, 120, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.wall-overlay__content {
    text-align: center;
    pointer-events: auto;
    padding: 24px 28px;
}

.wall-overlay__title {
    margin: 0 0 18px 0;
    font-family: "MontserratBold", sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 5vw, 84px);
    color: #e1b47a;
    letter-spacing: 1px;
    text-shadow:
        0 6px 18px rgba(0, 0, 0, 0.55),
        0 2px 6px rgba(0, 0, 0, 0.35);
}

.wall-overlay__btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    background: #e1b47a;
    color: #111;
    font-family: "MontserratBold", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-decoration: none;
    border: 2px solid #e1b47a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.wall-overlay__btn:hover,
.wall-overlay__btn:focus {
    background: #f0c788;
    border-color: #f0c788;
    color: #111;
    text-decoration: none;
}

@media (min-width: 1400px) {
    #viewport {
        height: 120vh !important;
    }
}

@media (max-width: 992px) {
    #viewport {
        height: 60vh !important;
        min-height: 480px;
    }
    .mil-relative .mil-reviews-nav .mil-revi-prev {
        margin-left: 0 !important;
    }
    .mil-relative .mil-reviews-nav .mil-revi-next {
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    #viewport {
        height: 90vh !important;
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    #viewport {
        height: 100vh !important;
        min-height: 650px;
    }
}

/* === REVIEWS NAV === */
.mil-relative {
    position: relative;
}

.mil-reviews-nav {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 58%;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    pointer-events: none;
}

.mil-reviews-nav .mil-slider-arrow {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(225, 180, 122, 0.95);
    border: 2px solid #e1b47a;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.mil-reviews-nav .mil-slider-arrow::before {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 3px solid #111;
    border-bottom: 3px solid #111;
    display: block;
}

.mil-reviews-nav .mil-revi-prev::before {
    transform: rotate(135deg);
    margin-left: 3px;
}

.mil-reviews-nav .mil-revi-next::before {
    transform: rotate(-45deg);
    margin-right: 3px;
}

.mil-reviews-nav .mil-slider-arrow.mil-prev {
    transform: none !important;
}

.mil-relative .mil-reviews-nav .mil-revi-prev {
    margin-left: -90px !important;
}
.mil-relative .mil-reviews-nav .mil-revi-next {
    margin-right: -90px !important;
}

.mil-reviews-nav .mil-slider-arrow::before {
    content: "" !important;
}

/* === MOBILE SWIPE NAV === */
.mobile-swipe-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    position: relative;
    z-index: 100;
}

@media (max-width: 992px) {
    .mobile-swipe-nav {
        display: flex;
    }
    .mil-reviews-nav {
        display: none !important;
    }
}

.mobile-swipe-nav .mobile-nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e1b47a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    position: relative;
    z-index: 101;
}

.mobile-swipe-nav .mobile-nav-arrow:hover,
.mobile-swipe-nav .mobile-nav-arrow:active {
    background: #e1b47a;
}

.mobile-swipe-nav .mobile-nav-arrow:hover svg,
.mobile-swipe-nav .mobile-nav-arrow:active svg {
    stroke: white;
}

.mobile-swipe-nav .mobile-nav-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #e1b47a;
    stroke-width: 2.5;
    fill: none;
    transition: stroke 0.3s ease;
}

.mobile-swipe-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 180, 122, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    gap: 8px;
    min-width: 120px;
}

.mobile-swipe-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(225, 180, 122, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-swipe-pagination .swiper-pagination-bullet-active {
    background: #e1b47a;
    width: 24px;
    border-radius: 10px;
}

/* === DESKTOP/MOBILE TOGGLES === */
.ee-desktop-only {
    display: block;
}
.ee-mobile-only {
    display: none;
}

/* Medium desktop / small laptop: neutralise bleed-out effect */
@media (max-width: 1400px) {
    .ee-desktop-only {
        margin-left: 0 !important;
        width: 100% !important;
        min-height: 0 !important;
    }
    .ee-desktop-only .image-panel {
        min-height: 0 !important;
        height: 420px !important;
    }
}

@media (max-width: 1200px) {
    .ee-desktop-only {
        min-height: 0 !important;
    }
    .ee-desktop-only .image-panel {
        min-height: 0 !important;
        height: 340px !important;
    }
}

/* Push hero title below navbar */
.mil-banner-content.mil-up {
    padding-top: 80px;
}

/* iPad landscape + small desktop: navbar is 90px but default padding is only 80px — fix overlap */
@media (min-width: 993px) and (max-width: 1200px) {
    #section-1 .mil-banner-content.mil-up {
        padding-top: 110px;
    }
}

/* iPad portrait: taller image swiper so photos aren't cut in half */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .ee-mobile-gallery-swiper {
        height: 620px !important;
    }
    .ee-mobile-gallery-swiper .swiper-slide,
    .ee-mobile-gallery-swiper .image-panel {
        min-height: 620px !important;
    }
}

@media (max-width: 992px) {
    .ee-desktop-only {
        display: none;
    }
    .ee-mobile-only {
        display: block;
    }

    #section-1 .mil-banner-content.mil-up {
        padding-top: 140px;
    }
    #section-1 .mil-banner-content {
        padding-bottom: 40px;
    }
    .header-utmarmalade {
        font-size: 36px !important;
        margin-bottom: 20px;
    }

    .ee-mobile-gallery-pagination .swiper-pagination-bullet {
        background: #d4af37;
        opacity: 0.5;
    }
    .ee-mobile-gallery-pagination .swiper-pagination-bullet-active {
        background: #d4af37;
        opacity: 1;
    }

    .ee-mobile-only .image-caption {
        opacity: 1;
        transform: translate(-50%, -50%);
        pointer-events: auto;
        font-size: clamp(28px, 8vw, 44px);
    }
    .ee-mobile-only .image-overlay {
        clip-path: inset(50% 0 0 0);
        -webkit-clip-path: inset(50% 0 0 0);
        opacity: 1;
    }
    .ee-mobile-only .image-panel.with-border {
        border-right: 0;
    }
}

.category-desktop-only {
    display: block;
}
.category-mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .category-desktop-only {
        display: none;
    }
    .category-mobile-only {
        display: block;
    }

    .category-mobile-stack {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-top: 16px;
    }
    .category-mobile-card {
        position: relative;
        border: 6px solid #e1b47a;
        border-radius: 6px;
        overflow: hidden;
        background: transparent;
        width: 100%;
        box-sizing: border-box;
    }
    .category-mobile-svg {
        display: block;
        width: 100%;
        height: clamp(220px, 38vh, 340px);
    }
    .category-mobile-label {
        position: absolute;
        z-index: 10;
        color: #e1b47a !important;
        text-decoration: none;
        font-family: "MontserratBold", sans-serif;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        line-height: 1.05;
        text-shadow:
            0 6px 18px rgba(0, 0, 0, 0.65),
            0 2px 6px rgba(0, 0, 0, 0.45);
        font-size: clamp(22px, 7vw, 40px);
        padding: 12px 14px;
    }
    .category-mobile-label.top-right {
        top: 6%;
        right: 6%;
        text-align: right;
    }
    .category-mobile-label.bottom-left {
        bottom: 6%;
        left: 6%;
        text-align: left;
    }
}

/* === ABOUT US SECTION === */
.page {
    max-width: 1500px;
    margin: 48px auto;
    padding: 40px;
    box-sizing: border-box;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 620px;
    gap: 48px;
    align-items: start;
}

h1 {
    font-size: 84px;
    margin: 0 0 18px;
    color: #d4af37;
    line-height: 0.95;
}

.lead {
    font-size: 28px;
    color: #4a4a4a;
    line-height: 1.5;
    margin: 0 0 22px;
    max-width: 880px;
}

p.desc {
    font-size: 22px;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 920px;
}

.read-more {
    display: inline-block;
    color: #b77f3a;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 6px;
}

.read-more:hover {
    text-decoration: underline;
}

.thumb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb {
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    display: block;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1200px) {
    .page {
        padding: 28px;
    }
    .hero {
        grid-template-columns: 1fr 520px;
        gap: 36px;
    }
    h1 {
        font-size: 72px;
    }
    .lead {
        font-size: 26px;
    }
    p.desc {
        font-size: 20px;
    }
    .thumb {
        max-width: 760px;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    h1 {
        font-size: 48px;
    }
    .lead {
        font-size: 20px;
    }
    p.desc {
        font-size: 18px;
    }
    .thumb {
        max-width: 86%;
        height: auto;
    }
    .thumb-wrap {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 34px;
    }
    .lead {
        font-size: 16px;
    }
    p.desc {
        font-size: 15px;
    }
    .read-more {
        font-size: 16px;
    }
}

/* === BLOG CARD RESPONSIVE === */
@media screen and (max-width: 992px) {
    .mil-blog-card.mil-blog-card-hori {
        display: block;
        padding-top: 0;
        border: none;
    }
    .mil-blog-card.mil-blog-card-hori .mil-cover-frame {
        width: 100%;
        padding-bottom: 65%;
        margin-bottom: 30px;
    }
    .mil-blog-card.mil-blog-card-hori .mil-post-descr {
        width: 100%;
        padding: 30px 30px 0 0;
    }
}

/* === LABELS AND PAGINATION === */
.mil-labels {
    display: flex;
    align-items: center;
    padding: 0;
}

.mil-labels .mil-label {
    margin-right: 15px;
}
.mil-labels .mil-label:last-child {
    margin-right: 0;
}

.mil-pagination {
    padding-top: 60px;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.mil-pagination-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    color: rgb(0, 0, 0);
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    margin-right: 10px;
}

.mil-pagination-btn.mil-active {
    background-color: rgb(255, 152, 0);
}

.mil-category-list {
    display: flex;
}

.mil-category-list li {
    list-style-type: none;
    margin-right: 10px;
}

.mil-category-list li:last-child {
    margin-right: 0;
}

.mil-category-list li a {
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    padding: 0 20px;
    border-radius: 40px;
    color: rgb(0, 0, 0);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-category-list li a:hover {
    background-color: rgb(229, 229, 229);
}
.mil-category-list li a.mil-active {
    background-color: rgb(255, 152, 0);
}

@media screen and (max-width: 768px) {
    .mil-category-list {
        flex-direction: column;
    }
    .mil-category-list li {
        margin-right: 0;
        margin-bottom: 10px;
        align-items: flex-start;
    }
    .mil-category-list li:last-child {
        margin-bottom: 0;
    }
    .mil-category-list li a {
        justify-content: flex-start;
    }
}

                    /* === Make opening page section bigger === */
                    section.mil-banner.mil-dark-bg1 {
                        min-height: 120vh;
                        height: auto;
                    }

                    /* === Remove gap between sections === */
                    section.mil-dark-bg1 {
                        margin-bottom: 0 !important;
                        padding-bottom: 0 !important;
                    }

                    /* === FIX: Override parent overflow that breaks sticky === */
                    /* overflow:clip clips content (prevents horizontal scroll) without creating
                       a scroll container, so position:sticky still works. Falls back to visible
                       for older browsers that don't support clip. */
                    .mil-wrapper:has(.mot-wrapper),
                    .mil-content:has(.mot-wrapper),
                    #swupMain:has(.mot-wrapper) {
                        overflow: visible !important;
                        overflow: clip !important;
                    }

                    /* For browsers that don't support :has(), add class via JS */
                    .mil-wrapper.has-sticky-team,
                    .mil-content.has-sticky-team,
                    #swupMain.has-sticky-team {
                        overflow: visible !important;
                        overflow: clip !important;
                    }

                    /* === TEAM SECTION - FRESH START === */
                    .mot-wrapper {
                        position: relative;
                        height: 400vh;
                        /* Creates scroll space for 4 steps */
                        overflow: visible !important;
                        /* Override section default */
                        margin: 0 !important;
                        padding: 0 !important;
                    }

                    /* Remove gap from previous section */
                    .mil-dark-bg1+.mot-wrapper,
                    section+.mot-wrapper {
                        margin-top: 0 !important;
                    }

                    .mot-sticky {
                        position: sticky;
                        top: 0;
                        height: 100vh;
                        width: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        background: #ffffff;
                        overflow: hidden;
                    }

                    .mot-container {
                        display: flex;
                        width: 100%;
                        max-width: 1800px;
                        padding: 0 80px;
                        box-sizing: border-box;
                        gap: 80px;
                        align-items: center;
                    }

                    /* === LEFT: TEXT CONTENT === */
                    .mot-text {
                        flex: 1;
                        position: relative;
                        min-height: 450px;
                    }

                    .mot-slide {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        opacity: 0;
                        transform: translateY(40px);
                        transition: opacity 0.6s ease, transform 0.6s ease;
                        pointer-events: none;
                    }

                    .mot-slide.is-active {
                        opacity: 1;
                        transform: translateY(0);
                        pointer-events: auto;
                    }

                    .mot-slide h2 {
                        font-size: 52px;
                        font-weight: 700;
                        color: #d4af37;
                        margin: 0 0 12px 0;
                        line-height: 1.1;
                    }

                    .mot-slide h2 span {
                        font-weight: 300;
                    }

                    .mot-slide .mot-role {
                        font-size: 18px;
                        font-weight: 600;
                        color: #b77f3a;
                        margin-bottom: 24px;
                    }

                    .mot-slide p {
                        font-size: 25px;
                        line-height: 1.75;
                        color: #d4af37;
                        margin: 0 0 18px 0;
                        max-width: 750px;
                    }

                    /* === RIGHT: PHOTOS === */
                    .mot-photos {
                        flex: 1;
                        position: relative;
                        height: 650px;
                        display: flex;
                        justify-content: center;
                        align-items: flex-end;
                    }

                    .mot-photo {
                        position: absolute;
                        bottom: 0;
                        overflow: visible;
                        background: transparent;
                        box-shadow: none;
                        transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                        cursor: default;
                    }

                    .mot-photo img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                    }

                    /* Initial stacked positions - grouped tightly like a portrait */
                    /* All photos same size for uniform group portrait */
                    .mot-photo[data-person="ruvanesh"] {
                        width: 520px;
                        height: 730px;
                    }

                    .mot-photo[data-person="dhivyian"] {
                        width: 460px;
                        height: 650px;
                    }

                    .mot-photo[data-person="uma"] {
                        width: 510px;
                        height: 720px;
                    }

                    /* Ruvanesh: front left */
                    .mot-photo[data-person="ruvanesh"] {
                        left: 50%;
                        transform: translateX(-63%);
                        z-index: 3;
                        bottom: -15px;
                    }

                    /* Dhivyian: center back, behind both */
                    .mot-photo[data-person="dhivyian"] {
                        left: 50%;
                        transform: translateX(-50%);
                        z-index: 1;
                        bottom: 100px;
                    }

                    /* Uma: front right */
                    .mot-photo[data-person="uma"] {
                        left: 50%;
                        transform: translateX(-32%);
                        z-index: 2;
                        bottom: 40px;
                    }

                    /* When a photo is ACTIVE (featured) */
                    .mot-photo.is-featured {
                        width: 500px !important;
                        height: 720px !important;
                        left: 50% !important;
                        right: auto !important;
                        transform: translateX(-50%) !important;
                        z-index: 10 !important;
                        bottom: 0 !important;
                        box-shadow: none;
                    }

                    /* When a photo is NOT featured (dimmed) */
                    .mot-photo.is-dimmed {
                        opacity: 0.3;
                        filter: grayscale(40%);
                    }

                    /* Fix transform for dimmed photos based on their position */
                    .mot-photo[data-person="ruvanesh"].is-dimmed {
                        transform: scale(0.85) translateX(-68%);
                    }

                    .mot-photo[data-person="dhivyian"].is-dimmed {
                        transform: scale(0.85) translateX(-50%);
                    }

                    .mot-photo[data-person="uma"].is-dimmed {
                        transform: scale(0.85) translateX(-32%);
                    }

                    /* === PROGRESS INDICATORS === */
                    .mot-progress {
                        position: absolute;
                        bottom: 50px;
                        left: 60px;
                        display: flex;
                        gap: 14px;
                        z-index: 100;
                    }

                    .mot-dot {
                        width: 14px;
                        height: 14px;
                        border-radius: 50%;
                        background: rgba(0, 0, 0, 0.15);
                        cursor: pointer;
                        transition: all 0.3s ease;
                        border: 2px solid transparent;
                    }

                    .mot-dot:hover {
                        background: rgba(0, 0, 0, 0.3);
                    }

                    .mot-dot.is-active {
                        background: #d4af37;
                        border-color: #d4af37;
                        transform: scale(1.2);
                    }

                    /* === SCROLL HINT === */
                    .mot-scroll-hint {
                        position: absolute;
                        bottom: 30px;
                        right: 60px;
                        font-size: 13px;
                        color: #999;
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        opacity: 0.7;
                        transition: opacity 0.3s;
                    }

                    .mot-scroll-hint svg {
                        width: 20px;
                        height: 20px;
                        animation: bounce 1.5s infinite;
                    }

                    @keyframes bounce {

                        0%,
                        100% {
                            transform: translateY(0);
                        }

                        50% {
                            transform: translateY(5px);
                        }
                    }

                    /* === RESPONSIVE === */
                    @media (max-width: 1100px) {
                        .mot-container {
                            flex-direction: column;
                            padding: 40px 30px;
                            gap: 40px;
                        }

                        .mot-photos {
                            order: -1;
                            height: 380px;
                            width: 100%;
                        }

                        .mot-photo[data-person="ruvanesh"],
                        .mot-photo[data-person="dhivyian"],
                        .mot-photo[data-person="uma"] {
                            width: 200px;
                            height: 300px;
                        }

                        .mot-photo[data-person="ruvanesh"] {
                            left: 50%;
                            transform: translateX(-80%);
                            z-index: 3;
                        }

                        .mot-photo[data-person="dhivyian"] {
                            left: 50%;
                            transform: translateX(-50%);
                            z-index: 1;
                        }

                        .mot-photo[data-person="uma"] {
                            left: 50%;
                            transform: translateX(-20%);
                            z-index: 2;
                        }

                        .mot-photo.is-featured {
                            width: 260px !important;
                            height: 390px !important;
                        }

                        .mot-photo[data-person="ruvanesh"].is-dimmed {
                            transform: scale(0.8) translateX(-80%);
                        }

                        .mot-photo[data-person="uma"].is-dimmed {
                            transform: scale(0.8) translateX(-20%);
                        }

                        .mot-text {
                            min-height: 320px;
                        }

                        .mot-slide h2 {
                            font-size: 36px;
                        }

                        .mot-slide p {
                            font-size: 15px;
                        }

                        .mot-progress {
                            left: 30px;
                            bottom: 30px;
                        }

                        .mot-scroll-hint {
                            right: 30px;
                        }
                    }

                    @media (max-width: 600px) {
                        .mot-wrapper {
                            height: 350vh;
                        }

                        .mot-photos {
                            height: 280px;
                        }

                        .mot-photo[data-person="ruvanesh"],
                        .mot-photo[data-person="dhivyian"],
                        .mot-photo[data-person="uma"] {
                            width: 140px;
                            height: 210px;
                        }

                        .mot-photo[data-person="ruvanesh"] {
                            left: 50%;
                            transform: translateX(-75%);
                            z-index: 3;
                        }

                        .mot-photo[data-person="dhivyian"] {
                            left: 50%;
                            transform: translateX(-50%);
                            z-index: 1;
                        }

                        .mot-photo[data-person="uma"] {
                            left: 50%;
                            transform: translateX(-25%);
                            z-index: 2;
                        }

                        .mot-photo.is-featured {
                            width: 180px !important;
                            height: 270px !important;
                        }

                        .mot-photo[data-person="ruvanesh"].is-dimmed {
                            transform: scale(0.8) translateX(-75%);
                        }

                        .mot-photo[data-person="uma"].is-dimmed {
                            transform: scale(0.8) translateX(-25%);
                        }

                        .mot-slide h2 {
                            font-size: 28px;
                        }

                        .mot-slide .mot-role {
                            font-size: 15px;
                        }

                        .mot-slide p {
                            font-size: 14px;
                        }

                        .mot-scroll-hint {
                            display: none;
                        }
                    }

                    /* === MOBILE TEAM SECTION - SWIPER BASED === */
                    /* Hide desktop sticky for phones AND all iPads (≤1024px) */
                    @media (max-width: 1024px) {
                        .mot-wrapper {
                            display: none !important;
                        }
                    }

                    /* Landscape phones: width > 1024 but height is short */
                    @media (max-height: 500px) and (orientation: landscape) {
                        .mot-wrapper {
                            display: none !important;
                        }
                    }

                    .mot-mobile-section {
                        display: none;
                        background: #ffffff;
                        padding: 60px 0 80px;
                        position: relative;
                        z-index: 10;
                        overflow: hidden;
                    }

                    /* Show mobile team section on phones AND all iPads (≤1024px) */
                    @media (max-width: 1024px) {
                        .mot-mobile-section {
                            display: block;
                        }
                    }

                    /* Landscape phones: show mobile section instead */
                    @media (max-height: 500px) and (orientation: landscape) {
                        .mot-mobile-section {
                            display: block;
                        }
                    }

                    /* === iPad landscape (769px–1200px landscape): show desktop sticky, not mobile stack === */
                    @media (min-width: 769px) and (max-width: 1200px) and (orientation: landscape) {
                        .mot-wrapper {
                            display: block !important;
                        }
                        .mot-mobile-section {
                            display: none !important;
                        }
                        /* Keep the two-column horizontal layout */
                        .mot-container {
                            flex-direction: row !important;
                            padding: 0 40px;
                            gap: 40px;
                            align-items: center;
                        }
                        /* Reset photos side from the stacked override */
                        .mot-photos {
                            order: unset;
                            height: 480px;
                            width: auto;
                            flex: 1;
                        }
                        /* Scale photos to fit the narrower viewport */
                        .mot-photo[data-person="ruvanesh"] {
                            width: 340px;
                            height: 475px;
                            transform: translateX(-63%);
                        }
                        .mot-photo[data-person="dhivyian"] {
                            width: 300px;
                            height: 425px;
                        }
                        .mot-photo[data-person="uma"] {
                            width: 335px;
                            height: 465px;
                        }
                        .mot-photo.is-featured {
                            width: 355px !important;
                            height: 500px !important;
                        }
                        .mot-text {
                            flex: 1;
                            min-height: 360px;
                        }
                        .mot-slide h2 {
                            font-size: 34px;
                        }
                        .mot-slide p {
                            font-size: 16px;
                        }
                        .mot-progress {
                            left: 40px;
                            bottom: 20px;
                        }
                        .mot-scroll-hint {
                            right: 40px;
                            bottom: 20px;
                        }
                    }

                    .mot-mobile-title {
                        text-align: center;
                        font-size: 32px;
                        font-weight: 700;
                        color: #d4af37;
                        margin: 0 0 10px 0;
                        padding: 0 20px;
                    }

                    .mot-mobile-title span {
                        font-weight: 300;
                    }

                    .mot-mobile-subtitle {
                        text-align: center;
                        font-size: 15px;
                        color: #666;
                        margin: 0 0 30px 0;
                        padding: 0 25px;
                        line-height: 1.6;
                    }

                    .mot-mobile-swiper {
                        width: 100%;
                        padding-bottom: 50px;
                        overflow: hidden;
                    }

                    .mot-mobile-slide {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        padding: 0 20px;
                    }

                    /* Photos Wrapper with Arrows */
                    .mot-mobile-photos-wrapper {
                        position: relative;
                        width: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin-top: 40px;
                        margin-bottom: 70px;
                        z-index: 1;
                    }

                    /* Arrow Buttons */
                    .mot-mobile-arrow {
                        position: absolute;
                        top: 50%;
                        transform: translateY(-50%);
                        width: 44px;
                        height: 44px;
                        border-radius: 50%;
                        background: rgba(255, 255, 255, 0.9);
                        border: 2px solid #E1B47A;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        cursor: pointer;
                        z-index: 20;
                        transition: all 0.3s ease;
                        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
                    }

                    .mot-mobile-arrow:hover,
                    .mot-mobile-arrow:active {
                        background: #E1B47A;
                    }

                    .mot-mobile-arrow:hover svg,
                    .mot-mobile-arrow:active svg {
                        stroke: white;
                    }

                    .mot-mobile-arrow svg {
                        width: 24px;
                        height: 24px;
                        stroke: #E1B47A;
                        transition: stroke 0.3s ease;
                    }

                    .mot-mobile-arrow-left {
                        left: 5px;
                    }

                    .mot-mobile-arrow-right {
                        right: 5px;
                    }

                    /* Group Portrait Container */
                    .mot-mobile-photos {
                        position: relative;
                        width: calc(100% - 100px);
                        height: 320px;
                        display: flex;
                        justify-content: center;
                        align-items: flex-end;
                    }

                    .mot-mobile-photo {
                        position: absolute;
                        bottom: 0;
                        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                    }

                    .mot-mobile-photo img {
                        width: 128%;
                        height: 152%;
                        object-fit: contain;
                        display: block;
                    }

                    /* Base positions - group portrait */
                    .mot-mobile-photo[data-person="ruvanesh"] {
                        width: 491px;
                        /* ← Increased from 140px */
                        height: 513px;
                        /* ← Increased from 200px */
                        left: 50%;
                        transform: translateX(-75%);
                        /* ← Adjusted position */
                        z-index: 3;
                        bottom: 0;
                    }

                    .mot-mobile-photo[data-person="dhivyian"] {
                        width: 457px;
                        /* ← Increased from 120px */
                        height: 441px;
                        /* ← Increased from 170px */
                        left: 50%;
                        transform: translateX(-65%);
                        z-index: 1;
                        bottom: 60px;
                        /* ← Moved up a bit */
                    }

                    .mot-mobile-photo[data-person="uma"] {
                        width: 483px;
                        /* ← Increased from 135px */
                        height: 550px;
                        /* ← Increased from 195px */
                        left: 53%;
                        transform: translateX(-55%);
                        /* ← Adjusted position */
                        z-index: 2;
                        bottom: 10px;
                    }

                    /* Featured state */
                    .mot-mobile-photo.is-featured {
                        width: 469px !important;
                        height: 567px !important;
                        left: 33% !important;
                        transform: translateX(-50%) !important;
                        z-index: 10 !important;
                        bottom: 0 !important;
                    }

                    /* Dimmed state */
                    .mot-mobile-photo.is-dimmed {
                        opacity: 0.4;
                        filter: grayscale(40%);
                    }

                    .mot-mobile-photo[data-person="ruvanesh"].is-dimmed {
                        transform: scale(0.85) translateX(-150%);
                    }

                    .mot-mobile-photo[data-person="dhivyian"].is-dimmed {
                        transform: scale(0.85) translateX(-0%);
                    }

                    .mot-mobile-photo[data-person="uma"].is-dimmed {
                        transform: scale(0.85) translateX(10%);
                    }

                    .mot-mobile-name {
                        font-size: 22px;
                        font-weight: 700;
                        color: #d4af37;
                        margin: 0 0 6px 0;
                        text-align: center;
                        transition: opacity 0.3s ease;
                    }

                    .mot-mobile-role {
                        font-size: 13px;
                        font-weight: 600;
                        color: #b77f3a;
                        margin: 0 0 15px 0;
                        text-align: center;
                        text-transform: uppercase;
                        letter-spacing: 1px;
                    }

                    .mot-mobile-bio {
                        font-size: 14px;
                        line-height: 1.7;
                        color: #555;
                        text-align: center;
                        max-width: 320px;
                        margin: 0 auto;
                        min-height: 80px;
                    }

                    .mot-mobile-text {
                        position: relative;
                        width: 100%;
                        z-index: 20;
                        background: #ffffff;
                        padding-top: 15px;
                    }

                    .mot-mobile-text-slide {
                        display: none;
                        text-align: center;
                        padding: 0 15px;
                        box-sizing: border-box;
                    }

                    .mot-mobile-text-slide.is-active {
                        display: block;
                    }

                    .mot-mobile-pagination {
                        text-align: center;
                        margin-top: 24px;
                        position: relative;
                        z-index: 1;
                    }

                    .mot-mobile-pagination .swiper-pagination-bullet {
                        width: 12px;
                        height: 12px;
                        background: #ccc;
                        opacity: 1;
                        margin: 0 6px;
                    }

                    .mot-mobile-pagination .swiper-pagination-bullet-active {
                        background: #d4af37;
                    }

                    .mot-mobile-swipe-hint {
                        text-align: center;
                        font-size: 12px;
                        color: #999;
                        margin-top: 15px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 8px;
                    }

                    .mot-mobile-swipe-hint svg {
                        width: 18px;
                        height: 18px;
                        animation: swipeHint 1.5s infinite;
                    }

                    @keyframes swipeHint {

                        0%,
                        100% {
                            transform: translateX(0);
                        }

                        50% {
                            transform: translateX(5px);
                        }
                    }

                    /* Devices narrower than iPhone 15 Pro Max (e.g. Honor 70, Samsung A-series) */
                    @media (max-width: 429px) {
                        .mot-mobile-photos {
                            width: calc(100% - 40px);
                        }

                        .mot-mobile-photo[data-person="ruvanesh"] {
                            left: 53%;
                        }

                        .mot-mobile-photo[data-person="dhivyian"] {
                            left: 53%;
                        }

                        .mot-mobile-photo[data-person="uma"] {
                            left: 56%;
                        }

                        .mot-mobile-photo.is-featured {
                            left: 31% !important;
                        }
                    }

                    @media (max-width: 400px) {
                        .mot-mobile-photos {
                            height: 280px;
                        }

                        .mot-mobile-name {
                            font-size: 18px;
                        }

                        .mot-mobile-bio {
                            font-size: 13px;
                        }
                    }

                    /* === IPAD PORTRAIT: TEAM SECTION === */
                    @media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
                        .mot-mobile-photo.is-featured {
                            left: 42% !important;
                        }

                        .mot-mobile-photo.is-dimmed {
                            left: 81% !important;
                        }

                        .mot-mobile-pagination {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            text-align: center;
                        }
                    }

                    @specialized
/* General Reset */
        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            color: #333;
        }

        /* Gold Text + Left Align */
        #about .mil-about-content {
            color: #d4af37 !important;   /* gold color */
            text-align: left !important;
        }

        /* Headings and paragraphs inherit gold */
        #about .mil-about-content h1,
        #about .mil-about-content h3,
        #about .mil-about-content p {
            color: #d4af37 !important;
        }

        /* H1 styling */
        #about .mil-about-content h1 {
            font-size: 56px; /* Increased font size */
            font-weight: 400;
            line-height: 1.2;
            margin-bottom: 40px;
            white-space: nowrap;
        }

        /* Subheaders */
        #about .mil-about-content h3 {
            font-size: 28px; /* Increased font size */
            margin-bottom: 15px;
        }

        /* Paragraphs */
        #about .mil-about-content p {
            font-size: 18px; /* Increased font size */
            margin-bottom: 30px;
            line-height: 1.8;
        }

        /* Vertical Filmstrip Wrapper */
        .filmstrip-vertical-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden; /* Hide the top and bottom parts of the filmstrip */
            height: 900px; /* Increased height for the visible area */
        }

        /* Vertical Filmstrip */
        .filmstrip-vertical {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            background: #000;
            padding: 60px 0;
            border-radius: 12px;
            gap: 40px; /* Space between frames */
            width: 320px; /* Overall width of filmstrip */
        }

        /* Vertical sprocket holes */
        .filmstrip-vertical::before,
        .filmstrip-vertical::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 30px;
            background: repeating-linear-gradient(
                to bottom,
                #000 0px,
                #000 15px,
                #d4af37 15px,
                #d4af37 25px
            );
            border-radius: 2px;
        }
        .filmstrip-vertical::before { left: -30px; }
        .filmstrip-vertical::after { right: -30px; }

        /* Film frames */
        .film-window {
            width: 280px;  /* Increased square width */
            height: 280px; /* Increased square height */
            overflow: hidden;
            border: 6px solid #d4af37;
            border-radius: 8px;
            background: #111;
        }

        /* Half-height frames */
        .film-window.cut-top,
        .film-window.cut-bottom {
            height: 140px; /* Half of full square */
        }

        /* Images inside frames */
        .film-window img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Responsive Design */

        /* Desktop/mobile toggle for filmstrip */
        .filmstrip-desktop-only { display: flex; }

        @media screen and (max-width: 992px) {
            .filmstrip-desktop-only { display: none !important; }
        }
