/* ==========================================================================
   B.P.L Associates - About Us Specific Stylesheet
   ========================================================================== */

.about-hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    color: #FFFFFF;
    overflow: hidden;
}

.about-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.about-hero-section .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    opacity: 1;
    /* override homepage.css */
}

.about-hero-section .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    font-weight: 400;
    border-left: 3px solid var(--secondary);
    padding-left: 1.5rem;
    opacity: 1;
    /* override homepage.css */
}

@media (max-width: 991.98px) {
    .about-hero-section .hero-title {
        font-size: 2.5rem;
    }

    .about-hero-section .hero-subtitle {
        font-size: 1rem;
    }
}

/* --- Redesigned Alternating Leadership Matrix Section --- */
.legacy-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: #FFFFFF;
}

/* Decorative background glowing shapes */
.lux-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 26, 51, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.shape-one {
    width: 500px;
    height: 500px;
    left: -100px;
    top: 10%;
}

.shape-two {
    width: 600px;
    height: 600px;
    right: -150px;
    bottom: 5%;
}

.premium-divider {
    width: 60px;
    height: 2px;
    background: var(--secondary);
    margin-top: 1.5rem;
}

/* Asymmetrical Architectural Image Frame */
.architectural-image-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.gold-offset-border {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--secondary);
    z-index: 1;
    transition: var(--transition-slow);
}

.offset-right-frame .gold-offset-border {
    left: -15px;
}

.portrait-canvas {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: var(--primary);
    border-radius: 0px;
    /* Sharp corners as in reference */
}

.portrait-canvas img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: var(--transition-slow);
}

/* Interactive Hover Transitions */
.block-matrix-row:hover .gold-offset-border {
    transform: translate(-8px, -8px);
    box-shadow: 0 15px 30px rgba(8, 26, 51, 0.05);
}

.block-matrix-row:hover .offset-right-frame .gold-offset-border {
    transform: translate(8px, -8px);
}

.block-matrix-row:hover .portrait-canvas img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
}

/* Era badges */
.legacy-era-badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 10px 25px rgba(8, 26, 51, 0.15);
    transition: var(--transition-fast);
}

.offset-right-frame .legacy-era-badge {
    right: auto;
}

.legacy-era-badge.dynamic-badge {
    background: var(--secondary);
    color: var(--primary);
}

/* Narrative Text Formatting */
.governance-level-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 700;
}

.title-credentials {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 5px;
    font-family: 'Montserrat', sans-serif;
}

.tribute-ribbon {
    background: var(--bg-soft-grey);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-left: 3px solid var(--secondary);
    display: flex;
    align-items: center;
    width: max-content;
}

.lead-context {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
}

/* Deep Prakash Bhalja – Responsibility List */
.deep-responsibilities-grid {
    background: rgba(8, 26, 51, 0.03);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    border: 1px solid rgba(8, 26, 51, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background-color 0.4s ease;
}

.deep-responsibilities-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(8, 26, 51, 0.06);
    border-color: rgba(212, 175, 55, 0.25);
    background-color: rgba(212, 175, 55, 0.015);
}

.deep-resp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1.2rem;
}

.deep-resp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-main);
    line-height: 1.45;
}

.deep-resp-list li i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .deep-resp-list {
        grid-template-columns: 1fr;
    }
}

/* Minimalist Expertise Badges */
.lux-mini-badge {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(8, 26, 51, 0.15);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin: 0.25rem;
    transition: var(--transition-fast);
}

.block-matrix-row:hover .lux-mini-badge {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--secondary-dark);
}

@media (max-width: 991.98px) {
    .legacy-section {
        padding: 4rem 0;
    }

    .architectural-image-frame {
        margin-bottom: 3rem;
        max-width: 290px;
        /* Constrain image frame size to avoid exceeding screen boundaries */
    }

    /* Prevent offset borders from creating horizontal scrollbars on mobile */
    .gold-offset-border {
        top: 10px;
        left: 10px;
        width: 100%;
        height: 100%;
    }

    .offset-right-frame .gold-offset-border {
        left: -10px;
    }

    .tribute-ribbon {
        width: 100%;
    }

    .narrative-content-block {
        text-align: left !important;
    }

    .expertise-tags-container {
        justify-content: flex-start !important;
    }
}

/* --- Alumni & Gratitude Testimonials Section --- */
.alumni-section {
    padding: 6rem 0;
    background-color: var(--bg-soft-grey);
    position: relative;
}

