/* ============================================================
   SCHOOL WEBSITE — CUSTOM CSS | ANKAN DAS (ankandas.me)
   Primary : #118847   Dark : #123B6A
   Light   : #F7F9FC   Border: #E8ECF3
   Font    : Noto Sans Bengali
   Must change V= ? to header.php when updating to force cache refresh
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* --- Legacy palette (kept for backward compatibility with inner pages) --- */
  --primary: #118847;
  --primary-dark: #0d6b38;
  --primary-light: #e8f5ee;
  --dark: #123B6A;
  --dark-light: #1a4f8a;
  --light: #F7F9FC;
  --border: #E8ECF3;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --white: #ffffff;

  /* --- Redesign 2026 palette (reference: Taraganj Waqf Estate Govt. College) --- */
  --green: #0B5D3B;            /* primary */
  --green-dark: #08462C;       /* darker primary / footer */
  --green-soft: #EAF3EE;       /* light green tint for icon badges, hover bg */
  --gold: #D4AF37;             /* accent */
  --gold-soft: #F7EED3;        /* light gold tint */
  --bg-light: #F7F8F8;         /* page background */
  --ink: #1A2E28;              /* near-black green-tinted text */
  --ink-soft: #5B6E66;         /* secondary text */

  /* --- Spacing scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* --- Legacy spacing aliases --- */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  /* --- Radius --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px rgba(8, 70, 44, 0.06);
  --shadow-sm: 0 2px 8px rgba(8, 70, 44, 0.07);
  --shadow-md: 0 6px 18px rgba(8, 70, 44, 0.10);
  --shadow-lg: 0 12px 32px rgba(8, 70, 44, 0.14);
  --shadow-gold: 0 4px 14px rgba(212, 175, 55, 0.35);

  /* --- Typography --- */
  --font-body: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 2.75rem;

  /* --- Transitions --- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  background: var(--light);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; transition: all var(--transition-base); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Smooth first-load reveal for cards/sections */
[data-aos].aos-init {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.6s;
  transition-timing-function: ease-out;
}
[data-aos].aos-animate {
  opacity: 1;
}

/* ===== ALPINE.JS X-CLOAK ===== */
[x-cloak] { display: none !important; }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ===== TOP NOTICE BAR (2026 Redesign) ===== */
.topbar {
  background: var(--green-dark);
  position: relative;
  z-index: 60;
  border-bottom: 2px solid var(--gold);
  padding: 4px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.topbar__brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--green-dark);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 4px;
}
.topbar__ticker-wrap {
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
}
.topbar__ticker-move {
  display: inline-block;
  white-space: nowrap;
  animation: topbar-scroll 38s linear infinite;
  padding-left: 100%;
}
.topbar:hover .topbar__ticker-move { animation-play-state: paused; }
.topbar__notice-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.topbar__notice-link:hover { color: var(--gold); }
.topbar__sep {
  margin: 0 var(--space-3);
  opacity: 0.4;
  color: #fff;
}
.topbar__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.topbar__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.topbar__icon-btn svg {
  width: 17px;
  height: 17px;
}
.topbar__icon-btn:hover {
  background: var(--gold);
  color: var(--green-dark);
}
/* Slide-down search panel */
.topbar__search {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--green-dark);
  padding: var(--space-2) 0;
}
.topbar__search-inner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
}
.topbar__search-inner input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-family: inherit;
  font-size: var(--fs-sm);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.topbar__search-inner input::placeholder { color: rgba(255, 255, 255, 0.55); }
.topbar__search-inner input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}
@keyframes topbar-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== STICKY HEADER / NAVBAR (2026 Redesign) ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Navbar layout */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-brand__logo {
  height: 60px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}
.navbar-brand__name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-dark);
  line-height: 1.25;
  max-width: 280px;
}
.navbar-brand__eiin {
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* Desktop links row */
.navbar-links {
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

/* Nav link underline animation */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-base), background var(--transition-base);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Desktop Navigation - Ensure visibility on large screens */
@media (min-width: 1024px) {
  .hidden.lg\:flex {
    display: flex !important;
  }
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width var(--transition-base);
}
.nav-link:hover { color: var(--green) !important; background: var(--green-soft); }
.nav-link:hover::after, .nav-link.active::after { width: 55%; }
/* Active tab: green pill (Home on the reference) */
.nav-link--active {
  color: #fff !important;
  font-weight: 600;
  background: var(--green);
}
.nav-link--active:hover { color: #fff !important; background: var(--green); }
.nav-link--active::after { display: none; }
/* Active state on dropdown buttons (btn resets background) */
.nav-dropdown__btn.nav-link--active { background: var(--green); }

/* Dropdown wrapper + menu */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__btn {
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
  font-family: inherit;
}
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 6px;
  z-index: 200;
}

/* Dropdown items */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.875rem;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.dropdown-item:hover {
  background: var(--green-soft);
  color: var(--green);
  padding-left: calc(var(--spacing-md) + 4px);
}

/* CTA + hamburger cluster */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-toggle {
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-dark);
}
.navbar-toggle:hover { background: var(--green-soft); }

