/* Achievements Section Styles */
.achievements {
    padding: 80px 0;
    background: #f8f9fa;
    color: #2c3e50;
}



.achievements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.achievements h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff6b35;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.achievement-card {
    background: white;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ff6b35;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
    color: #e55a2b;
}

.achievement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #2c3e50;
}

.achievement-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.achievement-year {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 8px;
}

/* Achievement Modal */
.achievement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.achievement-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    color: #2c3e50;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ff6b35;
}





/* Responsive Design */
@media (max-width: 768px) {
    .achievements {
        padding: 60px 0;
    }
    
    .achievements h2 {
        font-size: 2.2rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-card {
        padding: 30px 25px;
    }
    
    .achievement-icon {
        font-size: 3rem;
    }
    
    .timeline-item {
        flex-direction: column !important;
    }
    
    .timeline-content {
        margin: 20px 0;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-year {
        position: relative;
        left: auto;
        transform: none;
        margin-bottom: 20px;
    }
    
    .achievement-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .achievements h2 {
        font-size: 1.8rem;
    }
    
    .achievement-card {
        padding: 25px 20px;
    }
    
    .achievement-card h3 {
        font-size: 1.2rem;
    }
    
    .achievement-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animation Classes */
.fade-in-achievement {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInAchievement 0.6s ease forwards;
}

@keyframes fadeInAchievement {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}