/*
Theme Name: KGBV Baharagora Modern
Theme URI: https://wordpress.org/
Author: OpenAI
Description: Premium modern block theme for PM SHRI KGBV Baharagora, East Singhbhum, Jharkhand.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kgbv-baharagora-modern
Tags: block-patterns, full-site-editing, education, school
*/

:root{--navy:#071B3A;--navy2:#102B50;--teal:#087F8C;--turq:#18B7B0;--gold:#D6A84F;--ink:#26364A;--muted:#66758A;--soft:#F5F8FB}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
a{text-underline-offset:3px}
.wp-site-blocks{padding-top:0;padding-bottom:0}
.kgbv-header{position:sticky;top:0;z-index:1000;backdrop-filter:blur(16px);background:rgba(7,27,58,.94);box-shadow:0 10px 30px rgba(7,27,58,.12)}
.kgbv-header .wp-block-navigation a{color:#fff!important;font-weight:600}
.kgbv-logo{border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.kgbv-hero{position:relative;isolation:isolate}
.kgbv-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(7,27,58,.94) 0%,rgba(7,27,58,.82) 47%,rgba(7,27,58,.38) 100%);z-index:-1}
.kgbv-glass{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(14px);border-radius:24px}
.kgbv-card{height:100%;background:#fff;border:1px solid #e5eaf0;border-radius:22px;padding:28px;box-shadow:0 14px 35px rgba(7,27,58,.07);transition:transform .25s ease,box-shadow .25s ease}
.kgbv-card:hover{transform:translateY(-6px);box-shadow:0 22px 45px rgba(7,27,58,.13)}
.kgbv-photo{border-radius:22px;overflow:hidden;box-shadow:0 18px 45px rgba(7,27,58,.15)}
.kgbv-photo img{display:block;width:100%;height:100%;object-fit:cover}
.kgbv-gallery img{aspect-ratio:4/3;object-fit:cover;border-radius:18px;transition:transform .3s ease}
.kgbv-gallery figure{overflow:hidden;border-radius:18px}
.kgbv-gallery figure:hover img{transform:scale(1.04)}
.kgbv-pill{display:inline-block;padding:8px 14px;border-radius:999px;background:rgba(24,183,176,.12);color:var(--teal);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.kgbv-stat{border-left:3px solid var(--gold);padding-left:18px}
.kgbv-cta{border-radius:30px;background:linear-gradient(135deg,#071B3A,#102B50 60%,#087F8C);overflow:hidden;position:relative}
.kgbv-cta:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-140px;top:-170px;background:rgba(24,183,176,.16)}
.kgbv-footer{background:#04142d}
.wp-block-button__link{border-radius:999px;padding:13px 22px;font-weight:700}
.is-style-outline .wp-block-button__link{border:1px solid currentColor}
@media(max-width:781px){.kgbv-hero{min-height:680px!important}.kgbv-card{padding:22px}.kgbv-header{position:relative}.kgbv-logo{width:54px!important;height:54px!important}}

/* Premium navigation and expanded school sections */
.kgbv-header .wp-block-navigation__submenu-container{background:#071B3A!important;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:8px;box-shadow:0 18px 40px rgba(0,0,0,.2)}
.kgbv-header .wp-block-navigation__submenu-container a{padding:10px 12px!important;border-radius:8px}
.kgbv-header .wp-block-navigation__submenu-container a:hover{background:rgba(24,183,176,.16)!important}
.kgbv-notice-list{display:grid;gap:12px}
.kgbv-notice{display:flex;gap:20px;align-items:flex-start;padding:18px 20px;border:1px solid #e5eaf0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(7,27,58,.05)}
.kgbv-notice strong{min-width:170px;color:#071B3A}
.kgbv-notice span{color:#66758A}
@media(max-width:781px){.kgbv-notice{display:block}.kgbv-notice strong{display:block;margin-bottom:6px}.kgbv-header .wp-block-navigation__submenu-container{background:#102B50!important}.kgbv-header .wp-block-navigation__responsive-container-content{align-items:flex-start}.kgbv-header .wp-block-navigation{font-size:15px}}