/* ===== MOBILE MENU (Alpine) ===== */
.navbar-mobile {
  border-top: 1px solid var(--border);
  background: var(--white);
}
.navbar-mobile__body {
  padding: var(--space-3) var(--space-4);
  max-height: 80vh;
  overflow-y: auto;
}
.navbar-mobile__link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}
.navbar-mobile__link:hover { background: var(--green-soft); color: var(--green); }
.navbar-mobile__group { margin-top: 6px; }
.navbar-mobile__sub-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.navbar-mobile__sub-btn:hover { background: var(--green-soft); color: var(--green); }
.navbar-mobile__sub-body { padding: 0 6px 6px 6px; }
.navbar-mobile__sub-link {
  display: block;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-primary);
  text-decoration: none;
}
.navbar-mobile__sub-link:hover { background: var(--green-soft); color: var(--green); }
.navbar-mobile__cta {
  padding: var(--space-2) 4px;
  margin-top: var(--space-2);
}

/* ===== HERO SLIDER (Phase 4 — 2026 Redesign) ===== */
.hero {
  --hero-h: 580px;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: -1.25rem;            /* sit flush under the sticky header (cancels <main> top padding) */
  background: var(--green-dark);
  overflow: hidden;
}

.hero__slider {                    /* Swiper container (#heroSwiper) */
  width: 100%;
  height: var(--hero-h);
}
.hero__slider .swiper-wrapper { height: var(--hero-h); }

.hero__slide {
  position: relative;
  width: 100%;
  height: var(--hero-h);
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,70,44,0.80) 0%, rgba(8,70,44,0.65) 55%, rgba(8,70,44,0.5) 100%);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}

.hero__inner { max-width: 680px; }

/* Quote block — top-right, like the reference */
.hero__quote {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  z-index: 4;
  max-width: 300px;
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero__quote-mark {
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
  font-family: Georgia, serif;
}
.hero__quote-text {
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
}

.hero__title {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.30);
  margin: 0;
}
.hero__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: var(--space-4);
  background: var(--gold);
  border-radius: var(--radius-full);
}

.hero__subtitle {
  margin-top: var(--space-4);
  color: rgba(255,255,255,0.90);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  max-width: 54ch;
  text-shadow: 0 1px 10px rgba(0,0,0,0.28);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__badge svg { color: var(--gold); flex-shrink: 0; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* One orchestrated load reveal — CSS-only (no JS dependency), respects reduced-motion */
.hero__inner > * { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__quote    { animation-delay: 0s; }
.hero__title    { animation-delay: 0.1s; }
.hero__subtitle { animation-delay: 0.2s; }
.hero__badges   { animation-delay: 0.3s; }
.hero__actions  { animation-delay: 0.4s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__inner > * { animation: none; }
}

/* Hero pagination dots — scoped so other sliders keep their own styling */
.hero .swiper-pagination { bottom: var(--space-5); }
#heroSwiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.55);
  opacity: 1;
  width: 9px;
  height: 9px;
  transition: all var(--transition-base);
}
#heroSwiper .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 26px;
  border-radius: var(--radius-full);
}

/* Hero navigation arrows — circular with gold border (like reference) */
.hero .swiper-button-prev,
.hero .swiper-button-next {
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--gold);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}
.hero .swiper-button-prev { left: var(--space-5); }
.hero .swiper-button-next { right: var(--space-5); }
.hero .swiper-button-prev::after,
.hero .swiper-button-next::after { font-size: 18px; font-weight: 700; }
.hero .swiper-button-prev:hover,
.hero .swiper-button-next:hover {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.06);
}

/* Global Swiper pagination bullets — shared by the teachers slider (unchanged) */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: all var(--transition-base);
}
.swiper-pagination-bullet-active {
  background: var(--primary);
  width: 24px;
  height: 8px;
  border-radius: var(--radius-full);
}

/* ===== HERO RESPONSIVE ===== */
@media (max-width: 1199px) {
  .hero { --hero-h: 520px; }
  .hero__quote { display: none; }               /* quote only on large desktop, like reference */
}
@media (max-width: 991px) {
  .hero { --hero-h: 448px; }
  .hero__content { padding: var(--space-5); }
}
@media (max-width: 768px) {
  .hero { --hero-h: 400px; }
  .hero__content { justify-content: flex-end; padding: var(--space-5) var(--space-4) var(--space-8); }
  .hero .swiper-button-prev,
  .hero .swiper-button-next { display: none; }   /* arrows off on mobile; dots remain */
  .hero__actions { margin-top: var(--space-5); }
}
@media (max-width: 480px) {
  .hero { --hero-h: 360px; }
  .hero__subtitle,
  .hero__badges { display: none; }               /* keep the small-screen banner clean */
  .hero__title::after { margin-top: var(--space-3); }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions .btn { width: 100%; }
}

