*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

.top-bar{
background:#8dd43ce3;
color:white;
padding:10px;
display:flex;
justify-content:space-between;
}

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 5%;
background:white;
box-shadow:0 2px 10px rgba(160, 62, 199, 0.1);
}

.logo{
display:flex;
align-items:center;
gap:10px;
}

.logo img{
width:60px;
}

nav{
display:flex;
gap:20px;
align-items:center;
}

nav a{
text-decoration:none;
color:#691e10;
font-weight:600;
}

button{
background:#3b2a7a;
color:white;
border:none;
padding:10px 20px;
border-radius:5px;
cursor:pointer;
}

.hero{
height:80vh;
background:url("school1.jpg") center/cover;
display:flex;
align-items:center;
justify-content:center;
}

.overlay{
background:rgba(20, 3, 3, 0.5);
padding:40px;
text-align:center;
color:white;
}

.btn{
display:inline-block;
margin-top:15px;
background:#ff9800;
padding:12px 25px;
color:white;
text-decoration:none;
border-radius:5px;
}

.about,
.facilities,
.gallery,
.contact{
padding:60px 10%;
text-align:center;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:30px;
}

.card{
padding:25px;
background:white;
border-radius:10px;
box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:15px;
margin-top:30px;
}

.gallery-grid img{
width:100%;
height:250px;
object-fit:cover;
border-radius:10px;
}

iframe{
width:100%;
height:300px;
border:0;
margin-top:20px;
}

footer{
background:#3b2a7a;
color:white;
text-align:center;
padding:20px;
}

/* Mobile Responsive */
@media(max-width:768px){

header{
flex-direction:column;
}

nav{
flex-wrap:wrap;
justify-content:center;
margin-top:15px;
}

.hero{
height:60vh;
}

.overlay h1{
font-size:24px;
}

.top-bar{
flex-direction:column;
text-align:center;
gap:5px;
}
}

.why-details{
    padding:80px 8%;
    background:#f8fafc;
}

.row{
    display:flex;
    align-items:center;
    gap:60px;
    margin-bottom:100px;
}

.row.reverse{
    flex-direction:row-reverse;
}

.image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
    transition:0.4s;
}

.image img:hover{
    transform:scale(1.03);
}

.content h2{
    font-size:34px;
    color:#0f172a;
    margin-bottom:15px;
    position:relative;
}

.content h2::after{
    content:"";
    width:80px;
    height:4px;
    background:#f59e0b;
    display:block;
    margin-top:10px;
    border-radius:10px;
}

.content p{
    color:#475569;
    line-height:1.9;
    font-size:17px;
    margin:25px 0;
}

.btn{
    display:inline-block;
    padding:14px 30px;
    background:linear-gradient(135deg,#2563eb,#1e40af);
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:0.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(37,99,235,.3);
}

@media(max-width:768px){

    .row,
    .row.reverse{
        flex-direction:column;
        text-align:center;
    }

    .content h2::after{
        margin:10px auto;
    }

    .content h2{
        font-size:26px;
    }
}

.whatsapp-float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:20px;
    right:20px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    text-align:center;
    font-size:32px;
    line-height:60px;
    z-index:999;
    box-shadow:0 4px 12px rgba(0,0,0,0.3);
    transition:0.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

.footer{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:30px 20px;
}

.social-icons{
    margin:15px 0;
}

.social-icons a{
    color:white;
    font-size:28px;
    margin:0 12px;
    transition:0.3s;
}

.social-icons a:hover{
    color:#f59e0b;
}


.about-banner{
    background:linear-gradient(rgba(226, 50, 50, 0.767),rgba(168, 16, 16, 0.6)),
    url("schoolbanner2.png");
    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
    padding:100px 20px;
}

.about-banner h1{
    font-size:50px;
}

.about-banner p{
    margin-top:10px;
    font-size:20px;
}

.about-section{
    padding:80px 8%;
}

.about-container{
    display:flex;
    gap:50px;
    align-items:center;
}

.about-image,
.about-content{
    flex:1;
}

.about-image img{
    width:100%;
    border-radius:20px;
}

.about-content h2{
    color:#0f172a;
    margin-bottom:20px;
}

.about-content p{
    color:#451466;
    line-height:1.8;
    margin-bottom:15px;
}

.mission-vision{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    padding:60px 8%;
    background:#f8fafc;
}

.card{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.why-us{
    padding:80px 8%;
    text-align:center;
}

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:40px;
}

.feature-box{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.principal-message{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:80px 8%;
}

@media(max-width:768px){

.about-container{
    flex-direction:column;
}

.about-banner h1{
    font-size:35px;
}

}

.gallery-banner{
    background:linear-gradient(rgba(230, 39, 39, 0.6),rgba(218, 22, 22, 0.6)),
    url("schoolbanner2.png");
    background-size:cover;
    background-position:center;
    text-align:center;
    color:white;
    padding:80px 20px;
}

.gallery-banner h1{
    font-size:50px;
}

.gallery-banner p{
    margin-top:10px;
    font-size:18px;
}

.gallery-section{
    padding:70px 8%;
    background:#f8fafc;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.gallery-item{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:0.5s;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

@media(max-width:768px){

.gallery-banner h1{
    font-size:35px;
}

.gallery-item img{
    height:220px;
}

}

.contact-banner{
    background:linear-gradient(rgba(0,0,0,.0),rgba(0,0,0,.0)),
    url("schoolbanner2.png");
    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
    padding:100px 20px;
}

.contact-banner h1{
    font-size:50px;
}

.contact-section{
    display:flex;
    gap:40px;
    padding:70px 8%;
}

.contact-info,
.contact-form{
    flex:1;
}

.contact-info h2{
    margin-bottom:20px;
    color:#0f172a;
}

.contact-info p{
    margin-bottom:15px;
    font-size:18px;
}

.contact-form form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
}

.contact-form button{
    background:#2563eb;
    color:white;
    border:none;
    padding:15px;
    border-radius:10px;
    cursor:pointer;
}

.map-section{
    padding:0 8% 70px;
}

.map-section h2{
    text-align:center;
    margin-bottom:20px;
}

.map-section iframe{
    width:100%;
    height:400px;
    border:none;
    border-radius:15px;
}

@media(max-width:768px){

.contact-section{
    flex-direction:column;
}

.contact-banner h1{
    font-size:35px;
}

}

.contact-page{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    padding:80px 8%;
    background:#f8fafc;
}

.contact-left h2{
    margin-bottom:25px;
    color:#0f172a;
}

.contact-box{
    background:white;
    padding:20px;
    border-radius:12px;
    margin-bottom:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.contact-box h4{
    color:#2563eb;
    margin-bottom:10px;
}

.contact-right{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.contact-right form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-right input,
.contact-right textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
}

.contact-right button{
    background:#2563eb;
    color:white;
    border:none;
    padding:14px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
}

.contact-right button:hover{
    background:#1d4ed8;
}

@media(max-width:768px){
    .contact-page{
        grid-template-columns:1fr;
    }
}
