/* ============================================================
   Vivek Techno School, Bikaner — Main Stylesheet
   Design tokens derived from vivektechno.ac.in brand:
   Primary  : #F92F2F (red)
   Secondary: #066AC9 (blue)
   Accent   : #F7C32E (yellow)
   Headings : Heebo | Body: Roboto
   ============================================================ */

:root {
  --primary: #f92f2f;
  --primary-dark: #d42828;
  --link-hover: #8a1616;
  --secondary: #066ac9;
  --secondary-dark: #0555a1;
  --accent: #f7c32e;
  --accent-dark: #e0ad15;
  --danger: #d6293e;
  --success: #0cbc87;
  --gray: #9a9ea4;
  --body-color: #747579;
  --heading-color: #24292d;
  --light: #f5f7f9;
  --white: #ffffff;
  --border: #eff1f2;
  --primary-subtle: #f7d4d8;
  --secondary-subtle: #cde1f4;
  --accent-subtle: #fdf3d5;
  --radius: 5.2px;
  --radius-lg: 8px;
  --shadow: 0 0.125rem 0.25rem rgba(29, 58, 83, 0.12);
  --shadow-lg: 0 1rem 3rem rgba(29, 58, 83, 0.15);
  --font-heading: 'Heebo', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-color);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem; }

p { margin-bottom: 1rem; }

a { color: var(--primary); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--link-hover); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section { padding: 4.5rem 0; }
.section-light { background: var(--light); }

.section-title { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-title .tagline {
  display: inline-block;
  background: rgba(249, 47, 47, 0.1);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 0.9rem;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }

.btn-secondary { background: var(--secondary); border-color: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: var(--white); }

.btn-accent { background: var(--accent); border-color: var(--accent); color: #000; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #000; }

.btn-outline-light { background: transparent; border-color: var(--heading-color); color: var(--heading-color); }
.btn-outline-light:hover { background: var(--heading-color); color: var(--white); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--heading-color);
  color: #cfd3d7;
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.topbar a { color: var(--accent); font-weight: 500; }
.topbar a:hover { color: var(--white); }
.topbar .topbar-left { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.topbar .badge-enquiry {
  background: var(--primary);
  color: var(--white);
  padding: 0.15rem 0.7rem;
  border-radius: 2rem;
  font-weight: 600;
}

/* ---------- Header / Navbar ---------- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.brand-logo-footer { height: 64px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--heading-color);
  margin: 6px 0;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--heading-color);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-item.open > .nav-link, .nav-link.active { color: var(--primary); }

.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.4rem;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  padding: 2.6px;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 1001;
  max-height: 70vh;
  overflow-y: auto;
}

.nav-item.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--body-color);
  font-size: 0.9rem;
}

.dropdown-item:hover { color: var(--primary); background: rgba(249, 47, 47, 0.05); }

.dropdown-header {
  padding: 0.5rem 1.25rem 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--secondary);
}

.dropdown-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }

.nav-cta { margin-left: 0.75rem; }

/* ---------- Hero (light, matches vivektechno.ac.in theme) ---------- */
.hero {
  background: var(--white);
  color: var(--body-color);
  padding: 5.5rem 0 6.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--accent-subtle);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--secondary-subtle);
  opacity: 0.55;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }

.hero .hero-kicker {
  display: inline-block;
  background: var(--accent-subtle);
  color: #ad8920;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.hero h1 { color: var(--heading-color); margin-bottom: 1.25rem; }
.hero h1 .highlight {
  color: var(--primary);
  position: relative;
  display: inline;
}
.hero p { color: var(--body-color); font-size: 1.05rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Stats strip */
.stats-strip { background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); padding: 1.75rem; margin-top: -3.25rem; position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 0.5rem; }
.stat .stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat .stat-label { font-size: 0.85rem; color: var(--body-color); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card .card-kicker {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.card h3 a { color: var(--heading-color); }
.card h3 a:hover { color: var(--primary); }
.card .card-link { margin-top: auto; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.card .card-link:hover { color: var(--secondary); }

/* Stream cards accent top border */
.card-stream { border-top: 4px solid var(--secondary); }
.card-stream.alt-red { border-top-color: var(--primary); }
.card-stream.alt-yellow { border-top-color: var(--accent); }

/* ---------- Split section (two column) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.split .visual {
  border-radius: var(--radius-lg);
  min-height: 340px;
  background: var(--secondary-subtle);
  position: relative;
  overflow: hidden;
}

.split .visual.warm { background: var(--accent-subtle); }
.split .visual::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.split .visual::before {
  content: "";
  position: absolute;
  left: -50px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--primary-subtle);
  opacity: 0.7;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.35em + 4px);
  width: 7px;
  height: 4px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary), var(--danger));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--light);
  color: var(--body-color);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent-subtle);
}

.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--heading-color); margin-bottom: 0.4rem; }
.breadcrumb { font-size: 0.85rem; color: var(--gray); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 0.4rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

table.data-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
.data-table th, .data-table td { padding: 0.8rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.data-table th { background: var(--heading-color); color: var(--white); font-family: var(--font-heading); font-weight: 600; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:nth-child(even) td { background: var(--light); }

/* Document list (mandatory disclosure) */
.doc-list li { border-bottom: 1px solid var(--border); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.5rem;
  color: var(--heading-color);
  font-weight: 500;
  font-size: 0.93rem;
}
.doc-list a:hover { color: var(--primary); }
.doc-list .doc-badge {
  flex-shrink: 0;
  background: rgba(249, 47, 47, 0.1);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-family: var(--font-heading); font-weight: 500; color: var(--heading-color); margin-bottom: 0.35rem; font-size: 0.9rem; }

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #404448;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(6, 106, 201, 0.15);
}

textarea.form-control { resize: vertical; min-height: 130px; }

/* Contact info blocks */
.contact-block { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-block h5 { margin-bottom: 0.15rem; }
.contact-block p { margin: 0; font-size: 0.92rem; }

.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Notice / alert ---------- */
.notice {
  background: rgba(247, 195, 46, 0.15);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--light); padding-top: 4rem; margin-top: 4.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }

.site-footer h5 { margin-bottom: 1.1rem; }
.site-footer .footer-about p { font-size: 0.9rem; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: var(--body-color); font-size: 0.92rem; }
.footer-links a:hover { color: var(--primary); }

.footer-contact p { font-size: 0.92rem; margin-bottom: 0.6rem; }
.footer-contact strong { color: var(--heading-color); font-weight: 600; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-bottom ul { display: flex; gap: 1.25rem; }
.footer-bottom a { color: var(--body-color); }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* ---------- Banner Slider (CMS-managed) ---------- */
.banner-slider {
  position: relative;
  overflow: hidden;
  background: var(--light);
}

.banner-slider .slides { position: relative; height: 560px; }

.banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}

.banner-slide.is-active { opacity: 1; visibility: visible; }

.banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 28, 32, 0.72) 0%, rgba(24, 28, 32, 0.42) 55%, rgba(24, 28, 32, 0.15) 100%);
}

.banner-slide .container { position: relative; z-index: 1; }
.banner-slide-content { max-width: 640px; color: var(--white); }
.banner-slide-content h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.banner-slide-content p { color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; margin-bottom: 1.75rem; }

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s ease;
}
.banner-nav:hover { background: rgba(255, 255, 255, 0.32); }
.banner-prev { left: 20px; }
.banner-next { right: 20px; }

