/* ===== Resume Styles ===== */
/* Hero Section */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Container Organization */
.resume-container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 30px;
    gap: 40px;
}

.resume-column:first-child {
    flex: 2; /* Larger column (66%) */
}

.resume-column:last-child {
    flex: 1; /* Smaller column (33%) */
    max-width: 380px; 
}

.resume-section {
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-left: 3px solid var(--primary-color);
}

.resume-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.resume-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.resume-section h2 i {
    color: var(--primary-color);
}

/* Work Experience and Education */
.section-link {
    color: var(--gray-color);
    margin-bottom: 20px;
    display: block;
}

.section-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
    padding-left: 30px;
    transform: translateX(-20px);
    transition: all 0.5s ease, height 0.5s ease;
    opacity: 0;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    bottom: -25px;
    width: 1px;
    background-color: var(--gray-color);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-date {
    flex: 0 0 100px;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}
.timeline-item .description {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(229,9,20,0.3);
}

.timeline-item .description ul {
    list-style-type: none;
    padding-left: 5px;
}

.timeline-item .description li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ccc;
}

.timeline-item .description li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.company {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}

/* Skills Section */
.skills-list {
    list-style: none;
}

.skills-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, color 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

.skills-list li:hover {
    transform: translateX(5px);
    color: white;
    background: rgba(229, 9, 20, 0.1);
}

.skills-list i {
    color: var(--primary-color);
    width: 20px;
}

/* Languages Section */
.language-progress {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language span {
    flex: 0 0 80px;
    font-size: 0.9rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* Responsive Page */
@media (max-width: 1024px) {
    .resume-container {
        flex-direction: column;
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .resume-column:last-child {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .resume-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .resume-column:last-child {
        grid-template-columns: 1fr;
    }
    
    .timeline-date {
        flex: 0 0 80px;
    }

    .timeline-item .description li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        flex-direction: column;
        gap: 5px;
        padding-left: 20px;
    }
    
    .timeline-item::before {
        top: 0;
    }
    
    .timeline-item::after {
        top: 15px;
    }
}