body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}
.codeavour-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #007bff;
    color: #ecf0f1;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.codeavour-section.show {
    opacity: 1;
    transform: translateY(0);
}

.codeavour-title {
    font-size: 3em;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.images-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.images-container img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.images-container img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .codeavour-title {
        font-size: 2em;
    }

    .images-container {
        flex-direction: column;
    }

    .images-container img {
        max-width: 90%;
        margin-bottom: 20px;
    }
}
.header {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.awards-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.award {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.award h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
    position: relative;
}

.award h2 .date {
    font-size: 16px;
    color: #666;
    margin-left: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

.award-types {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.award-types li {
    background-color: #007bff;
    color: #fff;
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.award-types li:hover {
    background-color: #0056b3;
}

.award-images {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* لجعل الصور تتكدس عند الحاجة */
}

.award-images img {
    width: 32%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.award-images img:hover {
    transform: scale(1.05);
}

.award.visible {
    opacity: 1;
    transform: translateY(0);
}

/* لشاشات المتوسطة */
@media (max-width: 768px) {
    .award h2 {
        font-size: 20px;
    }

    .award-images img {
        width: 48%;
        margin-bottom: 15px;
    }

    .award-images img:last-child {
        margin-bottom: 0;
    }
}

/* لشاشات الصغيرة */
@media (max-width: 480px) {
    .award h2 {
        font-size: 18px;
    }

    .award-types li {
        font-size: 16px;
    }

    .award-images {
        justify-content: center; /* لتوسيط الصور */
    }

    .award-images img {
        width: 100%;
        margin-bottom: 15px; /* مسافة بين الصور */
    }

    .award-images img:last-child {
        margin-bottom: 0;
    }
}

