/* University-themed Admission Modal Styles */

/* Import Google Fonts for Academic Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Academic Color Palette */
    --university-gold: #fdb714;
    --university-dark-blue: #002155;
    --off-white: #F8F6F0;
    --light-gray: #EAEAEA;
    /* Typography */
    --sans-serif-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Shadows and Effects */
    --elegant-shadow: 0 8px 32px rgba(0, 33, 85, 0.15);
    --deep-shadow: 0 12px 48px rgba(0, 33, 85, 0.25);
}

/* Modal Overlay */
.admission-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 85, 0.25);
    backdrop-filter: blur(2px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: academicFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal Container */
.modal-container {
    background: var(--off-white);
    border-radius: 8px;
    box-shadow: var(--deep-shadow);
    max-width: 90vw;
    max-height: 90vh;
    width: 760px;
    overflow-y: auto;
    position: relative;
    animation: academicSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    color: var(--off-white);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.1);
    }

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, var(--university-dark-blue) 0%, #003366 100%);
    color: var(--off-white);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--university-gold);
    border-radius: 8px 8px 0 0;
}

/* University Logos */
.modal-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.modal-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    background: var(--off-white);
    padding: 10px;
    border-radius: 4px;
    border: 2px solid var(--university-gold);
    box-shadow: var(--elegant-shadow);
}

/* Modal Title */
.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.modal-season {
    color: var(--university-gold);
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-top: 5px;
    font-style: italic;
}

/* Modal Content */
.modal-content {
    padding: 30px;
    font-family: var(--sans-serif-font);
    line-height: 1.6;
}

/* Admission Notice */
.admission-notice {
    background: #e6f7ff;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

    .admission-notice h3 {
        color: var(--university-dark-blue);
        margin: 0 0 15px 0;
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
    }

    .admission-notice p {
        margin: 0;
        color: #333;
        font-size: 1rem;
    }

/* Primary Buttons */
.modal-buttons-primary {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-apply, .btn-programs {
    flex: 1;
    padding: 15px 25px;
    border: 2px solid;
    border-radius: 4px;
    font-family: var(--sans-serif-font);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-apply {
    background: var(--university-gold);
    color: var(--university-dark-blue);
    border-color: var(--university-gold);
}

    .btn-apply:hover {
        background: #eab308;
        border-color: #eab308;
        transform: translateY(-2px);
        box-shadow: var(--elegant-shadow);
    }

.btn-programs {
    background: transparent;
    color: var(--university-dark-blue);
    border-color: var(--university-dark-blue);
}

    .btn-programs:hover {
        background: var(--university-dark-blue);
        color: var(--off-white);
        transform: translateY(-2px);
    }

/* Secondary Buttons */
.modal-buttons-secondary {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.btn-secondary {
    padding: 10px 20px;
    background: var(--light-gray);
    color: var(--university-dark-blue);
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        background: #ddd;
        border-color: #bbb;
    }

/* Footer Notice */
.modal-footer-notice {
    background: #f1f1e9;
    padding: 20px;
    border-radius: 4px;
}

    .modal-footer-notice p {
        margin: 0 0 15px 0;
        color: var(--university-dark-blue);
        font-weight: 600;
        font-family: 'Playfair Display', serif;
        font-size: 1.1rem;
    }

    .modal-footer-notice ul {
        margin: 0;
        padding-left: 20px;
        color: #333;
    }

    .modal-footer-notice li {
        margin-bottom: 8px;
    }

/* Iqra College Section */
.iqra-college-section {
    background: var(--off-white);
    padding: 25px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--light-gray);
}

    .iqra-college-section h4 {
        color: var(--university-dark-blue);
        margin: 0 0 20px 0;
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
    }

.notice-image {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
    border: 2px solid var(--university-gold);
    margin-bottom: 20px;
}

.btn-view-details {
    display: inline-block;
    padding: 12px 30px;
    background: var(--university-dark-blue);
    color: var(--off-white);
    text-decoration: none;
    border: 2px solid var(--university-dark-blue);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

    .btn-view-details:hover {
        background: #003366;
        border-color: #003366;
    }

/* Animations */
@keyframes academicFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes academicSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        width: 95vw;
        max-height: 95vh;
    }

    .modal-header {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 2rem;
    }

    .modal-season {
        font-size: 2.4rem;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-buttons-primary {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 1.8rem;
    }

    .modal-season {
        font-size: 2rem;
    }
}