/* ===== QUICK ACTION CARDS (Phase 5 — 2026 Redesign) ===== */
.quick-actions {
  margin: var(--space-8) 0 var(--space-4);
}
.quick-actions__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.qa-card {
  flex: 0 0 calc(14.285% - var(--space-2));   /* 7 per row on desktop */
  display: flex;
  flex-direction: column;
  padding: var(--space-2) var(--space-1);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  text-align: center;
  align-items: center;
  min-width: 0; /* allow shrinking below content size */
}
.qa-card::before {                 /* gold top strip, revealed on hover/focus */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.qa-card:hover,
.qa-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  outline: none;
}
.qa-card:hover::before,
.qa-card:focus-visible::before { transform: scaleX(1); }

.qa-card__icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: var(--space-2);
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
  flex-shrink: 0;
}
.qa-card__icon svg {
  width: 25px;
  height: 25px;
}
.qa-card:hover .qa-card__icon,
.qa-card:focus-visible .qa-card__icon {
  background: var(--green);
  color: var(--white);
  transform: scale(1.06);
}

.qa-card__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--space-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.qa-card__subtitle {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.qa-card__arrow {
  margin-top: var(--space-2);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  height: 16px;
}
.qa-card:hover .qa-card__arrow,
.qa-card:focus-visible .qa-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Quick Actions responsive (desktop-first) */
/* Base: 7 per row for all desktop/laptop screens */
@media (min-width: 993px) {
  .qa-card { flex: 0 0 calc(14.285% - var(--space-2)); padding: var(--space-4) var(--space-2); }   /* 7 per row, don't grow/shrink */
  .qa-card__icon { width: 42px; height: 42px; }
  .qa-card__icon svg { width: 25px; height: 25px; }
}
@media (max-width: 992px) {
  .qa-card { flex: 0 0 calc(25% - var(--space-3)); padding: var(--space-3) var(--space-2); }   /* 4 per row */
  .qa-card__icon { width: 40px; height: 40px; }
  .qa-card__icon svg { width: 25px; height: 25px; }
}
@media (max-width: 768px) {
  .qa-card { flex: 0 0 calc(50% - var(--space-3)); padding: var(--space-3); }   /* 2 per row */
}
@media (max-width: 480px) {
  .qa-card { flex: 0 0 calc(50% - var(--space-2)); padding: var(--space-2); }
  .qa-card__icon { width: 36px; height: 36px; }
  .qa-card__icon svg { width: 18px; height: 18px; }
  .qa-card__title { font-size: var(--fs-xs); }
  .qa-card__subtitle { font-size: 11px; }
}

.btn-primary-modern {
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:8px 28px;
    border:1.5px solid var(--green);
    border-radius:10px;
    background:#fff;
    color:var(--green);
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}
.btn-primary-modern:hover {
  background:var(--green);
  border-color:var(--green);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(11, 93, 59, 0.35);
  color: var(--white);
}
.btn-outline-modern {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: transparent;
  color: var(--primary);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.5;
}
.btn-outline-modern:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   UNIFIED BUTTON SYSTEM (2026 Redesign)
   Base: .btn  →  Variants: .btn-primary/.btn-gold/.btn-outline-light
   Sizes: .btn-sm / (default) / .btn-lg
   All homepage CTAs should use these going forward.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-base), color var(--transition-base),
              border-color var(--transition-base), transform var(--transition-base),
              box-shadow var(--transition-base);
}

/* --- Variants --- */
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(11, 93, 59, 0.25);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 93, 59, 0.35);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: #c29f2c;
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* --- Sizes --- */
.btn-sm { padding: 0.4rem 0.9rem; font-size: var(--fs-xs); }
.btn-lg { padding: 0.85rem 1.9rem; font-size: var(--fs-base); }

/* --- Full width helper --- */
.btn-block {
  display: flex;
  width: 100%;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--border);
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.section-link {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all var(--transition-base);
  text-decoration: none;
}
.section-link:hover { gap: var(--spacing-sm); color: var(--primary-dark); }

/* ===== CARDS ===== */
.about-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all var(--transition-base);
}

.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* About + Principal section grids */
.about-principal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: aliceblue;
  padding-top: .5rem
}

.principal-message-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.5rem;
}

.principal-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== PRINCIPAL MESSAGE (flat, reference-matched — HOMEPAGE ONLY) ===== */
/* No card: sits flat on the page background. All rules scoped to
   .about-card-principal so chairman.php / head_teacher.php (which reuse the
   base .principal-* classes) stay unchanged. about-principal-grid */
