/* ========== 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 ========== */
.contact-hero{
    background:linear-gradient(rgba(11,37,69,0.85),rgba(11,37,69,0.85)),
               url("schoolpic.jpg") center/cover no-repeat;
    text-align:center;
    padding:90px 20px;
    color:white;
    animation:fadeDown 1.2s ease;
}

.contact-hero h1{
    font-size:40px;
}

.contact-hero p{
    font-size:18px;
    margin-top:10px;
}

/* ========== CONTACT SECTION ========== */
.contact-section{
    width:85%;
    margin:70px auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

/* INFO BOX */
.contact-info{
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
    animation:fadeUp 1.2s ease;
}

.contact-info h2{
    color:#0b2545;
    margin-bottom:15px;
}

.contact-info p{
    margin-bottom:10px;
    font-size:16px;
}

/* FORM */
.contact-form{
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
    animation:fadeUp 1.4s ease;
}

.contact-form h2{
    text-align:center;
    color:#0b2545;
    margin-bottom:25px;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    font-weight:600;
    margin-bottom:6px;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
    outline:none;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color:#1e88e5;
}

textarea{
    resize:none;
    height:100px;
}

/* BUTTON */
.send-btn{
    width:100%;
    padding:14px;
    background:#f4b400;
    border:none;
    border-radius:30px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    color:#0b2545;
    animation:pulse 2s infinite;
}

/* MAP */
.map iframe{
    width:100%;
    height:350px;
    border:none;
}

/* FOOTER */
.footer{
    background:#0b2545;
    color:white;
    text-align:center;
    padding:22px;
    margin-top:40px;
}

/* ========== 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:800px){
    .contact-section{
        grid-template-columns:1fr;
    }
    .navbar{
        flex-direction:column;
        gap:15px;
    }
}
