/* ===========================
   GANGA SCHOOL - MAIN CSS
=========================== */

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* Body */

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.6;
}

/* Container */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Header */

header{
    background:#0d6efd;
    color:white;
    padding:18px 0;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* Logo */

.logo h1{
    font-size:30px;
    font-weight:700;
}

/* Navigation */

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#ffd43b;
}

/* Hero */

.hero{

    height:90vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    background-image:url("../images/hero1.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    transition:background-image .8s ease;

    color:white;

}

.hero-content h2{
    font-size:55px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:35px;
}

/* Button */

.btn{
    display:inline-block;
    padding:14px 35px;
    background:#ff9800;
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#e68900;
    transform:translateY(-3px);
}
/* ==========================================
   FEATURES SECTION
========================================== */

.features{
    padding:80px 20px;
    background:#ffffff;
    text-align:center;
}

.features h2{
    font-size:40px;
    color:#0d6efd;
    margin-bottom:50px;
}

.feature-box{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    width:90%;

    margin:auto;

}

.card{

    background:#fff;

    padding:30px;

    border-radius:12px;

    box-shadow:0 5px 20px rgba(0,0,0,.1);

    transition:.4s;

    cursor:pointer;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 12px 30px rgba(0,0,0,.18);

}

.card h3{

    color:#0d6efd;

    margin-bottom:15px;

}

.card p{

    color:#555;

    font-size:15px;

}

/* ==========================================
   NEWS SECTION
========================================== */

.news{

    padding:80px 20px;

    background:#f4f8ff;

    text-align:center;

}

.news h2{

    font-size:40px;

    color:#0d6efd;

    margin-bottom:40px;

}

.news ul{

    list-style:none;

    max-width:700px;

    margin:auto;

}

.news ul li{

    background:white;

    margin:15px 0;

    padding:18px;

    border-left:6px solid #0d6efd;

    border-radius:8px;

    text-align:left;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#0d6efd;

    color:white;

    text-align:center;

    padding:40px 20px;

}

footer h3{

    font-size:30px;

    margin-bottom:15px;

}

footer p{

    margin:10px 0;

}/* =====================================
   SCHOOL STATISTICS
===================================== */

.stats{

    padding:80px 20px;

    background:#0d6efd;

    color:white;

    text-align:center;

}

.stats h2{

    font-size:40px;

    margin-bottom:50px;

}

.stats-container{

    width:90%;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.stat-box{

    background:rgba(255,255,255,.15);

    padding:30px;

    border-radius:12px;

    transition:.4s;

}

.stat-box:hover{

    transform:scale(1.08);

}

.stat-box h3{

    font-size:42px;

    margin-bottom:10px;

}

.stat-box p{

    font-size:18px;

}

/* =====================================
   ABOUT SCHOOL
===================================== */

.about-school{

    padding:80px 20px;

    text-align:center;

    background:white;

}

.about-content{

    width:80%;

    margin:auto;

}

.about-content h2{

    font-size:40px;

    color:#0d6efd;

    margin-bottom:25px;

}

.about-content p{

    font-size:18px;

    line-height:1.8;

    margin-bottom:35px;

}/* ==========================================
   PRINCIPAL SECTION
========================================== */

.principal{

    padding:90px 20px;

    background:#ffffff;

}

.principal-container{

    width:90%;

    max-width:1200px;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

}

.principal-image{

    flex:1;

    text-align:center;

}

.principal-image img{

    width:320px;

    height:320px;

    border-radius:50%;

    object-fit:cover;

    border:8px solid #0d6efd;

    box-shadow:0 15px 35px rgba(0,0,0,.20);

    transition:.4s;

}

.principal-image img:hover{

    transform:scale(1.05);

}

.principal-content{

    flex:1;

}

.principal-content h2{

    font-size:42px;

    color:#0d6efd;

    margin-bottom:25px;

}

.principal-content p{

    font-size:18px;

    line-height:1.9;

    margin-bottom:20px;

    color:#555;

}

.principal-content h3{

    margin-top:25px;

    color:#222;

}

.principal-content span{

    color:#0d6efd;

    font-weight:bold;

}
/* ==========================================
   GALLERY
========================================== */

.gallery-preview{
    padding:90px 20px;
    background:#ffffff;
    text-align:center;
}

.gallery-preview h2{
    font-size:40px;
    color:#0d6efd;
    margin-bottom:10px;
}

.gallery-preview p{
    color:#666;
    margin-bottom:40px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-bottom:40px;
}

.gallery-item{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:0.5s;
}

.gallery-item:hover img{
    transform:scale(1.1);
}
/* ==========================================
   TESTIMONIALS
========================================== */

.testimonials{
    padding:90px 20px;
    background:#f5f8ff;
    text-align:center;
}

.testimonials h2{
    font-size:40px;
    color:#0d6efd;
    margin-bottom:10px;
}

.testimonials p{
    color:#666;
    margin-bottom:40px;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.testimonial-card{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.10);
    transition:.4s;
}

.testimonial-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.stars{
    font-size:24px;
    margin-bottom:15px;
}

.testimonial-card h3{
    margin-top:20px;
    color:#0d6efd;
}

.testimonial-card span{
    color:#777;
}
/* =====================================================
                ABOUT PAGE BANNER
===================================================== */

.page-banner{

    background:linear-gradient(rgba(13,110,253,.75),rgba(13,110,253,.75)),
    url("../images/school2.jpg");

    background-size:cover;

    background-position:center;

    padding:100px 20px;

    text-align:center;

    color:white;

}

.page-banner h1{

    font-size:55px;

    margin-bottom:15px;

}

.page-banner p{

    font-size:20px;

}



/* =====================================================
                OUR STORY
===================================================== */

.our-story{

    padding:90px 20px;

    background:white;

}

.story-container{

    display:flex;

    align-items:center;

    gap:60px;

}

.story-image{

    flex:1;

}

.story-image img{

    width:100%;

    border-radius:15px;

    box-shadow:0 15px 30px rgba(0,0,0,.18);

    transition:.4s;

}

.story-image img:hover{

    transform:scale(1.03);

}

.story-content{

    flex:1;

}

.story-content h2{

    font-size:42px;

    color:#0d6efd;

    margin-bottom:20px;

}

.story-content p{

    font-size:18px;

    line-height:1.9;

    color:#555;

    margin-bottom:18px;

}



/* =====================================================
                MISSION & VISION
===================================================== */

.mission-vision{

    background:#f4f8ff;

    padding:90px 20px;

}

.mission-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);                    

    gap:30px;

}