.about-card-principal {
  padding: 0 1.5rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Photo fixed-width on the left, message + signature on the right */
.about-card-principal .principal-message-grid {
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.about-card-principal .principal-photo-col {
  align-items: flex-start;
  text-align: left;
}
.about-card-principal .principal-text-col {
  display: block;
}

/* Rectangular portrait photo, flat (no gold ring) */
.about-card-principal .principal-photo {
  width: 150px;
  height: 190px;
  border-radius: var(--radius-sm);      /* 8px */
  border: 1px solid #ffd000;            /* visible neutral frame */
  box-shadow: 0 6px 18px rgba(8, 70, 44, 0.14);
  margin-bottom: 0;
}

/* Name / designation / college — directly below the photo, left aligned */
.about-card-principal .principal-meta {
  margin-top: var(--space-4);
}
/* Read-more link: shrink to its text (base .section-link is display:flex) */
.about-card-principal .principal-readmore {
  display: inline-flex;
  margin-top: var(--space-4);
}

/* Heading — green title + short gold underline (scoped, matches reference) */
.about-card-principal .section-header {
  position: relative;
  border-bottom: none;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-5);
}
.about-card-principal .section-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.about-card-principal .section-title { color: var(--green-dark); }
.about-card-principal .section-title::before { display: none; }   /* hide legacy left bar */

/* Larger square principal photo (rounded corners) with 5px gold ring */
.principal-photo {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 5px solid var(--gold);
  box-shadow: 0 10px 26px rgba(8, 70, 44, 0.16);
  margin-bottom: var(--space-4);
}
.principal-photo--fallback {
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.principal-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.principal-role {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
}
.principal-org {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.principal-text-col {
  display: flex;
  flex-direction: column;
}
.principal-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.9;
  flex: 1;
}
.principal-text-col .principal-readmore {
  margin-top: var(--space-5);
  align-self: flex-start;
  font-size: 0.9rem;
}

.justified-text { text-align: justify; }

/* ===== NOTICE BOARD (flat, reference-matched — HOMEPAGE ONLY, scoped) ===== */
/* No card: sits flat on the page background (like the Principal section). */
.notice-board-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Plain header — green title + short gold underline, left-aligned (no card padding) */
.notice-board-card .section-header {
  position: relative;
  border-bottom: none;
  padding: 0 0 var(--space-3);
  margin-bottom: 0;
}
.notice-board-card .section-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.notice-board-card .section-title { color: var(--green-dark); }
.notice-board-card .section-title::before { display: none; }

/* "সব নোটিশ দেখুন →" as an outlined pill button (matches reference) */
.notice-board-card .section-header .section-link {
  border: 1px solid rgba(11, 93, 59, 0.30);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  color: var(--green);
}
.notice-board-card .section-header .section-link:hover {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-dark);
}

.notice-list {
  flex: 1;
  padding: 0;
}

.notice-board-card .notice-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background var(--transition-base);
}
.notice-board-card .notice-item:last-child { border-bottom: none; }
.notice-board-card .notice-item:hover { background: var(--green-soft); }

/* Large rounded date badge (~58px, light green) */
.notice-board-card .notice-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: var(--green-soft);
  border: 1px solid rgba(11, 93, 59, 0.14);
  border-radius: var(--radius-md);
  color: var(--green-dark);
  line-height: 1.05;
}
.notice-board-card .notice-day { font-size: 1.35rem; font-weight: 800; }
.notice-board-card .notice-month { font-size: 0.72rem; font-weight: 600; }

.notice-board-card .notice-content { flex: 1; min-width: 0; }
.notice-board-card .notice-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}
.notice-board-card .notice-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notice-board-card .notice-item:hover .notice-title { color: var(--green); }
.notice-board-card .notice-excerpt {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notice-board-card .notice-badge-new {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.notice-board-card .notice-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  color: var(--ink-soft);
}
.notice-board-card .notice-empty p { margin-top: var(--space-3); font-size: var(--fs-sm); }

/* Responsive Notice Board */
@media (max-width: 480px) {
  .notice-board-card .notice-date { width: 52px; height: 52px; }
  .notice-board-card .notice-day { font-size: 1.2rem; }
}

/* ===== STAT CARDS ===== */
.hero-stats-wrapper {
  position: relative;
  margin-top: -60px;
  z-index: 20;
  padding: 0 var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.hero-stats-wrapper > section > div {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-xl);
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: var(--spacing-lg) !important;
  transition: all var(--transition-base);
}

.hero-stats-wrapper > section > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: none;
  padding: 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  gap: var(--spacing-sm) var(--spacing-md);
  align-items: center;
  text-align: left;
}

.stat-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-card:first-child {
  padding-top: 0;
}

