/* About Container */
.about-container {
    padding-top: 80px;
}

/* About Hero Section */
.about-hero {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--light-text);
}

/* Education Section */
.education-section {
    padding: 4rem 2rem;
    background-color: var(--section-bg);
}

.education-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    right: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid white;
}

.timeline-item:nth-child(even) .timeline-marker {
    right: auto;
    left: -6px;
}

.timeline-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.timeline-header h3 {
    color: var(--text-color);
    font-size: 1.2rem;
}

.period {
    color: var(--primary-color);
    font-weight: 500;
}

.institution {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.achievements {
    list-style-position: inside;
    margin-top: 1rem;
}

.achievements li {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

/* Work Experience Section */
.experience-section {
    padding: 4rem 2rem;
}

.experience-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.experience-header {
    margin-bottom: 1.5rem;
}

.experience-header h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.company {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.experience-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.achievements h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.skills-used {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.skill-tag {
    padding: 0.3rem 0.8rem;
    background-color: var(--section-bg);
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Interests Section */
.interests-section {
    padding: 4rem 2rem;
    background-color: var(--section-bg);
}

.interests-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.interest-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.interest-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.interest-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.interest-card p {
    color: var(--light-text);
}

/* Tooltip styles */
.tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent var(--text-color) transparent;
}

.interest-card:hover .tooltip {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 2rem;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        padding-left: 2rem;
    }

    .timeline-marker {
        left: -6px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-marker {
        left: -6px;
    }

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