/* ============================================================
   GOVT. GIRLS HIGH SCHOOL, ARJUNPUR, SURIYAWAN, BHADOHI (U.P.)
   Main Stylesheet — Hindi Default + English (v2)
   ============================================================ */

:root {
  --red: #c8102e;
  --red-dark: #9e0c24;
  --red-soft: #f6e7ea;
  --navy: #16305c;
  --navy-dark: #0f2444;
  --blue: #1d4ed8;
  --text: #333a45;
  --muted: #6b7280;
  --bg: #f4f6f9;
  --border: #e3e8ef;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(15, 36, 68, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif; font-size: 15px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- Hindi (Devanagari) Mode Adjustments ---------- */
html[lang="hi"] body { font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; }
html[lang="hi"] .brand-name { letter-spacing: 0; font-size: 26px; }
html[lang="hi"] .hero h1 { font-size: 40px; line-height: 1.35; letter-spacing: 0; }
html[lang="hi"] .hero-quote { line-height: 1.5; }
html[lang="hi"] .nav-menu > li > a,
html[lang="hi"] .card-head,
html[lang="hi"] .page-head h1,
html[lang="hi"] .dropdown-menu a,
html[lang="hi"] .footer h4 { letter-spacing: 0; }

/* ---------- Top Bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 10px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar i { color: #ff92a0; margin-right: 6px; }
.lang-switch { display: flex; gap: 6px; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; padding: 4px 16px; font-size: 12.5px; font-weight: 600; font-family: inherit; cursor: pointer; background: #fff; color: var(--navy); text-decoration: none; line-height: 1.4; transition: background .2s ease, color .2s ease; }
.lang-btn:hover { background: #ffe3e8; color: var(--red); }
.lang-btn.active, .lang-btn.active:hover { background: var(--red); color: #fff; }

/* ---------- Main Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 14px 16px; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand-logo { width: 92px; height: 92px; object-fit: contain; }
.brand-logo.img-placeholder { border-radius: 50%; border: 3px solid var(--red); background: var(--red-soft); color: var(--red); font-size: 36px; }
.brand-name { display: block; font-size: 30px; font-weight: 800; color: var(--red); line-height: 1.15; letter-spacing: .3px; }
.brand-address { display: block; color: var(--navy); font-weight: 700; font-size: 15px; letter-spacing: .5px; margin-top: 2px; }
.brand-address::after { content: ""; display: block; width: 64px; height: 3px; background: var(--red); border-radius: 2px; margin-top: 5px; }
.brand-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.brand-meta i { color: var(--red); margin-right: 6px; }

/* ---------- Navbar ---------- */
.navbar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 900; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.nav-inner { position: relative; display: flex; justify-content: center; }
.nav-toggle { display: none; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 16px; background: var(--red); color: #fff; border: 0; border-radius: 8px; font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.nav-menu { display: flex; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 8px; padding: 15px 19px; font-weight: 600; font-size: 15px; color: var(--navy); }
.nav-menu > li > a .fa-chevron-down { font-size: 10px; }
.nav-menu > li > a:hover { color: var(--red); }
.nav-menu > li > a.active { background: var(--red); color: #fff; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--red); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; z-index: 800; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--border); }
.dropdown-menu a:hover { background: var(--red-soft); color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 440px; color: #fff;
  background: linear-gradient(100deg, rgba(4,34,20,.94) 0%, rgba(6,46,26,.80) 40%, rgba(8,30,20,.25) 78%), url('../images/hero-bg.jpg') center/cover no-repeat #0e3b22; }
.hero-content { max-width: 660px; padding: 64px 0; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-quote { font-size: 23px; font-weight: 600; margin-top: 14px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero-line { width: 72px; height: 4px; border-radius: 3px; background: var(--red); margin: 20px 0 28px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border-radius: 8px; font-weight: 600; font-size: 15px; font-family: inherit; border: 0; cursor: pointer; transition: all .25s ease; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(200,16,46,.35); }

/* ---------- Feature Cards ---------- */
.features { background: var(--bg); padding: 34px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; }
.f-icon { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; }
.f-icon.red { background: var(--red); }
.f-icon.navy { background: var(--blue); }
.center-icon { margin: 0 auto 12px; }
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- Home Sections ---------- */
.section-home { padding: 26px 0; }
.home-grid { display: grid; grid-template-columns: 1.05fr 1.2fr .95fr; gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; color: #fff; font-weight: 700; font-size: 16px; }
.head-red { background: var(--red); }
.head-navy { background: var(--navy); }
.view-all { margin-left: auto; font-size: 12px; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.14); padding: 4px 12px; border-radius: 6px; white-space: nowrap; }
.view-all:hover { background: #fff; color: var(--navy); }
.card-body { padding: 18px; }

/* Principal */
.principal-box { display: flex; gap: 16px; }
.principal-photo { flex: 0 0 150px; }
.principal-photo img, .principal-photo .img-placeholder { width: 150px; height: 175px; object-fit: cover; border-radius: 8px; }
.principal-text p { font-size: 14.5px; }
.principal-text h4 { color: var(--red); font-weight: 700; margin-top: 14px; font-size: 16px; }
.principal-text span { font-size: 13px; color: var(--muted); }

/* News */
.news-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.news-item:first-child { padding-top: 2px; }
.news-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.news-date { flex: 0 0 64px; background: var(--navy); color: #fff; text-align: center; border-radius: 8px; padding: 8px 4px; height: fit-content; }
.news-date b { display: block; font-size: 20px; line-height: 1.15; }
.news-date span { font-size: 10.5px; opacity: .85; }
.news-info h4 { color: var(--navy); font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge-new { background: var(--red); color: #fff; font-size: 10.5px; font-weight: 600; padding: 2px 10px; border-radius: 20px; }
.news-info p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* Quick Links */
.quicklinks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ql-box { display: block; text-align: center; border: 1px solid var(--border); border-radius: 8px; padding: 14px 6px; font-weight: 600; font-size: 13px; color: var(--navy); transition: all .25s ease; }
.ql-box i { display: block; font-size: 24px; color: var(--blue); margin-bottom: 8px; }
.ql-box:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.ql-box:hover i { color: var(--red); }

/* Gallery strip */
.gallery-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery-thumb { display: block; border-radius: 8px; overflow: hidden; }
.gallery-thumb img, .gallery-thumb .img-placeholder { width: 100%; height: 112px; object-fit: cover; transition: transform .3s ease; }
.gallery-thumb:hover img { transform: scale(1.06); }

/* ---------- Page Banner ---------- */
.page-head { background: linear-gradient(100deg, var(--navy) 0%, #1e4a8f 90%); color: #fff; padding: 36px 0; }
.page-head h1 { font-size: 28px; font-weight: 700; }
.breadcrumb { font-size: 13px; opacity: .85; margin-top: 4px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Page Content ---------- */
.page-section { padding: 36px 0; }
.page-section h2 { position: relative; padding-left: 15px; color: var(--navy); font-size: 22px; margin: 26px 0 12px; }
.page-section h2:first-child { margin-top: 0; }
.page-section h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 5px; border-radius: 3px; background: var(--red); }
.page-section p { margin-bottom: 10px; }
.lead { font-size: 15.5px; color: #455061; }
.lead b { color: var(--navy); }
.sub-title { color: var(--navy); font-size: 17px; margin: 18px 0 8px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px; text-align: center; }
.info-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.info-card p { font-size: 14px; color: var(--muted); margin: 0; }

.data-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; }
.data-table th { background: var(--navy); color: #fff; text-align: left; }
.data-table th, .data-table td { padding: 11px 14px; border: 1px solid var(--border); font-size: 14px; }
.data-table tbody tr:nth-child(even) { background: #f7f9fc; }

.chips { margin-top: 4px; }
.chip { display: inline-block; background: var(--red-soft); color: var(--red); font-size: 13px; font-weight: 600; padding: 5px 15px; border-radius: 20px; margin: 4px 6px 0 0; }

.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14.5px; }
.check-list i { color: var(--red); margin-top: 5px; font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 14px; text-align: center; }
.step-num { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.step h4 { color: var(--navy); font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }

.fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.fac-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 14px; text-align: center; transition: all .25s ease; }
.fac-card:hover { transform: translateY(-4px); border-color: var(--red); }
.fac-card h4 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.fac-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid a { display: block; border-radius: 8px; overflow: hidden; }
.gallery-grid img, .gallery-grid .img-placeholder { width: 100%; height: 190px; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; }
.ci-list li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.ci-list li:last-child { margin-bottom: 0; }
.ci-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ci-list b { color: var(--navy); display: block; font-size: 14.5px; }
.ci-list p { font-size: 13.5px; color: var(--muted); margin: 0; }
.ci-list a:hover { color: var(--red); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; font-size: 13.5px; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; color: var(--text); resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12); }

.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert i { margin-right: 6px; }
.alert-success { background: #e8f7ee; color: #14713d; border: 1px solid #b7e4c7; }
.alert-error { background: #fdecee; color: #a50d24; border: 1px solid #f5c2c9; }
.alert-info { background: #eaf1fd; color: #1d4ed8; border: 1px solid #c7d9f9; }

.map-box { margin-top: 24px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-box iframe { display: block; width: 100%; height: 330px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #d7e0ee; margin-top: 34px; }
.footer a { color: #d7e0ee; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1.15fr 1.25fr .75fr; gap: 28px; padding: 42px 16px 32px; }
.f-brand-row { display: flex; align-items: center; gap: 12px; }
.f-logo { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 50%; padding: 5px; }
.f-logo.img-placeholder { color: var(--red); font-size: 26px; }
.f-brand h3 { color: #fff; font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.f-brand-row p { font-size: 12.5px; letter-spacing: .3px; }
.f-estd { margin-top: 12px; font-size: 13.5px; }
.f-estd i { color: #ff92a0; margin-right: 6px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-bottom: 11px; }
.f-contact i { color: #ff92a0; margin-top: 4px; font-size: 13px; }
.f-links-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.f-links li { margin-bottom: 9px; }
.f-links a { display: flex; align-items: center; gap: 8px; font-size: 13.5px; transition: padding .2s ease; }
.f-links a:hover { padding-left: 5px; }
.f-links i { color: #ff92a0; font-size: 11px; }
.f-social { display: flex; gap: 12px; }
.soc { width: 42px; height: 42px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 18px; transition: transform .25s ease; }
.soc:hover { transform: translateY(-4px); }
.soc.fb { background: #1877f2; }
.soc.yt { background: #ff0000; }
.footer-bottom { background: var(--navy-dark); padding: 14px 0; font-size: 13.5px; }
.fb-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-bottom .fa-heart { color: #ff5b6a; }

/* ---------- Placeholder & Lightbox ---------- */
.img-placeholder { display: flex; align-items: center; justify-content: center; background: #edf1f7; color: #9aa6b8; font-size: 32px; }
.ph-tall { height: 190px; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8,18,38,.92); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; box-shadow: 0 12px 44px rgba(0,0,0,.55); }
.lb-close { position: absolute; top: 12px; right: 26px; color: #fff; font-size: 42px; line-height: 1; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .home-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-name { font-size: 25px; }
  html[lang="hi"] .brand-name { font-size: 22px; }
  html[lang="hi"] .hero h1 { font-size: 34px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-inner { justify-content: flex-start; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 3px solid var(--red); box-shadow: var(--shadow); max-height: 70vh; overflow-y: auto; }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { border-bottom: 1px solid var(--border); }
  .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: #f8fafd; box-shadow: none; min-width: 0; }
  .dropdown.open .dropdown-menu { display: block; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .brand-logo, .brand-logo.img-placeholder { width: 66px; height: 66px; }
  .brand-name { font-size: 19px; }
  .brand-address { font-size: 12px; }
  .brand-meta { display: none; }
  .hero { min-height: 360px; }
  .hero h1 { font-size: 31px; }
  .hero-quote { font-size: 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .principal-box { flex-direction: column; }
  .principal-photo { flex: none; }
  .principal-photo img, .principal-photo .img-placeholder { width: 100%; height: 220px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fb-inner { justify-content: center; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  html[lang="hi"] .brand-name { font-size: 16.5px; }
  html[lang="hi"] .hero h1 { font-size: 27px; }
  html[lang="hi"] .hero-quote { font-size: 16.5px; }
}
/* ---------- Lightbox Slider ---------- */
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 88vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 12px 44px rgba(0,0,0,.55); }
.lb-counter { color: #fff; margin-top: 14px; font-size: 14px; font-weight: 600; letter-spacing: 2px; background: rgba(255,255,255,.12); padding: 4px 18px; border-radius: 20px; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s ease; z-index: 10; }
.lb-arrow:hover { background: var(--red); transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.gallery-tip { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.gallery-tip i { color: var(--red); margin-right: 6px; }
@media (max-width: 640px) {
  .lb-arrow { width: 42px; height: 42px; font-size: 15px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-figure img { max-width: 82vw; }
}
/* ---------- News + Notices (2 Part) ---------- */
.nn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.notice-list { display: flex; flex-direction: column; }
.notice-pdf-item { display: flex; align-items: center; gap: 13px; padding: 13px 12px; border-bottom: 1px dashed var(--border); border-radius: 8px; transition: all .2s ease; }
.notice-pdf-item:last-child { border-bottom: 0; }
.notice-pdf-item:hover { background: var(--red-soft); transform: translateX(4px); }
.notice-pdf-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.notice-pdf-item:hover .notice-pdf-icon { background: var(--red); color: #fff; }
.notice-info { flex: 1; min-width: 0; }
.notice-info h4 { color: var(--navy); font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.notice-pdf-item:hover .notice-info h4 { color: var(--red); }
.notice-meta { font-size: 12px; color: var(--muted); }
.notice-meta i { margin-right: 4px; }
.notice-open { color: var(--muted); font-size: 13px; }
.notice-pdf-item:hover .notice-open { color: var(--red); }
.nn-empty { text-align: center; color: var(--muted); padding: 28px 10px; font-size: 14px; }
.nn-empty i { display: block; font-size: 30px; margin-bottom: 10px; opacity: .5; }
@media (max-width: 1024px) { .nn-grid { grid-template-columns: 1fr; } }
/* ---------- Footer: Braintech Highlighted Box ---------- */
.braintech-box {
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap;
  background: linear-gradient(120deg, #fff 0%, #ffeef1 100%);
  border: 2px solid var(--red);
  border-radius: 50px;
  padding: 7px 18px;
  box-shadow: 0 4px 18px rgba(200,16,46,.35);
  font-size: 12.5px;
}
.bt-text { color: var(--navy); font-weight: 600; }
.bt-text i { color: #ff5b6a; }
.bt-by { color: var(--muted); font-weight: 600; }
.bt-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff !important;
  font-weight: 800; font-size: 13px; letter-spacing: 1.5px;
  padding: 4px 14px; border-radius: 50px;
  transition: all .25s ease;
}
.bt-link .fa-shield-halved { color: #ffd7dd; font-size: 12px; }
.bt-link:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(22,48,92,.4); }
.bt-link:hover .fa-shield-halved { color: #4ade80; }

@media (max-width: 640px) {
  .braintech-box { margin-top: 8px; justify-content: center; }
}