.stat-card:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
}

.stat-item {
  display: contents;
}

.stat-icon,
.stat-item .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
  grid-row: 1 / 3;
  grid-column: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0;
  display: block;
  grid-row: 1;
  grid-column: 2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  grid-row: 2;
  grid-column: 2;
}

/* ===== STATS BANNER (Phase 7 — reference-matched) ===== */
.stats-banner {
  position: relative;
  margin: var(--spacing-2xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-image: url('https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=modern%20green%20college%20campus%20aerial%20view%20with%20red%20brick%20buildings%2C%20trees%20and%20sports%20field%2C%20sunny%20day&image_size=landscape_16_9');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-md);
}

/* Lighter overlay so the campus photo reads through (reference) */
.stats-banner-overlay {
  background: linear-gradient(120deg, rgba(8, 70, 44, 0.82) 0%, rgba(11, 93, 59, 0.72) 100%);
  padding: var(--space-6) var(--space-8);
  backdrop-filter: blur(1px);
}

.stats-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.stats-banner-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.stats-banner-item {
  text-align: center;
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-right: 1px solid rgba(255, 255, 255, 0.22);   /* vertical divider */
  transition: transform var(--transition-base);
}
.stats-banner-item:last-child { border-right: none; }

.stats-banner-item:hover {
  transform: translateY(-6px);
}

.stats-banner-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);                /* white icon disc */
  border: 1px solid rgba(212, 175, 55, 0.55);           /* gold ring */
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-banner-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stats-banner-label {
  margin-top: var(--space-2);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

@media (max-width: 992px) {
  .stats-banner-overlay {
    padding: var(--space-8) var(--space-6);
  }
  .stats-banner-inner {
    flex-direction: column;
    gap: var(--space-6);
  }
  .stats-banner-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  .stats-banner-grid .stats-banner-item {
    border-right: none;
  }
  .stats-banner-label {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .stats-banner-overlay {
    padding: var(--space-6) var(--space-5);
  }
  .stats-banner-number {
    font-size: 1.9rem;
  }
  .stats-banner-label {
    font-size: 1.15rem;
  }
}

/* ===== TEACHER CARDS ===== */
.teachers-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.teacher-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  width: 100%;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.teacher-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  margin: 0 auto var(--spacing-md);
  display: block;
}
.teacher-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-xs);
}
.teacher-designation {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}
.teacher-contact {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xs);
}

/* Swiper nav override for teachers */
.teachers-swiper .swiper-button-prev,
.teachers-swiper .swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  background: var(--primary);
  border-radius: 50%;
  color: var(--white) !important;
  box-shadow: var(--shadow-sm);
}
.teachers-swiper .swiper-button-prev::after,
.teachers-swiper .swiper-button-next::after {
  font-size: 14px !important;
  font-weight: 800;
}

/* ===== PHOTO GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
  display: block;
}
.gallery-item:hover img { transform: scale(1.09); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 70, 44, 0) 0%, rgba(8, 70, 44, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--spacing-sm);
  gap: var(--spacing-xs);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-md);
}
.gallery-caption {
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.9);
  box-sizing: border-box;
  color: var(--green-dark);
}
.gallery-zoom-icon line,
.gallery-zoom-icon circle {
  stroke: var(--green-dark) !important;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== HOMEPAGE PHOTO GALLERY CARD (plain style — soft tint, no shadow) ===== */
.gallery-section-card {
  background: #fdf6f3;
  border: none;
  box-shadow: none;
}
.gallery-section-card:hover {
  box-shadow: none;
  transform: none;
}

/* ===== VIDEO CARDS ===== */
.video-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== NEWS CARDS ===== */
.news-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-date-badge {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-xs) var(--spacing-sm);
  min-width: 70px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.news-date-badge .day   { font-size: 1.25rem; font-weight: 700; line-height: 1; }
.news-date-badge .month { font-size: 0.75rem; opacity: 0.8; text-transform: uppercase; }

/* ===== SIDEBAR ===== */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--sidebar-widget-border, var(--border));
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-header {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xs);
  border-bottom: 1px solid var(--sidebar-widget-border, var(--border));
}
.sidebar-widget-body {
  padding: var(--spacing-md) var(--spacing-lg);
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Notice items */
.notice-item {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #f1f5f9;
  align-items: flex-start;
  transition: padding-left var(--transition-base);
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { padding-left: var(--spacing-xs); }
.notice-badge {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}
.notice-title {
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.45;
  transition: color var(--transition-base);
  display: block;
}
.notice-item:hover .notice-title { color: var(--primary); }
.notice-date { font-size: 0.75rem; color: var(--text-muted); margin-top: var(--spacing-xs); }

/* Quick links */
.quick-link-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: all var(--transition-base);
  text-decoration: none;
}
.quick-link-item:last-child { border-bottom: none; }
.quick-link-item:hover { color: var(--primary); padding-left: var(--spacing-xs); }

/* Student corner buttons */
.student-corner-btn {
  display: block;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--spacing-xs);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition-base);
  text-decoration: none;
}
.student-corner-btn:hover { opacity: 0.88; transform: translateX(3px); }
.student-corner-btn:last-child { margin-bottom: 0; }

