body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Header with background image */
.header {
    background: url('pic1.jpg') no-repeat center center/cover;
    height: 450px;
    position: relative;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.479);
    z-index: 0;
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4e09f079;
    height: 100px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


/* Top bar */
.navbar {
    display: flex;
    position: relative;
    z-index: 1;
    left: 50px;
}

/* Left side (logo + name) */
.logo-area {
    display: flex;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.logo-area a {
    text-decoration: none;
    color: white;
    font-size: 30px;
}

.logo-area img {
    width: 100px;
    margin-right: 10px;
}

/* Right side menu */
.menu {
    display: flex;
    position: relative;
    z-index: 2;
    right: 50px;
    
}

.menu a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 10px 17px;
    background-color: #490fcf21;
    gap: 10px;
}

.menu a:hover {
    background-color: #2220279f;
    border-radius: 10px;
}

.qoute {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* perfect center */
    color: rgba(255, 255, 255, 0.712);
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    line-height: 50px;
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.social-icons a {
    color: white;
    font-size: 20px;
    padding: 8px 12px;
    background-color: #4e09f0;
    border-radius: 50%;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #029131;
}
.principal{
    display: flex;
    align-items: center;
    gap: 70px;
    width: 100%;
    padding: 60px 5%;
    box-sizing: border-box;
    margin-top: 100px;
    margin-bottom: 100px;
    background-color: #404cf3e1;
}

.self{
    width: 30%;
    /* background-color: #5912fdab; */
    justify-items: center;
    padding: 20px;

}
.self h2{
    color: whitesmoke;
}

.self img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.message{
    width: 70%;
}
.message h3 {
    font-size: 25px;
}
.message p{
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
    text-align: justify;
}
.why{
    padding: 30px 20%;
    text-align: center;
}
.why h1{
    text-decoration: underline;
    font-size: 35px;
}
.why p{
    line-height: 2;
    font-size: 20px;
    color:rgb(80, 78, 78);
}
.team-top{
    width: 100%;
    padding: 100px 5%;
    box-sizing: border-box;
    background: rgba(226, 224, 224, 0.329);
    margin-top: 50px;
    margin-bottom: 50px;
}

.team-top h1{
    text-align: center;
    margin-bottom: 100px;
    font-size: 35px;
}

.team{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.staff{
    width: 27%;
    background: #f8f7f7;
    padding: 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.staff img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    margin-bottom: 15px;
}

.staff h2{
    margin: 10px 0 5px;
}

.staff h3{
    color: #6366f8;
    margin-bottom: 15px;
}

.staff p{
    line-height: 1.7;
    color: #7a7979;
}
.footer{
    background:#0d1b2a;
    color:#fff;
    padding:20px 40px;
    margin-top: 200px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
}

.footer-name h3{
    margin:0;
    font-size:22px;
    font-weight:600;
}

.footer-name p{
    margin-top:5px;
    font-size:20px;

}

.footer-copy p{
    margin:0;
    font-size:14px;
}
.info-section{
    width: 90%;
    margin: 60px auto;
}

.know-us,
.vision,
.mission{
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.text{
    flex: 1;
}

.text h2{
    font-size: 36px;
    margin-bottom: 20px;
    color: #0d4f8b;
}

.text p{
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.image{
    flex: 1;
}

.image img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.contact-section{
    width: 90%;
    margin: 80px auto;
    text-align: center;
}

.contact-heading h1{
    font-size: 42px;
    color: #0d4f8b;
    margin-bottom: 10px;
}

.contact-heading p{
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

.contact-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-box{
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 30px 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.contact-box:hover{
    transform: translateY(-10px);
}

.contact-box h2{
    color: #0d4f8b;
    font-size: 30px;
    margin-bottom: 15px;
}

.contact-box p{
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.admission-section{
    margin-top: 200px;
    padding: 20px 10%;
    background: #b4c4e4;
}

.container{
    max-width: 1100px;
    margin: auto;
}

.admission-section h1{
    text-align: center;
    font-size: 42px;
    color: #0d4f8b;
    margin-bottom: 50px;
}

.fee-card,
.documents-card,
.note-card{
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.fee-card h2,
.documents-card h2,
.note-card h3{
    color: #0d4f8b;
    margin-bottom: 20px;
}

table{
    width: 100%;
    border-collapse: collapse;
}

table th{
    background: #0d4f8b;
    color: #fff;
    padding: 15px;
    text-align: left;
}

table td{
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

table tr:nth-child(even){
    background: #f7f7f7;
}

.documents-card ul{
    padding-left: 20px;
}

.documents-card li{
    margin-bottom: 12px;
    line-height: 1.7;
}

.note-card{
    border-left: 10px solid #0d4f8b;
    border-bottom: 5px solid #0d4f8b;
    background: #eef5fc;
}

.note-card p{
    margin: 0;
    line-height: 1.7;
}

/* ==========================
   MOBILE RESPONSIVE DESIGN
========================== */

.menu-toggle{
    display: none;
    color: white;
    font-size: 35px;
    cursor: pointer;
    margin-right: 20px;
    z-index: 1002;
}

/* Tablets */
@media (max-width: 992px){

    .logo-area a{
        font-size: 24px;
    }

    .logo-area img{
        width: 80px;
    }

    .principal{
        flex-direction: column;
        text-align: center;
    }

    .self,
    .message{
        width: 100%;
    }

    .why{
        padding: 30px 10%;
    }

    .staff{
        width: 45%;
    }

    .know-us,
    .vision,
    .mission{
        flex-direction: column;
    }

    .image img{
        height: auto;
    }
}


/* Mobile */
@media (max-width: 768px){

    .top-bar{
        height: 80px;
        padding: 0 15px;
    }

    .navbar{
        left: 0;
        align-items: center;
    }

    .logo-area img{
        width: 60px;
        margin-right: 5px;
    }

    .school-name a{
        font-size: 18px;
    }

    /* Hamburger Icon */
    .menu-toggle{
        display: block;
    }

    /* Mobile Dropdown Menu */
    .menu{
        position: fixed;
        top: 80px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 80px);
        background: #0d1b2a;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 20px;
        transition: 0.4s ease;
        z-index: 1001;
    }

    .menu.active{
        right: 0;
    }

    .menu a{
        width: 100%;
        padding: 18px 25px;
        background: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        box-sizing: border-box;
    }

    .menu a:hover{
        border-radius: 0;
        background: rgba(255,255,255,0.1);
    }

    .header{
        height: 350px;
    }

    .qoute{
        width: 90%;
        font-size: 32px;
        line-height: 40px;
    }

    .social-icons{
        bottom: 15px;
        gap: 8px;
    }

    .social-icons a{
        font-size: 18px;
        padding: 8px 10px;
    }

    .principal{
        gap: 30px;
        padding: 40px 20px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .message h3{
        font-size: 22px;
    }

    .message p{
        font-size: 16px;
    }

    .why{
        padding: 30px 20px;
    }

    .why h1{
        font-size: 28px;
    }

    .why p{
        font-size: 16px;
    }

    .team-top{
        padding: 50px 20px;
    }

    .team-top h1{
        margin-bottom: 50px;
        font-size: 30px;
    }

    .staff{
        width: 100%;
    }

    .info-section{
        width: 90%;
    }

    .text h2{
        font-size: 28px;
    }

    .text p{
        font-size: 16px;
    }

    .contact-heading h1{
        font-size: 32px;
    }

    .contact-heading p{
        font-size: 16px;
    }

    .contact-box{
        max-width: 100%;
    }

    .admission-section{
        margin-top: 100px;
        padding: 20px;
    }

    .admission-section h1{
        font-size: 30px;
    }

    .fee-card,
    .documents-card,
    .note-card{
        padding: 20px;
    }

    /* Responsive Tables */
    table{
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .footer-content{
        flex-direction: column;
        text-align: center;
    }

    .footer{
        padding: 25px 20px;
        margin-top: 100px;
    }
}


/* Small Mobile */
@media (max-width: 480px){

    .school-name a{
        font-size: 15px;
    }

    .logo-area img{
        width: 50px;
    }

    .qoute{
        font-size: 24px;
        line-height: 32px;
    }

    .contact-heading h1,
    .admission-section h1,
    .why h1,
    .team-top h1{
        font-size: 26px;
    }

    .message p,
    .why p,
    .text p{
        font-size: 15px;
    }
}