﻿/* =====================================================
   ABOUT PAGE (RESPONSIVE + PREMIUM + NO EXTRA GAP)
   File: wwwroot/css/about.css
===================================================== */

/* ===========================
   ABOUT VIDEO SECTION
=========================== */
.about-video-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}

/* video */
.about-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* dark overlay */
.about-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.92));
    z-index: 1;
}

/* ===========================
   HERO CONTENT (CENTER)
=========================== */
.about-video-hero {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    /* ✅ Top gap for navbar + bottom gap for overlay section */
    padding: 120px 16px 240px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-title {
    font-size: clamp(28px, 3vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

    .about-title span {
        color: #4aa3ff;
    }

.about-subtitle {
    max-width: 850px;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.6;
    margin: 0 auto;
}

/* hero actions */
.about-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

    .about-hero-actions .btn {
        border-radius: 50px;
        padding: 10px 22px;
    }

/* ===========================
   WHO WE ARE OVERLAY SECTION
   ✅ Desktop: overlay on video
=========================== */
.about-overlay-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 35px;
    z-index: 3;
}

/* tick list */
.about-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-list-item {
    background: rgba(74, 163, 255, 0.08);
    border: 1px solid rgba(74, 163, 255, 0.18);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.88);
}

/* ===========================
   GLASS CARD
=========================== */
.about-glass-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 32px;
    color: #fff;
    box-shadow: 0 30px 70px rgba(0,0,0,0.55);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .about-glass-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 45px 90px rgba(0,0,0,0.75);
        border-color: rgba(74,163,255,0.35);
    }

    .about-glass-card i {
        font-size: 42px;
        color: #4aa3ff;
    }

/* mini stats inside card */
.about-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.mini-stat {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 14px 10px;
}

    .mini-stat h4 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 4px;
        color: #4aa3ff;
    }

    .mini-stat p {
        margin: 0;
        font-size: 12px;
        color: rgba(255,255,255,0.70);
    }

/* ===========================
   TIMELINE
=========================== */
.timelineSwiper {
    padding: 20px 6px 35px;
}

    .timelineSwiper .swiper-slide {
        height: auto;
    }

    .timelineSwiper .swiper-pagination-bullet {
        opacity: 0.4;
    }

    .timelineSwiper .swiper-pagination-bullet-active {
        opacity: 1;
    }

    .timeline-wrapper::-webkit-scrollbar {
        display: none;
    }

.timeline-card {
    flex: 0 0 auto;
    min-width: 260px;
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 22px;
    color: rgba(255,255,255,0.82);
    scroll-snap-align: start;
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
    transition: all 0.3s ease;
}

    .timeline-card .year {
        display: inline-block;
        font-weight: 800;
        font-size: 20px;
        color: #4aa3ff;
        margin-bottom: 10px;
    }

    .timeline-card p {
        margin: 0;
        font-size: 14px;
        color: rgba(255,255,255,0.72);
    }

    .timeline-card:hover {
        transform: translateY(-8px);
        border-color: rgba(74,163,255,0.35);
        background: linear-gradient(135deg, rgba(74,163,255,0.18), rgba(0,0,0,0.95));
    }

    .timeline-card.highlight {
        border: 2px solid rgba(74,163,255,0.85);
    }

/* ===========================
   LEADERSHIP / MESSAGE CARD
=========================== */
.about-highlight-card {
    background: rgba(17,17,17,0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,0.60);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .about-highlight-card:hover {
        transform: translateY(-8px);
        border-color: rgba(74,163,255,0.35);
    }

    .about-highlight-card i {
        font-size: 38px;
        color: #4aa3ff;
        margin-bottom: 14px;
    }

/* ===========================
   RESPONSIVE FIXES
=========================== */

/* ✅ Tablet & Mobile: overlay becomes normal flow */
@media (max-width: 991px) {

    .about-video-hero {
        min-height: auto;
        padding: 110px 16px 25px; /* ✅ remove huge bottom gap */
    }

    .about-overlay-content {
        position: relative;
        bottom: auto;
        padding: 20px 0 40px; /* ✅ clean spacing (NO extra gap) */
    }

    .about-mini-stats {
        grid-template-columns: 1fr;
    }

    .about-hero-actions {
        flex-direction: column;
    }

        .about-hero-actions .btn {
            width: 100%;
            max-width: 260px;
        }
}

/* extra small */
@media (max-width: 576px) {
    .about-video-hero {
        padding: 95px 14px 20px;
    }

    .timeline-card {
        min-width: 220px;
        padding: 18px;
    }
}