.alumni-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 26, 51, 0.04);
    border-color: rgba(212, 175, 55, 0.25) !important;
}

.alumni-item .alumni-avatar {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.gratitude-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.testimonial-photo-frame {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
    flex-shrink: 0;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 15px rgba(8, 26, 51, 0.08);
}

.testimonial-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gratitude-card:hover .testimonial-photo-frame img {
    transform: scale(1.05);
}

.xs-text {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* Testimonial Switcher Tabs */
.testimonial-tabs .tab-pill-btn {
    background-color: white;
    border: 1px solid rgba(8, 26, 51, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.testimonial-tabs .tab-pill-btn.active {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    border-color: var(--primary) !important;
}

.testimonial-tabs .tab-pill-btn:hover:not(.active) {
    border-color: var(--secondary);
    background-color: rgba(212, 175, 55, 0.05);
}

/* Testimonial Initials Avatar */
.testimonial-initials-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--secondary);
    font-size: 2.2rem;
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 15px rgba(8, 26, 51, 0.08);
}

.gratitude-card:hover .testimonial-initials-avatar {
    transform: scale(1.05);
}


@media (max-width: 768px) {
    .container {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto;
    }
}

/* ==========================================================
   Life at BPL - High-Profile Exhibition Gallery Section
   ========================================================== */
.about-gallery-section {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(180deg, #081A33 0%, #030c18 100%);
    z-index: 10;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 4px solid var(--secondary);
}

/* Ambient Light Rings Background Blobs */
.gallery-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
    animation: moveOrb 10s infinite alternate ease-in-out;
}

.orb-gold {
    top: 15%;
    left: 5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    animation-delay: 0s;
}

.orb-blue {
    bottom: 20%;
    right: 5%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, transparent 70%);
    animation-delay: -3s;
}

@keyframes moveOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, -40px) scale(1.06);
    }
}

.section-tag-lux {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

/* Swiper Custom styling */
.about-gallery-section {
    padding: 100px 0;
    background: #020710;
    position: relative;
    overflow: hidden;
}

.gallery-slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.bpl-gallery-swiper {
    width: 100%;
    padding: 50px 0 80px 0;
    overflow: visible !important; /* Allow slides to peek out on left and right */
}

.bpl-gallery-swiper .swiper-slide {
    width: 70%; /* Desktop width */
    max-width: 850px;
    height: 520px;
    opacity: 0.35;
    transform: scale(0.85);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s ease;
    filter: blur(4px);
}

.bpl-gallery-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
    z-index: 10;
}

.slider-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.bpl-gallery-swiper .swiper-slide-active .slider-card {
    border-color: rgba(212, 175, 55, 0.3);
}

/* Background Blur Image */
.slide-bg-blur {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    filter: blur(25px) brightness(0.35);
    pointer-events: none;
    z-index: 1;
}

/* Foreground Main Image */
.slide-fg-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    padding: 30px; /* Give some breathing space inside card */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slide Info Overlay */
.slide-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 3;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.slide-number {
    font-size: 0.9rem;
    color: var(--secondary); /* Gold */
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.slide-title {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Spotlight cursor reflection */
.slider-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(212, 175, 55, 0.12), transparent 45%);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.swiper-slide-active .slider-card:hover::after {
    opacity: 1;
}

/* Custom Navigation Styling */
.swiper-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.swiper-nav-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(2, 7, 16, 0.8);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 10;
}

.swiper-nav-btn:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.25);
}

/* Pagination Progress Line styling */
.swiper-pagination-progressbar {
    position: relative !important;
    width: 200px !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 2px !important;
    overflow: hidden;
    display: block !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--secondary) !important;
}

/* Responsive adjustment */
@media (max-width: 991.98px) {
    .bpl-gallery-swiper .swiper-slide {
        width: 85%;
        height: 420px;
    }
    .slide-title {
        font-size: 1.4rem;
    }
    .slide-info-overlay {
        padding: 25px;
    }
    .slide-fg-img {
        padding: 10px;
    }
}

@media (max-width: 575.98px) {
    .bpl-gallery-swiper .swiper-slide {
        width: 90%;
        height: 320px;
    }
    .slide-title {
        font-size: 1.2rem;
    }
    .slide-info-overlay {
        padding: 15px;
    }
    .swiper-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* Intersection Observer entrance styles */
.scroll-reveal {
    opacity: 0;
    transform: translateY(45px) scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}