/* About Page - Mobile First Responsive Design */
/* Base Styles - Mobile (320px+) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066b3;
    --secondary: #2196f3;
    --text: #333;
    --light-gray: #f5f5f5;
    --border: #e0e0e0;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light-gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* Navigation styles inherited from index.css - no override needed */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 120px 20px 60px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Main Content */
.about-main {
    padding: 40px 20px;
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Sections */
.about-section {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px var(--shadow);
}

.section-icon {
    display: none;
}

.section-content h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Highlight Section */
.highlight-section {
    background: linear-gradient(135deg, rgba(0, 102, 179, 0.05), rgba(33, 150, 243, 0.05));
    border-left: 4px solid var(--primary);
}

/* Position Card */
.position-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.collaborator-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    float: right;
    margin: 0 0 15px 15px;
    object-fit: cover;
    border: 3px solid var(--primary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -24px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-content {
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
}

.timeline-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.timeline-date {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Name Link */
.name-link {
    color: var(--secondary);
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
}

.name-link:hover {
    color: var(--primary);
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    max-width: 90%;
    width: 500px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.popup-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text);
    line-height: 1;
}

.popup-close:hover {
    color: var(--primary);
}

/* Footer */
.site-footer {
    background: var(--white);
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 -2px 10px var(--shadow);
}

.site-footer p {
    color: var(--text);
    font-size: 0.9rem;
}

/* Tablet - 600px+ */
@media (min-width: 600px) {
    .about-hero {
        padding: 150px 40px 80px;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .about-main {
        padding: 50px 30px;
    }

    .about-section {
        padding: 40px 30px;
        margin-bottom: 30px;
    }

    .section-content h2 {
        font-size: 2rem;
    }

    .collaborator-img {
        width: 100px;
        height: 100px;
    }

    .timeline {
        padding-left: 50px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: -42px;
        width: 16px;
        height: 16px;
    }

    .popup-content {
        max-width: 600px;
        padding: 40px;
    }
}

/* Desktop Small - 768px+ */
@media (min-width: 768px) {
    .about-hero {
        padding: 180px 60px 100px;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-section {
        display: flex;
        gap: 30px;
        padding: 50px 40px;
    }

    .section-icon {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        min-width: 60px;
    }

    .section-icon i {
        font-size: 2.5rem;
        color: var(--primary);
    }

    .section-content {
        flex: 1;
    }

    .timeline {
        padding-left: 60px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: -47px;
        width: 20px;
        height: 20px;
    }
}

/* Desktop Medium - 1024px+ */
@media (min-width: 1024px) {
    .about-hero {
        padding: 200px 80px 120px;
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

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

    .about-main {
        padding: 60px 40px;
    }

    .about-section {
        padding: 60px 50px;
        margin-bottom: 35px;
    }

    .section-icon {
        min-width: 80px;
    }

    .section-icon i {
        font-size: 3rem;
    }

    .section-content h2 {
        font-size: 2.2rem;
    }

    .collaborator-img {
        width: 120px;
        height: 120px;
    }
}

/* Desktop Large - 1440px+ */
@media (min-width: 1440px) {
    .about-hero {
        padding: 220px 100px 140px;
        min-height: 500px;
    }

    .container-fluid {
        max-width: 1400px;
    }

    .about-section {
        padding: 70px 60px;
    }

    .section-content p {
        font-size: 1.05rem;
    }
}
