/* About page specific styles */

.about-hero {
    padding: 8rem 0 4rem;
    background: var(--light-color);
    text-align: center;
}

.about-intro {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.about-section {
    padding: 4rem 0;
}

.about-section:nth-child(even) {
    background-color: var(--light-color);
}

.subsection-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.subsection-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Timeline styling */
.career-timeline {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    padding-left: 2rem;
}

.career-timeline:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-bg);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: -2.35rem;
    top: 0.5rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 3px solid var(--light-color);
    box-shadow: 0 0 0 3px rgba(244, 96, 54, 0.2);
}

.timeline-date {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    line-height: 1.6;
}

/* Interests grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.interest-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.interest-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.interest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.interest-card:hover .interest-image img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.interest-image:hover .image-caption {
    transform: translateY(0);
}

.interest-content {
    padding: 1.5rem;
}

.interest-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.interest-content p {
    color: var(--dark-color);
    line-height: 1.6;
}

/* Skills section */
.skills-brief {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('../images/data_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.skills-flexbox {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-group {
    flex: 1 1 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.skill-group h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.skill-group ul {
    list-style: none;
    padding: 0;
}

.skill-group li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.skill-group li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-intro {
        font-size: 1.1rem;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-flexbox {
        flex-direction: column;
    }
}