/* Awards Page Styles */

.awards-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    margin-bottom: 1rem;
    font-weight: 800;
    animation: fadeInDown 0.8s ease-out;
}

.awards-hero-subtitle {
    font-size: 1.5rem;
    color: white;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.awards-section {
    padding: var(--spacing-xl) 0;
    background: #eff6ff;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #2563eb;
    margin-top: 1rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.award-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease-out forwards;
}

.award-card:nth-child(1) {
    animation-delay: 0.1s;
}

.award-card:nth-child(2) {
    animation-delay: 0.2s;
}

.award-card:nth-child(3) {
    animation-delay: 0.3s;
}

.award-card:nth-child(4) {
    animation-delay: 0.4s;
}

.award-card:nth-child(5) {
    animation-delay: 0.5s;
}

.award-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.award-card:hover::before {
    transform: scaleX(1);
}

.award-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.award-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.award-card h3 {
    font-size: 1.6rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 700;
}

.award-card p {
    color: #2563eb;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.award-register-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.award-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.5);
    background: linear-gradient(135deg, #2a5298 0%, #3b82f6 100%);
}

.award-register-btn:active {
    transform: translateY(-1px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 64, 175, 0.2);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 2% auto;
    padding: 1.8rem 2rem;
    width: 90%;
    max-width: 550px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    color: #2563eb;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: #1e3c72;
    transform: rotate(90deg);
}

#modalTitle {
    color: #1e3c72;
    font-size: 1.6rem;
    margin-bottom: 1.3rem;
    font-weight: 700;
}

/* Form Styles */
.award-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #1e3c72;
    font-weight: 600;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #bfdbfe;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.form-group input[readonly] {
    background-color: #eff6ff;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.4);
    background: linear-gradient(135deg, #2a5298 0%, #3b82f6 100%);
}

.form-submit-btn:active {
    transform: translateY(0);
}

/* Success Message - Enhanced */
.success-message {
    text-align: center;
    padding: 2rem 1.5rem;
}

.success-icons {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    font-size: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s ease;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.success-icon-small {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    color: white;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    animation: successPop 0.6s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.success-icon-small:last-child {
    animation-delay: 0.4s;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h3 {
    color: #4CAF50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    animation: fadeInText 0.5s ease;
}

.success-message p {
    color: #2563eb;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    animation: fadeInText 0.5s ease 0.2s;
    animation-fill-mode: both;
}

.success-footer {
    background: #eff6ff;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    animation: fadeInText 0.5s ease 0.4s;
    animation-fill-mode: both;
}

.success-footer p {
    color: #4CAF50;
    font-size: 0.95rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: none;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .awards-hero-title {
        font-size: 2.2rem;
    }

    .awards-hero-subtitle {
        font-size: 1.2rem;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
    }

    #modalTitle {
        font-size: 1.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .success-message h3 {
        font-size: 1.5rem;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
}