/* ============================================
   ACHIEVEMENT SECTION - DARKER BACKGROUND
   ============================================ */
#achievement {
    background: #e8ecf4;
    padding: 80px 0;
}

.section-title {
    color: #1a1a2e;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

.achievement-card {
    background: #ffffff;
    padding: 30px 25px 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.04), rgba(118, 75, 162, 0.04));
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.achievement-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: all 0.4s ease;
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-card:hover::after {
    opacity: 1;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #667eea;
    transition: all 0.4s ease;
}

.achievement-card:hover .achievement-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.achievement-card h4 {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.achievement-card h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 5px auto 0;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.achievement-card:hover h4::after {
    width: 50px;
}

.achievement-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.achievement-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    flex-wrap: wrap;
}

.achievement-card ul li:last-child {
    border-bottom: none;
}

.achievement-card ul li i {
    color: #667eea;
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.achievement-card ul li:hover i {
    color: #764ba2;
    transform: scale(1.2);
}

.achievement-card ul li:hover {
    padding-left: 5px;
    background: rgba(102, 126, 234, 0.02);
    border-radius: 8px;
}

.achievement-card ul li span:first-of-type {
    flex: 1;
}

.achievement-year {
    font-size: 11px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    padding: 2px 12px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.1);
    flex-shrink: 0;
}

.achievement-count {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.count-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.count-label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

/* Card Variants - Different Icon Colors */
.achievement-card:nth-child(1) .achievement-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.1));
}

.achievement-card:nth-child(2) .achievement-icon {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.15), rgba(102, 126, 234, 0.1));
}

.achievement-card:nth-child(3) .achievement-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
}

.achievement-card:nth-child(1):hover .achievement-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.achievement-card:nth-child(2):hover .achievement-icon {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.achievement-card:nth-child(3):hover .achievement-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* ========================================================== */
/* BUTTON STYLES                                               */
/* ========================================================== */
.btn-view-report {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}
.btn-view-report:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

.btn-download-report {
    display: inline-block;
    background: #6c757d;
    color: #ffffff;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}
.btn-download-report:hover {
    background: #5c636a;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   ACHIEVEMENT - RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    #achievement {
        padding: 60px 0;
    }
    .section-title {
        font-size: 34px;
    }
    .achievement-card h4 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    #achievement {
        padding: 50px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .achievement-card {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    .achievement-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    .achievement-card h4 {
        font-size: 17px;
    }
    .achievement-card ul li {
        font-size: 13px;
        padding: 8px 0;
    }
    .achievement-year {
        font-size: 10px;
        padding: 2px 10px;
    }
    .count-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    .achievement-card {
        padding: 20px 15px;
    }
    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    .achievement-card h4 {
        font-size: 15px;
    }
    .achievement-card ul li {
        font-size: 12px;
        padding: 6px 0;
        gap: 8px;
    }
    .achievement-card ul li i {
        font-size: 12px;
        width: 16px;
    }
    .achievement-year {
        font-size: 9px;
        padding: 1px 8px;
    }
    .count-number {
        font-size: 20px;
    }
    .count-label {
        font-size: 11px;
    }
}