/* =================================
   STORY PAGE STYLES
================================= */

/* 1. Hero Section (Right-Side Slider) */
.story-hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: calc(100vh - 80px);
    width: 100%;
    background-color: var(--clr-dark);
    overflow: hidden;

}

.story-hero-content {
    position: absolute;
    right: 8%;
    bottom: 28%;

    z-index: 10;
    width: auto;
    text-align: right;
    pointer-events: none;
    /* Let clicks pass to nav arrows if overlapping */
}

.story-hero-text {
    max-width: 600px;
}

.story-hero-title {
    font-size: 20px;
    color: var(--clr-white);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: 3px;
    font-style: italic;
    /* Added italic as requested */
    white-space: nowrap;
    /* Prevent line breaks */
}

.story-hero-desc {
    font-size: 14px;
    color: var(--clr-white-75);
    line-height: 1.6;
    letter-spacing: 3px;
}

.story-hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Removed story-hero-slider-container::after overlay as images already have one */

.story-hero-swiper {
    width: 100%;
    height: 100%;
}

.story-hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.story-hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper Navigation Styles */
.story-swiper-next,
.story-swiper-prev {
    color: var(--clr-white) !important;
    background: rgba(255, 255, 255, 0.1);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: var(--transition-base);
    z-index: 100;
    /* Increased z-index for clickability */
    top: 50%;
    transform: translateY(-50%);
}

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

.story-swiper-next:hover,
.story-swiper-prev:hover {
    background: rgba(255, 255, 255, 0.2);
}

.story-swiper-next {
    right: 30px !important;
}

.story-swiper-prev {
    left: 30px !important;
}

/* 2. Story, Vision, Mission Section */
.story-grid-section {
    padding-top: var(--section-padding);
    /* Added top padding for consistent gap */
    padding-bottom: var(--section-padding);
    background-color: var(--clr-white);
}

.story-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.story-left-col {
    grid-row: span 2;
}

.story-card {
    background-color: transparent;
}

.story-card-img {
    width: 100%;
    margin-bottom: 25px;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.story-card-img.horizontal {
    aspect-ratio: 16/9;
}

.story-card-title {
    font-size: 16px;
    /* Reduced from 18px as requested for '2nd section' */
    color: var(--clr-dark);
    /* Dark title */
    font-weight: 700;
    margin-bottom: 15px;
    /* Adjust spacing as per screenshot */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leadership-section .story-card-text {
    color: var(--clr-white);

}

.main-leader-info .story-card-text {
    margin-bottom: 15px !important;
}

.story-card-text {
    font-size: 13px;
    /* Smaller text size */

    /* Dark gray for readability on white */
    line-height: 1.6;
    color: var(--clr-dark);
    letter-spacing: 1.2px;
}

.vision-mission-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Spacing between Vision and Mission */
}

/* 3. Leadership Section */
.leadership-section {
    padding-top: var(--section-padding);
    /* Lead-in gap */
    padding-bottom: var(--section-padding);
    background-color: var(--clr-dark);
}

.leadership-header {
    text-align: center;
    margin-bottom: 60px;
}

.leadership-header h2 {
    font-size: 32px;
    /* Reduced from 42px as requested */
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
}

.leader-bio-modal.show {
    background-color: rgba(0, 0, 0, 0.736);
}

.main-leader-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 0 160px;
}

.main-leader-container .story-card-text {
    line-height: 26px;
    font-size: 15px;

}

.main-leader-img {
    flex: 0 0 450px;
    height: 550px;
}

.main-leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-leader-info {
    flex: 1;
}

