/* ========== GLOBAL ========== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI", Arial, sans-serif;
}

body{
    background:#f4f6f9;
    color:#333;
}

/* ========== NAVBAR ========== */
.navbar{
    background:#0b2545;
    padding:16px 50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:#f4b400;
    font-size:24px;
    font-weight:700;
}

.nav-links{
    list-style:none;
    display:flex;
    gap:25px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    padding:6px 12px;
    border-radius:6px;
}

.nav-links a:hover,
.nav-links .active{
    background:#1e88e5;
}

/* ========== HERO ========== */
.admission-hero{
    background:linear-gradient(rgba(11,37,69,0.8),rgba(11,37,69,0.8)),
               url("schoolpic.jpg") center/cover no-repeat;
    text-align:center;
    padding:80px 20px;
    color:white;
    animation:fadeDown 1.2s ease;
}

.admission-hero h1{
    font-size:38px;
}

.admission-hero p{
    font-size:18px;
    margin-top:8px;
}

/* ========== FORM ========== */
.form-section{
    display:flex;
    justify-content:center;
    margin:60px 0;
}

.admission-form{
    background:white;
    padding:40px;
    width:500px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,0.15);
    animation:fadeUp 1.3s ease;
}

.admission-form h2{
    text-align:center;
    color:#0b2545;
    margin-bottom:30px;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    font-weight:600;
    margin-bottom:6px;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
    outline:none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:#1e88e5;
}

textarea{
    resize:none;
    height:90px;
}

/* ========== BUTTON ========== */
.submit-btn{
    width:100%;
    padding:14px;
    background:#f4b400;
    border:none;
    border-radius:30px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    color:#0b2545;
    margin-top:10px;
    animation:pulse 2s infinite;
}

/* ========== FOOTER ========== */
.footer{
    background:#0b2545;
    color:white;
    text-align:center;
    padding:22px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp{
    from{opacity:0; transform:translateY(40px);}
    to{opacity:1; transform:translateY(0);}
}

@keyframes fadeDown{
    from{opacity:0; transform:translateY(-30px);}
    to{opacity:1; transform:translateY(0);}
}

@keyframes pulse{
    0%{ box-shadow:0 0 0 0 rgba(244,180,0,0.7); }
    70%{ box-shadow:0 0 0 15px rgba(244,180,0,0); }
    100%{ box-shadow:0 0 0 0 rgba(244,180,0,0); }
}

/* ========== RESPONSIVE ========== */
@media(max-width:600px){
    .admission-form{
        width:90%;
    }
    .navbar{
        flex-direction:column;
        gap:15px;
    }
}
