.awards-curve-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(/images/inner-bnr-bg-new.png) no-repeat center center / cover;
    color: white;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    height: 20rem;
    display: grid;
    align-content: center;
}

.awards-curve-section::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    background-color: white;
    clip-path: ellipse(100% 50% at 50% 100%);
    z-index: 2;
}

.awards-curve-section .content {
    position: relative;
    z-index: 3;
    margin-top: 1rem;
}

.awards-curve-section h1 {
    font-size: 5rem;
    display:block;
}

.awards-curve-section p {
    font-size: 1.3rem;
    font-family: 'Avenir-Next-Regular';
    margin-bottom: 1rem;
}

.award-gallery-section {
    padding: 40px 20px;
    background: #fff;
    text-align: center;
}

.award-gallery-section .container {
    max-width: 1200px;
    margin: auto;
}

.award-gallery-section .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 0rem 2rem;
}

.award-card {
    padding: 10px;
    text-align: center;
}

.image-container {
    border-radius: 5px;
    overflow: hidden;
    height: auto !important;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.award-info {
    margin-top: 1rem;
}

.award-info .title {
    font-family: 'Avenir-Next-Medium';
    font-weight: bold;
    font-size: 1rem;
    color: #006694;
    display: block;
}

.award-info .date {
    font-family: 'Avenir-Next-Medium';
    font-size: 0.95rem;
    color: #444;
    display: block;
    margin-top: -1rem;
}

.page-button {
    font-family: 'Avenir-Next-Medium';
    margin-left: 10px;
    padding: 8px 14px;
    background-color: #eee;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
.page-button.active {
    background-color: #006694;
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform: scale(0.7);}
    to {transform: scale(1);}
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.desktop-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-buttons {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .awards-curve-section h1 {
        font-size: 3rem;
        margin: -1.5rem auto;
    }

    .awards-curve-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .awards-curve-section {
        height: 10rem;
    }

    .desktop-buttons {
        display: none;
    }

    .mobile-buttons {
        display: flex;
    }

    .modal {
        padding-top: 10rem;
    }

    .modal-close {
        top: 7rem;
    }
}
