/* Convocation Popup Styles */
.convocation-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.convocation-popup-overlay.active {
    display: flex;
}

.convocation-popup-content {
    background: linear-gradient(135deg, #1c324f 0%, #2d4a6f 100%);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.4s ease-out;
    border: 3px solid #d4af37;
}

.convocation-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.convocation-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.convocation-popup-icon {
    text-align: center;
    margin-bottom: 20px;
}

.convocation-popup-icon i {
    font-size: 64px;
    color: #d4af37;
    animation: bounce 2s infinite;
}

.convocation-popup-title {
    color: #d4af37;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.convocation-popup-message {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 15px;
}

.convocation-popup-message .university-highlight {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 1.5px;
    display: block;
    line-height: 1.3;
}

.convocation-popup-details {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #d4af37;
}

.convocation-popup-detail-item {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.convocation-popup-detail-item:last-child {
    margin-bottom: 0;
}

.convocation-popup-detail-item i {
    color: #d4af37;
    margin-right: 12px;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.convocation-popup-button {
    background-color: #d4af37;
    color: #1c324f;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 25px;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.convocation-popup-button:hover {
    background-color: #c29d2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .convocation-popup-content {
        padding: 30px 20px;
        max-width: 90%;
    }

    .convocation-popup-title {
        font-size: 22px;
    }

    .convocation-popup-message {
        font-size: 16px;
    }

    .convocation-popup-message .university-highlight {
        font-size: 22px !important;
    }

    .convocation-popup-detail-item {
        font-size: 14px;
    }

    .convocation-popup-icon i {
        font-size: 48px;
    }
}