.mission-card{

    background:white;

    padding:40px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

    transition:.4s;

}

.mission-card:hover{

    transform:translateY(-10px);

}

.mission-card h2{

    color:#0d6efd;

    margin-bottom:20px;

}

.mission-card p{

    line-height:1.8;

    color:#555;

}
/* =====================================================
                OUR CORE VALUES
===================================================== */

.values{

    padding:90px 20px;

    background:#ffffff;

    text-align:center;

}

.values h2{

    font-size:42px;

    color:#0d6efd;

    margin-bottom:15px;

}

.section-subtitle{

    font-size:18px;

    color:#666;

    margin-bottom:45px;

}

.values-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    max-width:1100px;

    margin:auto;

}

.values-grid .card{

    background:#fff;

    padding:35px;

    border-radius:12px;

    box-shadow:0 5px 20px rgba(0,0,0,0.08);

    transition:0.3s;

}

.values-grid .card:hover{

    transform:translateY(-8px);

}

.values-grid .card h3{

    color:#0d6efd;

    margin-bottom:15px;

    font-size:24px;

}

.values-grid .card p{

    color:#555;

    line-height:1.8;

    font-size:16px;

}
nav{

    display:flex;

    align-items:center;

    gap:20px;

}

#themeToggle{

    background:white;

    border:none;

    padding:10px 14px;

    border-radius:8px;

    cursor:pointer;

    font-size:18px;

    transition:.3s;

}

#themeToggle:hover{

    background:#ffd43b;

}
/* ==========================================
        DARK MODE
========================================== */

body.dark-mode{

    background:#121212;

    color:white;

}

body.dark-mode header{

    background:#1f1f1f;

}

body.dark-mode footer{

    background:#1f1f1f;

}

body.dark-mode .card{

    background:#2b2b2b;

    color:white;

}

body.dark-mode .news{

    background:#1a1a1a;

}

body.dark-mode .about-school{

    background:#1a1a1a;

}

body.dark-mode .gallery-preview{

    background:#1a1a1a;

}

body.dark-mode .principal{

    background:#1a1a1a;

}

body.dark-mode .values{

    background:#1a1a1a;

}

body.dark-mode .mission-card{

    background:#2b2b2b;

    color:white;

}

body.dark-mode .testimonial-card{

    background:#2b2b2b;

    color:white;

}
body.dark-mode .news ul li{

    background:#2b2b2b;

    color:white;

}
/* ==========================================
        ADMISSION FORM
========================================== */

.admission-form{

    max-width:700px;

    margin:auto;

}

.admission-form input,
.admission-form textarea{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:16px;

    font-family:'Poppins',sans-serif;

}

.admission-form input:focus,
.admission-form textarea:focus{

    outline:none;

    border:2px solid #0d6efd;

}

.admission-form button{

    border:none;

    cursor:pointer;

}