/* About Page Specific Styles */

/* Page Header */
.page-header {
    background: var(--primary-blue);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    border-top: 5px solid var(--primary-red);
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-red);
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.header-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.header-content p {
    font-size: 1.25rem;
    color: #E3F2FD;
    max-width: 600px;
    margin: 0 auto;
}

/* Biography Section */
.biography {
    padding: 4rem 0;
    background-color: white;
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: flex-start;
}

.bio-image {
    position: sticky;
    top: 100px;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 3px solid var(--primary-red);
    transition: var(--transition);
}

.bio-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.bio-quick-facts {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
    transition: var(--transition);
}

.bio-quick-facts:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.bio-quick-facts h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
}

.bio-quick-facts ul {
    list-style: none;
}

.bio-quick-facts li {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.bio-quick-facts strong {
    color: var(--text-dark);
}

.bio-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.bio-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.bio-text h3 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-red);
    font-weight: 600;
}

.bio-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.bio-text ul {
    margin: 1rem 0 2rem 1rem;
}

.bio-text li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-size: 1.125rem;
    position: relative;
    padding-left: 1.5rem;
}

.bio-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-top: 3px solid transparent;
    position: relative;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    border: 3px solid var(--primary-blue);
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.value-item:hover h4 {
    color: var(--primary-red);
}

.value-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Timeline Styles */
.education-timeline,
.career-timeline {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.career-timeline {
    background-color: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-blue), var(--shadow);
    transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
}

.timeline-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-red);
    transition: height 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.timeline-content:hover::before {
    height: 100%;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.timeline-header h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.25rem;
}

.timeline-date {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 2px solid var(--primary-blue);
}

.timeline-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.timeline-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tag {
    background-color: #ffebee;
    color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.career-achievements {
    margin-top: 1.5rem;
}

.career-achievements h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.career-achievements ul {
    list-style: none;
    margin-left: 0;
}

.career-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.career-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* Achievements Section */
.achievements {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary-blue);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.achievement-card:hover::before {
    width: 100%;
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
    border: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
    transform: rotateY(360deg);
}

.achievement-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.achievement-card:hover h3 {
    color: var(--primary-red);
}

.achievement-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.achievement-year {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
}

/* Personal Interests */
.personal-interests {
    padding: 4rem 0;
    background-color: white;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.interest-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
}

.interest-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-red);
}

.interest-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    border: 3px solid var(--primary-blue);
    transition: var(--transition);
}

.interest-item:hover .interest-icon {
    transform: scale(1.15) rotate(10deg);
}

.interest-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.interest-item:hover h3 {
    color: var(--primary-red);
}

.interest-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
    background: var(--primary-red);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-cta .cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.contact-cta .cta-content p {
    color: #FFCDD2;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    font-size: 1.125rem;
    padding: 15px 35px;
    font-weight: 600;
}

.cta-buttons .btn-primary {
    background: var(--primary-blue);
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-2px);
}

.cta-buttons .btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.cta-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .bio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-image {
        position: static;
        order: -1;
    }

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

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 5px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .bio-text h2 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-date {
        align-self: flex-start;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1.125rem;
    }

    .bio-text h2 {
        font-size: 1.75rem;
    }

    .bio-text p,
    .timeline-content p {
        font-size: 1rem;
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        padding-left: 0;
    }

    .timeline-marker {
        display: none;
    }

    .contact-cta .cta-content h2 {
        font-size: 1.75rem;
    }
}