/*
Theme Name: School Visual Pro
Theme URI: https://example.com/
Author: Custom School Theme
Description: Modern school website theme with WordPress Customizer visual editing.
Version: 1.0
License: GPL-2.0-or-later
Text Domain: school-visual-pro
*/

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#172033;background:#fff;line-height:1.65}
img{max-width:100%;height:auto}
a{text-decoration:none}
.container{width:92%;max-width:1180px;margin:auto}
.topbar{background:#0b3b75;color:#fff;font-size:14px}
.topbar-inner{display:flex;justify-content:space-between;gap:20px;padding:9px 0;flex-wrap:wrap}
.site-header{background:#fff;position:sticky;top:0;z-index:999;box-shadow:0 5px 25px rgba(0,0,0,.08)}
.navbar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px;color:#15233b}
.brand img{width:55px;height:55px;object-fit:cover;border-radius:12px}
.brand strong{display:block;font-size:18px;line-height:1.2}
.brand small{color:#718096}
.nav-links{display:flex;align-items:center;gap:23px}
.nav-links a{color:#26344c;font-weight:600;font-size:14px}
.menu-toggle{display:none;border:0;background:none;font-size:28px;cursor:pointer}
.btn{display:inline-flex;align-items:center;justify-content:center;background:#f59e0b;color:#fff!important;padding:12px 20px;border-radius:8px;font-weight:700;border:0}
.btn-white{background:#fff;color:#0b3b75!important}
.hero{min-height:620px;display:flex;align-items:center;position:relative;background-position:center;background-size:cover;color:#fff}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,25,52,.93),rgba(3,25,52,.58),rgba(3,25,52,.12))}
.hero-content{position:relative;z-index:2;max-width:720px;padding:80px 0}
.badge{display:inline-block;padding:7px 14px;border-radius:50px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);margin-bottom:18px}
.hero h1{font-size:clamp(40px,5vw,68px);line-height:1.08;margin:0 0 20px}
.hero p{font-size:18px;color:#e7eef8;margin:0 0 28px;max-width:650px}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}
section{padding:85px 0}
.section-heading{max-width:720px;margin:0 auto 45px;text-align:center}
.section-heading span{color:#0b3b75;font-size:13px;font-weight:800;letter-spacing:1px}
.section-heading h2{font-size:40px;line-height:1.2;margin:8px 0 12px}
.section-heading p{color:#69778b}
.about-grid,.principal-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
.main-image{width:100%;height:450px;object-fit:cover;border-radius:22px;box-shadow:0 20px 50px rgba(10,40,80,.12)}
.about h2,.principal h2{font-size:40px;line-height:1.15;margin:8px 0 18px}
.about p,.principal p{color:#68778d}
.check-list{display:grid;gap:12px;margin:25px 0}
.check-list div{font-weight:600}
.check-list span{width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;background:#eaf1fb;color:#0b3b75;border-radius:50%;margin-right:8px}
.stats{background:#f5f8fc}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stat{background:#fff;padding:30px 20px;border-radius:16px;text-align:center;box-shadow:0 10px 35px rgba(0,0,0,.05)}
.stat strong{display:block;font-size:38px;color:#0b3b75}
.stat span{color:#69778d}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{border:1px solid #e5ebf3;border-radius:18px;overflow:hidden;background:#fff;transition:.3s}
.card:hover{transform:translateY(-7px);box-shadow:0 20px 40px rgba(0,0,0,.08)}
.card img{width:100%;height:220px;object-fit:cover}
.card-content{padding:22px}
.card-content h3{margin:0 0 8px}
.card-content p{color:#69778d;margin:0}
.principal{background:#f5f8fc}
.quote{border-left:4px solid #f59e0b;padding-left:18px}
.news-list{display:grid;gap:15px}
.news-item{display:flex;gap:18px;border:1px solid #e4eaf2;border-radius:15px;padding:20px}
.date{min-width:70px;height:max-content;text-align:center;background:#0b3b75;color:#fff;padding:8px;border-radius:10px}
.date strong{display:block;font-size:23px}
.news-item p{color:#69778d;margin-bottom:0}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.gallery img{width:100%;height:220px;object-fit:cover;border-radius:15px}
.cta{background:linear-gradient(110deg,#0b3b75,#1557a4);color:#fff}
.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}
.cta h2{font-size:36px;margin:0 0 5px}
.cta p{color:#d8e6f8;margin:0}
.site-footer{background:#071a31;color:#c7d3e2;padding:55px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.site-footer h3{color:#fff;margin-top:0}
.site-footer a{color:#aebed2}
.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;font-size:13px}
@media(max-width:850px){
 .menu-toggle{display:block}
 .nav-links{display:none;position:absolute;top:78px;left:0;width:100%;background:#fff;padding:20px;flex-direction:column;align-items:flex-start;box-shadow:0 10px 25px rgba(0,0,0,.1)}
 .nav-links.active{display:flex}
 .about-grid,.principal-grid{grid-template-columns:1fr}
 .stats-grid{grid-template-columns:repeat(2,1fr)}
 .cards{grid-template-columns:1fr}
 .gallery{grid-template-columns:repeat(2,1fr)}
 .cta-inner{flex-direction:column;align-items:flex-start}
}
@media(max-width:500px){
 .topbar-inner{flex-direction:column;gap:3px}
 .hero{min-height:650px}
 .hero h1{font-size:40px}
 .section-heading h2,.about h2,.principal h2{font-size:31px}
 .stats-grid,.gallery,.footer-grid{grid-template-columns:1fr}
 .main-image{height:330px}
}
