/* ========================================
   ABOUT PAGE - COMPLETE STYLES
   ======================================== */

/* ---------- HERO ---------- */
.about-hero {
    position: relative;
    min-height: 45vh;
    background: linear-gradient(160deg, #040D1E 0%, var(--primary-dark) 45%, var(--primary) 100%);
    overflow: hidden;
    padding-top: 80px;
    display: flex;
    align-items: center;
}
.about-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(200,169,81,0.04) 0%, transparent 65%);
    pointer-events: none;
}
.about-hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.about-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.4);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- MISSION ---------- */
.mission-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.mission-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    opacity: 0;
    transition: opacity 0.4s;
}
.mission-card:hover::before {
    opacity: 1;
}
.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.mission-vision::before {
    background: linear-gradient(90deg, var(--accent-glow), var(--accent));
}
.mission-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 14px;
    display: block;
}
.mission-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.mission-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ---------- VALUES ---------- */
.values-section {
    padding: 80px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}
.values-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200,169,81,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.value-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,169,81,0.06);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.value-card:hover {
    background: rgba(200,169,81,0.04);
    border-color: rgba(200,169,81,0.15);
    transform: translateY(-4px);
}
.value-icon {
    font-size: 36px;
    margin-bottom: 8px;
    display: block;
}
.value-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.value-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    line-height: 1.5;
    margin: 0;
}

/* ---------- TIMELINE ---------- */
.timeline-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(200,169,81,0.2), rgba(200,169,81,0.2), transparent);
    transform: translateX(-50%);
    display: none;
}
@media (min-width: 768px) {
    .timeline-line {
        display: block;
    }
}

.timeline-item {
    position: relative;
    padding: 24px 28px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.timeline-item.right {
    margin-left: auto;
}
@media (min-width: 768px) {
    .timeline-item {
        width: 45%;
    }
    .timeline-item.right {
        width: 45%;
        margin-top: 40px;
    }
}

.timeline-dot {
    display: none;
}
@media (min-width: 768px) {
    .timeline-dot {
        display: block;
        position: absolute;
        left: 50%;
        top: 20px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--accent);
        border: 3px solid var(--bg-light);
        transform: translateX(-50%);
        z-index: 2;
        box-shadow: 0 0 20px rgba(200,169,81,0.2);
    }
    .timeline-item.right .timeline-dot {
        left: 50%;
    }
}
.timeline-content {
    position: relative;
    z-index: 1;
}
.timeline-year {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 2px;
}
.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- TEAM SECTION ---------- */
.team-section {
    padding: 80px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}
.team-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200,169,81,0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Team Image Banner - FIXED */
.team-image-banner {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    min-height: 380px;
    background: var(--primary-dark);
}

.team-banner-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/images/lab-team.png') center 30% / cover no-repeat;
    transition: transform 0.6s ease;
    z-index: 0;
}

.team-image-banner:hover .team-banner-bg {
    transform: scale(1.02);
}

.team-image-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 380px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(7,23,51,0.6) 0%, rgba(10,31,68,0.4) 50%, transparent 100%);
}

.team-image-content {
    max-width: 480px;
    color: var(--white);
}

.team-image-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200,169,81,0.15);
    border: 1px solid rgba(200,169,81,0.25);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-image-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.team-image-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0;
}

/* Team Cards */
.team-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,169,81,0.06);
    border-radius: var(--radius-sm);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}
.team-card:hover {
    background: rgba(200,169,81,0.04);
    border-color: rgba(200,169,81,0.15);
    transform: translateY(-6px);
}
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}
.team-role {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    display: block;
    margin-bottom: 2px;
}
.team-exp {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 991px) {
    .about-hero-title {
        font-size: 36px;
    }
    .mission-card {
        padding: 28px 24px;
    }
    .team-image-banner {
        min-height: 300px;
    }
    .team-image-overlay {
        min-height: 300px;
        padding: 30px;
    }
    .team-banner-bg {
        background-position: center 25%;
    }
    .team-image-content h3 {
        font-size: 22px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .about-hero-title {
        font-size: 28px;
    }
    .mission-card {
        padding: 20px;
    }
    .mission-card h3 {
        font-size: 18px;
    }
    .value-card {
        padding: 16px 12px;
    }
    .timeline-item {
        padding: 18px 20px;
    }
    .team-card {
        padding: 24px 16px;
    }
    .team-image-banner {
        min-height: 240px;
        border-radius: var(--radius-sm);
    }
    .team-image-overlay {
        min-height: 240px;
        padding: 20px;
        background: linear-gradient(135deg, rgba(7,23,51,0.7) 0%, rgba(10,31,68,0.5) 100%);
    }
    .team-banner-bg {
        background-position: center 20%;
    }
    .team-image-content h3 {
        font-size: 18px;
    }
    .team-image-content p {
        font-size: 13px;
    }
    .team-image-badge {
        font-size: 9px;
        padding: 3px 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
    .team-image-banner {
        min-height: 200px;
    }
    .team-image-overlay {
        min-height: 200px;
        padding: 14px;
    }
    .team-image-content h3 {
        font-size: 16px;
    }
    .team-image-content p {
        font-size: 12px;
    }
    .team-banner-bg {
        background-position: center 15%;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .team-image-banner {
        min-height: 200px;
    }
    .team-image-overlay {
        min-height: 200px;
        padding: 20px;
    }
    .team-image-content h3 {
        font-size: 18px;
    }
    .team-banner-bg {
        background-position: center 20%;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .team-banner-bg {
        background-image: url('../assets/images/lab-team.png');
        background-size: cover;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .team-image-banner {
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .team-image-overlay {
        background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    }
    .team-image-badge {
        background: rgba(200,169,81,0.08);
        border-color: rgba(200,169,81,0.15);
    }
    .team-image-content p {
        color: rgba(255,255,255,0.5);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .team-image-banner:hover .team-banner-bg {
        transform: none;
    }
    .team-card:hover {
        transform: none;
    }
    .mission-card:hover {
        transform: none;
    }
    .value-card:hover {
        transform: none;
    }
    .timeline-item:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .team-image-banner {
        min-height: auto;
        background: var(--primary-dark);
        border: 1px solid #ddd;
    }
    .team-banner-bg {
        display: none;
    }
    .team-image-overlay {
        background: var(--primary-dark);
        min-height: auto;
        padding: 20px;
    }
    .team-image-content {
        color: var(--white);
    }
    .team-image-badge {
        background: rgba(200,169,81,0.1);
        border-color: rgba(200,169,81,0.2);
    }
}