.banner-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.banner-dot.is-active { background: var(--accent); transform: scale(1.2); }

.banner-slider-empty {
  padding: 3rem 0;
  text-align: center;
  color: var(--body-color);
}

/* ---------- Notices box ---------- */
.notice-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notice-box-head {
  background: var(--heading-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notice-box-head h3 { color: var(--white); margin: 0; font-size: 1.05rem; }
.notice-box-head .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 0.5rem; animation: pulse 1.6s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.notice-list { max-height: 380px; overflow-y: auto; }

.notice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.notice-item:last-child { border-bottom: 0; }

.notice-item-main { min-width: 0; }
.notice-item-main .nt-title { font-family: var(--font-heading); font-weight: 600; color: var(--heading-color); font-size: 0.94rem; display: block; margin-bottom: 0.2rem; }
.notice-item-main .nt-meta { font-size: 0.78rem; color: var(--gray); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.notice-box-foot { padding: 1rem 1.5rem; text-align: center; border-top: 1px solid var(--border); background: var(--light); }

.btn-view {
  flex-shrink: 0;
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
  transition: all 0.25s ease;
}
.btn-view:hover { background: var(--secondary); color: var(--white); }

/* ---------- Facilities grid ---------- */
.facility-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.facility-card .fc-image { height: 200px; overflow: hidden; }
.facility-card .fc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.facility-card:hover .fc-image img { transform: scale(1.06); }

.facility-card .fc-body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.facility-card .fc-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.facility-card .fc-body p { font-size: 0.9rem; flex: 1; margin-bottom: 1.1rem; }
.facility-card .fc-body .btn-view { align-self: flex-start; }

/* ---------- Detail page (notice / facility) ---------- */
.detail-hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2rem; }
.detail-hero-image img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

.detail-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1.25rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1199px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.25rem 2rem;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    transition: right 0.32s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active { right: 0; }

  .nav-link { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--border); }

  .dropdown-toggle { display: flex; align-items: center; justify-content: space-between; }
  .dropdown-toggle::after { transform: rotate(45deg); }
  .nav-item.open > .dropdown-toggle::after { transform: rotate(-135deg); }

  .dropdown-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    max-height: none;
    background: var(--light);
    border-radius: 0;
  }

  .nav-item.open > .dropdown-menu { display: block; }

  .nav-cta { margin: 1.25rem 0 0; }
  .nav-cta .btn { width: 100%; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
  }

  .nav-overlay.active { opacity: 1; visibility: visible; }
}

@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-slider .slides { height: 460px; }
}

@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .hero { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2rem 1.5rem; }
  .topbar .container { justify-content: center; text-align: center; }
  .banner-slider .slides { height: 380px; }
  .banner-nav { width: 38px; height: 38px; font-size: 1.1rem; }
  .notice-item { flex-direction: column; align-items: flex-start; }
  .notice-item .btn-view { align-self: flex-start; }
}