.leader-name {
    font-size: 20px;
    /* Reduced from 24px as requested */
    color: var(--clr-white);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.leader-role {
    font-size: 13px;
    color: var(--clr-white-60);
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 20px;
    display: block;
}

.leader-know-more {
    color: var(--clr-gold-2);
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 600;
}

.leader-know-more:hover {
    text-decoration: underline;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
    gap: 50px;
    justify-content: center;
}

.sub-leader-card {
    text-align: left;
}

.sub-leader-img {
    width: 100%;
    height: 330px;
    margin-bottom: 20px;
    overflow: hidden;
}

.sub-leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sub-leader-card:hover .sub-leader-img img {
    transform: scale(1.05);
}

.sub-leader-name {
    font-size: 14px;
    /* Reduced from 16px as requested */
    color: var(--clr-white);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.sub-leader-role {
    font-size: 11px;
    color: var(--clr-white-60);
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 10px;
    display: block;
}

/* 4. Values Section */
.story-values-section {
    background-color: #efefef;
    padding: 110px 0 95px;
}

.story-values-header {
    text-align: center;
    margin-bottom: 64px;
}

.story-values-kicker {
    display: inline-block;
    color: #3b3b3b;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 22px;
}

.story-values-title {
    margin: 0 auto;
    color: #05070a;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 700;
    max-width: 1080px;
}

.story-values-grid {
    display: grid;
    grid-template-columns: minmax(130px, 200px) repeat(6, minmax(130px, 1fr));
    gap: 18px 30px;
    align-items: start;
}

.story-values-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.story-values-logo img {
    width: 100%;
    max-width: 180px;
    height: auto;
    filter: saturate(0.45) contrast(0.9);
}

.story-values-text {
    margin: 0;
    color: #8c8c8c;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0.5px;
}

.story-values-text:hover {
    color: #4e8bbf;
    font-weight: 500;
}

/* Bottom leaders (centered) */
.leaders-grid-bottom {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

.leaders-grid-bottom .sub-leader-card {
    flex: 0 0 calc(33.333% - 54px);
}

/* Responsive */
@media (max-width: 1200px) {
    /* .story-hero-title {
        font-size: 48px;
    } */

    .main-leader-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 0 15px;
        margin-bottom: 50px;
    }

    .main-leader-img {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
    }

    .story-values-title {
        font-size: 34px;
        max-width: 920px;
    }

    .story-values-grid {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        gap: 28px 26px;
    }

    .story-values-logo {
        grid-column: 1 / -1;
        justify-content: flex-start;
        min-height: auto;
    }

    .story-values-logo img {
        max-width: 140px;
    }

    .story-values-text {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .story-hero {
        height: calc(100vh - 60px);
        min-height: calc(100vh - 60px);
        padding-top: 0;
    }

    .story-hero-content {
        left: 0;
        right: 0;
        padding: 0 24px;
        text-align: center;
        bottom: 10%;
    }

    .story-hero-slider-container {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        margin: 0;
    }

    .story-grid-container {
        grid-template-columns: 1fr;
    }

    .vision-mission-col {
        gap: 40px;
    }

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

    .leaders-grid-bottom {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .story-values-section {
        padding: 90px 0 70px;
    }

    .story-values-header {
        margin-bottom: 42px;
    }

    .story-values-title {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .story-values-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .story-values-logo {
        justify-content: center;
    }

    .story-values-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .story-hero-title {
        /* font-size: 28px; */
        white-space: normal;
        line-height: 1.2;
    }

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

    .main-leader-img {
        height: 400px;
    }

    .story-values-section {
        padding: 70px 0 55px;
    }

    .story-values-kicker {
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .story-values-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .story-values-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .story-values-logo {
        justify-content: center;
    }

    .story-values-logo img {
        max-width: 120px;
    }

    .story-values-text {
        font-size: 14px;
        line-height: 1.7;
        text-align: center;
    }

    .leadership-header {
        margin-bottom: 20px;
    }

    .leadership-header h2 {
        font-size: 22px;
    }

    .story-card-text {
        font-size: 14px;
    }

    .story-swiper-next,
    .story-swiper-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .story-swiper-next {
        right: 10px !important;
    }

    .story-swiper-prev {
        left: 10px !important;
    }

    .story-hero-title {
        font-size: 16px;
    }

    .story-hero-desc {
        font-size: 14px !important;
        line-height: 20px !important;
    }
}

/* 5. Leadership Bio Modal */
.leader-bio-modal .modal-content {
    background-color: var(--clr-dark);
    border: 1px solid var(--clr-gold-2);
    border-radius: 0;
    color: var(--clr-white);
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1051;
    background: none;
    border: none;
    color: var(--clr-white);
    font-size: 24px;
    opacity: 0.8;
    transition: var(--transition-base);
    line-height: 1;
}

.modal-close-btn:hover {
    opacity: 1;
    color: var(--clr-gold-2);
}

.modal-leader-img {
    width: 100%;
    height: 300px;
    min-height: 400px;
}

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

.modal-leader-name {
    font-size: 28px;
    color: var(--clr-white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

.modal-leader-role {
    font-size: 14px;
    color: var(--clr-gold-2);
    font-style: italic;
    letter-spacing: 1px;
}

.modal-divider {
    border-top: 1px solid rgba(184, 151, 91, 0.3);
    opacity: 1;
}

.modal-leader-bio {
    font-size: 14px;
    line-height: 1.8;
    color: var(--clr-white-75);
}

@media (max-width: 767px) {
    .modal-leader-img {
        min-height: 300px;
    }

    .modal-leader-name {
        font-size: 22px;
    }
}