﻿/* ===== Achievements Section ===== */
.achievements-section {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4c3, #e1f5fe);
    font-family: 'Roboto', sans-serif;
}

.achievements-container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

/* Grid layout */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Card styles */
.achievement-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
}

    .achievement-card h3 {
        font-size: 22px;
        font-weight: 700;
        margin: 15px 0 10px;
        color: #388e3c;
    }

    .achievement-card p {
        font-size: 16px;
        color: #555;
    }

    /* Image shapes */
    .achievement-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .achievement-card.round img {
        border-radius: 50%;
    }

    .achievement-card.square img {
        border-radius: 0;
    }

    .achievement-card.star img {
        clip-path: polygon( 50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35% );
    }

    .achievement-card.polygon img {
        clip-path: polygon(25% 5%, 75% 5%, 95% 50%, 75% 95%, 25% 95%, 5% 50%);
    }

    /* Hover effects */
    .achievement-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

        .achievement-card:hover img {
            transform: scale(1.1);
        }

/* Fade-in animation */
.achievement-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .achievement-card img {
        height: 150px;
    }
}
