/* =====================================================
   Excellence International School — style.css
   ===================================================== */
:root {
  --navy:      #15294f;
  --navy2:     #1d3563;
  --gold:      #f6b40a;
  --gold-dark: #e0a006;
  --bg:        #f3f5f9;
  --card:      #ffffff;
  --text:      #243040;
  --muted:     #6d7686;
  --line:      #e6e9f0;
  --shadow:    0 10px 30px rgba(21,41,79,.09);
  --shadow-sm: 0 4px 14px rgba(21,41,79,.06);
  --radius:    14px;
  --maxw:      1180px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Wrap */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; border: none; transition: .2s; letter-spacing: .3px; font-family: inherit; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy2); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 22px; border-bottom: 2px solid #f0f2f7; }
.card-head h3 { font-size: 17px; color: var(--navy); font-weight: 700; }
.card-head h3::before { content: ""; display: inline-block; width: 4px; height: 17px; background: var(--gold); border-radius: 2px; margin-right: 10px; vertical-align: -3px; }
.card-head a { font-size: 12.5px; color: var(--gold-dark); font-weight: 600; }

/* Section */
.section { padding: 52px 0; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-size: 28px; color: var(--navy); font-weight: 700; }
.sec-head .u { width: 56px; height: 3px; background: var(--gold); margin: 10px auto 0; border-radius: 2px; }
.sec-head p { color: var(--muted); margin-top: 10px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* Alerts */
.alert { padding: 13px 18px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* =================== TOP BAR =================== */
.topbar { background: var(--navy); color: #cfd7e6; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 20px; }
.top-left, .top-right { display: flex; align-items: center; gap: 20px; }
.top-right span { display: flex; align-items: center; gap: 7px; }

/* =================== HEADER =================== */
header { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-crest { flex: none; }
.logo-img { height: 52px; width: auto; }
.logo-text { line-height: 1.1; }
.logo-name { display: block; font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: .5px; }
.logo-text small { font-size: 10px; color: var(--gold-dark); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.main-nav a { padding: 9px 12px; font-size: 13px; font-weight: 600; color: var(--navy); border-radius: 6px; transition: .2s; letter-spacing: .3px; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; display: block; transition: .3s; }

/* =================== HERO SLIDER =================== */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.slides { position: relative; height: 440px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg,rgba(15,28,58,.95) 0%,rgba(15,28,58,.7) 45%,rgba(15,28,58,.1) 75%,transparent 100%); z-index: 2; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-content { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; width: 100%; color: #fff; }
.badge-since { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px; letter-spacing: 1px; padding: 5px 16px; border-radius: 4px; margin-bottom: 16px; }
.slide-content h1 { font-size: 46px; font-weight: 800; line-height: 1.07; margin-bottom: 12px; }
.slide-content h1 .hl { color: var(--gold); }
.slide-content p { font-size: 16px; color: #d7deec; max-width: 420px; margin-bottom: 26px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.arrow:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.arrow.prev { left: 16px; }
.arrow.next { right: 16px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 9px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: .3s; }
.slider-dots button.active { background: var(--gold); width: 24px; border-radius: 5px; }

/* =================== QUICK LINKS =================== */
.quick-strip { max-width: var(--maxw); margin: -42px auto 0; position: relative; z-index: 10; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.quick-grid { display: grid; grid-template-columns: repeat(8, 1fr); }
.ql { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 6px; position: relative; transition: .2s; cursor: pointer; }
.ql:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--line); }
.ql svg { width: 32px; height: 32px; stroke: var(--navy); fill: none; stroke-width: 1.6; transition: .2s; }
.ql:hover svg { stroke: var(--gold-dark); transform: translateY(-4px); }
.ql b { font-size: 13px; color: var(--navy); font-weight: 600; }
.ql span { font-size: 11px; color: var(--muted); }

/* =================== INFO 3-COL =================== */
.info-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 24px; }
.principal-body { padding: 20px 22px; }
.principal-top { display: flex; gap: 14px; margin-bottom: 14px; }
.principal-top img { width: 100px; height: 114px; object-fit: cover; border-radius: 10px; flex: none; }
.principal-top p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.principal-name { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; }
.principal-name b { color: var(--navy); font-size: 15px; display: block; }
.principal-name span { font-size: 12px; color: var(--gold-dark); }

.notice-item { display: flex; gap: 13px; padding: 13px 22px; border-bottom: 1px solid #f1f3f8; align-items: flex-start; }
.notice-item:last-child { border-bottom: none; }
.n-date { flex: none; width: 44px; text-align: center; background: #f3f5f9; border-radius: 7px; padding: 6px 0; line-height: 1.1; }
.n-date b { display: block; font-size: 17px; color: var(--navy); font-weight: 700; }
.n-date span { font-size: 10px; color: var(--muted); text-transform: uppercase; }
.n-body .n-tag { display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .4px; padding: 2px 8px; border-radius: 3px; margin-bottom: 5px; text-transform: uppercase; color: #fff; }
.n-tag.general  { background: var(--gold); color: var(--navy); }
.n-tag.academic { background: #2f7de1; }
.n-tag.exam     { background: #19a576; }
.n-tag.event    { background: #e0533d; }
.n-body p { font-size: 13.5px; color: var(--text); }

.news-item { display: flex; gap: 12px; padding: 12px 22px; border-bottom: 1px solid #f1f3f8; align-items: center; transition: .2s; }
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: #fafbfd; }
.news-item img { width: 76px; height: 58px; object-fit: cover; border-radius: 8px; flex: none; }
.news-date { font-size: 11px; color: var(--gold-dark); font-weight: 600; }
.news-ttl { font-size: 13.5px; color: var(--navy); font-weight: 600; line-height: 1.35; }

/* =================== STATS =================== */
.stats-bar { background: linear-gradient(120deg, var(--navy), var(--navy2)); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5,1fr); padding: 28px 10px; }
.stat-item { display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; position: relative; }
.stat-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,.15); }
.stat-item svg { width: 38px; height: 38px; stroke: var(--gold); fill: none; stroke-width: 1.4; flex: none; }
.stat-num { font-size: 27px; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.stat-lbl { font-size: 11px; letter-spacing: 1px; color: #cdd6e6; text-transform: uppercase; }

/* =================== FACILITIES =================== */
.fac-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.fac-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--line); transition: .25s; }
.fac-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.fac-card img { width: 100%; height: 94px; object-fit: cover; }
.fac-lbl { display: flex; align-items: center; gap: 8px; padding: 11px 12px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.fac-lbl svg { width: 17px; height: 17px; stroke: var(--gold-dark); fill: none; stroke-width: 1.6; flex: none; }

/* =================== LOWER GRID =================== */
.lower-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr .85fr; gap: 22px; align-items: start; }
.ev-item { display: flex; gap: 13px; padding: 12px 20px; border-bottom: 1px solid #f1f3f8; }
.ev-item:last-child { border-bottom: none; }
.ev-date { flex: none; width: 44px; text-align: center; background: var(--gold); border-radius: 7px; padding: 5px 0; line-height: 1.1; }
.ev-date b { display: block; font-size: 16px; color: var(--navy); font-weight: 700; }
.ev-date small { font-size: 10px; color: var(--navy); }
.ev-ttl { font-size: 13.5px; color: var(--navy); font-weight: 600; }
.ev-meta { font-size: 11.5px; color: var(--muted); }

.gal-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 16px; }
.gal-mini img { width: 100%; height: 62px; object-fit: cover; border-radius: 6px; transition: .2s; }
.gal-mini img:hover { opacity: .82; transform: scale(1.04); }

.testi-body { padding: 20px 22px; }
.testi-q { font-size: 36px; color: var(--gold); font-family: Georgia,serif; line-height: .6; }
.testi-body blockquote { font-size: 13.5px; color: var(--muted); font-style: italic; margin: 14px 0 18px; }
.testi-who { display: flex; align-items: center; gap: 11px; }
.testi-who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testi-who b { font-size: 14px; color: var(--navy); display: block; }
.testi-who span { font-size: 11.5px; color: var(--muted); }

.adm-box { background: linear-gradient(160deg, #eaf1fc, #d8e6fb); border-radius: var(--radius); padding: 26px 20px; text-align: center; border: 1px solid #cddcf5; }
.adm-box h3 { color: var(--navy); font-size: 19px; font-weight: 700; line-height: 1.25; }
.adm-box p { font-size: 13px; color: #4f5d74; margin: 10px 0 18px; }

/* =================== CTA =================== */
.cta-block { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 52px 0; }
.cta-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-block::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(15,28,58,.95) 0%,rgba(15,28,58,.7) 55%,rgba(15,28,58,.1) 100%); }
.cta-inner { position: relative; z-index: 2; padding: 42px 46px; color: #fff; max-width: 560px; }
.cta-inner h2 { font-size: 27px; font-weight: 700; line-height: 1.2; }
.cta-inner p { font-size: 14px; color: #d7deec; margin: 12px 0 22px; }

/* =================== FOOTER =================== */
footer { background: var(--navy); color: #aeb8cc; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.3fr; gap: 34px; padding: 50px 0 36px; }
.foot-col h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.foot-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.foot-col p { font-size: 13.5px; line-height: 1.7; }
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 9px; font-size: 13.5px; }
.foot-col ul li a { transition: .2s; }
.foot-col ul li a:hover { color: var(--gold); }
.foot-contact { list-style: none; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; font-size: 13.5px; }
.foot-contact svg { width: 14px; height: 14px; flex: none; margin-top: 4px; }
.socials { display: flex; gap: 9px; margin-top: 16px; }
.socials a { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: .2s; }
.socials a:hover { background: var(--gold); }
.socials svg { width: 15px; height: 15px; fill: #fff; }
.nl-form { display: flex; margin-top: 10px; border-radius: 6px; overflow: hidden; }
.nl-form input { flex: 1; border: none; padding: 11px 13px; font-size: 13px; font-family: inherit; outline: none; }
.nl-form button { background: var(--gold); border: none; padding: 0 15px; cursor: pointer; display: grid; place-items: center; }
.nl-ok { color: #86efac; font-size: 13px; display: block; margin-bottom: 6px; }
.nl-err { color: #fca5a5; font-size: 13px; display: block; margin-bottom: 6px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom-inner { display: flex; justify-content: space-between; align-items: center; height: 54px; font-size: 12.5px; flex-wrap: wrap; gap: 8px; }
.foot-bottom a { margin-left: 14px; }
.foot-bottom a:hover { color: var(--gold); }

/* =================== PAGE BANNER =================== */
.page-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; padding: 44px 0 38px; position: relative; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(246,180,10,.15)'/%3E%3C/svg%3E") repeat; }
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #b0bbd4; }
.breadcrumb a { color: var(--gold); }
.breadcrumb .sep::before { content: "›"; margin: 0 4px; }

/* =================== INNER PAGE CONTENT =================== */
.page-content { padding: 50px 0 60px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.two-col img { border-radius: var(--radius); width: 100%; }
.prose h2 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.prose h3 { font-size: 18px; color: var(--navy); margin: 20px 0 10px; }
.prose p  { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose ul li { font-size: 14.5px; color: var(--muted); margin-bottom: 7px; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 14px; font-family: inherit; transition: .2s; background: #fff; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(21,41,79,.08); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Gallery Page */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.filter-btn { padding: 8px 20px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: .2s; font-family: inherit; }
.filter-btn.active, .filter-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-page-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.gallery-page-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; transition: .3s; cursor: pointer; }
.gallery-page-grid img:hover { transform: scale(1.04); opacity: .9; }

/* Notice/News table */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--navy); color: #fff; padding: 13px 16px; font-size: 13.5px; text-align: left; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: middle; }
.data-table tr:hover td { background: #fafbfd; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }

/* =================== ADMIN LOGIN =================== */
.login-wrap { min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, #0a1a38 100%); display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-box { background: #fff; border-radius: 16px; padding: 44px 42px; width: 100%; max-width: 430px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo h2 { font-size: 21px; color: var(--navy); font-weight: 700; margin-top: 10px; }
.login-logo small { color: var(--muted); font-size: 13px; }
.login-box h3 { font-size: 17px; color: var(--navy); margin-bottom: 22px; font-weight: 700; }
.pass-toggle { position: relative; }
.pass-toggle input { padding-right: 44px; }
.pass-eye { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); }
.forgot-link { font-size: 13px; color: var(--gold-dark); float: right; margin-top: 8px; }

/* =================== ADMIN PANEL =================== */
.admin-body { display: flex; min-height: 100vh; background: #f0f2f8; font-family: 'Poppins', sans-serif; }
.admin-sidebar { width: 250px; flex: none; background: var(--navy); min-height: 100vh; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100%; z-index: 200; transition: .3s; overflow-y: auto; }
.sidebar-logo { padding: 22px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-logo h2 { color: #fff; font-size: 16px; font-weight: 700; line-height: 1.25; }
.sidebar-logo small { color: var(--gold); font-size: 11px; }
.sidebar-nav { flex: 1; padding: 14px 0; }
.sidebar-section { font-size: 10.5px; color: #6d80a4; text-transform: uppercase; letter-spacing: 1.5px; padding: 14px 20px 6px; }
.sidebar-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 20px; font-size: 13.5px; color: #b8c4db; transition: .2s; border-left: 3px solid transparent; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: #fff; background: rgba(255,255,255,.07); border-left-color: var(--gold); }
.sidebar-nav a svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; flex: none; }
.sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-footer a { color: #b8c4db; font-size: 13px; display: flex; align-items: center; gap: 9px; }
.sidebar-footer a:hover { color: #fff; }

.admin-main { margin-left: 250px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar { background: #fff; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 50; }
.admin-topbar h1 { font-size: 19px; color: var(--navy); font-weight: 700; }
.admin-user { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--navy); }
.admin-user .av { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.admin-content { padding: 28px; flex: 1; }

/* Admin stats cards */
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 28px; }
.astat { background: #fff; border-radius: 12px; padding: 22px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold); }
.astat-icon { width: 50px; height: 50px; border-radius: 10px; background: rgba(21,41,79,.08); display: grid; place-items: center; flex: none; }
.astat-icon svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.astat-num { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.astat-lbl { font-size: 12.5px; color: var(--muted); }

/* Admin table */
.admin-table-wrap { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-table-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.admin-table-head h3 { font-size: 16px; color: var(--navy); font-weight: 700; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: #f7f8fc; color: var(--navy); padding: 12px 16px; font-size: 13px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--line); }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafbfd; }
.action-btns { display: flex; gap: 8px; }
.btn-edit { background: #eaf2ff; color: #2f7de1; padding: 6px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 600; border: none; cursor: pointer; font-family: inherit; transition: .2s; }
.btn-edit:hover { background: #2f7de1; color: #fff; }
.btn-del { background: #fef2f2; color: #e0533d; padding: 6px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 600; border: none; cursor: pointer; font-family: inherit; transition: .2s; }
.btn-del:hover { background: #e0533d; color: #fff; }
.btn-view { background: #f0fdf4; color: #16a34a; padding: 6px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 600; border: none; cursor: pointer; font-family: inherit; transition: .2s; text-decoration: none; display: inline-block; }

/* Admin form */
.admin-form-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); padding: 28px 30px; max-width: 720px; }
.admin-form-card h3 { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.toggle-switch { display: flex; align-items: center; gap: 10px; }
.toggle-switch input[type=checkbox] { width: 18px; height: 18px; cursor: pointer; }

/* Status badges */
.s-active   { background: #d4edda; color: #155724; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.s-inactive { background: #f8d7da; color: #721c24; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.s-pending  { background: #fff3cd; color: #856404; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.s-accepted { background: #d4edda; color: #155724; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.s-rejected { background: #f8d7da; color: #721c24; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 14px; box-shadow: var(--shadow); gap: 2px; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
  .ql:nth-child(4n)::after { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: repeat(3, 1fr); }
  .lower-grid { grid-template-columns: 1fr 1fr; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .slide-content h1 { font-size: 32px; }
  .slides { height: 370px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item:nth-child(2n)::after { display: none; }
  .stat-item:nth-child(5) { grid-column: 1/-1; }
  .gallery-page-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
}
@media (max-width: 600px) {
  .topbar .top-right span:first-child { display: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .ql::after { display: none !important; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .lower-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-inner { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, .slide { transition: none !important; }
}
