*{margin:0;padding:0;box-sizing:border-box;font-family:Arial,sans-serif}
body{background:#f4f7fb;color:#222;line-height:1.6}
.main-header{background:url('header.jpg') no-repeat center/cover;min-height:240px}
.header-overlay{background:rgba(0,0,0,.6);min-height:240px;display:flex;align-items:center;justify-content:center;padding:20px}
.header-content{display:flex;align-items:center;gap:22px;color:white}
.logo-box img{width:130px;height:130px;border-radius:50%;border:5px solid #fff;background:#fff;object-fit:cover;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.school-text h1{font-size:44px;letter-spacing:2px}
.tagline{background:#ffcc00;color:#b00000;padding:6px 15px;border-radius:22px;display:inline-block;margin:6px 0;font-weight:bold}
nav{background:#002b5c;position:sticky;top:0;z-index:99999;overflow:visible}
nav ul{display:flex;justify-content:center;list-style:none;flex-wrap:wrap}
nav ul li{position:relative}
nav a{color:white;padding:15px 16px;display:block;text-decoration:none;font-weight:bold}
nav a:hover{background:#ff9800;color:#000}
.login-menu>a{background:#ffcc00;color:#000!important;border-radius:22px;margin:5px}
.dropdown-menu{display:none;position:absolute;top:100%;left:0;background:linear-gradient(135deg,#ff512f,#dd2476);min-width:240px;max-height:250px;overflow-y:auto;border-radius:0 0 18px 18px;box-shadow:0 15px 40px rgba(0,0,0,.4);z-index:999999}
.dropdown:hover .dropdown-menu{display:block}
.sub-dropdown{display:none;position:absolute;top:0;left:100%;background:linear-gradient(135deg,#003c8f,#00c6ff);min-width:230px;border-radius:0 18px 18px 18px;box-shadow:0 15px 40px rgba(0,0,0,.4)}
.dropdown-sub:hover .sub-dropdown{display:block}
.dropdown-menu a,.sub-dropdown a{border-bottom:1px solid rgba(255,255,255,.25);transition:.3s}
.dropdown-menu a:hover,.sub-dropdown a:hover{background:#ffcc00!important;color:#000!important;transform:translateX(5px)}
.hero{background:linear-gradient(135deg,#003c8f,#00bcd4);color:white;text-align:center;padding:70px 20px}
.hero h2{font-size:38px}
.hero p{max-width:850px;margin:12px auto;font-size:18px}
.btn{display:inline-block;background:#ffcc00;color:#000;padding:12px 25px;border-radius:30px;text-decoration:none;font-weight:bold;margin-top:15px}
section{padding:50px 8%}
section h2{text-align:center;margin-bottom:25px;color:#003c8f;font-size:32px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:22px}
.box,.card{background:white;padding:25px;border-radius:15px;box-shadow:0 8px 25px rgba(0,0,0,.12);margin-bottom:20px}
.box{border-top:5px solid #007bff}
.box h3{color:#003c8f;margin-bottom:10px}
table{width:100%;border-collapse:collapse;background:white}
th,td{border:1px solid #ddd;padding:12px}
th{background:#003c8f;color:white}
.whatsapp{position:fixed;bottom:20px;right:20px;background:#25D366;color:white;padding:13px 18px;border-radius:50px;text-decoration:none;font-weight:bold;box-shadow:0 8px 20px rgba(0,0,0,.3);z-index:999}
.footer{background:linear-gradient(135deg,#001f3f,#003c8f);color:white;text-align:center;padding:28px}
.footer h3{margin-bottom:8px}
.footer p{margin:5px 0}
.footer a{color:#ffcc00;text-decoration:none;font-weight:bold}
.footer a:hover{color:#00ffcc}
.profile-box{display:none;max-width:900px;margin:20px auto;background:white;border-radius:20px;padding:25px;box-shadow:0 10px 30px rgba(0,0,0,.2);text-align:center}
.profile-box.active{display:block}
.profile-box img{width:180px;height:180px;border-radius:50%;border:5px solid #003c8f;margin-bottom:15px;object-fit:cover}
.sub-menu{text-align:center;margin:20px 0}
.sub-menu button{padding:10px 22px;margin:5px;border:0;background:#003c8f;color:white;border-radius:22px;cursor:pointer;font-weight:bold}
.sub-menu button:hover{background:#ff9800;color:#000}
@media(max-width:700px){
.header-content{flex-direction:column;text-align:center}
.school-text h1{font-size:30px}
nav ul{flex-direction:column}
.dropdown-menu,.sub-dropdown{position:static;width:100%;border-radius:0}
.dropdown:hover .dropdown-menu,.dropdown-sub:hover .sub-dropdown{display:block}
}