﻿/* About page specific styles */
.about-page-container {
    max-width: 60%;
    margin: 0 auto;
    position: relative;
    padding: 0 30px;
}

/* Enhanced scrollbar styling */
.main-container::-webkit-scrollbar {
    width: 8px;
}

.main-container::-webkit-scrollbar-track {
    background: transparent;
}

.main-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 119, 181, 0.08);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background-color 0.3s ease;
}

    .main-container::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 119, 181, 0.2);
    }

/* Content fade effect at bottom */
.main-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
    pointer-events: none;
}

/* Animated heading styles */
.animated-heading, .section-heading {
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

    .animated-heading::after, .section-heading::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        bottom: -10px;
        left: 0;
        background: linear-gradient(90deg, rgba(0,119,181,1) 0%, rgba(0,119,181,0.3) 100%);
        transform: scaleX(0.3);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    .animated-heading:hover::after, .section-heading:hover::after {
        transform: scaleX(1);
    }

.highlight {
    color: #0077b5;
    position: relative;
}

/* New content layout with adjusted width */
.about-content-wrapper {
    display: flex;
    gap: 3rem;
    margin: 2rem 0 3rem;
    align-items: flex-start;
}

/* Profile image styles */
.profile-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-shadow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(0, 119, 181, 0.1);
    top: 12px;
    left: 10px;
    z-index: 1;
}

/* About text content */
.about-text-content {
    flex: 1;
    padding: 0;
}

.name-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.position-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

    .position-title::after {
        content: '';
        position: absolute;
        width: 60px;
        height: 2px;
        background-color: #0077b5;
        bottom: 0;
        left: 0;
    }

.intro-paragraph {
    color: #555;
    border-left: 3px solid rgba(0, 119, 181, 0.3);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    text-indent: 0;
}

.about-text-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444;
}

    .about-text-content p:last-child {
        margin-bottom: 0;
    }

/* Create a class for paragraphs that should span the full width */
.full-width-content {
    width: 100%;
    padding: 0 20px;
}

    .full-width-content p {
        margin-bottom: 2rem;
        line-height: 1.8;
        font-size: 1.05rem;
        color: #444;
        text-indent: 1.5rem;
        position: relative;
        padding-left: 1rem;
        border-left: 2px solid rgba(0, 119, 181, 0.15);
    }

        .full-width-content p:first-of-type {
            margin-top: 2rem;
        }

        .full-width-content p:last-child {
            margin-bottom: 1rem;
        }

        /* Add subtle dividers between paragraphs */
        .full-width-content p:not(:last-child):after {
            content: '';
            position: absolute;
            bottom: -1rem;
            left: 10%;
            width: 80%;
            height: 1px;
            background: linear-gradient(90deg, rgba(0,0,0,0.01) 0%, rgba(0,119,181,0.08) 50%, rgba(0,0,0,0.01) 100%);
        }

/* Content divider */
.content-divider {
    display: flex;
    align-items: center;
    margin: 3rem 0;
    position: relative;
}

    .content-divider::before, .content-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.03) 100%);
    }

.divider-icon {
    margin: 0 1rem;
    color: #0077b5;
    font-size: 1.2rem;
}

/* Career timeline */
.about-career {
    margin-bottom: 3rem;
    position: relative;
}

.career-timeline {
    position: relative;
    padding: 1rem 0;
}

    .career-timeline::before {
        content: '';
        position: absolute;
        left: 120px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(180deg, rgba(0,119,181,0.1) 0%, rgba(0,119,181,0.3) 50%, rgba(0,119,181,0.1) 100%);
    }

.timeline-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .timeline-item.active {
        opacity: 1;
        transform: translateY(0);
    }

.timeline-marker {
    position: absolute;
    left: 120px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #0077b5;
    transform: translateX(-6px);
    top: 8px;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background-color: #0077b5;
    box-shadow: 0 0 0 3px rgba(0, 119, 181, 0.2);
}

.timeline-date {
    width: 120px;
    padding-right: 2rem;
    font-weight: 600;
    color: #0077b5;
    text-align: right;
    font-size: 0.95rem;
}

.timeline-content {
    flex: 1;
    padding-left: 2rem;
    position: relative;
}

    .timeline-content h3 {
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #333;
    }

    .timeline-content p {
        color: #555;
        line-height: 1.6;
    }

/* Horizontal Career Timeline */
.career-timeline-section {
    margin-bottom: 3rem;
    padding: 0 10px;
}

.horizontal-timeline {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    padding: 30px 0;
}

    .horizontal-timeline::-webkit-scrollbar {
        height: 8px; /* Note: height for horizontal scrollbars */
    }

    .horizontal-timeline::-webkit-scrollbar-track {
        background: transparent;
    }

    .horizontal-timeline::-webkit-scrollbar-thumb {
        background-color: rgba(0, 119, 181, 0.08);
        border-radius: 20px;
        border: 2px solid transparent;
        background-clip: content-box;
        transition: background-color 0.3s ease;
    }

        .horizontal-timeline::-webkit-scrollbar-thumb:hover {
            background-color: rgba(0, 119, 181, 0.2);
        }


.timeline-track {
    /*    position: relative;*/
    display: flex;
    min-width: 100%;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    margin-top:-5px;
    top: 35%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(0,119,181,0.2) 0%, rgba(0,119,181,0.8) 50%, rgba(0,119,181,0.2) 100%);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-milestone {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    min-width: 160px;
    z-index: 2;
}

.milestone-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid rgba(0, 119, 181, 0.6);
    margin-bottom: 15px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

    .milestone-dot.active {
        background-color: #0077b5;
        box-shadow: 0 0 0 5px rgba(0, 119, 181, 0.2);
    }

.milestone-content {
    margin-top:5px;
    text-align: center;
    max-width: 160px;
    transition: transform 0.3s ease;
}

.milestone-year {
    font-weight: 600;
    color: #0077b5;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.timeline-milestone h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-milestone p {
    font-size: 0.8rem;
    color: #555;
}

.timeline-milestone:hover .milestone-dot {
    transform: scale(1.2);
    background-color: #0077b5;
    box-shadow: 0 0 0 5px rgba(0, 119, 181, 0.2);
}

.timeline-milestone:hover .milestone-content {
    transform: translateY(-5px);
}

/* Core Capabilities Section */
.core-capabilities {
    margin-bottom: 3rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.capability-item {
    padding: 0 15px;
}

    .capability-item h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 10px;
        color: #333;
    }

.capability-bar {
    height: 8px;
    background-color: rgba(0, 119, 181, 0.15);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.capability-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(0,119,181,0.6) 0%, rgba(0,119,181,1) 100%);
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
}

.capability-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Add animation for capability bars */
@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .about-page-container {
        max-width: 80%;
    }
}

@media (max-width: 992px) {
    .about-page-container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .about-page-container {
        max-width: 95%;
    }

    .about-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-image-wrapper {
        margin: 0 auto;
    }

    .profile-shadow {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 10px;
    }

    .position-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .intro-paragraph {
        border-left: none;
        border-bottom: 3px solid rgba(0, 119, 181, 0.3);
        padding-left: 0;
        padding-bottom: 1rem;
    }

    .career-timeline::before {
        left: 85px;
    }

    .timeline-marker {
        left: 85px;
    }

    .timeline-date {
        width: 85px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}