/* ===== WIDGET CONTENT ===== */
.widget-content {
  font-size: 0.875rem;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.widget-content > * {
  max-width: 100%;
}
.widget-content img,
.widget-content iframe,
.widget-content video,
.widget-content table,
.widget-content pre {
  max-width: 100%;
  height: auto;
  display: block;
}
.widget-content table {
  width: 100%;
  table-layout: fixed;
}
.widget-content iframe {
  width: 100%;
}
.widget-content a {
  word-break: break-word;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--green-dark) 0%, #06331F 60%, #05291A 100%);
  color: #cbd5e1;
  padding: 0 0 0;
  margin-top: var(--spacing-2xl);
  overflow: hidden;
}
/* Homepage only: pull the wave footer closer to the last section.
   Scoped via .home-main so every other page keeps the default 48px gap. */
.home-main + .site-footer {
  margin-top: var(--space-6);
}
.footer-wave {
  display: block;
  width: 100%;
  line-height: 0;
  margin-bottom: var(--spacing-3xl);
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
  fill: #F8F8F3;                       /* blends into page background */
}
.footer-logo {
  max-height: 84px;
  width: auto;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
}
.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--gold);      /* gold underline */
  display: inline-block;
}
/* Footer brand lockup: institute logo + name on one row (About column) */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}
.footer-brand .footer-logo {
  margin-bottom: 0;
  max-height: 54px;
  flex-shrink: 0;
}
.footer-brand .footer-brand-name {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;                       /* lockup — not a section heading */
  font-size: 1.15rem;
  line-height: 1.3;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: var(--spacing-xs) 0;
  transition: all var(--transition-base);
  text-decoration: none;
}
.footer-link svg { color: var(--gold); }
.footer-link:hover { color: var(--gold); padding-left: var(--spacing-xs); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-contact-item svg { stroke: var(--gold); }
.footer-contact-item a { color: var(--text-muted); transition: color var(--transition-base); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-social { display: flex; gap: var(--spacing-sm); margin-top: var(--spacing-lg); }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-base);
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
  transform: translateY(-2px);
}
.footer-bottom {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 0;                          /* thin copyright strip */
  margin-top: var(--spacing-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-bottom a { color: #f0c94a; transition: color var(--transition-base); }
.footer-bottom a:hover { color: var(--gold); }
/* Bangladesh map decoration — bottom-right watermark */
.footer-map {
  position: absolute;
  right: -30px;
  bottom: -10px;
  width: 340px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.footer-map svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lb-fade 0.2s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}
.lightbox-close {
  position: absolute;
  top: var(--spacing-xl);
  right: var(--spacing-xl);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background var(--transition-base);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: none;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== UTILITY ===== */
.justified-text { text-align: justify; }
.hidden { display: none !important; }
.lg\:block  { display: none; }
.lg\:flex   { display: none; }
.sm\:inline-flex { display: none; }

@media (min-width: 640px)  { .sm\:inline-flex { display: inline-flex; } }
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .hidden.lg\:block { display: block !important; }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Desktop - 1200px and up */
@media (min-width: 1200px) {
  .hero-text h1 {
    font-size: 3rem;
    max-width: 100%;
  }
}

/* Large Desktop - 1400px and up */
@media (min-width: 1400px) {
  .hero-text h1 {
    font-size: 3.5rem;
    max-width: 100%;
  }
  .hero-text {
    padding: var(--spacing-3xl) var(--spacing-2xl);
    margin-left: var(--spacing-2xl);
  }
}

/* Tablet - up to 1023px */
@media (max-width: 1023px) {
  .hero-wrapper {
    display: block;
    position: relative;
  }

  .hero-container {
    width: 100%;
    position: relative;
  }

  .hero-notice-board {
    position: static;
    width: 100%;
    margin-top: var(--spacing-xl);
  }

  .notice-board-widget {
    height: 230px;
  }

  aside {
    display: block !important;
    width: 100% !important;
  }

  main > div {
    flex-direction: column !important;
  }

  .hero-text {
    max-width: 80%;
    padding: var(--spacing-xl);
  }

  .hero-text h1 {
    font-size: 2.25rem;
    max-width: 100%;
  }

  .hero-swiper .swiper-slide img {
    height: 420px;
  }

  .hero-buttons {
    gap: var(--spacing-md);
  }

  .hero-stats-wrapper > section > div {
    padding: var(--spacing-lg);
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-lg) !important;
  }

  .management-grid {
    grid-template-columns: 40% 60%;
    gap: var(--spacing-lg);
  }
}

/* Mobile - up to 767px */
@media (max-width: 767px) {
  .hero-wrapper {
    display: block;
    position: relative;
  }

  .hero-container {
    width: 100%;
    position: relative;
  }

  .hero-notice-board {
    position: static;
    width: 100%;
    margin-top: var(--spacing-xl);
  }

  .notice-board-widget {
    height: 280px;
  }

  .hero-swiper .swiper-slide img {
    height: 300px;
  }

  .hero-swiper {
    min-height: 200px;
  }

  .hero-text {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.2;
    max-width: 100%;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(8, 35, 74, 0.80) 0%,
      rgba(8, 35, 74, 0.55) 40%,
      rgba(8, 35, 74, 0.15) 100%
    );
  }

  .hero-buttons {
    gap: var(--spacing-sm);
    flex-direction: column;
  }

  .hero-stats-wrapper {
    padding: 0 var(--spacing-sm);
  }

  .hero-stats-wrapper > section > div {
    padding: var(--spacing-sm) 0.3rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
  }

  .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-align: center;
  }

  .stat-icon,
  .stat-item .stat-icon {
    width: 32px;
    height: 32px;
    grid-row: auto;
    grid-column: auto;
  }

  .stat-number {
    font-size: 0.9rem;
    grid-row: auto;
    grid-column: auto;
  }

  .stat-label {
    font-size: 0.62rem;
    line-height: 1.1;
    grid-row: auto;
    grid-column: auto;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 0.9375rem;
  }

  .gallery-row-2col {
    grid-template-columns: 1fr !important;
  }

  .about-card {
    padding: var(--spacing-lg);
  }

  .footer-heading {
    font-size: 1rem;
  }

  .management-section-card {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  .management-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  .president-column {
    text-align: center;
  }
  .committee-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .committee-title {
    font-size: 1.15rem;
  }
}

/* Small Mobile - up to 480px */
@media (max-width: 480px) {
  .hero-wrapper {
    display: block;
    position: relative;
  }

  .hero-container {
    width: 100%;
  }

  .hero-notice-board {
    position: static;
    width: 100%;
    margin-top: var(--spacing-xl);
  }

  .hero-swiper .swiper-slide img {
    height: 250px;
  }

  .hero-text {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 1.625rem;
    margin-bottom: var(--spacing-xs);
    max-width: 100%;
  }

  .hero-text p {
    display: none;
  }

  .hero-meta {
    display: none;
  }

  .hero-buttons {
    gap: var(--spacing-xs);
    flex-direction: column;
    margin-top: 50px;
    width: 50%;

  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.875rem;
  }

  .notice-board-widget {
    height: 240px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
  }

  .hero-stats-wrapper {
    padding: 0 var(--spacing-xs);
  }

  .stat-card {
    padding: var(--spacing-xs) 0;
    gap: 0.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stat-number {
    font-size: 0.82rem;
  }

  .stat-label {
    font-size: 0.56rem;
  }

  .stat-icon,
  .stat-item .stat-icon {
    width: 28px;
    height: 28px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 50%;
    grid-row: auto;
    grid-column: auto;
  }

  .hero-stats-wrapper > section > div {
    padding: var(--spacing-sm) 0.2rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.2rem !important;
  }

  .hero-container .swiper-button-prev,
  .hero-container .swiper-button-next {
    display: none;
  }
}

/* Tailwind layer: ensure hidden works with lg:block override */
@media (min-width: 1024px) {
  .hidden.lg\:block { display: block !important; }
}

/* ===== SCHOOL SCHEDULE STYLES ===== */
.school-schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  font-size: 0.875rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.school-schedule-item:last-child {
  border-bottom: none;
}
.school-schedule-title {
  font-weight: 600;
  color: var(--dark);
  flex: 1;
}
.school-schedule-time {
  font-weight: 600;
  color: var(--primary);
  min-width: 70px;
  text-align: right;
}

/* ===== MANAGEMENT COMMITTEE SECTION ===== */
.management-section-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.management-section-card:hover {
  box-shadow: var(--shadow-md);
}
.management-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 350px;
  gap: 1.25rem;
  align-items: start;
}
.president-column {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.5rem;
  align-items: start;
}
.president-profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.president-message-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.president-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(21, 128, 61, 0.18);
  border: 4px solid #E8ECF3;
  transition: all var(--transition-base);
}
.president-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(21, 128, 61, 0.24);
}
.president-name-wrap {
  margin-top: 0.9rem;
}
.president-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.president-designation {
  font-size: 0.75rem;
  color: #118847;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.president-message {
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.committee-column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  align-self: stretch;
}
.committee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}
.committee-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #1E3A8A;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}
.committee-members-grid {
  display: grid;
  gap: var(--spacing-sm);
}
.committee-member-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}
.committee-member-card:hover {
  border-color: #15803D;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-avatar svg {
  width: 24px;
  height: 24px;
  fill: #15803D;
}
.member-info {
  flex: 1;
  min-width: 0;
}
.member-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 2px;
}
.member-designation {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.member-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}
.committee-member-card:hover .member-arrow {
  background: #15803D;
  transform: translateX(4px);
}
.member-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
  stroke-width: 2;
}
.committee-member-card:hover .member-arrow svg {
  stroke: var(--white);
}
.committee-bottom-btn {
  margin-top: var(--spacing-sm);
  text-align: center;
}
@media (max-width: 767px) {
  /* Students of the year */
  .teacher-card .teacher-avatar {
    width: 72px;
    height: 72px;
  }

  .teacher-card .teacher-contact svg {
    width: 10px;
    height: 10px;
  }

  /* Photo gallery + video gallery */
  section div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .photo-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-xs) !important;
  }

  /* Video cards */
  .video-card {
    margin-bottom: var(--spacing-sm);
  }

  /* Events/news section */
  section div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md) !important;
  }

  .news-card img {
    height: 160px;
  }

  .news-card > div {
    padding: var(--spacing-md);
  }

  .news-date-badge {
    min-width: 55px;
    padding: var(--spacing-xs);
  }

  .news-date-badge .day {
    font-size: 1.25rem;
  }

  .news-date-badge .month {
    font-size: 0.7rem;
  }

  .news-card > div > div > div > div:first-child {
    font-size: 0.875rem;
  }

  .news-card > div > div > div > div:last-child {
    font-size: 0.75rem;
  }

  .btn-outline-modern {
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  /* Sidebar - hidden on mobile, can be shown in a different way if needed */
  aside {
    display: none !important;
  }

  /* Footer */
  .site-footer {
    padding: 0;
    margin-top: var(--spacing-xl);
  }

  .footer-wave {
    margin-bottom: var(--spacing-xl);
  }

  .footer-wave svg {
    height: 46px;
  }

  .footer-logo {
    max-height: 50px;
    margin-bottom: var(--spacing-sm);
  }

  .footer-heading {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }

  .footer-link {
    font-size: 0.8125rem;
    padding: var(--spacing-xs) 0;
  }

  .footer-contact-item {
    font-size: 0.8125rem;
  }

  .footer-social {
    gap: var(--spacing-xs);
  }
}

