/* =========================
   COMPLETE PROFESSIONAL CSS
   ========================= */

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f5f5f5;
}

/* ================= TOP BAR ================= */

.top-bar{
    background:#0f172a;
    color:white;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 30px;

    font-size:14px;

    flex-wrap:wrap;
}

/* ================= HEADER ================= */

.main-header{

    background:linear-gradient(
        135deg,
        #1e3a8a,
        #2563eb,
        #0ea5e9,
        #38bdf8
    );

    padding:25px 40px;

    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

/* LOGO SECTION */

.logo-section{

    display:flex;
    align-items:center;

    gap:25px;

    flex-wrap:wrap;
}

/* LOGO */

.logo{

    width:130px;
    height:130px;

    border-radius:50%;

    border:5px solid white;

    object-fit:cover;

    box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

/* SCHOOL NAME BOX */

.school-text{

    background:rgba(255,255,255,0.15);

    padding:20px 30px;

    border-radius:20px;

    backdrop-filter:blur(5px);

    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* SCHOOL NAME */

.school-text h1{

    margin:0;

    font-size:55px;

    font-weight:bold;

    color:white;

    letter-spacing:1px;

    text-shadow:3px 3px 8px rgba(0,0,0,0.3);
}

/* SUBTITLE */

.school-text p{

    margin-top:10px;

    color:#fef9c3;

    font-size:24px;

    font-weight:500;

    letter-spacing:0.5px;
}

/* ================= NAVBAR ================= */

.navbar{

    background:linear-gradient(
        90deg,
        #0f172a,
        #1e3a8a,
        #2563eb
    );

    display:flex;
    justify-content:center;

    gap:30px;

    padding:16px;

    flex-wrap:wrap;
}

.navbar a{

    color:white;

    text-decoration:none;

    font-weight:bold;

    font-size:18px;

    transition:0.3s;
}

.navbar a:hover{

    color:#facc15;
}

/* ================= HERO SECTION ================= */

.hero{

    background:url('images/school1.jpg') center/cover no-repeat;

    height:550px;

    position:relative;
}

.hero-overlay{

    background:rgba(0,0,0,0.55);

    height:100%;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;
}

.hero-overlay h2{

    font-size:60px;

    margin-bottom:15px;
}

.hero-overlay p{

    font-size:24px;
}

.hero-overlay button{

    margin-top:20px;

    padding:14px 35px;

    border:none;

    border-radius:8px;

    background:#facc15;

    color:black;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;
}

/* ================= ABOUT SECTION ================= */

.about-section{

    padding:80px 30px;

    text-align:center;

    background:linear-gradient(
        135deg,
        #fef3c7,
        #fde68a,
        #facc15
    );
}

.about-section h2{

    font-size:45px;

    color:#1e3a8a;

    margin-bottom:20px;
}

.about-section p{

    max-width:900px;

    margin:auto;

    font-size:20px;

    line-height:1.8;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* ================= PRINCIPAL SECTION ================= */

.principal-section{

    display:flex;

    align-items:center;
    justify-content:center;

    gap:60px;

    padding:80px 40px;

    background:linear-gradient(
        135deg,
        #dbeafe,
        #bfdbfe,
        #93c5fd
    );

    flex-wrap:wrap;
}

.principal-image img{

    width:320px;

    border-radius:20px;

    border:8px solid white;

    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.principal-content{

    max-width:650px;
}

.principal-content h4{

    color:#dc2626;

    font-size:20px;

    margin-bottom:10px;
}

.principal-content h2{

    color:#1e3a8a;

    font-size:48px;

    margin:0;
}

.principal-content h3{

    color:#0f172a;

    font-size:28px;

    margin-top:10px;
}

.principal-content p{

    font-size:18px;

    line-height:1.8;

    color:#1f2937;
}

/* ================= FACILITIES ================= */

.facilities{

    display:flex;

    justify-content:center;

    gap:30px;

    padding:80px 20px;

    flex-wrap:wrap;

    background:white;
}

.card{

    background:linear-gradient(
        135deg,
        #ffffff,
        #dbeafe
    );

    width:300px;

    padding:35px;

    text-align:center;

    border-radius:20px;

    box-shadow:0 5px 15px rgba(0,0,0,0.1);

    transition:0.3s;
}

.card:hover{

    transform:translateY(-10px);
}

.card i{

    font-size:55px;

    color:#1e3a8a;

    margin-bottom:20px;
}

.card h3{

    font-size:28px;

    color:#1e3a8a;
}

/* ================= CONTACT SECTION ================= */

.contact-section{

    padding:80px 30px;

    text-align:center;

    background:linear-gradient(
        135deg,
        #1e3a8a,
        #2563eb,
        #60a5fa
    );

    color:white;
}

.contact-section h2{

    font-size:45px;

    margin-bottom:30px;
}

.contact-section p{

    font-size:22px;

    margin:15px 0;

    background:rgba(255,255,255,0.15);

    display:inline-block;

    padding:15px 30px;

    border-radius:12px;

    backdrop-filter:blur(5px);
}

/* ================= GALLERY ================= */

.gallery-title{

    text-align:center;

    font-size:50px;

    color:#1e3a8a;

    margin-top:40px;
}

.gallery-container{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:25px;

    padding:40px;
}

.gallery-container img{

    width:320px;

    height:220px;

    object-fit:cover;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,0.2);

    transition:0.3s;
}

.gallery-container img:hover{

    transform:scale(1.05);
}

/* ================= FOOTER ================= */

footer{

    background:#0f172a;

    color:white;

    text-align:center;

    padding:25px;

    font-size:18px;
}

/* ================= FLOATING SOCIAL ================= */

.floating-social{

    position:fixed;

    right:20px;

    bottom:20px;

    display:flex;

    flex-direction:column;

    gap:15px;
}

.floating-social a{

    width:58px;

    height:58px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    color:white;

    font-size:26px;

    text-decoration:none;

    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.wa{
    background:#25D366;
}

.insta{
    background:#E1306C;
}

.fb{
    background:#1877F2;
}

/* ================= MOBILE RESPONSIVE ================= */

@media(max-width:768px){

    .top-bar{

        flex-direction:column;

        text-align:center;

        gap:10px;
    }

    .logo-section{

        flex-direction:column;

        text-align:center;
    }

    .school-text h1{

        font-size:32px;
    }

    .school-text p{

        font-size:18px;
    }

    .navbar{

        flex-direction:column;

        gap:15px;
    }

    .hero{

        height:350px;
    }

    .hero-overlay h2{

        font-size:34px;
    }

    .hero-overlay p{

        font-size:18px;
    }

    .principal-section{

        padding:40px 20px;
    }

    .principal-image img{

        width:220px;
    }

    .principal-content h2{

        font-size:34px;
    }

    .card{

        width:90%;
    }

    .contact-section p{

        width:90%;

        font-size:18px;
    }

}