/* === INTRO (Reference image layout) === */
.about-intro {
    background: #ffffff;
    padding: 4rem 0;
}

.about-intro .intro-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-intro .intro-media {
    position: relative;
    flex: 0 0 520px;
}

.about-intro .intro-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.about-intro .intro-social {
    display: flex;
    gap: 18px;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #1a1a1a;
    font-size: 1rem;
}

.about-intro .intro-side {
    flex: 1 1 auto;
}

.about-intro .intro-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: 4px;
    color: #1a1a1a;
    line-height: 0.9;
    margin: 0 0 1.5rem 0;
}

.about-intro .intro-copy {
    max-width: 560px;
    color: #5a5a5a;
    line-height: 1.8;
}

.about-intro .intro-bar {
    width: 64px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 6px;
    margin-top: 1.75rem;
}

@media (max-width: 992px) {
    .about-intro { padding: 3rem 0 4rem; }
    .about-intro .intro-wrap { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .about-intro .intro-media { flex-basis: 100%; width: 100%; }
    .about-intro .intro-img { height: 420px; }
    .about-intro .intro-title { font-size: clamp(2.5rem, 12vw, 5rem); }
    .about-intro .intro-social { position: static; transform: none; margin-top: 0.75rem; }
}

@media (max-width: 576px) {
    .about-intro .intro-img { height: 340px; }
    .about-intro .intro-title { font-size: clamp(2.2rem, 14vw, 3.5rem); letter-spacing: 2px; }
}
/* --- HERO --- */
/* Hero Section */
.about-hero {
    color: white;
    padding: 10rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: url('../images/about.jpg') center center/cover no-repeat;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .80);
    z-index: 1;
    backdrop-filter: blur(2px);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 0;
    background: transparent;
}

/* Content Blocks - Full Width */
.content-block {
    width: 100%;
    padding: 4rem 0;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.content-block.history-block {
    background: #f8f9fa;
}

.content-block.vision-block {
    background: white;
}

.content-block.mission-block {
    background: #f8f9fa;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
}

.content-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.content-block:hover .content-img {
    transform: scale(1.05);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.icon-badge.history {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-badge.vision {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-badge.mission {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.block-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.content-block p {
    line-height: 1.9;
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

/* === Minimal Split Layout (like reference image) === */
/* Hide colored icon badges for a cleaner, minimalist look */
.about-section .block-header .icon-badge { display: none; }

/* Massive uppercase heading similar to the reference */
.about-section .block-header h2 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 0.95;
    margin: 0 0 0.75rem 0;
}

/* Lighter background palette and generous whitespace */
.content-block.history-block,
.content-block.mission-block { background: #f5f5f7; }
.content-block.vision-block { background: #ffffff; }

/* Text area styling */
.about-section .content-text p {
    color: #5a5a5a;
    max-width: 640px;
}

/* Decorative end bar under text, echoing the small bar in the reference */
.about-section .content-text::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: #1a1a1a;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Align decorative bar to the start even for reversed rows */
.content-row.reverse .content-text::after { margin-left: 0; }

/* Image: subtle rounding and shadow similar to reference card feel */
.about-section .content-img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Responsive tweaks for the split layout */
@media (max-width: 992px) {
    .about-section .block-header h2 { font-size: clamp(2rem, 7vw, 3.2rem); }
}
@media (max-width: 768px) {
    .about-section .content-text::after { margin-left: 0; }
}

/* === Moved from Blade: Category Filter and Empty State === */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: #555;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.filter-btn:hover::before { width: 300px; height: 300px; }
.filter-btn:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.filter-btn span { position: relative; z-index: 1; }

.empty-state { text-align: center; padding: 3rem 1rem; color: #999; display: none; }
.empty-state.show { display: block; animation: fadeIn 0.5s ease; }
.empty-state i { font-size: 4rem; margin-bottom: 1rem; opacity: 0.3; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: #666; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Category badge (moved from Blade) */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
}

/* Responsive for filter */
@media (max-width: 768px) {
    .category-filter { gap: 0.5rem; }
    .filter-btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-row,
    .content-row.reverse {
        gap: 2.5rem;
    }
    
    .content-img {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .content-block {
        padding: 3rem 0;
    }
    
    .content-wrapper {
        padding: 0 1.5rem;
    }
    
    .content-row,
    .content-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .content-img { height: 260px; }
}

/* --- LEADERS CAROUSEL DESIGN --- */
.leaders-section { 
    margin-top: 4rem;
    padding-bottom: 4rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* === Entrance animations === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-row { animation: fadeUp 0.6s ease both; }
.content-block.vision-block .content-row { animation-delay: 0.08s; }
.content-block.mission-block .content-row { animation-delay: 0.16s; }

.leaders-section .section-header { animation: fadeUp 0.6s ease both; }
.leaders-section .leaders-carousel { animation: fadeUp 0.6s ease both; animation-delay: 0.12s; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.leaders-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
}

.leaders-carousel {
    overflow: hidden;
    flex: 1;
    width: 100%;
}

/* === Mobile Lightbox for Leaders Images === */
.leaders-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 10000;
}

.leaders-lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.leaders-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.leaders-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.leaders-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

@media (min-width: 769px) {
    .leaders-lightbox-overlay { display: none !important; }
}

.leaders-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

/* Modern Leader Card */
.leader-card-modern {
    background: #2c3e50;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 280px;
}

.leader-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.leader-image-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.leader-card-modern:hover .leader-img {
    transform: scale(1.15);
}

/* Overlay that appears on hover */
.leader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.leader-card-modern:hover .leader-overlay {
    opacity: 1;
}

.leader-info {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.leader-card-modern:hover .leader-info {
    transform: translateY(0);
}

.leader-name-overlay {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.leader-role-overlay {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* Card details at bottom */
.leader-details {
    padding: 1.5rem;
    text-align: left;
}

.leader-name-card {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
}

.leader-role-card {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* Carousel Navigation Buttons */
.carousel-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.carousel-nav:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.carousel-nav i {
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .leader-card-modern {
        flex: 0 0 calc((100% - 3rem) / 3);
    }

    .leader-image-container {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .leader-card-modern {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
    
    .leader-image-container {
        height: 400px;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 8rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .leader-image-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 6rem 0 3rem;
    }

    .hero-icon {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .leaders-section .container {
        padding: 0 1rem;
    }

    .leaders-carousel-wrapper {
        gap: 1rem;
    }

    .leader-card-modern {
        flex: 0 0 100%;
    }

    /* Remove hover effects on mobile */
    .leader-card-modern:hover {
        transform: none;
        box-shadow: none;
    }

    .leader-card-modern:hover .leader-img {
        transform: none;
    }

    .leader-overlay {
        display: none;
    }

    .leader-image-container {
        height: 400px;
    }

    .leader-name-overlay {
        font-size: 1.5rem;
    }

    .leader-name-card {
        font-size: 1.2rem;
    }

    .content-block {
        padding: 2.5rem 0;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }

    .leaders-section {
        padding-bottom: 3rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}