.admission-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.800);
    backdrop-filter: blur(4px);
    z-index: 99999;
    animation: fadeIn 0.3s ease-in-out;
}

.admission-popup.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-logo {
    text-align: center;
    margin-bottom: 5px;
}

.school-logo img {
    width: 80px;
    height: 80px;
    margin: 5px;
}

.admission-popup-content {
    position: relative;
    margin: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.9) 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2), 
                inset 0 1px 1px rgba(255, 255, 255, 0.8);
    width: 90%;
    max-width: 500px;
    text-align: center;
    animation: slideIn 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: hand; /* Old browsers */
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup {
    cursor: hand;
}

.close-popup:hover {
    color: #000;
}

.admission-popup h2 {
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);    
    background: linear-gradient(45deg, #1a237e, #3949ab);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-body {
    margin: 25px 0;
}

.popup-body p {
    color: #303f9f;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 500;
}

.popup-body ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-body li {
    color: #3f51b5;
    font-size: 16px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-body li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.apply-now-btn {
    display: inline-block;
    background: linear-gradient(45deg, #303f9f, #5c6bc0);
    color: white !important;
    text-decoration: none;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: hand;  /*Old browsers*/
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(63, 81, 181, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.apply-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(63, 81, 181, 0.6);
    background: linear-gradient(45deg, #1a237e, #3949ab);
}

.apply-now-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(63, 81, 181, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