/* ============================================================
   REUSABLE CARD SYSTEM (2026 Redesign)
   Base: .card  →  Modifiers: .card-hover, .card-soft, .card-icon-top
   Used by: Quick Action Cards, Principal card, Notice board, etc.
   ============================================================ */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
}

/* --- Hover lift (used on clickable cards) --- */
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 93, 59, 0.25);
}

/* --- Soft tinted card (light green wash, e.g. notice board body) --- */
.card-soft {
  background: var(--green-soft);
  border-color: rgba(11, 93, 59, 0.12);
}

/* --- Card header strip (colored top band for widgets/notice board) --- */
.card-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
}
.card-strip--gold { background: var(--gold); color: var(--green-dark); }
.card-strip--red  { background: #C0392B; }
.card-strip .card-strip-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
}
.card-strip--gold .card-strip-link { color: rgba(8, 70, 44, 0.8); }
.card-strip .card-strip-link:hover { color: var(--white); text-decoration: underline; }
.card-strip--gold .card-strip-link:hover { color: var(--green-dark); }

/* --- Card body padding helper --- */
.card-body { padding: var(--space-4); }
.card-body--flush { padding: var(--space-2) var(--space-4); }

/* --- Icon badge (circular tinted icon holder) --- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--green-soft);
  color: var(--green);
  flex-shrink: 0;
}
.icon-badge--gold { background: var(--gold-soft); color: #9a7b1e; }
.icon-badge--circle { border-radius: var(--radius-full); }
.icon-badge--sm { width: 36px; height: 36px; }

/* --- Section header (2026): green bar + gold accent variant --- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(11, 93, 59, 0.12);
}
.section-head__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
}
.section-head__title::before {
  content: '';
  width: 5px;
  height: 26px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--green) 0%, var(--gold) 100%);
}
.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.section-head__link:hover { color: var(--green-dark); }

/* --- Link arrow chip (used in section headers / cards) --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}
.link-arrow:hover { color: var(--green-dark); }
.link-arrow svg { transition: transform var(--transition-fast); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --- Homepage container (replaces inline max-width/margin) --- */
.container-home {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

/* --- Section spacing helper (replaces inline margin:1.75rem 0) --- */
.home-section { margin: var(--space-10) 0; }
.home-section--tight { margin: var(--space-6) 0; }

