/* ============================================================
   SWASTIK SAVING & CREDIT COOPERATIVE LTD.
   Main Stylesheet — Bilingual (Nepali / English)
   Theme: Dark Green · Dark Red · White
   ============================================================ */

/* ══ PRELOADER ══════════════════════════════════════════════ */
.v2-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.v2-preloader.v2-pl-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.v2-pl-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 0 24px;
}

.v2-pl-seal {
  width: 88px;
  height: 88px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.15), 0 0 0 12px rgba(255,255,255,0.07);
  animation: v2PlPulse 2s ease-in-out infinite;
  overflow: hidden;
}

.v2-pl-seal img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.v2-pl-name {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.v2-pl-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: -12px;
  letter-spacing: 0.02em;
}

.v2-pl-bar {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.v2-pl-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-300), var(--green-700));
  border-radius: 2px;
  animation: v2PlFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes v2PlPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255,255,255,0.15), 0 0 0 12px rgba(255,255,255,0.07); }
  50%       { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(255,255,255,0.18), 0 0 0 16px rgba(255,255,255,0.08); }
}

@keyframes v2PlFill {
  0%   { width: 0; }
  60%  { width: 75%; }
  100% { width: 100%; }
}
/* ══ END PRELOADER ══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Nepali:ital@0;1&family=Noto+Sans+Devanagari:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Core Palette */
  --green-900: #0f4d24;
  --green-800: #146632;
  --green-700: #1a7a3c;
  --green-600: #228845;
  --green-500: #2ea050;
  --green-400: #43b866;
  --green-300: #68cc84;
  --green-100: #c8f0d4;
  --green-50: #e8f7ec;

  --red-900: #3b0a0a;
  --red-800: #5a1010;
  --red-700: #7a1515;
  --red-600: #991c1c;
  --red-500: #b82020;
  --red-400: #d43232;
  --red-100: #fde8e8;

  --white: #ffffff;
  --off-white: #f8f6f2;
  --gray-100: #f0eeeb;
  --gray-200: #e2dfda;
  --gray-400: #9e9a94;
  --gray-600: #5c5852;
  --gray-800: #2c2a27;
  --black: #111110;

  /* Semantic */
  --primary: var(--green-500);
  --primary-dark: var(--green-700);
  --primary-light: var(--green-300);
  --accent: var(--red-500);
  --accent-dark: var(--red-700);
  --accent-light: var(--red-400);
  --surface: var(--white);
  --surface-alt: var(--off-white);
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-600);
  --text-light: var(--gray-400);
  --border: var(--gray-200);

  /* Typography */
  --font-display: 'Playfair Display', 'Tiro Devanagari Nepali', serif;
  --font-nepali: 'Noto Sans Devanagari', sans-serif;
  --font-body: 'Source Sans 3', 'Noto Sans Devanagari', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Header height */
  --header-h: 72px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Nepali text class */
.ne,
[lang="ne"] {
  font-family: var(--font-nepali);
  line-height: 1.8;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* ── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--green-900);
  line-height: 1.25;
}

.ne h1,
.ne h2,
.ne h3,
h1.ne,
h2.ne,
h3.ne {
  font-family: var(--font-nepali);
  font-weight: 700;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-sm);
  color: var(--green-900);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(27, 74, 40, 0.35);
}

.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 74, 40, 0.45);
}

.btn-accent {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(153, 28, 28, 0.35);
}

.btn-accent:hover {
  background: var(--red-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(153, 28, 28, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-700);
}

.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* ── Top Bar ───────────────────────────────────────────────── */
.topbar {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  padding: 6px 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar-item svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

/* Language toggle — sliding pill */
.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px;
}

.lang-toggle::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  background: var(--accent);
  border-radius: 16px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

.lang-toggle[data-active="en"]::before {
  transform: translateX(100%);
}

.lang-btn {
  position: relative;
  z-index: 1;
  padding: 3px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s ease;
  user-select: none;
  min-width: 32px;
  text-align: center;
}

.lang-btn.active {
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Notice Ticker ─────────────────────────────────────────── */
.notice-ticker {
  background: var(--green-800);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  position: sticky;
  top: var(--header-h);
  z-index: 998;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-label {
  background: var(--green-600);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-track a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}

.ticker-track a:hover {
  color: var(--green-300);
  text-decoration: underline;
}

.ticker-track a::before {
  content: '●';
  color: var(--green-300);
  margin-right: 0.75rem;
  font-size: 0.45rem;
  vertical-align: middle;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

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

.navbar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.logo-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(27, 74, 40, 0.3);
  overflow: hidden;
}

.logo-emblem svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}


.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.1;
}

.logo-name-ne {
  font-family: var(--font-nepali);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.3;
}

.logo-tagline {
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dropdown a:hover {
  background: var(--green-50);
  color: var(--green-700);
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(42, 115, 64, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(153, 28, 28, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-900) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 36px 36px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  padding: var(--space-4xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--green-300);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero-title .highlight {
  color: var(--green-300);
  position: relative;
}

.hero-title-ne {
  font-family: var(--font-nepali);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.hero-stat-label .ne {
  font-family: var(--font-nepali);
  font-size: 0.78rem;
}

/* Hero right side card */
.hero-card-wrap {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  color: var(--white);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.hero-card-title .ne {
  font-family: var(--font-nepali);
  font-size: 1rem;
  opacity: 0.8;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.notice-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--green-400);
  transition: all var(--transition);
  cursor: pointer;
}

.notice-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.notice-item.urgent {
  border-left-color: var(--red-400);
}

.notice-date {
  font-size: 0.72rem;
  color: var(--green-300);
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
  min-width: 36px;
}

.notice-date .month {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


.notice-title-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 2px;
}

.notice-tag {
  display: inline-block;
  font-size: 0.68rem;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
}

.notice-tag.new {
  background: rgba(58, 148, 85, 0.3);
  color: var(--green-300);
}

.notice-tag.urgent {
  background: rgba(212, 50, 50, 0.3);
  color: #f99;
}

/* ── Section Base ──────────────────────────────────────────── */
.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  background: var(--green-900);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .section-label {
  color: var(--green-300);
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200, var(--green-100));
}

.card-body {
  padding: var(--space-xl);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.card-icon.green {
  background: var(--green-50);
  color: var(--green-700);
}

.card-icon.red {
  background: var(--red-100);
  color: var(--red-600);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── Grid Layouts ──────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  padding: var(--space-2xl) 0;
  border-top: 3px solid var(--red-700);
  border-bottom: 3px solid var(--red-700);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number span {
  color: var(--green-300);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.stat-label .ne {
  font-family: var(--font-nepali);
  font-size: 0.8rem;
}

/* ── Services Section ──────────────────────────────────────── */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.savings::before {
  background: var(--green-500);
}

.service-card.loan::before {
  background: var(--red-600);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.service-card.savings .service-icon {
  background: var(--green-50);
}

.service-card.loan .service-icon {
  background: var(--red-100);
}

/* ── Loan card meta strip ──────────────────────────────────── */
.svc-loan-meta {
  display: flex;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  padding: var(--space-md);
  background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-100);
}

.svc-loan-meta-item {
  flex: 1;
  text-align: center;
}

.svc-loan-meta-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 3px;
}

.svc-loan-meta-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-800);
}

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

.notice-board-header {
  background: var(--green-800);
  color: var(--white);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice-board-header h3 {
  color: var(--white);
  font-size: 1rem;
}

.notice-board-body {
  padding: var(--space-lg);
}

.notice-row {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background var(--transition);
  border-radius: var(--radius-sm);
}

.notice-row:last-child {
  border-bottom: none;
}

.notice-row:hover {
  background: var(--green-50);
  padding-left: 8px;
}

.notice-row-date {
  font-size: 0.75rem;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 80px;
}

.notice-row-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.notice-row-text small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

.badge-new {
  background: var(--green-100);
  color: var(--green-700);
}

.badge-urgent {
  background: var(--red-100);
  color: var(--red-600);
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-label .ne {
  font-family: var(--font-nepali);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(42, 115, 64, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e9a94' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-error {
  font-size: 0.78rem;
  color: var(--red-600);
  margin-top: 4px;
}

/* ── Calculator ────────────────────────────────────────────── */
.calc-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.calc-tabs {
  display: flex;
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
}

.calc-tab {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}

.calc-tab.active {
  background: var(--white);
  color: var(--green-700);
  border-bottom-color: var(--green-600);
}

.calc-body {
  padding: var(--space-2xl);
}

.calc-result {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--white);
  text-align: center;
  margin-top: var(--space-xl);
}

.calc-result-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.calc-result-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.calc-breakdown-item {
  text-align: center;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.calc-breakdown-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.calc-breakdown-lbl {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.range-wrap {
  position: relative;
  margin-top: var(--space-sm);
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: var(--green-100);
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-700);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(27, 74, 40, 0.3);
}

/* ── Member Login / Dashboard ──────────────────────────────── */
.login-wrap {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-3xl);
  border: 1px solid var(--border);
}

.login-logo {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.login-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: var(--space-sm);
}

.login-subtitle {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Dashboard */
.dashboard-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--header-h));
}

.sidebar {
  background: #fff;
  border-right: 1px solid #e4e7eb;
  padding: var(--space-xl) 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.sidebar-user {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid #e4e7eb;
  margin-bottom: var(--space-lg);
}

.sidebar-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.sidebar-name {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.95rem;
}

.sidebar-id {
  font-size: 0.75rem;
  color: var(--text-light);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.65rem var(--space-xl);
  font-size: 0.88rem;
  font-weight: 500;
  color: #4a5568;
  transition: all var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--green-50);
  color: var(--green-800);
  border-right: 3px solid var(--green-600);
}

.sidebar-nav a svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.sidebar-nav a.active svg {
  opacity: 1;
}

.sidebar-section-label {
  padding: var(--space-lg) var(--space-xl) var(--space-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aab4be;
}

.main-content {
  background: var(--gray-100);
  padding: var(--space-2xl);
  overflow-y: auto;
}

.page-title {
  font-size: 1.4rem;
  color: var(--green-900);
  margin-bottom: 4px;
}

.page-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.dash-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.dash-card-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.dash-card-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green-900);
}

.dash-card-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.dash-card.accent .dash-card-value {
  color: var(--red-600);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.status-active {
  background: var(--green-100);
  color: var(--green-700);
}

.status-pending {
  background: #fff8e1;
  color: #b7791f;
}

.status-rejected {
  background: var(--red-100);
  color: var(--red-600);
}

/* ── Stepper (Loan Tracking) ───────────────────────────────── */
.stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: var(--space-xl) 0;
  overflow-x: auto;
}

.step {
  flex: 1;
  min-width: 100px;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step.done:not(:last-child)::after {
  background: var(--green-500);
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.step.done .step-circle {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
}

.step.current .step-circle {
  background: var(--white);
  border-color: var(--green-600);
  color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(42, 115, 64, 0.15);
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}

.step.done .step-label {
  color: var(--green-700);
}

.step.current .step-label {
  color: var(--green-700);
  font-weight: 700;
}

/* ── Table ─────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

thead tr {
  background: var(--green-800);
}

thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--green-50);
}

td {
  padding: 0.7rem 1rem;
  color: var(--text-primary);
}

/* ── Team / Board ──────────────────────────────────────────── */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  border: 3px solid var(--green-100);
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--green-900);
}

.team-pos {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.team-pos-ne {
  font-family: var(--font-nepali);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ── Accordion (FAQ) ───────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-900);
  transition: background var(--transition);
  gap: var(--space-md);
}

.accordion-header:hover {
  background: var(--green-50);
}

.accordion-header.open {
  background: var(--green-50);
  color: var(--green-700);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.accordion-header.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 var(--space-lg) var(--space-lg);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: none;
}

.accordion-body.open {
  display: block;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--text-light);
  padding: var(--space-md) 0;
}

.breadcrumb a {
  color: var(--green-600);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-light);
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 60%, var(--red-900) 100%);
  padding: var(--space-3xl) 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 30px 30px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

/* ── Alert / Info Box ──────────────────────────────────────── */
.alert {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.alert-info {
  background: #e8f4fd;
  border-left: 4px solid #2196F3;
  color: #1565c0;
}

.alert-success {
  background: var(--green-50);
  border-left: 4px solid var(--green-500);
  color: var(--green-800);
}

.alert-warning {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  color: #7c5800;
}

.alert-danger {
  background: var(--red-100);
  border-left: 4px solid var(--red-500);
  color: var(--red-800);
}

.alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-info-card {
  background: var(--green-800);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  color: var(--green-300);
}

.contact-detail {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-detail strong {
  color: var(--white);
  display: block;
  font-size: 0.92rem;
}

/* ── Map Placeholder ───────────────────────────────────────── */
.map-placeholder {
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 2px dashed var(--border);
  text-align: center;
  padding: var(--space-xl);
}

/* ── Download Section ──────────────────────────────────────── */
.download-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
  margin-bottom: var(--space-sm);
}

.download-item:hover {
  border-color: var(--green-400);
  background: var(--green-50);
  transform: translateX(4px);
}

.download-icon {
  width: 42px;
  height: 42px;
  background: var(--red-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-icon svg {
  color: var(--red-600);
  width: 20px;
  height: 20px;
}

.download-info {
  flex: 1;
}

.download-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.download-meta {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  margin: var(--space-lg) 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social:hover {
  background: var(--green-600);
  border-color: var(--green-600);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--green-300);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--green-300);
  flex-shrink: 0;
}

.footer-contact-item i {
  font-size: 0.82rem;
  color: var(--green-300);
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--green-300);
}

.footer-reg-bar {
  background: var(--red-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--space-sm) 24px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-powered-by {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.72rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.footer-powered-by:hover { color: white; }

/* ── Scroll to Top ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--green-600);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
}

/* ── Utility ───────────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.text-green {
  color: var(--green-700);
}

.text-red {
  color: var(--red-600);
}

.text-white {
  color: var(--white);
}

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

.font-bold {
  font-weight: 700;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.w-full {
  width: 100%;
}

.hidden {
  display: none !important;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid .stat-item:nth-child(2)::after {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .dashboard-wrap {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .topbar-left {
    display: none;
  }

  .dashboard-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .calc-breakdown {
    grid-template-columns: 1fr;
  }

  .team-card .team-avatar {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Mobile Nav Overlay ────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  padding: var(--space-xl);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-nav-links a:hover {
  color: var(--green-700);
}

/* Mobile nav accordion (Services sub-menu) */
.mobile-nav-item {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mobile-nav-toggle:hover {
  color: var(--green-700);
}

.mobile-nav-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.mobile-nav-item.open .mobile-nav-toggle {
  color: var(--green-700);
}

.mobile-nav-item.open .mobile-nav-toggle svg {
  transform: rotate(180deg);
}

.mobile-nav-sub {
  display: none;
  flex-direction: column;
  padding: 0 0 var(--space-sm) var(--space-lg);
  gap: 2px;
}

.mobile-nav-item.open .mobile-nav-sub {
  display: flex;
}

.mobile-nav-sub a {
  display: block;
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: none !important;
}

.mobile-nav-sub a:hover {
  color: var(--green-700);
}

.mobile-nav-sub .mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {

  .header,
  .footer,
  .topbar,
  .scroll-top {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}

/* ============================================================
   LANGUAGE TOGGLE — CSS-DRIVEN SHOW/HIDE
   body[lang="ne"]: show .lang-ne, hide .lang-en
   body[lang="en"]: show .lang-en, hide .lang-ne
   ============================================================ */

/* Default: hide english, show nepali */
.lang-en {
  display: none;
}

.lang-ne {
  display: inline;
}

/* When body has lang="en" */
body[lang="en"] .lang-en {
  display: inline;
}

body[lang="en"] .lang-ne {
  display: none;
}

/* For block-level lang elements */
.lang-en.block,
span.lang-en[style*="block"] {
  display: none;
}

body[lang="en"] .lang-en.block {
  display: block;
}

/* data-lang attribute approach — exclude .lang-btn and .v2-lang-opt so dropdown options stay visible */
[data-lang="en"]:not(.lang-btn):not(.v2-lang-opt):not(.v2-lang-item) {
  display: none;
}

[data-lang="ne"]:not(.lang-btn):not(.v2-lang-opt):not(.v2-lang-item) {
  display: inline;
}

body[lang="en"] [data-lang="en"]:not(.lang-btn):not(.v2-lang-opt):not(.v2-lang-item) {
  display: inline;
}

body[lang="en"] [data-lang="ne"]:not(.lang-btn):not(.v2-lang-opt):not(.v2-lang-item) {
  display: none;
}

/* Block display variants */
body[lang="en"] [data-lang="en"].block-el:not(.v2-lang-opt) {
  display: block;
}

[data-lang="en"].block-el:not(.v2-lang-opt) {
  display: none;
}

body[lang="en"] [data-lang="ne"].block-el:not(.v2-lang-opt) {
  display: none;
}

[data-lang="ne"].block-el:not(.v2-lang-opt) {
  display: block;
}

/* Toggle button active state — color only; the ::before slider provides background */
.lang-btn.active {
  color: var(--white);
}

/* Smooth language switch transition */
[data-key] {
  transition: opacity 0.15s ease;
}

/* ── Service Icon SVG support ──────────────────────────────── */
.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-card.savings .service-icon {
  color: var(--green-500);
}

.service-card.loan .service-icon {
  color: var(--red-500);
}

.service-card .service-icon {
  color: var(--primary);
}

/* ── Board Carousel ────────────────────────────────────────── */
.carousel-wrap {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-sm);
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track .team-card {
  scroll-snap-align: start;
  flex: 0 0 calc(25% - 18px);
  min-width: 180px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
}

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

@media (max-width: 768px) {
  .carousel-track .team-card {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 480px) {
  .carousel-track .team-card {
    flex: 0 0 80vw;
  }
}

/* ── News / Blog Cards ─────────────────────────────────────── */
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.news-thumb {
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-md);
}

.news-thumb svg {
  width: 44px;
  height: 44px;
  opacity: 0.18;
  align-self: flex-end;
}

.news-cat {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.news-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.news-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.45;
}

.news-excerpt {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-md);
}

.news-readmore {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
  transition: color 0.2s;
}

.news-readmore:hover {
  color: var(--green-500);
}

/* ── Mobile App Section ────────────────────────────────────── */
.app-section {
  background: var(--surface-alt);
  overflow: hidden;
  padding-top: var(--space-4xl);
}

.app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.app-text .section-label {
  color: var(--green-600);
}

.app-text .section-title {
  color: var(--green-900);
}

.app-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.app-store-btns {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-700);
  border: 1px solid var(--green-600);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s ease;
  min-width: 150px;
}

.store-btn:hover {
  background: var(--green-800);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-text .store-sub {
  font-size: 0.7rem;
  opacity: 0.7;
  line-height: 1;
}

.store-btn-text .store-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.app-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-frame {
  width: 240px;
  height: 480px;
  background: var(--green-800);
  border-radius: 36px;
  border: 6px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-frame::before {
  content: '';
  display: block;
  width: 80px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.phone-frame img {
  width: 100%;
  flex: 1;
  object-fit: cover;
}

.phone-frame-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  gap: var(--space-md);
}

.phone-frame-placeholder .pf-logo {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame-placeholder .pf-logo svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.phone-frame-placeholder .pf-title {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

.phone-frame-placeholder .pf-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  width: 80%;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE — abt-* components
══════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */
.abt-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  background: var(--green-900);
  overflow: hidden;
}

.abt-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner-1.jpg') center / cover no-repeat;
  opacity: 0.18;
}

.abt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-900) 60%, var(--green-800) 100%);
  opacity: 0.85;
}

.abt-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 48px;
}

.abt-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.abt-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.abt-hero-breadcrumb a:hover { color: white; }

.abt-hero-breadcrumb i {
  font-size: 0.6rem;
  opacity: 0.5;
}

.abt-hero-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.15;
}

.abt-hero-desc {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  line-height: 1.65;
}

/* ── About page header (new compact design) ────────────────── */
.abt-page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 100%);
}
.abt-page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--green-300), var(--green-400));
}
.abt-ph-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner-1.jpg') center / cover no-repeat;
  opacity: 0.07;
  mix-blend-mode: luminosity;
}
.abt-ph-rings {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.abt-ph-ring {
  display: block;
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.abt-ph-ring-1 { width: 100px; height: 100px; border: 1.5px solid rgba(255,255,255,0.14); }
.abt-ph-ring-2 { width: 200px; height: 200px; border: 1px solid rgba(255,255,255,0.08); }
.abt-ph-ring-3 { width: 300px; height: 300px; border: 1px solid rgba(255,255,255,0.05); }
.abt-ph-inner {
  position: relative;
  z-index: 2;
  padding-top: 12px;
  padding-bottom: 12px;
}
.abt-ph-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.48);
  margin-bottom: 8px;
}
.abt-ph-breadcrumb a { color: rgba(255,255,255,0.48); text-decoration: none; transition: color .15s; }
.abt-ph-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.abt-ph-breadcrumb i { font-size: 0.5rem; }
.abt-ph-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}
.abt-ph-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.6;
  margin: 0;
}

/* ── Secondary sticky nav ──────────────────────────────────── */
.abt-sec-nav {
  position: sticky;
  top: 114px;
  z-index: 90;
  background: white;
  border-bottom: 2px solid var(--green-100);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.abt-sec-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.abt-sec-nav-inner::-webkit-scrollbar { display: none; }

.abt-sec-link {
  display: inline-block;
  padding: 14px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -2px;
}

.abt-sec-link:hover { color: var(--green-700); }

.abt-sec-link.abt-active {
  color: var(--green-700);
  border-bottom-color: var(--green-700);
}

/* ── Dropdown icon helper ──────────────────────────────────── */
.abt-drop-icon {
  font-size: 0.8em;
  color: var(--green-500);
  margin-right: 2px;
}

/* ── Intro grid ────────────────────────────────────────────── */
.abt-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.abt-intro-underline {
  width: 52px;
  height: 4px;
  background: var(--green-700);
  border-radius: 2px;
  margin: 12px 0 20px;
}

.abt-intro-p {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 14px;
}

.abt-intro-stats {
  display: flex;
  gap: 28px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.abt-intro-stat { text-align: center; }

.abt-intro-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
}

.abt-intro-stat-lbl {
  font-size: 0.75rem;
  color: #777;
  margin-top: 4px;
}

.abt-intro-img-col { position: relative; }

.abt-intro-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.abt-intro-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.abt-intro-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--green-700);
  color: white;
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--green-700) 35%, transparent);
}

.abt-img-badge-year {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.abt-img-badge-lbl {
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 3px;
}

/* ── Timeline ──────────────────────────────────────────────── */
.abt-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}

.abt-tl-item {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: start;
  min-height: 160px;
}

.abt-tl-reverse .abt-tl-content { order: 3; }
.abt-tl-reverse .abt-tl-center  { order: 2; }
.abt-tl-reverse .abt-tl-img-col { order: 1; }

.abt-tl-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 20px;
}

.abt-tl-dot {
  width: 48px;
  height: 48px;
  background: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--green-700) 30%, transparent);
  flex-shrink: 0;
  z-index: 1;
}

.abt-tl-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-50);
  border: 1.5px solid var(--green-100);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

.abt-tl-line {
  width: 2px;
  flex: 1;
  min-height: 60px;
  background: var(--green-100);
  border-radius: 1px;
}

.abt-tl-content {
  padding: 24px 20px;
}

.abt-tl-left { text-align: right; }
.abt-tl-right { text-align: left; }

.abt-tl-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}

.abt-tl-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

.abt-tl-img-col { padding: 24px 16px; }

.abt-tl-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ── Vision / Mission ──────────────────────────────────────── */
.abt-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.abt-vm-card {
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.abt-vm-vision {
  background: var(--green-900);
  color: white;
}

.abt-vm-mission {
  background: white;
  border: 2px solid var(--green-100);
  color: var(--green-900);
  display: flex;
  flex-direction: column;
}

.abt-vm-deco-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  right: -50px;
  top: -50px;
  pointer-events: none;
}

.abt-vm-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: white;
}

.abt-vm-mission .abt-vm-icon {
  background: var(--green-50);
  color: var(--green-700);
}

.abt-vm-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.abt-vm-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.abt-vm-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 0.92;
}

.abt-vm-list li i {
  color: var(--green-400);
  margin-top: 2px;
  flex-shrink: 0;
}

.abt-vm-mission .abt-vm-list li { opacity: 1; }
.abt-vm-mission .abt-vm-list li i { color: var(--green-600); }

.abt-vm-quote {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.75;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  margin-top: auto;
}

.abt-vm-mission-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--green-100);
}

.abt-vm-tag {
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 4px 12px;
  border: 1px solid var(--green-100);
}

/* ── Objectives ────────────────────────────────────────────── */
.abt-objectives {
  background: var(--green-50);
  border-radius: 16px;
  padding: 32px 36px;
}

.abt-obj-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 24px;
}

.abt-obj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.abt-obj-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.abt-obj-icon {
  width: 40px;
  height: 40px;
  background: var(--green-700);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.abt-obj-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.abt-obj-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-900);
}

.abt-obj-text span {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

/* ── Leader Messages ───────────────────────────────────────── */
.abt-leader {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--green-100);
}

.abt-leader:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.abt-leader-reverse {
  grid-template-columns: 1fr 260px;
}

.abt-leader-reverse .abt-leader-img-col { order: 2; }
.abt-leader-reverse .abt-leader-text    { order: 1; }

.abt-leader-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: block;
}

.abt-leader-role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 8px;
}

.abt-leader-name-ne {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.2;
  margin-bottom: 2px;
}

.abt-leader-name-en {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 20px;
}

.abt-leader-quote-mark {
  font-size: 4rem;
  line-height: 0.8;
  color: var(--green-100);
  font-family: Georgia, serif;
  margin-bottom: 8px;
  display: block;
}

.abt-leader-msg {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.abt-leader-sig {
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-700);
}

/* ── Core Values ───────────────────────────────────────────── */
.abt-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.abt-value-card {
  background: white;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1.5px solid var(--green-100);
  transition: transform 0.2s, box-shadow 0.2s;
}

.abt-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.abt-value-icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.abt-value-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 10px;
}

.abt-value-desc {
  font-size: 0.87rem;
  color: #666;
  line-height: 1.65;
}

/* ── People / Team grids ───────────────────────────────────── */
.abt-people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.abt-team-grid {
  grid-template-columns: repeat(5, 1fr);
}

.abt-person-card {
  background: white;
  border-radius: 14px;
  border: 1.5px solid var(--green-100);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.abt-person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.abt-person-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.abt-person-desig-badge {
  display: inline-block;
  margin: 14px auto 6px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 10px;
  border: 1px solid var(--green-100);
}

.abt-person-name-ne {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-900);
  padding: 0 12px;
  line-height: 1.3;
}

.abt-person-name-en {
  font-size: 0.75rem;
  color: #888;
  padding: 2px 12px 0;
}

.abt-person-contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px 16px;
  border-top: 1px solid var(--green-50);
  margin-top: 6px;
}

.abt-contact-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.abt-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.abt-contact-phone {
  background: var(--green-50);
  color: var(--green-700);
  border: 1.5px solid var(--green-100);
}

.abt-contact-phone:hover {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
}

.abt-contact-email {
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
}

.abt-contact-email:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

/* ── Stats counter (dark section) ─────────────────────────── */
.abt-stats-deco-1,
.abt-stats-deco-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.abt-stats-deco-1 {
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.03);
  top: -80px;
  left: -80px;
}

.abt-stats-deco-2 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  bottom: -40px;
  right: -40px;
}

.abt-stats-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: white;
  padding: var(--space-xl) 0;
}

.abt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.abt-stat-item {
  text-align: center;
  padding: 20px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.abt-stat-icon {
  font-size: 1.4rem;
  color: var(--green-300);
  margin-bottom: 8px;
}

.abt-stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}

.abt-stat-lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.abt-stat-lbl-en {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

/* ── Red accent divider ─────────────────────────────────────── */
.abt-red-divider {
  background: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  height: 10px;
}

.abt-rd-bar {
  flex: 1;
  height: 4px;
  background: #c0392b;
}

.abt-rd-diamond {
  width: 28px;
  height: 28px;
  background: #c0392b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  flex-shrink: 0;
  border: 2px solid var(--green-900);
  position: relative;
  z-index: 1;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .abt-people-grid { grid-template-columns: repeat(3, 1fr); }
  .abt-team-grid   { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .abt-intro-grid { grid-template-columns: 1fr; }
  .abt-intro-img-col { order: -1; }

  .abt-tl-item {
    grid-template-columns: 56px 1fr;
    min-height: unset;
  }
  .abt-tl-center {
    grid-column: 1;
    grid-row: 1 / 3;
    padding-top: 24px;
    align-items: center;
  }
  .abt-tl-content {
    grid-column: 2;
    grid-row: 1;
    padding: 20px 16px;
    text-align: left !important;
  }
  .abt-tl-img-col {
    grid-column: 2;
    grid-row: 2;
    padding: 0 16px 20px;
  }
  .abt-tl-reverse .abt-tl-content,
  .abt-tl-reverse .abt-tl-center,
  .abt-tl-reverse .abt-tl-img-col { order: unset; }

  .abt-vm-grid { grid-template-columns: 1fr; }

  .abt-leader {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .abt-leader-reverse { grid-template-columns: 1fr; }
  .abt-leader-reverse .abt-leader-img-col,
  .abt-leader-reverse .abt-leader-text { order: unset; }
  .abt-leader-img {
    max-width: 200px;
    aspect-ratio: 1;
    border-radius: 50%;
  }

  .abt-values-grid { grid-template-columns: repeat(2, 1fr); }
  .abt-people-grid { grid-template-columns: repeat(2, 1fr); }
  .abt-team-grid   { grid-template-columns: repeat(3, 1fr); }
  .abt-stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .abt-obj-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .abt-hero-content { padding-top: 40px; padding-bottom: 32px; }
  .abt-intro-stats  { gap: 16px; }
  .abt-values-grid  { grid-template-columns: 1fr; }
  .abt-people-grid,
  .abt-team-grid    { grid-template-columns: repeat(2, 1fr); }
  .abt-stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .abt-vm-card      { padding: 28px 20px; }
  .abt-objectives   { padding: 24px 20px; }
  .abt-sec-link     { padding: 12px 14px; }
}

@media (max-width: 400px) {
  .abt-people-grid,
  .abt-team-grid { grid-template-columns: 1fr; }
}

/* ── Footer logo — white colour overrides ──────────────────── */
.v2-footer-logo .v2-logo-ne { color: white; }
.v2-footer-logo .v2-logo-en { color: rgba(255, 255, 255, 0.65); }
.v2-footer-logo .v2-logo-sub { color: rgba(255, 255, 255, 0.45); }
.v2-footer-logo .v2-logo-seal {
  border-color: rgba(255, 255, 255, 0.35);
  background: white;
}

.phone-frame-placeholder .pf-bar-short {
  width: 55%;
}

.phone-frame-placeholder .pf-stat-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.phone-frame-placeholder .pf-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame-placeholder .pf-stat-val {
  color: var(--green-300);
  font-weight: 700;
  font-size: 0.85rem;
}

.phone-frame-placeholder .pf-stat-lbl {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .app-content {
    grid-template-columns: 1fr;
  }

  .app-phone {
    order: -1;
  }

  .phone-frame {
    width: 200px;
    height: 380px;
  }
}

/* ── Login page improvements ───────────────────────────────── */
.login-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.login-icon-wrap svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.pwd-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-secondary);
  line-height: 0;
  transition: color 0.2s;
}

.pwd-toggle-btn:hover {
  color: var(--primary);
}

.pwd-toggle-btn svg {
  width: 20px;
  height: 20px;
}

.tab-icon svg {
  width: 16px;
  height: 16px;
  display: inline;
  vertical-align: middle;
  margin-right: 4px;
}

/* ── Responsive: ensure all sections work on mobile ───────── */
@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .page-hero {
    padding: var(--space-2xl) 0;
  }

  .hero-content {
    gap: var(--space-xl);
  }

  .app-store-btns {
    flex-direction: column;
  }

  .store-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   V2 HOMEPAGE (index2.html) — all v2-specific component styles
   ══════════════════════════════════════════════════════════════ */
/* ══ V2 TOP BAR ════════════════════════════════════════════ */
/* ══ TOPBAR ══════════════════════════════════════════════════ */
.v2-topbar {
  background: var(--green-900);
  height: 40px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
  overflow: visible;
}

.v2-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  position: relative;
}

/* ── Left utility pills ── */
.v2-tb-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-tb-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.71rem;
  font-weight: 500;
  padding: 4px 11px;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.01em;
  line-height: 1;
}

.v2-tb-left .v2-tb-link:first-child {
  border-color: rgba(255, 255, 255, 0.18);
}

.v2-tb-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.v2-tb-link i {
  font-size: 0.68rem;
  opacity: 0.9;
  line-height: 1;
}

.v2-tb-link span {
  line-height: 1;
}

.v2-tb-chevron {
  font-size: 0.55rem;
  opacity: 0.7;
  transition: transform 0.2s;
}

/* ── Quick Links dropdown ── */
.v2-tb-drop-wrap {
  position: relative;
}

.v2-tb-drop {
  position: absolute;
  top: 44px;
  left: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  min-width: 195px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 500;
  overflow: hidden;
}

.v2-tb-drop-wrap:hover .v2-tb-drop,
.v2-tb-drop-wrap:focus-within .v2-tb-drop {
  display: block;
}

.v2-tb-drop a {
  display: block;
  padding: 9px 15px;
  font-size: 0.8rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f3f3f3;
  transition: background 0.12s, color 0.12s;
}

.v2-tb-drop a:last-child {
  border-bottom: none;
}

.v2-tb-drop a:hover {
  background: var(--green-50);
  color: var(--green-700);
}

/* ── Topbar contact info (left side) ── */
.v2-tb-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

.v2-tb-info i {
  font-size: 0.68rem;
  opacity: 0.85;
}

.v2-tb-info-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  margin: 0 2px;
  line-height: 1;
}

/* ── Language dropdown (replaces pill) ── */
.v2-lang-wrap {
  position: relative;
}

.v2-lang-drop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 7px;
  min-width: 80px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 9999;
  overflow: hidden;
}

.v2-lang-drop.open {
  display: block;
}

.v2-lang-opt {
  display: block;
  padding: 9px 14px;
  font-size: 0.8rem;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s, color 0.12s;
}

.v2-lang-opt:last-child {
  border-bottom: none;
}

.v2-lang-opt:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.v2-lang-opt.v2-lang-opt-active {
  color: var(--green-900);
  font-weight: 700;
  background: var(--green-50);
}

/* ── Right side controls ── */
.v2-tb-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-login-btn svg {
  width: 14px;
  height: 14px;
}

/* ── Icon buttons (bell, search) ── */
.v2-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  background: rgba(255, 255, 255, 0.07);
  position: relative;
}

.v2-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.v2-icon-btn svg {
  width: 15px;
  height: 15px;
}

.v2-icon-btn i {
  font-size: 0.85rem;
  line-height: 1;
}

/* ── Notification badge ── */
.v2-badge {
  position: absolute;
  top: 4px;
  right: 3px;
  background: #e53e3e;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  min-width: 13px;
  height: 13px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* ── Language native select ── */
.v2-lang-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0 8px;
  height: 28px;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  letter-spacing: 0.05em;
}

.v2-lang-select:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.v2-lang-select option {
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
}

/* ── Language pill ── */
.v2-lang-btn {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  line-height: 1;
}

.v2-lang-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.v2-lang-sep {
  color: rgba(255, 255, 255, 0.3);
}

.v2-lang-item {
  padding: 0 1px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s;
  cursor: pointer;
}

.v2-lang-item:hover {
  color: #fff;
}

.v2-lang-item.v2-lang-active {
  color: #fff;
  font-weight: 700;
}

/* ── Utility buttons in navbar (hamburger + search) ── */
.v2-nav-util {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.v2-util-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: color-mix(in srgb, var(--green-700) 18%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--green-700) 55%, transparent);
  border-radius: 8px;
  color: var(--green-800);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}

.v2-util-btn:hover {
  background: color-mix(in srgb, var(--green-700) 28%, transparent);
  border-color: color-mix(in srgb, var(--green-700) 80%, transparent);
  color: var(--green-900);
}

/* ── Utility drawer (appears below navbar) ── */
.v2-util-drawer {
  display: none;
  background: #f8fafc;
  border-top: 1px solid #e4e7eb;
  border-bottom: 1px solid #e4e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.v2-util-drawer.open {
  display: block;
}

.v2-util-drawer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.v2-util-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid #d1d5db;
  background: white;
  color: #444;
  font-size: 0.77rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.v2-util-item i {
  font-size: 0.7rem;
  color: var(--green-900);
}

.v2-util-item:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  color: white;
}

.v2-util-item:hover i {
  color: white;
}

.v2-util-item.active {
  background: var(--green-900);
  border-color: var(--green-900);
  color: white;
}

.v2-util-item.active i {
  color: white;
}

.v2-util-btn.active {
  background: color-mix(in srgb, var(--green-700) 40%, transparent);
  border-color: var(--green-700);
  color: var(--green-900);
}

.v2-util-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: white;
  color: #666;
  cursor: pointer;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.15s;
}

.v2-util-close:hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #ef4444;
}

/* ══ V2 HEADER / NAV ════════════════════════════════════════ */
.v2-header {
  background: #fff;
  border-bottom: 1px solid #e4e7eb;
  position: sticky;
  top: 40px;
  z-index: 150;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
  /* nav.jpg fades in from right, dissolves before logo area — override --nav-bg for custom image */
  --nav-bg: url('../images/classic/nav.jpg');
  background-image:
    linear-gradient(to right, #fff 0%, #fff 38%, rgba(255, 255, 255, 0.88) 52%, rgba(255, 255, 255, 0.45) 72%, rgba(255, 255, 255, 0.15) 100%),
    var(--nav-bg);
  background-position: left top, right center;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
}

.v2-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 74px;
  gap: 20px;
}

.v2-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Seal: circular frame for logo image */
.v2-logo-seal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2.5px solid var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 74, 39, 0.18);
}

.v2-logo-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.v2-logo-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.v2-logo-ne {
  font-size: 0.97rem;
  font-weight: 900;
  color: var(--green-900);
  white-space: nowrap;
}

.v2-logo-en {
  font-size: 0.72rem;
  color: #1557a0;
  font-weight: 700;
  white-space: nowrap;
}

.v2-logo-sub {
  font-size: 0.6rem;
  color: #666;
  white-space: nowrap;
  font-weight: 500;
}

.v2-logo-est {
  font-size: 0.66rem;
  font-weight: 700;
  color: #c0392b;
  white-space: nowrap;
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* Award badge — solid green circle like the reference */
.v2-since {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-900);
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 10px rgba(13, 74, 39, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.52rem;
  line-height: 1.25;
  flex-shrink: 0;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.v2-since-year {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
}

.v2-navlinks {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 1px;
  flex-wrap: nowrap;
}

.v2-nav-item {
  position: relative;
}

.v2-navlink {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.v2-navlink:hover {
  color: var(--green-700);
  background: color-mix(in srgb, var(--green-700) 7%, transparent);
}

.v2-navlink svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.v2-navlink.v2-active {
  background: var(--green-700);
  color: #fff;
  border-radius: 5px;
}

.v2-navlink.v2-active:hover {
  background: var(--green-800);
  color: #fff;
}

.v2-navlink.v2-active svg {
  opacity: 0.7;
}

/* Nav dropdown */
.v2-nav-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 7px;
  min-width: 185px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
  z-index: 300;
  overflow: hidden;
}

.v2-nav-item:hover .v2-nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.v2-nav-drop a {
  display: block;
  padding: 9px 14px;
  font-size: 0.8rem;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s, color 0.12s;
}

.v2-nav-drop a:last-child {
  border-bottom: none;
}

.v2-nav-drop a:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.v2-nav-drop-divider {
  height: 1px;
  background: #e8eaed;
  margin: 3px 0;
}

/* Mobile toggle visible only on small screens */
.v2-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.v2-mobile-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.25s;
}

.v2-mobile-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.v2-mobile-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.v2-mobile-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══ V2 NOTICE TICKER (CREAM) ════════════════════════════════ */
.v2-ticker {
  background: #f9f5e8;
  border-bottom: 1px solid #e6dfc8;
  height: 38px;
  overflow: hidden;
}

.v2-ticker-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
}

.v2-ticker-label {
  background: var(--green-700);
  color: #fff;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px 0 14px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  margin-right: 19px;
  /* space for the arrow */
}

.v2-ticker-label::after {
  content: '';
  position: absolute;
  right: -19px;
  top: 0;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
  border-left: 19px solid var(--green-700);
  z-index: 1;
}

.v2-ticker-label svg {
  width: 14px;
  height: 14px;
}

.v2-ticker-wrap {
  flex: 1;
  overflow: hidden;
}

.v2-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}

.v2-ticker-track:hover {
  animation-play-state: paused;
}

.v2-ticker-track a {
  color: #444;
  font-size: 0.78rem;
  padding: 0 2.2rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}

.v2-ticker-track a:hover {
  color: var(--green-700);
  text-decoration: none;
}

.v2-ticker-track a::before {
  content: '●';
  color: var(--green-500);
  margin-right: 0.65rem;
  font-size: 0.42rem;
  vertical-align: middle;
}

/* ══ V2 HERO CAROUSEL ════════════════════════════════════════ */
.v2-hero {
  position: relative;
  height: 510px;
  overflow: hidden;
}

.v2-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
}

.v2-slide.v2-active {
  opacity: 1;
}

.v2-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 6s ease;
}

.v2-slide.v2-active .v2-slide-bg {
  transform: scale(1);
}

.v2-slide:nth-child(1) .v2-slide-bg {
  background-image: url('../images/banner-1.jpg');
}

.v2-slide:nth-child(2) .v2-slide-bg {
  background-image: url('../images/banner-2.jpg');
}

.v2-slide:nth-child(3) .v2-slide-bg {
  background-image: url('../images/banner-3.jpg');
}

/* Dark gradient overlay — left darker for text legibility, right lighter */
.v2-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.45) 45%,
      rgba(0, 0, 0, 0.18) 75%,
      rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}

.v2-slide-content {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.v2-slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--green-700) 35%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.v2-slide-eyebrow i {
  font-size: 0.75rem;
}

.v2-slide-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.35;
  max-width: 580px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.v2-slide-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 74, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 0.88rem;
  max-width: 480px;
  backdrop-filter: blur(6px);
  line-height: 1.5;
}

.v2-slide-quote i {
  font-size: 0.8rem;
  color: var(--green-300);
  flex-shrink: 0;
}

.v2-slide-btns {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.v2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-700);
  color: #fff;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--green-500);
  transition: background 0.18s;
}

.v2-btn-primary:hover {
  background: var(--green-600);
  color: #fff;
}

.v2-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  transition: background 0.18s;
}

.v2-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Carousel arrows */
.v2-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.v2-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.v2-arrow.v2-prev {
  left: 18px;
}

.v2-arrow.v2-next {
  right: 18px;
}

.v2-arrow i {
  font-size: 1rem;
}

/* Carousel dots */
.v2-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.v2-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}

.v2-dot.v2-dot-active {
  background: #fff;
  transform: scale(1.25);
}

/* ══ QUICK STATS BAR ════════════════════════════════════════ */
.v2-stats-bar {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.v2-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.v2-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid #f0f0f0;
}

.v2-stat-item:last-child {
  border-right: none;
}

.v2-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v2-stat-icon i {
  font-size: 1.1rem;
  color: var(--green-700);
}

.v2-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
}

.v2-stat-lbl {
  font-size: 0.75rem;
  color: #777;
  margin-top: 3px;
}

/* ── Section title & subtitle — match interest section style ── */
.section-title {
  color: #111 !important;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
}

.section-subtitle {
  font-size: 0.95rem !important;
  color: #666 !important;
}

/* ── Section label — light red pill badge ── */
.section-label {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: var(--green-50);
  color: var(--green-900);
  border: 1px solid var(--green-100);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-label i {
  font-size: 0.8rem;
}

/* ── Service card text & link styles ── */
.service-icon i {
  font-size: 1.5rem;
  line-height: 1;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-900, var(--green-900));
  margin-bottom: var(--space-sm, 10px);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary, #555);
  line-height: 1.65;
  margin-bottom: var(--space-lg, 20px);
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
  transition: color 0.15s;
}

.service-link i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.service-link:hover {
  color: var(--green-900);
}

.service-link:hover i {
  transform: translateX(3px);
}

/* ── Interest & Notices section ── */
.v2-int-grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 24px;
  align-items: start;
}

.v2-panel {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  background: #fff;
}

.v2-panel-head {
  background: var(--green-900);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.v2-panel-head i {
  font-size: 1rem;
  opacity: 0.85;
}

.v2-panel-body {
  padding: 18px;
}

.v2-rate-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.v2-rate-card {
  background: var(--green-50);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--green-50);
}

.v2-rate-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--green-100);
}

.v2-rate-card-head i {
  font-size: 1.05rem;
  background: var(--green-900);
  color: #fff;
  padding: 6px;
  border-radius: 8px;
}

.v2-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed var(--green-50);
  font-size: 0.82rem;
  color: #444;
}

.v2-rate-row:last-child {
  border-bottom: none;
}

.v2-rate-badge {
  background: var(--green-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.v2-panel-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--green-50);
}

.v2-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-900);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s;
  width: 100%;
  justify-content: center;
}

.v2-panel-btn:hover {
  background: var(--green-700);
  color: #fff;
}

.v2-panel-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--green-900);
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid var(--green-900);
  text-decoration: none;
  transition: all 0.18s;
  width: 100%;
  justify-content: center;
}

.v2-panel-btn-outline:hover {
  background: var(--green-900);
  color: #fff;
}

.v2-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.v2-notice-item:last-child {
  border-bottom: none;
}

.v2-notice-date {
  background: var(--green-900);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 46px;
  flex-shrink: 0;
}

.v2-notice-date-day {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.v2-notice-date-mon {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-top: 2px;
}

.v2-notice-text {
  font-size: 0.83rem;
  color: #333;
  line-height: 1.55;
  font-weight: 500;
}

.v2-notice-urgent {
  display: inline-flex;
  align-items: center;
  background: #fee2e2;
  color: #dc2626;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-right: 5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  vertical-align: middle;
  white-space: nowrap;
}

.v2-notice-meta {
  font-size: 0.72rem;
  color: #999;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

a.v2-notice-item {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s;
  border-radius: 8px;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
}
a.v2-notice-item:hover { background: var(--green-50); }

.v2-notice-arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: #bbb;
  align-self: center;
  transition: color 0.18s, transform 0.18s;
}
a.v2-notice-item:hover .v2-notice-arrow {
  color: var(--green-900);
  transform: translateX(3px);
}

.v2-int-header {
  text-align: center;
  margin-bottom: var(--space-2xl, 32px);
}

.v2-int-header .section-label {
  background: var(--green-50);
  color: var(--green-900);
  border-color: var(--green-100);
  margin-bottom: 14px;
}

.v2-int-header .section-label i {
  color: var(--green-700);
}

.v2-int-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 10px;
}

.v2-int-underline {
  width: 48px;
  height: 3px;
  background: var(--green-700);
  border-radius: 2px;
  margin: 0 0 14px;
}

.section-header.center .v2-int-underline,
.v2-int-header .v2-int-underline {
  margin-left: auto;
  margin-right: auto;
}

.v2-int-header p {
  font-size: 0.95rem;
  color: #666;
}

@media (max-width: 900px) {
  .v2-int-grid {
    grid-template-columns: 1fr;
  }

  .v2-rate-cols {
    grid-template-columns: 1fr;
  }
}

/* ── Left topbar drop-wrap alignment ── */
.v2-tb-drop-wrap {
  display: flex;
  align-items: stretch;
}

/* ── Language Selector (override) ──
     style.css hides [data-lang=*]:not(.lang-btn) — force both labels always visible */
#v2LangBtn .v2-lang-item {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.v2-lang-chevron {
  font-size: 0.58rem !important;
  opacity: 0.8;
  transition: transform 0.2s;
  line-height: 1;
}

#v2LangBtn[aria-expanded="true"] .v2-tb-chevron {
  transform: rotate(180deg);
}

.v2-lang-sep {
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
  font-weight: 300;
}

.v2-lang-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  border-radius: 4px;
  line-height: 1;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.18s;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.v2-lang-item.v2-lang-active {
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.22);
}

/* ── Login Dropdown ── */
.v2-login-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.v2-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  padding: 0 12px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  box-shadow: none;
}

.v2-login-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  box-shadow: none;
}

.v2-login-btn i {
  font-size: 0.82rem;
  line-height: 1;
}

.v2-login-chevron {
  font-size: 0.58rem !important;
  opacity: 0.8;
  transition: transform 0.2s;
  line-height: 1;
}

.v2-login-wrap.open .v2-login-chevron {
  transform: rotate(180deg);
}

.v2-login-drop {
  position: absolute;
  top: 44px;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  min-width: 256px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.16);
  display: none;
  z-index: 1000;
  overflow: hidden;
}

.v2-login-wrap.open .v2-login-drop {
  display: block;
}

.v2-login-drop-head {
  background: var(--green-900);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 10px 15px;
  letter-spacing: 0.05em;
}

.v2-login-drop-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s;
  cursor: pointer;
}

.v2-login-drop-item:last-child {
  border-bottom: none;
}

.v2-login-drop-item:hover {
  background: var(--green-50);
}

.v2-ldi-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v2-ldi-icon svg {
  width: 17px;
  height: 17px;
}

.v2-ldi-icon i {
  font-size: 1rem;
  line-height: 1;
}

.v2-ldi-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a1a;
}

.v2-ldi-sub {
  font-size: 0.67rem;
  color: #888;
  margin-top: 1px;
}

/* ── Notification Dropdown ── */
.v2-notif-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.v2-notif-drop {
  position: absolute;
  top: 44px;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  min-width: 295px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.16);
  display: none;
  z-index: 1000;
  overflow: hidden;
}

.v2-notif-wrap.open .v2-notif-drop {
  display: block;
}

.v2-notif-drop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green-900);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 10px 14px;
}

.v2-notif-head-badge {
  background: #e53e3e;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 7px;
}

.v2-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: background 0.12s;
}

.v2-notif-item:hover {
  background: var(--green-50);
}

.v2-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e0;
  margin-top: 5px;
  flex-shrink: 0;
}

.v2-notif-dot.unread {
  background: #e53e3e;
}

.v2-notif-text {
  font-size: 0.77rem;
  color: #333;
  line-height: 1.45;
  flex: 1;
}

.v2-notif-time {
  font-size: 0.64rem;
  color: #aaa;
  margin-top: 3px;
  display: block;
}

.v2-notif-footer {
  display: block;
  text-align: center;
  padding: 9px;
  font-size: 0.77rem;
  color: var(--green-700);
  font-weight: 600;
  border-top: 1px solid #f0f0f0;
  text-decoration: none;
  transition: background 0.12s;
}

.v2-notif-footer:hover {
  background: var(--green-50);
}

/* ── Search Modal ── */
.v2-search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.v2-search-modal.open {
  opacity: 1;
  visibility: visible;
}

.v2-search-box {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform: translateY(-14px);
  transition: transform 0.2s;
}

.v2-search-modal.open .v2-search-box {
  transform: translateY(0);
}

.v2-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 0;
}

.v2-search-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #222;
}

.v2-search-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #888;
  transition: all 0.15s;
}

.v2-search-close:hover {
  background: #f3f4f6;
  color: #333;
}

.v2-search-close svg {
  width: 16px;
  height: 16px;
}

.v2-search-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 16px;
}

.v2-search-input {
  flex: 1;
  border: 1.5px solid #e0e0e0;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  color: #333;
  transition: border-color 0.15s;
}

.v2-search-input:focus {
  border-color: var(--green-700);
}

.v2-search-input::placeholder {
  color: #bbb;
}

.v2-search-voice {
  background: var(--green-50);
  border: 1.5px solid var(--green-100);
  border-radius: 7px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--green-700);
  flex-shrink: 0;
  transition: all 0.15s;
}

.v2-search-voice:hover {
  background: var(--green-50);
}

.v2-search-voice.recording {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  animation: v2-pulse 1s ease-in-out infinite;
}

.v2-search-voice svg {
  width: 18px;
  height: 18px;
}

.v2-search-voice i {
  font-size: 1rem;
  line-height: 1;
}

.v2-search-suggestions {
  padding: 0 18px 16px;
  border-top: 1px solid #f3f4f6;
  padding-top: 12px;
}

.v2-search-sugg-label {
  font-size: 0.67rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.v2-search-sugg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v2-search-sugg-tag {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 4px 13px;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  transition: all 0.12s;
  text-decoration: none;
  display: inline-block;
}

.v2-search-sugg-tag:hover {
  background: var(--green-50);
  border-color: var(--green-300);
  color: var(--green-700);
}

@keyframes v2-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ── Awards / Testimonial carousel ── */
.v2-awards-section {
  background: var(--green-50);
}

.v2-award-carousel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.v2-award-track-wrap {
  overflow: hidden;
  width: 100%;
}

.v2-award-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.v2-award-card {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.v2-award-inner {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.09);
  padding: 36px 44px 32px;
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  text-align: left;
}

.v2-award-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

.v2-award-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v2-award-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 74, 39, 0.35) 0%, transparent 60%);
}

.v2-award-quote {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--green-700);
  opacity: 0.15;
  position: absolute;
  top: 22px;
  right: 28px;
  user-select: none;
  pointer-events: none;
}

.v2-award-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  color: var(--green-900);
  border: 1px solid var(--green-100);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.v2-award-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 5px;
  line-height: 1.3;
}

.v2-award-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-700);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-award-subtitle i {
  font-size: 0.75rem;
  opacity: 0.75;
}

.v2-award-desc {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.75;
}

@media (max-width: 680px) {
  .v2-award-inner {
    grid-template-columns: 1fr;
  }

  .v2-award-img-wrap {
    height: 160px;
  }

  .v2-award-quote {
    top: auto;
    bottom: 20px;
    right: 20px;
  }
}

.v2-award-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.v2-award-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-100);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.v2-award-dot.active {
  background: var(--green-900);
  transform: scale(1.25);
}

.v2-award-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.v2-award-arr {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s;
  font-size: 0.85rem;
}

.v2-award-arr:hover {
  background: var(--green-900);
  color: #fff;
  border-color: var(--green-900);
}

/* ══ NEWS ═══════════════════════════════════════════════════ */
.v2-news-section {
  background: #fff;
}

.v2-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.v2-news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}

.v2-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.v2-news-thumb {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.v2-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.v2-news-card:hover .v2-news-thumb img {
  transform: scale(1.05);
}

.v2-news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green-700);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.v2-news-cat i {
  font-size: 0.68rem;
}

.v2-news-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.v2-news-meta {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.v2-news-meta i {
  font-size: 0.7rem;
}

.v2-news-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  line-height: 1.45;
  margin: 0 0 10px;
}

.v2-news-excerpt {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v2-news-readmore {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s;
}

.v2-news-readmore i {
  font-size: 0.72rem;
  transition: transform 0.2s;
}

.v2-news-readmore:hover i {
  transform: translateX(3px);
}

.v2-btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--green-700);
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 700;
  background: transparent;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.v2-btn-outline-green:hover {
  background: var(--green-700);
  color: #fff;
}

.v2-btn-outline-green i {
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.v2-btn-outline-green:hover i {
  transform: translateX(3px);
}

/* ══ MOBILE NAV DRAWER ═══════════════════════════════════════ */
.v2-mob-nav {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.v2-mob-nav.open {
  opacity: 1;
  visibility: visible;
}

.v2-mob-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 88vw);
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.v2-mob-nav.open .v2-mob-panel {
  transform: translateX(0);
}

.v2-mob-head {
  background: var(--green-900);
  color: #fff;
  padding: 16px 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v2-mob-head-logo {
  font-size: 0.88rem;
  font-weight: 800;
}

.v2-mob-head-sub {
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 1px;
}

.v2-mob-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.15s;
}

.v2-mob-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.v2-mob-links {
  padding: 8px 0;
  flex: 1;
}

.v2-mob-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s, color 0.12s;
}

.v2-mob-link:last-child {
  border-bottom: none;
}

.v2-mob-link:hover {
  color: var(--green-700);
  background: var(--green-50);
}

.v2-mob-link.v2-mob-active {
  color: var(--green-700);
  background: var(--green-50);
  font-weight: 700;
}

.v2-mob-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.v2-mob-link.v2-mob-active .v2-mob-link-icon {
  background: var(--green-700);
  color: #fff;
}

.v2-mob-section-divider {
  padding: 8px 20px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  background: #f8fafc;
  border-top: 1px solid #e4e7eb;
  border-bottom: 1px solid #e4e7eb;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.v2-mob-section-divider i {
  color: var(--green-900);
  font-size: 0.65rem;
}

.v2-mob-cta {
  padding: 14px 16px;
  border-top: 1px solid #e8eaed;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-mob-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-700);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s;
}

.v2-mob-cta-btn:hover {
  background: var(--green-900);
  color: #fff;
}

.v2-mob-cta-btn-out {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--green-900);
  padding: 11px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--green-900);
  transition: all 0.18s;
}

.v2-mob-cta-btn-out:hover {
  background: var(--green-900);
  color: #fff;
}

/* ══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .v2-navlinks {
    gap: 0;
  }

  .v2-navlink {
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .v2-since {
    display: none;
  }
}

@media (max-width: 900px) {

  /* Nav */
  .v2-navlinks {
    display: none;
  }

  /* Hide utility drawer btn on mobile — its items appear inside the mobile side menu */
  #v2UtilDrawerBtn {
    display: none;
  }

  /* Push search btn + mobile-btn to the right as a group */
  .v2-nav-util {
    margin-left: auto;
  }

  /* Mobile menu btn: same style as search btn */
  .v2-mobile-btn {
    display: flex;
    margin-left: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1.5px solid color-mix(in srgb, var(--green-700) 55%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--green-700) 18%, transparent);
    align-items: center;
    justify-content: center;
  }

  .v2-mobile-btn span {
    background: var(--green-800);
  }

  /* Topbar: keep first 2 left links only */
  .v2-tb-left .v2-tb-link:nth-child(n+3) {
    display: none;
  }

  .v2-tb-drop-wrap {
    display: none;
  }

  /* Banner */
  .v2-slide-content {
    padding: 0 30px;
  }

  .v2-slide-title {
    font-size: 1.75rem;
  }

  /* Stats 2×2 */
  .v2-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .v2-stat-item:nth-child(2) {
    border-right: none;
  }

  /* Awards */
  .v2-award-inner {
    padding: 24px 22px;
    gap: 20px;
  }

  /* News 2 cols */
  .v2-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Topbar: hide all left links, align right controls to the edge */
  .v2-tb-left {
    display: none;
  }

  .v2-topbar-inner {
    justify-content: flex-end;
  }

  /* Header top stays at 40px (topbar right still visible) */
  /* Logo: hide en/sub text, shrink seal */
  .v2-logo-en,
  .v2-logo-sub {
    display: none;
  }

  .v2-logo-seal {
    width: 46px;
    height: 46px;
  }

  .v2-logo-ne {
    font-size: 0.92rem;
  }

  /* Nav height */
  .v2-nav {
    height: 60px;
  }

  /* Banner */
  .v2-hero {
    height: 440px;
  }

  .v2-slide-content {
    padding: 0 20px;
  }

  .v2-slide-title {
    font-size: 1.55rem;
    max-width: 100%;
  }

  .v2-slide-eyebrow {
    font-size: 0.65rem;
  }

  .v2-slide-quote {
    font-size: 0.8rem;
    max-width: 100%;
    padding: 8px 14px;
  }

  /* Stats: smaller padding and text */
  .v2-stat-item {
    padding: 14px 12px;
    gap: 10px;
  }

  .v2-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .v2-stat-icon i {
    font-size: 0.95rem;
  }

  .v2-stat-num {
    font-size: 1.2rem;
  }

  /* Section headings */
  .v2-int-header h2,
  .section-title {
    font-size: 1.55rem !important;
  }

  /* About mini-stats: reduce padding */
  /* CTA buttons full width */
  .section-dark .v2-btn-primary,
  .section-dark .v2-btn-outline-white {
    width: 100%;
    justify-content: center;
  }

  /* App image: show below buttons, not above */
  .app-phone {
    order: 1 !important;
  }

  .app-phone img {
    width: 240px !important;
    height: auto !important;
  }

  /* Awards inner */
  .v2-award-inner {
    padding: 20px 18px;
    gap: 18px;
  }
}

@media (max-width: 600px) {

  /* Topbar: keep visible, compress right controls to icon-only */
  .v2-login-label,
  .v2-login-chevron {
    display: none !important;
  }

  .v2-login-btn {
    padding: 0;
    width: 34px;
    justify-content: center;
  }

  .v2-topbar-inner {
    padding: 0 8px;
  }

  .v2-lang-btn {
    padding: 0 7px;
  }

  /* Dropdowns: fixed below topbar, right-aligned */
  .v2-login-drop,
  .v2-notif-drop {
    position: fixed;
    top: 40px;
    right: 8px;
    left: auto;
    width: 280px;
    min-width: unset;
    border-radius: 0 0 12px 12px;
    max-height: 80vh;
    overflow-y: auto;
  }


  /* Hide banner prev/next arrows on mobile */
  .v2-arrow {
    display: none;
  }

  /* Banner */
  .v2-hero {
    height: 380px;
  }

  .v2-slide-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .v2-slide-btns {
    gap: 8px;
  }

  .v2-btn-primary,
  .v2-btn-outline-white {
    padding: 9px 16px;
    font-size: 0.8rem;
  }

  .v2-slide-quote {
    display: none;
  }

  /* hide quote box on small phones */
  /* Stats: compact 2×2 */
  .v2-stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .v2-stat-item {
    padding: 12px 10px;
  }

  .v2-stat-num {
    font-size: 1.1rem;
  }

  .v2-stat-lbl {
    font-size: 0.68rem;
  }

  /* News 1 col */
  .v2-news-grid {
    grid-template-columns: 1fr;
  }

  /* Award card 1-col (already in its own rule at 680px) */
  .v2-award-inner {
    padding: 18px 14px;
  }

  .v2-award-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .v2-logo-ne {
    font-size: 0.82rem;
  }

  .v2-logo-seal {
    width: 40px;
    height: 40px;
  }

  .v2-nav {
    height: 56px;
    padding: 0 14px;
  }

  /* Stats: single column on very small */
  .v2-stats-inner {
    grid-template-columns: 1fr;
  }

  .v2-stat-item {
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .v2-stat-item:last-child {
    border-bottom: none;
  }

  /* About mini stats: ensure they fit */
  .v2-about-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  /* App image */
  .app-phone img {
    width: 210px !important;
  }
}

/* ── V2 inline-style replacements ───────────────────────── */

/* Login dropdown icon colour variants */
.v2-ldi-green {
  background: var(--green-50);
  color: var(--green-700);
}

.v2-ldi-blue {
  background: #e8f0fe;
  color: #3b5bdb;
}

.v2-ldi-purple {
  background: #f3e8fe;
  color: #7c3aed;
}

.v2-ldi-sky {
  background: #e0f2fe;
  color: #0369a1;
}

.v2-ldi-orange {
  background: #fff3e0;
  color: #c2410c;
}

/* Nav CTA login link */
.v2-navlink-login {
  background: color-mix(in srgb, var(--green-700) 18%, transparent);
  color: var(--green-800);
  border-radius: 5px;
  border: 1.5px solid color-mix(in srgb, var(--green-700) 55%, transparent);
}

.v2-navlink-login:hover {
  background: color-mix(in srgb, var(--green-700) 28%, transparent);
  color: var(--green-900);
  border-color: color-mix(in srgb, var(--green-700) 80%, transparent);
}

/* Service cards — ensure flex column layout */
.service-card {
  display: flex;
  flex-direction: column;
}

/* Service icon — primary green */
.v2-service-icon-green {
  background: var(--green-50);
  color: var(--green-700);
}

/* About section */
.v2-about-grid {
  gap: var(--space-3xl);
  align-items: center;
}

.v2-about-p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.v2-about-p-xl {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.v2-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.v2-about-stat-item {
  text-align: center;
  padding: 10px 12px;
  background: var(--green-50);
  border-radius: var(--radius-md);
}

.v2-about-stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1.2;
}

.v2-about-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Vision / Mission panel */
.v2-vision-panel {
  background: var(--green-900);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: white;
  position: relative;
  overflow: hidden;
}

.v2-vision-circle-1 {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.v2-vision-circle-2 {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.v2-vision-body {
  position: relative;
  z-index: 1;
}

.v2-vision-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-300);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.v2-vision-head i {
  font-size: 0.8rem;
}

.v2-vision-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-vision-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.v2-vision-check {
  color: var(--green-400);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.v2-values-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.v2-value-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* CTA section */
.v2-cta-section {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.v2-cta-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.v2-cta-circle-1 {
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.03);
}

.v2-cta-circle-2 {
  bottom: -50px;
  left: -50px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.03);
}

.v2-cta-circle-3 {
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.02);
}

.v2-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.v2-cta-title {
  color: white !important;
  margin-bottom: var(--space-sm) !important;
}

.v2-cta-desc {
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.75;
}

.v2-cta-btns {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* App phone image */
.v2-app-img {
  width: 290px;
  height: 580px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: block;
}

/* Int underline spacing variant (used in about + app sections) */
.v2-int-underline-sm {
  width: 48px;
  height: 3px;
  background: var(--green-700);
  border-radius: 2px;
  margin: 8px 0 16px;
}

/* News view-all row */
.v2-news-view-all {
  text-align: center;
  margin-top: 40px;
}

/* Footer colour helpers */
.v2-footer-logo-name {
  color: white;
}

.v2-footer-logo-tagline {
  color: var(--green-300);
}

.v2-footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.v2-footer-links-row {
  display: flex;
  gap: var(--space-lg);
}

/* Store button icon sizes */
.v2-store-icon-google {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.v2-store-icon-apple {
  font-size: 1.8rem;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .v2-about-stats {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE (cnt-*)
══════════════════════════════════════════════════════════════ */

/* ── Quick-strip ─────────────────────────────────────────────── */
.cnt-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
}

.cnt-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: var(--space-lg) 0;
}

.cnt-strip-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

.cnt-strip-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-xl);
}

.cnt-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cnt-si-green { background: var(--green-50); color: var(--green-700); }
.cnt-si-blue  { background: #e8f0fe; color: #1a73e8; }
.cnt-si-orange{ background: #fff3e0; color: #e65100; }
.cnt-si-red   { background: #fce8e6; color: #c0392b; }

.cnt-strip-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.cnt-strip-val {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

a.cnt-strip-val:hover { color: var(--green-700); }

/* ── Main grid ───────────────────────────────────────────────── */
.cnt-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.cnt-intro-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* ── Contact info card ───────────────────────────────────────── */
.cnt-info-card {
  background: var(--green-800);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: var(--white);
  margin-top: var(--space-xl);
}

.cnt-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cnt-info-item:last-child { border-bottom: none; }

.cnt-info-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.cnt-ic-green  { background: rgba(104,204,132,0.18); color: var(--green-300); }
.cnt-ic-blue   { background: rgba(100,160,255,0.18); color: #80b4ff; }
.cnt-ic-orange { background: rgba(255,180,60,0.18);  color: #ffb43c; }
.cnt-ic-red    { background: rgba(255,120,100,0.18); color: #ff9d8a; }
.cnt-ic-purple { background: rgba(180,120,255,0.18); color: #cc99ff; }

.cnt-info-detail {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.cnt-info-detail strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.cnt-tel-link {
  color: var(--green-300);
  text-decoration: none;
  transition: color var(--transition);
}

.cnt-tel-link:hover { color: white; text-decoration: underline; }

/* ── Social strip ────────────────────────────────────────────── */
.cnt-social-strip {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.cnt-social-lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.cnt-social-row {
  display: flex;
  gap: var(--space-sm);
}

.cnt-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

.cnt-social-link:hover { transform: translateY(-2px); color: white; }
.cnt-sl-fb:hover   { background: #1877f2; }
.cnt-sl-yt:hover   { background: #ff0000; }
.cnt-sl-x:hover    { background: #000000; }
.cnt-sl-mail:hover { background: var(--green-700); }

/* ── Map section ─────────────────────────────────────────────── */
.cnt-map-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
}

.cnt-map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  margin-top: var(--space-2xl);
  line-height: 0;
}

.cnt-map-frame,
.cnt-map-wrap iframe {
  width: 100% !important;
  height: var(--map-h, 420px);
  border: 0 !important;
  display: block;
}

/* ── FAQ wrap ────────────────────────────────────────────────── */
.cnt-faq-wrap {
  max-width: 780px;
  margin: var(--space-2xl) auto 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cnt-strip-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .cnt-strip-divider { display: none; }
  .cnt-strip-item { padding: var(--space-sm) var(--space-md); }
}

@media (max-width: 768px) {
  .cnt-main-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .cnt-map-frame, .cnt-map-wrap iframe { height: 300px; }
}

@media (max-width: 600px) {
  .cnt-strip-inner {
    grid-template-columns: 1fr;
  }
  .cnt-strip-item { padding: var(--space-sm) 0; }
  .cnt-map-frame, .cnt-map-wrap iframe { height: 260px; }
}

/* ══════════════════════════════════════════════════════════════
   DOWNLOADS PAGE (dl-*)
══════════════════════════════════════════════════════════════ */

/* ── Category sticky nav ─────────────────────────────────────── */
.dl-cat-nav {
  position: sticky;
  top: 114px;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.dl-cat-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.dl-cat-nav-inner::-webkit-scrollbar { display: none; }

.dl-cat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-md) var(--space-lg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
}

.dl-cat-link i { font-size: 0.8rem; }

.dl-cat-link:hover { color: var(--green-700); }

.dl-cat-link.dl-cat-active {
  color: var(--green-700);
  border-bottom-color: var(--green-700);
}

/* ── Download card grid ──────────────────────────────────────── */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

/* ── Individual download card ────────────────────────────────── */
.dl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--transition);
  position: relative;
}

.dl-card:hover {
  border-color: var(--green-300);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--green-700) 10%, transparent);
  transform: translateY(-2px);
}

.dl-card-featured {
  border-color: var(--green-300);
  background: var(--green-50);
}

/* ── File type icon ──────────────────────────────────────────── */
.dl-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.dl-icon-red   { background: #fce8e6; color: #d93025; }
.dl-icon-blue  { background: #e8f0fe; color: #1a73e8; }
.dl-icon-green { background: var(--green-50); color: #0f7542; }
.dl-icon-orange{ background: #fff3e0; color: #e65100; }

/* ── Card content ────────────────────────────────────────────── */
.dl-card-body { flex: 1; }

.dl-card-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.dl-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
}

.dl-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.dl-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  font-size: 0.75rem;
  color: var(--text-light);
}

.dl-card-meta i { margin-right: 3px; }

/* ── Badge ───────────────────────────────────────────────────── */
.dl-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.dl-badge-new    { background: var(--green-50); color: var(--green-700); }
.dl-badge-urgent { background: #fce8e6; color: #c0392b; }

/* ── Download button ─────────────────────────────────────────── */
.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--green-700);
  color: white;
  border-radius: var(--radius-md);
  padding: 9px var(--space-lg);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  margin-top: auto;
}

.dl-btn:hover { background: var(--green-800); transform: none; }


/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-cat-link { padding: var(--space-sm) var(--space-md); font-size: 0.8rem; }
}

/* ── Mobile sticky-nav top corrections ───────────────────────
   Desktop: topbar 40px + v2-header 74px = 114px
   ≤768px:  topbar 40px + v2-header 60px = 100px
   ≤480px:  topbar 40px + v2-header 56px = 96px
─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .abt-sec-nav { top: 100px; }
  .dl-cat-nav  { top: 100px; }
}

@media (max-width: 480px) {
  .abt-sec-nav { top: 96px; }
  .dl-cat-nav  { top: 96px; }
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER LOGIN PAGE — ml-*
═══════════════════════════════════════════════════════════════ */

.ml-page {
  background: #f1f5f2;
  padding: var(--space-2xl) var(--space-lg);
}

/* ── Two-column split ── */
.ml-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

/* ── Left: membership panel ── */
.ml-join-panel {
  background: linear-gradient(145deg, var(--green-900) 0%, var(--green-700) 100%);
  border-radius: 20px;
  padding: var(--space-2xl);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: 120px;
}

.ml-join-top-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.ml-join-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.ml-join-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin: 0;
}

.ml-join-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ml-join-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.88);
}

.ml-join-benefits li i {
  color: var(--green-300);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ml-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  width: fit-content;
}

.ml-join-btn:hover {
  background: var(--green-50);
  box-shadow: 0 4px 18px rgba(0,0,0,0.24);
}

.ml-join-footer {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
}

/* ── Right: login panel ── */
.ml-login-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ml-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-200, var(--green-100));
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 0.75rem;
  color: var(--green-700);
  font-weight: 600;
  align-self: flex-start;
}

.ml-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.09);
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}

.ml-card-top {
  background: linear-gradient(145deg, var(--green-900) 0%, var(--green-800) 100%);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  text-align: center;
}

.ml-step-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.ml-step-dot {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.3);
  transition: all 0.35s ease;
  width: 20px;
}

.ml-step-dot.active {
  background: var(--white);
  width: 32px;
}

.ml-top-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.4rem;
  color: var(--white);
  transition: all 0.4s ease;
}

.ml-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 4px;
}

.ml-card-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.ml-card-body {
  padding: var(--space-xl);
}

.ml-step {
  display: block;
  animation: mlFadeIn 0.3s ease;
}

.ml-step.ml-hidden {
  display: none;
}

@keyframes mlFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ml-otp-sent {
  background: var(--green-50);
  border: 1px solid #a7d7b5;
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.84rem;
  color: var(--green-800);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.ml-otp-sent i { margin-top: 2px; flex-shrink: 0; color: var(--green-600); }

.ml-otp-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.ml-otp-box {
  width: 40px;
  height: 46px;
  border: 2px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-900);
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
  -moz-appearance: textfield;
  appearance: textfield;
}

.ml-otp-box::-webkit-outer-spin-button,
.ml-otp-box::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ml-otp-box:focus {
  border-color: var(--green-600);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22,101,52,0.12);
}

.ml-otp-box.ml-filled {
  border-color: var(--green-500, var(--green-500));
  background: var(--green-50);
}

.ml-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.ml-timer-count {
  font-weight: 700;
  color: var(--green-700);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  display: inline-block;
}

.ml-timer-count.ml-expired { color: var(--red-600); }

.ml-resend {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s;
}

.ml-resend:disabled {
  color: var(--text-light);
  cursor: not-allowed;
  text-decoration: none;
}

.ml-resend:not(:disabled):hover { color: var(--green-900); }

.ml-btn-row {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.ml-btn-row .btn:last-child { flex: 1; }

.ml-help {
  max-width: 440px;
  width: 100%;
  margin-top: var(--space-lg);
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER PORTAL HEADER — dph-*  (dashboard-only slim header)
═══════════════════════════════════════════════════════════════ */

.dph-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 40px;
  z-index: 900;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.dph-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.dph-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.dph-logo-seal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--green-100, var(--green-50));
}

.dph-logo-seal img { width: 100%; height: 100%; object-fit: cover; }

.dph-logo-txt { line-height: 1.25; }
.dph-logo-name { font-size: 0.9rem; font-weight: 800; color: var(--green-900); }
.dph-logo-tag  { font-size: 0.68rem; color: var(--green-600); font-weight: 600; letter-spacing: 0.04em; }

.dph-portal-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green-50);
  border: 1px solid var(--green-200, var(--green-100));
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  font-size: 0.74rem;
  color: var(--green-700);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.dph-right { display: flex; align-items: center; gap: var(--space-lg); }

.dph-member-info { display: flex; align-items: center; gap: var(--space-sm); }

.dph-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dph-name-wrap { line-height: 1.2; }
.dph-name { font-size: 0.85rem; font-weight: 700; color: var(--green-900); }
.dph-id   { font-size: 0.72rem; color: var(--text-light); }

.dph-logout {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-600);
  background: var(--white);
  text-decoration: none;
  transition: all 0.2s;
}

.dph-logout:hover { background: #fff5f5; border-color: var(--red-500, #ef4444); }

/* Dashboard wrap when using dph-header */
.dash-portal-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 40px - 66px);
}

.dash-portal-wrap .sidebar {
  top: calc(40px + 66px);
  height: calc(100vh - 40px - 66px);
}

/* Sidebar FA icon support */
.sidebar-nav a i {
  width: 18px;
  text-align: center;
  opacity: 0.7;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sidebar-nav a.active i { opacity: 1; }

/* Quick action strip */
.dash-qa-strip {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.dash-qa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.dash-qa-btn.green  { background: var(--green-700); color: var(--white); }
.dash-qa-btn.green:hover { background: var(--green-800); }
.dash-qa-btn.outline { background: var(--white); color: var(--green-700); border: 1.5px solid var(--green-300, var(--green-300)); }
.dash-qa-btn.outline:hover { background: var(--green-50); }
.dash-qa-btn.red    { background: var(--white); color: var(--red-600); border: 1.5px solid #fca5a5; }
.dash-qa-btn.red:hover { background: #fff5f5; }

/* Savings breakdown */
.dash-sav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.dash-sav-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.dash-sav-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.dash-sav-card.c-green::after  { background: var(--green-600); }
.dash-sav-card.c-blue::after   { background: #3b82f6; }
.dash-sav-card.c-amber::after  { background: #f59e0b; }
.dash-sav-card.c-purple::after { background: #8b5cf6; }

.dash-sav-icon {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.dash-sav-card.c-green .dash-sav-icon  { background: var(--green-50); color: var(--green-600); }
.dash-sav-card.c-blue .dash-sav-icon   { background: #eff6ff; color: #3b82f6; }
.dash-sav-card.c-amber .dash-sav-icon  { background: #fffbeb; color: #f59e0b; }
.dash-sav-card.c-purple .dash-sav-icon { background: #f5f3ff; color: #8b5cf6; }

.dash-sav-label { font-size: 0.74rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-sm); }
.dash-sav-amount { font-size: 1.3rem; font-weight: 800; color: var(--green-900); margin-bottom: 4px; }
.dash-sav-sub { font-size: 0.74rem; color: var(--text-secondary); }

/* Portal-dash notifications */
.dash-notif-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  font-size: 0.83rem;
  transition: background 0.15s;
}

.dash-notif-item:last-child { border-bottom: none; }
.dash-notif-item:hover { background: var(--gray-50); }

.dash-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.dash-notif-dot.unread { background: var(--green-500, var(--green-500)); }
.dash-notif-dot.read   { background: var(--border); }

.dash-notif-text { color: var(--text-primary); line-height: 1.45; }
.dash-notif-time { font-size: 0.73rem; color: var(--text-light); margin-top: 3px; }

/* ── Mobile sidebar toggle button (desktop: hidden) ─────── */
.mob-sidebar-btn {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  border: 1.5px solid var(--green-100);
  border-radius: 8px;
  color: var(--green-700);
  font-size: 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.mob-sidebar-btn:hover { background: var(--green-50); }

/* ── Sidebar overlay backdrop ────────────────────────────── */
.mob-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 999;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.mob-sidebar-overlay.active { display: block; }

/* ── Portal responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .dash-portal-wrap { grid-template-columns: 220px 1fr; }
  .dash-portal-wrap .sidebar { top: calc(40px + 66px); height: calc(100vh - 40px - 66px); }
}

@media (max-width: 768px) {
  /* Portal header */
  .dph-portal-tag { display: none; }
  .dph-name-wrap  { display: none; }
  .dph-inner { padding: 0 var(--space-lg); }
  .mob-sidebar-btn { display: flex; }

  /* Dashboard: collapse to single column */
  .dash-portal-wrap { grid-template-columns: 1fr; }

  /* Sidebar: fixed slide-in drawer */
  .dash-portal-wrap .sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    overflow-y: auto;
    background: #fff;
  }

  .dash-portal-wrap .sidebar.mob-open {
    transform: translateX(0);
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.18);
  }

  /* Main content full width */
  .main-content { padding: var(--space-xl); }

  /* Overview heading stacks */
  .dash-overview-hd { flex-direction: column; gap: var(--space-sm); }
  .dash-active-badge { align-self: flex-start; }

  /* Stat cards: 2-col grid */
  .dashboard-cards { grid-template-columns: repeat(2, 1fr); }

  /* Quick action strip */
  .dash-qa-strip { gap: var(--space-sm); }
  .dash-qa-btn { font-size: 0.78rem; padding: 7px 12px; }

  /* Savings cards: 2-col */
  .dash-sav-grid { grid-template-columns: repeat(2, 1fr); }

  /* KYC / profile two-col → single */
  .grid-2.dash-grid-xl,
  .grid-2.dash-grid-xl-mb { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Portal header */
  .dph-inner { height: 56px; }
  .dph-logout span { display: none; }

  /* Topbar: icon-only pills */
  .v2-tb-left { overflow-x: auto; gap: 4px; flex-wrap: nowrap; }
  .v2-tb-left .v2-tb-link span,
  .v2-tb-left .dash-tb-current span { display: none; }
  .dash-tb-name { display: none; }
  .dash-tb-badge { display: none; }

  /* Stat cards: 1-col */
  .dashboard-cards { grid-template-columns: 1fr; }

  /* Savings grid: 1-col */
  .dash-sav-grid { grid-template-columns: 1fr; }

  /* Main content padding */
  .main-content { padding: var(--space-md); }

  /* Form rows: stack */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Generic grid-2 in portal: stack */
  .dash-grid-xl,
  .dash-grid-xl-mb { grid-template-columns: 1fr !important; gap: var(--space-lg); }

  /* Stepper compact */
  .step { min-width: 52px; }
  .step-circle { width: 28px; height: 28px; font-size: 0.72rem; }
  .step-label { font-size: 0.6rem; }
  .step:not(:last-child)::after { top: 14px; }

  /* Loan amount/EMI boxes: stack */
  .grid-2.dash-grid-xl-mb { grid-template-columns: 1fr; }

  /* OTP boxes */
  .ml-otp-box { width: 34px; height: 42px; font-size: 1.1rem; }
  .ml-otp-boxes { gap: 5px; }
}


/* ═══════════════════════════════════════════════════════════════
   UTILITY EXTENSIONS — v2 icons & spacing helpers
═══════════════════════════════════════════════════════════════ */

.v2-nav-chevron {
  font-size: 0.68rem;
  opacity: 0.65;
  margin-left: 3px;
  transition: transform 0.25s ease;
  vertical-align: middle;
}

.v2-footer-logo-mb { margin-bottom: var(--space-md); }

.mr-sm { margin-right: 6px; }
.mr-xs { margin-right: 4px; }

.abt-stats-z { position: relative; z-index: 1; }

/* pwd-toggle FA icon size */
.pwd-toggle-btn i { font-size: 1.1rem; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE — cnt-* extensions
═══════════════════════════════════════════════════════════════ */

.cnt-intro-mb { margin-bottom: var(--space-xl); }

.cnt-form-body { padding: var(--space-2xl); }

.cnt-success-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #15803d;
  font-size: .9rem;
  line-height: 1.5;
}
.cnt-success-banner i { font-size: 1.4rem; margin-top: 2px; flex-shrink: 0; }
.cnt-success-banner strong { display: block; font-weight: 700; }

.cnt-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  background: #16a34a;
  color: #fff;
  padding: 14px 22px 14px 18px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(22,163,74,.35);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .28s, transform .28s;
  pointer-events: none;
  max-width: 320px;
}
.cnt-toast.cnt-toast-show { opacity: 1; transform: translateY(0); }

.cnt-textarea {
  min-height: 120px;
  resize: vertical;
}

.cnt-consent-label {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.cnt-consent-cb {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-700);
  cursor: pointer;
}

.cnt-submit-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   CALCULATOR PAGE — calc-* v2 extensions
═══════════════════════════════════════════════════════════════ */

.calc-section-mb { margin-bottom: var(--space-3xl); }
.calc-gap-2xl    { gap: var(--space-2xl); }
.calc-nav-icon   { font-size: 0.8rem; opacity: 0.85; margin-right: 4px; }

/* ── Calculator card ──────────────────────────────────────── */
.calc-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 32px rgba(0,0,0,0.09);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

/* ── Tab bar — underline style ────────────────────────────── */
.calc-tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 0;
}

.calc-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: transparent;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  padding: 14px var(--space-lg);
  font-size: 0.84rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.calc-tab-btn:hover:not(.active) {
  color: var(--text-primary);
  background: var(--green-50);
}

.calc-tab-btn.active {
  color: var(--green-700);
  border-bottom-color: var(--green-600);
  background: var(--white);
}

.calc-tab-icon { font-size: 0.82rem; }

/* ── Panel body ───────────────────────────────────────────── */
.calc-panel-body { padding: var(--space-xl); }

/* ── Range slider ─────────────────────────────────────────── */
.calc-range-full {
  display: block;
  width: 100%;
  margin-top: 10px;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}

.calc-range-full::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-600);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(22,101,52,0.30);
  transition: transform 0.15s, box-shadow 0.15s;
}

.calc-range-full::-webkit-slider-thumb:hover,
.calc-range-full:active::-webkit-slider-thumb {
  transform: scale(1.2);
  box-shadow: 0 3px 12px rgba(22,101,52,0.40);
}

.calc-range-full::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-600);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(22,101,52,0.30);
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 5px;
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* ── Result box ───────────────────────────────────────────── */
.calc-result-box {
  background: linear-gradient(135deg, var(--green-900) 0%, #052e16 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  color: var(--white);
  text-align: center;
  margin-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.calc-result-box::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.calc-result-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-sm);
}

.calc-result-lbl-md {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-sm);
}

.calc-result-big {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.calc-result-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: var(--space-md) 0;
}

.calc-result-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.calc-result-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.calc-sub-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 4px;
}

.calc-sub-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.calc-sub-big {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.calc-disclaimer {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: var(--space-lg);
  text-align: center;
  font-style: italic;
  padding-top: var(--space-sm);
  border-top: 1px solid #f1f5f9;
}

/* ── EMI vs EPI info cards ────────────────────────────────── */
.calc-diff-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.calc-emi-tag,
.calc-epi-tag {
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid #e2e8f0;
}

.calc-emi-tag {
  background: var(--green-50);
  border-left: 4px solid var(--green-600);
}

.calc-epi-tag {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
}

.calc-emi-tag strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.03em;
}

.calc-epi-tag strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.03em;
}

.calc-explain {
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ── Interest rate table ──────────────────────────────────── */
.calc-rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  margin-top: var(--space-md);
}

.calc-rate-head-row {
  background: var(--green-50);
}

.calc-rate-td-row:nth-child(even) {
  background: #f8fafc;
}

.calc-rate-td-row:hover {
  background: var(--green-50);
  transition: background 0.15s;
}

.calc-rate-td,
.calc-rate-th-l,
.calc-rate-th-r,
.calc-rate-td-r {
  padding: 10px var(--space-md);
  border-bottom: 1px solid #f1f5f9;
}

.calc-rate-th-l,
.calc-rate-th-r {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-800);
  text-align: left;
  border-bottom: 2px solid var(--green-100);
}

.calc-rate-td { color: var(--text-primary); }

.calc-rate-td-r {
  text-align: right;
  font-weight: 700;
  color: var(--green-700);
}

.calc-rate-th-r { text-align: right; }

.calc-apply-btn {
  display: block;
  text-align: center;
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .calc-gap-2xl { gap: var(--space-xl); }
  .calc-result-big { font-size: 2rem; }
}

@media (max-width: 480px) {
  .calc-tab-btn { font-size: 0.78rem; padding: 12px var(--space-md); gap: 6px; }
  .calc-panel-body { padding: var(--space-lg); }
  .calc-result-big { font-size: 1.75rem; }
  .calc-result-grid3 { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .calc-result-box { padding: var(--space-lg); }
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER LOGIN PAGE — ml-* extensions
═══════════════════════════════════════════════════════════════ */

.ml-hero { min-height: 160px; }

.ml-security-icon { font-size: 0.85rem; }

.ml-field-icon {
  color: var(--green-600);
  margin-right: 6px;
  font-size: 0.85rem;
}

.ml-pwd-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ml-forgot-link {
  font-size: 0.78rem;
  color: var(--green-700);
  text-decoration: none;
  font-weight: 500;
}

.ml-forgot-link:hover { text-decoration: underline; }

.ml-pwd-wrap { position: relative; }

.ml-remember-group { margin-bottom: var(--space-lg); }

.ml-remember-label {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.ml-remember-cb {
  width: 16px;
  height: 16px;
  accent-color: var(--green-700);
  cursor: pointer;
  flex-shrink: 0;
}

.ml-login-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ml-eye-hidden { display: none !important; }

@media (max-width: 720px) {
  .ml-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .ml-join-panel {
    position: static;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER DASHBOARD — content-card & sect-title
═══════════════════════════════════════════════════════════════ */

.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  margin-bottom: var(--space-2xl);
  overflow: hidden;
}

.content-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.content-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-card-body { padding: var(--space-xl); }

.sect-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  padding: var(--space-sm) var(--space-xl);
  margin-top: var(--space-md);
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER DASHBOARD — dash-* inline-extracted classes
═══════════════════════════════════════════════════════════════ */

.dash-tb-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 4px 12px 4px 6px;
}

.dash-tb-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-tb-name { font-size: 0.78rem; font-weight: 600; color: var(--white); }
.dash-tb-badge { font-size: 0.70rem; color: rgba(255,255,255,0.75); }

.dash-dph-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.dash-portal-live {
  color: var(--green-500, var(--green-500));
  font-size: 0.65rem;
  animation: dashPulse 2s infinite;
}

@keyframes dashPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.dash-su-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.dash-active-text { color: var(--green-600); font-weight: 600; }

.dash-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.dash-tag-kyc {
  background: var(--green-50);
  color: var(--green-800);
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--green-100);
}

.dash-tag-member {
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid #bfdbfe;
}

.dash-notif-badge {
  background: var(--red-600, #dc2626);
  color: var(--white);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-left: auto;
}

.dash-sidebar-foot {
  border-top: 1px solid var(--border);
  padding: var(--space-lg) var(--space-xl);
  margin-top: auto;
}

.dash-help-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}

.dash-help-link:hover { color: var(--green-700); }

.dash-headset-icon { color: var(--green-600); font-size: 1rem; }

.dash-overview-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.dash-icon-lead {
  color: var(--green-600);
  margin-right: 10px;
  font-size: 1.1rem;
}

.dash-active-badge { flex-shrink: 0; margin-top: 6px; }

.dash-card-green { border-top: 3px solid var(--green-600); }
.dash-card-red   { border-top: 3px solid #ef4444; }
.dash-card-blue  { border-top: 3px solid #3b82f6; }
.dash-card-amber { border-top: 3px solid #f59e0b; }

.dash-icon-green { color: var(--green-600); margin-right: 6px; }
.dash-icon-red   { color: #ef4444; margin-right: 6px; }
.dash-icon-blue  { color: #3b82f6; margin-right: 6px; }
.dash-icon-amber { color: #f59e0b; margin-right: 6px; }

.dash-sub-green { color: var(--green-600); }

.dash-card-val-sm { font-size: 0.9rem; font-weight: 600; margin: 4px 0; }

.dash-txn-credit { color: var(--green-700); font-weight: 600; }
.dash-txn-debit  { color: #dc2626; font-weight: 600; }

.dash-loan-info {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) 0;
}

.dash-view-all {
  padding: 5px 12px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.dash-table-plain { overflow-x: auto; }

.dash-table-plain table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.dash-table-plain thead tr {
  background: #f8fafc;
}

.dash-table-plain thead th {
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.71rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0.8rem 1.1rem;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
}

.dash-table-plain td {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: middle;
  color: var(--text-primary);
}

.dash-table-plain tbody tr {
  transition: background 0.15s;
}

.dash-table-plain tbody tr:hover {
  background: var(--green-50);
}

.dash-table-plain tbody tr:last-child td {
  border-bottom: none;
}

.dash-grid-xl { gap: var(--space-2xl); }

.dash-grid-xl-mb {
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.dash-loan-amt-box,
.dash-emi-box {
  background: var(--green-50);
  border: 1px solid var(--green-100, var(--green-50));
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}

.dash-loan-amt-lbl,
.dash-emi-lbl {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dash-loan-amt-val,
.dash-emi-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-900);
}

.dash-cc-gray { background: var(--gray-50); }

.dash-stepper-full {
  width: 100%;
  overflow-x: auto;
}

.dash-step-end {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-xl);
}

.dash-step-between {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-xl);
}

.dash-kyc-row {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}

.dash-kyc-row-last {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-sm) 0;
  font-size: 0.84rem;
}

.dash-kyc-lbl {
  min-width: 120px;
  font-size: 0.80rem;
  color: var(--text-light);
  font-weight: 500;
  flex-shrink: 0;
}

.dash-kyc-col { flex: 1; }

.dash-section-h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--green-100, var(--green-50));
}

.dash-loan-badge {
  background: var(--gray-100);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.dash-profile-ro { background: var(--gray-50); }

.dash-consent-label {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  cursor: pointer;
}

.dash-consent-cb {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-700);
  cursor: pointer;
}

/* Additional utility classes from inline style extraction */
.dash-section-hidden { display: none; }
.dash-tb-current     { cursor: default; opacity: 0.7; }
.dash-alert-sm       { font-size: 0.83rem; }
.calc-epi-result-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-md);
}

/* Calculator card should not lift on hover */
.calc-wrap:hover,
.card.calc-wrap:hover {
  transform: none;
  box-shadow: 0 4px 32px rgba(0,0,0,0.09);
  border-color: #e2e8f0;
}

/* ═══════════════════════════════════════════════════════════════
   PORTAL FOOTER — green bar footer for account pages
═══════════════════════════════════════════════════════════════ */
.portal-footer {
  background: var(--green-900);
  padding: 0.75rem 0;
}

.portal-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.portal-footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.portal-footer-powered {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.portal-footer-powered:hover { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 600px) {
  .portal-footer-inner { flex-direction: column; gap: 4px; }
}


/* ══════════════════════════════════════════
   PAGE-SPECIFIC STYLES (moved from HTML)
══════════════════════════════════════════ */
/* ══ index.html ══ */
/* ── Home EMI Calculator card ── */
    .idx-calc-card {
      max-width: 760px; margin: 0 auto;
      background: white; border-radius: 16px;
      border: 1px solid var(--border);
      box-shadow: 0 4px 24px rgba(0,0,0,0.07); overflow: hidden;
    }
    .idx-calc-fields {
      padding: 28px 32px 20px;
      display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
    }
    .idx-calc-result {
      background: linear-gradient(135deg, var(--green-50), var(--green-50));
      border-top: 1px solid var(--green-100); border-bottom: 1px solid var(--green-100);
      padding: 18px 32px;
      display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr;
      align-items: center; gap: 16px;
    }
    .idx-res-divider { background: var(--green-100); height: 40px; }
    .idx-res-item { text-align: center; }
    .idx-res-lbl {
      font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em;
      color: var(--green-700); font-weight: 700; margin-bottom: 4px;
    }
    .idx-res-main { font-size: 1.55rem; font-weight: 800; color: var(--green-900); }
    .idx-res-sub  { font-size: 0.9rem; font-weight: 700; color: var(--green-800); }
    .idx-calc-footer {
      padding: 16px 32px; text-align: center;
      background: #f8fafc; border-top: 1px solid var(--border);
    }
    .v2-emi-field label {
      display: block; font-size: 0.7rem; font-weight: 700; color: var(--text-light);
      text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px;
    }
    .v2-emi-number {
      width: 100%; padding: 9px 12px;
      border: 1.5px solid var(--border); border-radius: 8px;
      font-size: 0.92rem; font-weight: 700; color: var(--text);
      background: #f8fafc; outline: none; transition: border-color 0.18s;
    }
    .v2-emi-number:focus { border-color: var(--green-500); background: white; }
    .v2-emi-range { width: 100%; margin-top: 7px; accent-color: var(--green-700); cursor: pointer; }
    .v2-emi-range-lbl {
      display: flex; justify-content: space-between;
      font-size: 0.72rem; color: #888; margin-top: 3px;
      font-weight: 500;
    }
    @media (max-width: 640px) {
      .idx-calc-fields { grid-template-columns: 1fr; padding: 20px; }
      .idx-calc-result { grid-template-columns: 1fr; padding: 16px 20px; }
      .idx-res-divider { display: none; }
      .idx-calc-footer { padding: 14px 20px; }
    }

    /* ── Notice email subscription ── */
    .v2-notice-sub {
      padding: 12px var(--space-lg);
      background: #f8fafb; border-top: 1px solid var(--border);
    }
    .v2-notice-sub-title {
      font-size: 0.73rem; font-weight: 700; color: var(--green-900);
      display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
    }
    .v2-notice-sub-form { display: flex; gap: 6px; }
    .v2-notice-sub-input {
      flex: 1; padding: 7px 11px; border: 1.5px solid var(--border);
      border-radius: 7px; font-size: 0.78rem; outline: none;
      transition: border-color 0.18s;
    }
    .v2-notice-sub-input:focus { border-color: var(--green-500); }
    .v2-notice-sub-btn {
      padding: 7px 13px; border-radius: 7px;
      background: var(--green-900); color: white;
      font-size: 0.74rem; font-weight: 700; border: none; cursor: pointer;
      white-space: nowrap; transition: background 0.18s;
    }
    .v2-notice-sub-btn:hover { background: var(--green-800); }
/* ══ pages/notice-detail.html ══ */
/* ── Notice Detail Page Styles ── */
    .nd-wrap {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: var(--space-2xl);
      align-items: flex-start;
    }
    @media (max-width: 900px) {
      .nd-wrap { grid-template-columns: 1fr; }
    }

    /* Main body */
    .nd-image {
      width: 100%;
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-bottom: var(--space-xl);
      box-shadow: 0 4px 24px rgba(0,0,0,0.10);
      position: relative;
    }
    .nd-image img {
      width: 100%;
      height: 340px;
      object-fit: cover;
      display: block;
    }
    .nd-image-caption {
      background: rgba(0,0,0,0.55);
      color: rgba(255,255,255,0.85);
      font-size: 0.78rem;
      padding: 8px 14px;
      position: absolute;
      bottom: 0; left: 0; right: 0;
    }
    .nd-badges {
      display: flex;
      gap: var(--space-sm);
      flex-wrap: wrap;
      margin-bottom: var(--space-md);
    }
    .nd-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 12px;
      border-radius: 99px;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .nd-badge-urgent { background: #fef2f2; color: var(--red-600); border: 1px solid #fecaca; }
    .nd-badge-agm    { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
    .nd-badge-notice { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

    .nd-title {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--green-900);
      line-height: 1.35;
      margin-bottom: var(--space-sm);
    }
    .nd-meta-row {
      display: flex;
      gap: var(--space-lg);
      flex-wrap: wrap;
      font-size: 0.82rem;
      color: var(--text-light);
      margin-bottom: var(--space-xl);
      padding-bottom: var(--space-lg);
      border-bottom: 1px solid var(--border);
    }
    .nd-meta-row span { display: flex; align-items: center; gap: 5px; }

    .nd-body {
      font-size: 0.95rem;
      line-height: 1.85;
      color: var(--text);
    }
    .nd-body p { margin-bottom: var(--space-lg); }
    .nd-body ul {
      padding-left: var(--space-xl);
      margin-bottom: var(--space-lg);
    }
    .nd-body ul li { margin-bottom: var(--space-sm); }
    .nd-body h3 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--green-900);
      margin: var(--space-xl) 0 var(--space-md);
    }

    /* Highlight box */
    .nd-highlight {
      background: var(--green-50);
      border: 1px solid var(--green-100);
      border-left: 4px solid var(--green-600);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      margin: var(--space-xl) 0;
      font-size: 0.9rem;
    }
    .nd-highlight-title {
      font-weight: 700;
      color: var(--green-800);
      margin-bottom: var(--space-sm);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* AGM event grid */
    .nd-event-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-md);
      margin: var(--space-lg) 0;
    }
    @media (max-width: 480px) {
      .nd-event-grid { grid-template-columns: 1fr; }
    }
    .nd-event-item {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: var(--space-md);
    }
    .nd-event-lbl {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-light);
      margin-bottom: 4px;
    }
    .nd-event-val {
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--green-900);
    }

    /* Download card */
    .nd-download-card {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      margin-top: var(--space-2xl);
    }
    .nd-download-card-title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--green-900);
      margin-bottom: var(--space-lg);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nd-file-row {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-md);
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      margin-bottom: var(--space-sm);
    }
    .nd-file-icon {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-md);
      background: #fef2f2;
      color: #dc2626;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
    }
    .nd-file-info { flex: 1; min-width: 0; }
    .nd-file-name {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .nd-file-size { font-size: 0.74rem; color: var(--text-light); margin-top: 2px; }

    /* Share bar */
    .nd-share {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      margin-top: var(--space-xl);
      padding-top: var(--space-lg);
      border-top: 1px solid var(--border);
      flex-wrap: wrap;
    }
    .nd-share-lbl { font-size: 0.82rem; font-weight: 600; color: var(--text-light); }
    .nd-share-btn {
      width: 36px; height: 36px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.85rem; border: none; cursor: pointer;
      text-decoration: none; transition: all 0.18s;
    }
    .nd-share-btn:hover { opacity: 0.82; transform: translateY(-2px); }
    .nd-share-fb  { background: #1877f2; color: white; }
    .nd-share-wa  { background: #25d366; color: white; }
    .nd-share-tw  { background: #000; color: white; }
    .nd-share-copy { background: var(--border); color: var(--text); }

    /* Sidebar */
    .nd-sidebar { position: sticky; top: 90px; }

    .nd-info-card {
      background: linear-gradient(135deg, var(--green-900), var(--green-800));
      color: white;
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      margin-bottom: var(--space-lg);
    }
    .nd-info-card-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: white;
      margin-bottom: var(--space-lg);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nd-info-row {
      background: rgba(255,255,255,0.1);
      border-radius: var(--radius-md);
      padding: var(--space-md);
      margin-bottom: var(--space-sm);
    }
    .nd-info-row:last-child { margin-bottom: 0; }
    .nd-info-row-lbl {
      font-size: 0.68rem;
      color: rgba(255,255,255,0.6);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 3px;
    }
    .nd-info-row-val { font-size: 0.88rem; font-weight: 700; color: white; }

    .nd-related-card {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-bottom: var(--space-lg);
    }
    .nd-related-head {
      padding: var(--space-md) var(--space-lg);
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--green-900);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nd-related-item {
      display: flex;
      gap: var(--space-md);
      padding: var(--space-md) var(--space-lg);
      border-bottom: 1px solid var(--border);
      text-decoration: none;
      transition: background 0.18s;
    }
    .nd-related-item:last-child { border-bottom: none; }
    .nd-related-item:hover { background: var(--green-50, var(--green-50)); }
    .nd-related-date {
      flex-shrink: 0;
      width: 44px;
      text-align: center;
      background: var(--green-50, var(--green-50));
      border-radius: var(--radius-sm);
      padding: 4px;
    }
    .nd-related-date-day { font-size: 1rem; font-weight: 800; color: var(--green-800); line-height: 1; }
    .nd-related-date-mon { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; color: var(--green-700); }
    .nd-related-text { font-size: 0.8rem; color: var(--text); line-height: 1.45; }
    .nd-related-text small { font-size: 0.72rem; color: var(--text-light); display: block; margin-top: 2px; }

    .nd-back-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: var(--space-md) var(--space-lg);
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--green-800);
      text-decoration: none;
      transition: background 0.18s;
    }
    .nd-back-btn:hover { background: var(--green-50, var(--green-50)); }
/* ══ pages/news.html ══ */
/* ── Featured Hero News ── */
    .nws-featured {
      position: relative; border-radius: 16px; overflow: hidden;
      height: 500px; display: block; text-decoration: none;
      margin-bottom: var(--space-2xl);
    }
    .nws-feat-bg {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; display: block; transition: transform 0.42s ease;
    }
    .nws-featured:hover .nws-feat-bg { transform: scale(1.04); }
    .nws-feat-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.42) 55%, transparent 100%);
    }
    .nws-feat-content {
      position: absolute; bottom: 0; left: 0; right: 0; padding: 38px 44px;
    }
    .nws-feat-badges { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
    .nws-feat-badge {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 4px 12px; border-radius: 99px;
      font-size: 0.68rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.06em;
    }
    .nws-badge-latest { background: #ef4444; color: white; }
    .nws-badge-cat    { background: rgba(255,255,255,0.18); color: white; backdrop-filter: blur(4px); }
    h2.nws-feat-title {
      color: white; font-size: 2.1rem; font-weight: 800;
      line-height: 1.28; margin-bottom: 12px;
      text-shadow: 0 2px 14px rgba(0,0,0,0.5);
    }
    .nws-feat-meta {
      display: flex; gap: 18px; color: rgba(255,255,255,0.7);
      font-size: 0.78rem; margin-bottom: 16px; flex-wrap: wrap;
    }
    .nws-feat-meta span { display: flex; align-items: center; gap: 5px; }
    p.nws-feat-excerpt {
      color: rgba(255,255,255,0.82); font-size: 0.88rem;
      line-height: 1.7; margin-bottom: 24px; max-width: 580px;
    }
    .nws-feat-btn {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--green-900); color: white;
      padding: 10px 24px; border-radius: 8px;
      font-size: 0.85rem; font-weight: 700;
      text-decoration: none; transition: background 0.18s, gap 0.18s;
    }
    .nws-feat-btn:hover { background: var(--green-800); gap: 12px; }

    /* ── Filter Tabs ── */
    .nws-filters {
      display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--space-xl);
    }
    .nws-filter {
      padding: 7px 20px; border-radius: 99px;
      font-size: 0.82rem; font-weight: 600;
      border: 1.5px solid var(--border); background: white; color: var(--text);
      cursor: pointer; transition: all 0.18s;
    }
    .nws-filter:hover  { border-color: var(--green-500); color: var(--green-700); }
    .nws-filter.active { background: var(--green-900); border-color: var(--green-900); color: white; }

    /* ── News Grid ── */
    .nws-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg);
    }
    @media (max-width: 900px) { .nws-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .nws-grid { grid-template-columns: 1fr; } }

    .nws-card {
      border-radius: 12px; overflow: hidden;
      border: 1px solid var(--border); background: white;
      transition: box-shadow 0.22s, transform 0.22s;
      display: flex; flex-direction: column;
    }
    .nws-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.10); transform: translateY(-3px); }
    .nws-card.hidden { display: none; }

    .nws-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
    .nws-card-img img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform 0.34s ease;
    }
    .nws-card:hover .nws-card-img img { transform: scale(1.06); }

    .nws-card-cat {
      position: absolute; top: 10px; left: 10px;
      display: inline-flex; align-items: center; gap: 4px;
      padding: 3px 10px; border-radius: 99px;
      font-size: 0.62rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.05em;
    }
    .cat-event    { background: rgba(5,46,22,0.88);    color: white; }
    .cat-finance  { background: rgba(120,53,15,0.88);  color: white; }
    .cat-tech     { background: rgba(30,64,175,0.88);  color: white; }
    .cat-training { background: rgba(76,29,149,0.88);  color: white; }
    .cat-inst     { background: rgba(15,118,110,0.88); color: white; }

    .nws-card-body {
      padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column;
    }
    .nws-card-meta {
      font-size: 0.7rem; color: var(--text-light);
      display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
    }
    .nws-card-meta span { display: flex; align-items: center; gap: 4px; }
    h3.nws-card-title {
      font-size: 0.93rem; font-weight: 700; color: var(--text);
      line-height: 1.4; margin-bottom: 8px;
    }
    p.nws-card-excerpt {
      font-size: 0.78rem; color: var(--text-light); line-height: 1.65;
      margin-bottom: 14px; flex: 1;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    a.nws-card-btn {
      display: inline-flex; align-items: center; gap: 6px;
      color: var(--green-900); font-size: 0.78rem; font-weight: 700;
      text-decoration: none; transition: gap 0.18s; margin-top: auto;
    }
    a.nws-card-btn:hover { gap: 10px; }

    .nws-empty {
      display: none; text-align: center; padding: var(--space-2xl);
      color: var(--text-light); grid-column: 1/-1;
    }
    .nws-empty i { font-size: 2.5rem; color: var(--border); display: block; margin-bottom: var(--space-md); }

    @media (max-width: 640px) {
      .nws-feat-content { padding: 20px 18px; }
      h2.nws-feat-title { font-size: 1.3rem; }
      .nws-featured { height: 320px; }
      p.nws-feat-excerpt { display: none; }
    }
/* ══ pages/gallery.html ══ */
/* ── Filter Tabs ── */
    .gal-filters {
      display: flex; gap: 8px; flex-wrap: wrap;
      justify-content: center; margin-bottom: var(--space-xl);
    }
    .gal-filter {
      padding: 7px 20px; border-radius: 99px;
      font-size: 0.82rem; font-weight: 600;
      border: 1.5px solid var(--border);
      background: white; color: var(--text);
      cursor: pointer; transition: all 0.18s;
    }
    .gal-filter:hover { border-color: var(--green-500); color: var(--green-700); }
    .gal-filter.active { background: var(--green-900); border-color: var(--green-900); color: white; }

    /* ── Photo Grid ── */
    .gal-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
    @media (max-width: 1024px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 640px)  { .gal-grid { grid-template-columns: repeat(2, 1fr); } }

    .gal-card {
      position: relative; border-radius: 10px;
      overflow: hidden; aspect-ratio: 4/3;
      cursor: pointer; background: var(--green-50);
    }
    .gal-card.hidden { display: none; }
    .gal-card img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.35s ease; display: block;
    }
    .gal-card:hover img { transform: scale(1.07); }

    .gal-overlay {
      position: absolute; inset: 0;
      background: rgba(0,0,0,0);
      display: flex; flex-direction: column;
      justify-content: flex-end; padding: 12px;
      transition: background 0.25s;
    }
    .gal-card:hover .gal-overlay { background: rgba(0,0,0,0.48); }
    .gal-overlay-title {
      color: white; font-size: 0.78rem; font-weight: 600;
      opacity: 0; transform: translateY(6px);
      transition: all 0.25s;
      text-shadow: 0 1px 4px rgba(0,0,0,0.6);
      line-height: 1.35;
    }
    .gal-card:hover .gal-overlay-title { opacity: 1; transform: translateY(0); }

    .gal-zoom {
      position: absolute; top: 8px; right: 8px;
      width: 32px; height: 32px; border-radius: 50%;
      background: rgba(255,255,255,0.92); border: none;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      font-size: 0.8rem; color: var(--green-800);
      opacity: 0; transition: opacity 0.2s;
    }
    .gal-card:hover .gal-zoom { opacity: 1; }

    .gal-cat-badge {
      position: absolute; top: 8px; left: 8px;
      background: rgba(5, 46, 22, 0.82); color: white;
      font-size: 0.62rem; font-weight: 700;
      padding: 3px 8px; border-radius: 99px;
      text-transform: uppercase; letter-spacing: 0.05em;
      backdrop-filter: blur(4px);
    }

    /* ── Lightbox ── */
    .gal-lightbox {
      display: none; position: fixed; inset: 0; z-index: 9999;
      align-items: center; justify-content: center;
    }
    .gal-lightbox.open { display: flex; }
    .gal-lb-overlay {
      position: absolute; inset: 0; background: rgba(0,0,0,0.94);
      cursor: pointer;
    }
    .gal-lb-box {
      position: relative; z-index: 1;
      display: flex; flex-direction: column; align-items: center;
      max-width: 92vw;
    }
    .gal-lb-img {
      max-width: 88vw; max-height: 78vh;
      object-fit: contain; border-radius: 8px;
      box-shadow: 0 8px 48px rgba(0,0,0,0.6);
      display: block;
    }
    .gal-lb-caption {
      color: rgba(255,255,255,0.75); font-size: 0.82rem;
      margin-top: 14px; text-align: center; max-width: 560px;
    }
    .gal-lb-counter {
      color: rgba(255,255,255,0.45); font-size: 0.72rem;
      margin-top: 4px; text-align: center;
    }
    .gal-lb-close {
      position: fixed; top: 18px; right: 18px;
      width: 42px; height: 42px; border-radius: 50%;
      background: rgba(255,255,255,0.12); border: none; color: white;
      font-size: 1.1rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.18s; z-index: 2;
    }
    .gal-lb-close:hover { background: rgba(255,255,255,0.25); }
    .gal-lb-prev, .gal-lb-next {
      position: fixed; top: 50%; transform: translateY(-50%);
      width: 46px; height: 46px; border-radius: 50%;
      background: rgba(255,255,255,0.12); border: none; color: white;
      font-size: 1rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.18s; z-index: 2;
    }
    .gal-lb-prev { left: 14px; }
    .gal-lb-next { right: 14px; }
    .gal-lb-prev:hover, .gal-lb-next:hover { background: rgba(255,255,255,0.28); }
    @media (max-width: 560px) {
      .gal-lb-prev { left: 6px; }
      .gal-lb-next { right: 6px; }
    }

    /* ── Section divider row ── */
    .gal-section-head {
      display: flex; align-items: center; gap: 14px;
      margin-bottom: var(--space-xl);
    }
    .gal-section-head-title {
      font-size: 1.1rem; font-weight: 800; color: var(--green-900);
      white-space: nowrap; display: flex; align-items: center; gap: 8px;
    }
    .gal-section-rule { flex: 1; height: 1px; background: var(--border); }

    /* ── Video Filter Tabs ── */
    .gal-vfilters {
      display: flex; gap: 8px; flex-wrap: wrap;
      justify-content: center; margin-bottom: var(--space-xl);
    }
    .gal-vfilter {
      padding: 7px 20px; border-radius: 99px;
      font-size: 0.82rem; font-weight: 600;
      border: 1.5px solid var(--border);
      background: white; color: var(--text);
      cursor: pointer; transition: all 0.18s;
    }
    .gal-vfilter:hover { border-color: #ef4444; color: #ef4444; }
    .gal-vfilter.active { background: #dc2626; border-color: #dc2626; color: white; }

    /* ── Video Grid ── */
    .gal-video-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-lg);
    }
    @media (max-width: 900px) { .gal-video-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .gal-video-grid { grid-template-columns: 1fr; } }

    .gal-video-card {
      border-radius: 12px; overflow: hidden;
      border: 1px solid var(--border); background: white;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .gal-video-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); transform: translateY(-2px); }
    .gal-video-card.hidden { display: none; }

    .gal-video-embed {
      position: relative; aspect-ratio: 16/9;
      background: #111; cursor: pointer; overflow: hidden;
    }
    .gal-yt-thumb {
      width: 100%; height: 100%; object-fit: cover;
      display: block; transition: transform 0.3s;
    }
    .gal-video-embed:hover .gal-yt-thumb { transform: scale(1.04); }
    .gal-yt-play {
      position: absolute; top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 54px; height: 54px; border-radius: 50%;
      background: rgba(255,255,255,0.95); border: none;
      font-size: 1.4rem; color: #dc2626; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 2px 20px rgba(0,0,0,0.35);
      transition: transform 0.18s;
    }
    .gal-video-embed:hover .gal-yt-play { transform: translate(-50%, -50%) scale(1.1); }
    .gal-video-embed iframe {
      position: absolute; inset: 0; width: 100%; height: 100%; border: none;
    }
    .gal-yt-thumb-placeholder {
      width: 100%; height: 100%;
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      display: flex; align-items: center; justify-content: center;
    }
    .gal-yt-thumb-placeholder i { font-size: 3rem; color: rgba(255,255,255,0.15); }

    .gal-video-info { padding: 12px 14px 14px; }
    .gal-vcategory-badge {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 0.65rem; font-weight: 700;
      padding: 2px 8px; border-radius: 99px;
      background: #fef2f2; color: #dc2626;
      text-transform: uppercase; letter-spacing: 0.04em;
      margin-bottom: 6px;
    }
    .gal-video-title {
      font-size: 0.88rem; font-weight: 700; color: var(--text);
      line-height: 1.4; margin-bottom: 6px;
    }
    .gal-video-meta {
      font-size: 0.72rem; color: var(--text-light);
      display: flex; gap: 10px; flex-wrap: wrap;
    }
    .gal-video-meta span { display: flex; align-items: center; gap: 4px; }

    /* ── Empty state ── */
    .gal-empty {
      display: none; text-align: center;
      padding: var(--space-2xl); color: var(--text-light);
      grid-column: 1/-1;
    }
    .gal-empty i { font-size: 2.5rem; color: var(--border); display: block; margin-bottom: var(--space-md); }
/* ══ pages/news-detail.html ══ */
/* ── Page Layout ── */
    .nwd-wrap {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: var(--space-2xl);
      align-items: flex-start;
    }
    @media (max-width: 900px) { .nwd-wrap { grid-template-columns: 1fr; } }

    /* ── Main Content ── */
    .nwd-image {
      width: 100%; border-radius: var(--radius-lg); overflow: hidden;
      margin-bottom: var(--space-xl);
      box-shadow: 0 4px 24px rgba(0,0,0,0.10); position: relative;
    }
    .nwd-image img { width: 100%; height: 380px; object-fit: cover; display: block; }
    .nwd-image-caption {
      background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.85);
      font-size: 0.78rem; padding: 8px 14px;
      position: absolute; bottom: 0; left: 0; right: 0;
    }

    .nwd-cat-badge {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 5px 14px; border-radius: 99px;
      font-size: 0.7rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.06em;
      margin-bottom: var(--space-md);
    }
    .nwd-cat-event    { background: var(--green-50); color: var(--green-800); }
    .nwd-cat-finance  { background: #fef3c7; color: #92400e; }
    .nwd-cat-tech     { background: #dbeafe; color: #1e40af; }
    .nwd-cat-training { background: #ede9fe; color: #4c1d95; }
    .nwd-cat-inst     { background: #ccfbf1; color: #0f766e; }

    h1.nwd-title {
      font-size: 1.75rem; font-weight: 800; line-height: 1.3;
      color: var(--text); margin-bottom: var(--space-md);
    }

    .nwd-meta-row {
      display: flex; flex-wrap: wrap; gap: 18px;
      padding-bottom: var(--space-md);
      border-bottom: 1px solid var(--border);
      margin-bottom: var(--space-xl);
      font-size: 0.78rem; color: var(--text-light);
    }
    .nwd-meta-row span { display: flex; align-items: center; gap: 5px; }

    /* ── Article Body ── */
    .nwd-body { font-size: 0.92rem; line-height: 1.9; color: var(--text); }
    .nwd-body p { margin-bottom: var(--space-lg); }
    .nwd-body h3 {
      font-size: 1.08rem; font-weight: 700; color: var(--green-900);
      margin: var(--space-xl) 0 var(--space-md);
    }
    .nwd-body ul { padding-left: 22px; margin-bottom: var(--space-lg); }
    .nwd-body li { margin-bottom: 7px; }
    .nwd-body strong { color: var(--text); }

    .nwd-highlight {
      border-left: 4px solid var(--green-900);
      background: var(--green-50); padding: var(--space-md) var(--space-lg);
      border-radius: 0 8px 8px 0; margin: var(--space-xl) 0;
      font-style: italic; color: var(--green-800); font-size: 0.9rem; line-height: 1.7;
    }

    .nwd-photo-row {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
      margin: var(--space-xl) 0;
    }
    .nwd-photo-row img {
      width: 100%; height: 180px; object-fit: cover;
      border-radius: 8px; display: block;
    }
    @media (max-width: 560px) { .nwd-photo-row { grid-template-columns: 1fr; } }

    /* ── Tags ── */
    .nwd-tags {
      display: flex; flex-wrap: wrap; gap: 6px;
      padding-top: var(--space-lg); border-top: 1px solid var(--border);
      margin-bottom: var(--space-xl);
    }
    .nwd-tags-label {
      font-size: 0.72rem; color: var(--text-light); font-weight: 600;
      display: flex; align-items: center; margin-right: 4px;
    }
    .nwd-tag {
      padding: 3px 10px; border-radius: 99px;
      border: 1px solid var(--border); color: var(--text-light);
      font-size: 0.72rem; text-decoration: none; transition: all 0.18s;
    }
    .nwd-tag:hover { border-color: var(--green-500); color: var(--green-700); }

    /* ── Share ── */
    .nwd-share {
      display: flex; gap: 8px; align-items: center;
      padding: var(--space-md) 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      margin-bottom: var(--space-2xl);
    }
    .nwd-share-label { font-size: 0.78rem; color: var(--text-light); margin-right: 6px; font-weight: 600; }
    .nwd-share-btn {
      width: 36px; height: 36px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.85rem; border: none; cursor: pointer; transition: all 0.18s;
      text-decoration: none;
    }
    .nwd-share-fb  { background: #1877f2; color: white; }
    .nwd-share-wa  { background: #25d366; color: white; }
    .nwd-share-tw  { background: #000; color: white; }
    .nwd-share-copy { background: var(--border); color: var(--text); }
    .nwd-share-btn:hover { opacity: 0.82; transform: translateY(-2px); }

    /* ── Sidebar ── */
    .nwd-sidebar { position: sticky; top: 90px; }

    .nwd-info-card {
      background: linear-gradient(135deg, var(--green-900), var(--green-800));
      color: white; border-radius: 12px; padding: var(--space-xl);
      margin-bottom: var(--space-lg);
    }
    .nwd-info-card-title {
      font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.07em; color: rgba(255,255,255,0.6);
      margin-bottom: var(--space-md);
      display: flex; align-items: center; gap: 6px;
    }
    .nwd-info-row {
      display: flex; gap: 12px; align-items: flex-start;
      margin-bottom: 12px; font-size: 0.82rem;
    }
    .nwd-info-icon {
      width: 30px; height: 30px; border-radius: 6px;
      background: rgba(255,255,255,0.12); flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
    }
    .nwd-info-label { color: rgba(255,255,255,0.58); font-size: 0.68rem; }
    .nwd-info-val   { color: white; font-weight: 600; }

    /* Related news */
    .nwd-related-card {
      border: 1px solid var(--border); border-radius: 12px;
      overflow: hidden; margin-bottom: var(--space-lg);
    }
    .nwd-related-head {
      background: #f8fafb; padding: 12px 16px;
      font-size: 0.78rem; font-weight: 700; color: var(--text);
      display: flex; align-items: center; gap: 8px;
      border-bottom: 1px solid var(--border);
    }
    .nwd-related-item {
      display: flex; gap: 10px; padding: 10px 14px;
      border-bottom: 1px solid var(--border); text-decoration: none;
      transition: background 0.15s;
    }
    .nwd-related-item:last-child { border-bottom: none; }
    .nwd-related-item:hover { background: var(--green-50); }
    .nwd-related-thumb {
      width: 56px; height: 44px; border-radius: 6px;
      object-fit: cover; flex-shrink: 0;
    }
    .nwd-related-info { min-width: 0; }
    .nwd-related-title {
      font-size: 0.78rem; font-weight: 600; color: var(--text);
      line-height: 1.35; display: -webkit-box;
      -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .nwd-related-meta {
      font-size: 0.67rem; color: var(--text-light); margin-top: 3px;
      display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
    }
    .nwd-related-cat {
      display: inline-block; padding: 1px 7px; border-radius: 99px;
      font-size: 0.62rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.04em;
    }
    .rc-finance  { background: #fef3c7; color: #92400e; }
    .rc-tech     { background: #dbeafe; color: #1e40af; }
    .rc-training { background: #ede9fe; color: #4c1d95; }
    .rc-inst     { background: #ccfbf1; color: #0f766e; }
    .rc-event    { background: var(--green-50); color: var(--green-800); }

    /* Back / Nav */
    .nwd-nav-btns {
      display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: var(--space-lg);
    }
    .nwd-back-btn {
      display: inline-flex; align-items: center; gap: 7px;
      color: var(--green-900); font-size: 0.82rem; font-weight: 700;
      text-decoration: none; padding: 9px 16px;
      border: 1.5px solid var(--green-100); border-radius: 8px;
      background: var(--green-50); transition: all 0.18s;
    }
    .nwd-back-btn:hover { background: var(--green-50); border-color: var(--green-500); }

    @media (max-width: 640px) {
      h1.nwd-title { font-size: 1.3rem; }
      .nwd-image img { height: 220px; }
    }
/* ══ pages/membership.html ══ */
/* ── Eligibility Banner ── */
    .mem-elig-banner {
      display: flex;
      align-items: stretch;
      background: linear-gradient(135deg, var(--green-900), var(--green-800));
      border-radius: var(--radius-xl, 16px);
      overflow: hidden;
      margin-bottom: var(--space-xl);
    }
    .mem-elig-item {
      flex: 1;
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-xl) var(--space-lg);
    }
    .mem-elig-sep {
      width: 1px;
      background: rgba(255,255,255,0.14);
      margin: var(--space-lg) 0;
      flex-shrink: 0;
    }
    .mem-elig-icon {
      width: 50px; height: 50px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.25rem; color: white; flex-shrink: 0;
    }
    .mem-elig-val {
      font-size: 1rem; font-weight: 800; color: white; line-height: 1.2;
    }
    .mem-elig-lbl {
      font-size: 0.7rem; color: rgba(255,255,255,0.6);
      margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em;
    }
    @media (max-width: 640px) {
      .mem-elig-banner { flex-direction: column; }
      .mem-elig-sep { width: auto; height: 1px; margin: 0 var(--space-lg); }
    }

    /* ── Area + Docs Cards ── */
    .mem-split-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-xl);
    }
    @media (max-width: 700px) {
      .mem-split-grid { grid-template-columns: 1fr; }
    }
    .mem-area-card, .mem-docs-card {
      border-radius: var(--radius-lg, 12px);
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .mem-card-head {
      padding: 14px var(--space-lg);
      font-weight: 700; font-size: 0.88rem;
      display: flex; align-items: center; gap: 8px; color: white;
    }
    .mem-area-card .mem-card-head { background: var(--green-900); }
    .mem-docs-card .mem-card-head { background: #1e40af; }
    .mem-card-body { background: white; padding: var(--space-md) var(--space-lg) var(--space-lg); }

    .mem-area-item {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 12px;
      background: var(--green-50); border-radius: 8px; margin-top: var(--space-sm);
      font-size: 0.88rem; font-weight: 500; color: var(--green-900);
    }
    .mem-area-item i { color: var(--green-600); font-size: 0.8rem; }

    .mem-doc-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 10px 12px;
      border: 1px solid var(--border); border-radius: 8px; margin-top: var(--space-sm);
    }
    .mem-doc-num {
      width: 26px; height: 26px; border-radius: 50%;
      background: #eff6ff; color: #1e40af;
      font-size: 0.78rem; font-weight: 800;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .mem-doc-name { font-size: 0.86rem; font-weight: 600; color: var(--text); }
    .mem-doc-hint { font-size: 0.73rem; color: var(--text-light); margin-top: 2px; }

    /* ── File Drop Zone ── */
    .mem-file-drop {
      position: relative;
      border: 2px dashed var(--green-300);
      border-radius: 10px;
      padding: 20px 16px 16px;
      text-align: center;
      cursor: pointer;
      background: #f8fffe;
      transition: border-color 0.2s, background 0.2s;
      overflow: hidden;
    }
    .mem-file-drop:hover { border-color: var(--green-600); background: var(--green-50); }
    .mem-file-drop.drag-over { border-color: var(--green-600); background: var(--green-50); border-style: solid; }
    .mem-file-drop.has-file { border-color: var(--green-500); background: var(--green-50); border-style: solid; }
    .mem-file-drop input[type="file"] {
      position: absolute; inset: 0; opacity: 0; cursor: pointer;
      width: 100%; height: 100%; z-index: 1;
    }
    .mem-file-drop-icon { font-size: 1.7rem; color: var(--green-300); display: block; margin-bottom: 6px; }
    .mem-file-drop.has-file .mem-file-drop-icon { color: var(--green-500); }
    .mem-file-drop-cta { font-size: 0.82rem; font-weight: 700; color: var(--green-700); }
    .mem-file-drop-hint { font-size: 0.72rem; color: var(--text-light); margin-top: 3px; }
    .mem-file-selected {
      display: none; margin-top: 8px;
      font-size: 0.76rem; font-weight: 600; color: var(--green-700);
      background: var(--green-50); border-radius: 6px; padding: 4px 10px;
      max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .mem-file-drop.has-file .mem-file-selected { display: block; }

    /* Form section headings */
    .mem-form-section {
      display: flex; align-items: center; gap: 10px;
      color: var(--green-800); font-size: 0.95rem; font-weight: 700;
      margin: var(--space-xl) 0 var(--space-lg);
      padding-bottom: var(--space-sm);
      border-bottom: 2px solid var(--green-100);
    }
    .mem-form-section i {
      width: 30px; height: 30px; border-radius: 8px;
      background: var(--green-50); color: var(--green-600);
      display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
    }
/* ══ pages/auction.html ══ */
/* ── Auction Filters ─────────────────────────────── */
    .auc-filters {
      display: flex; flex-wrap: wrap; gap: 8px;
      margin-bottom: var(--space-xl);
    }
    .auc-filter-btn {
      padding: 7px 18px; border-radius: 999px;
      border: 1.5px solid var(--border);
      background: white; color: var(--text-light);
      font-size: 0.88rem; cursor: pointer;
      transition: all 0.18s;
    }
    .auc-filter-btn.active {
      background: var(--green-900); color: white;
      border-color: var(--green-900);
    }
    .auc-filter-btn:hover:not(.active) {
      border-color: var(--green-900); color: var(--green-900);
    }

    /* ── Stats Bar ───────────────────────────────────── */
    .auc-stats {
      display: flex; gap: var(--space-lg); flex-wrap: wrap;
      margin-bottom: var(--space-2xl);
    }
    .auc-stat {
      flex: 1; min-width: 140px; padding: var(--space-lg);
      background: white; border: 1px solid var(--border);
      border-radius: var(--radius-lg); text-align: center;
    }
    .auc-stat-num {
      font-size: 1.8rem; font-weight: 800; color: var(--green-900);
      line-height: 1;
    }
    .auc-stat-lbl { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

    /* ── Auction Grid ────────────────────────────────── */
    .auc-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-xl);
    }
    @media (max-width: 960px) { .auc-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 580px)  { .auc-grid { grid-template-columns: 1fr; } }
    .auc-grid .hidden { display: none !important; }

    /* ── Auction Card ────────────────────────────────── */
    .auc-card {
      background: white; border-radius: var(--radius-lg);
      border: 1px solid var(--border); overflow: hidden;
      transition: box-shadow 0.22s, transform 0.22s;
    }
    .auc-card:hover {
      box-shadow: 0 8px 28px rgba(0,0,0,0.10);
      transform: translateY(-3px);
    }

    /* ── Card Image ──────────────────────────────────── */
    .auc-img {
      height: 165px; position: relative;
      display: flex; align-items: center; justify-content: center;
    }
    .auc-img-icon { font-size: 3rem; opacity: 0.2; color: white; }
    .auc-img-land    { background: linear-gradient(135deg, #2d6a2d, #559d55); }
    .auc-img-house   { background: linear-gradient(135deg, #1e4a7a, #3a82c4); }
    .auc-img-vehicle { background: linear-gradient(135deg, #7a5200, #c49010); }
    .auc-img-other   { background: linear-gradient(135deg, #5a3a8c, #8a6acc); }

    /* ── Badges ──────────────────────────────────────── */
    .auc-badges {
      position: absolute; top: 10px; left: 10px; right: 10px;
      display: flex; justify-content: space-between; align-items: flex-start;
    }
    .auc-type-badge {
      font-size: 0.72rem; font-weight: 700; padding: 3px 10px;
      border-radius: 999px; background: rgba(255,255,255,0.92);
      color: var(--green-900);
    }
    .auc-status {
      font-size: 0.72rem; font-weight: 700; padding: 3px 10px;
      border-radius: 999px;
    }
    .auc-status-open     { background: var(--green-50); color: var(--green-800); }
    .auc-status-upcoming { background: #fef9c3; color: #854d0e; }
    .auc-status-closed   { background: #fee2e2; color: #991b1b; }

    /* ── Card Body ───────────────────────────────────── */
    .auc-body { padding: var(--space-lg); }
    .auc-title {
      font-size: 0.98rem; font-weight: 700; color: var(--green-900);
      margin-bottom: 8px; line-height: 1.45;
    }
    .auc-meta {
      display: flex; gap: 12px; flex-wrap: wrap;
      font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px;
    }
    .auc-meta-item { display: flex; align-items: center; gap: 4px; }
    .auc-reserve {
      font-size: 1.1rem; font-weight: 800; color: var(--green-900);
      margin-bottom: 6px;
    }
    .auc-reserve-lbl { font-size: 0.75rem; font-weight: 400; color: var(--text-light); }
    .auc-date-row {
      display: flex; align-items: center; gap: 6px;
      font-size: 0.82rem; color: var(--text-light); margin-bottom: var(--space-md);
      padding: 6px 10px; background: var(--green-50); border-radius: var(--radius-md);
    }

    /* ── Expand Button ───────────────────────────────── */
    .auc-expand-btn {
      width: 100%; padding: 9px;
      border: 1.5px solid var(--border); border-radius: var(--radius-md);
      background: white; font-size: 0.85rem; color: var(--green-900);
      font-weight: 600; cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 6px;
      transition: background 0.18s, border-color 0.18s;
    }
    .auc-expand-btn:hover { background: var(--green-50); border-color: var(--green-900); }
    .auc-chev { transition: transform 0.25s; }
    .auc-expand-btn.open .auc-chev { transform: rotate(180deg); }
    .auc-expand-btn.open {
      background: var(--green-50); border-color: var(--green-900);
      border-bottom-left-radius: 0; border-bottom-right-radius: 0;
    }

    /* ── Expanded Detail ─────────────────────────────── */
    .auc-detail {
      max-height: 0; overflow: hidden;
      transition: max-height 0.35s ease;
      border-top: 0px solid var(--border);
    }
    .auc-detail.open {
      max-height: 600px;
      border-top: 1px solid var(--border);
    }
    .auc-detail-inner {
      padding: var(--space-md) var(--space-lg) var(--space-lg);
    }
    .auc-detail-row {
      display: flex; gap: 8px; margin-bottom: 7px;
      font-size: 0.84rem; line-height: 1.5;
    }
    .auc-detail-lbl {
      font-weight: 600; color: var(--green-900);
      min-width: 120px; flex-shrink: 0;
    }
    .auc-detail-val { color: var(--text); }
    .auc-detail-note {
      margin-top: var(--space-md); padding: 10px 14px;
      background: #fef9c3; border-radius: var(--radius-md);
      font-size: 0.81rem; color: #854d0e;
      display: flex; gap: 8px; align-items: flex-start;
    }
    .auc-detail-divider {
      border: none; border-top: 1px dashed var(--border);
      margin: var(--space-sm) 0;
    }

    /* ── Empty state ─────────────────────────────────── */
    .auc-empty {
      grid-column: 1 / -1; text-align: center;
      padding: var(--space-2xl); color: var(--text-light); display: none;
    }
    .auc-empty i { font-size: 2.5rem; opacity: 0.3; display: block; margin-bottom: 12px; }

    /* ── Auction Detail Page ─────────────────────────────── */
    .auc-d-img-hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
    .auc-d-img-hero img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
    .auc-d-placeholder { border-radius: var(--radius-lg); margin-bottom: 1.5rem; min-height: 200px; }
    .auc-d-card { border: none !important; box-shadow: 0 2px 16px rgba(0,0,0,.08) !important; border-radius: var(--radius-lg) !important; overflow: hidden !important; margin-bottom: 1.5rem; }
    .auc-d-card-hdr { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .875rem 1.25rem; background: var(--gray-100); border-bottom: 1px solid var(--border); }
    .auc-d-bids-open { margin-left: auto; font-size: .78rem; color: #10b981; font-weight: 600; }
    .auc-d-stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: .5rem; margin-bottom: 1.25rem; }
    .auc-d-stat { background: var(--gray-100); border-radius: var(--radius-md); padding: .875rem .75rem; text-align: center; }
    .auc-d-stat-lbl { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: .2rem; }
    .auc-d-stat-val { font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--text-primary); }
    .auc-d-stat-val.blue  { color: #2563eb; }
    .auc-d-stat-val.green { color: #10b981; }
    .auc-d-row { display: flex; align-items: flex-start; gap: .875rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
    .auc-d-row:last-child { border-bottom: none; }
    .auc-d-icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: var(--radius-sm); flex-shrink: 0; margin-top: .1rem; font-size: .82rem; }
    .auc-d-icon.blue   { background: rgba(37,99,235,.1);  color: #2563eb; }
    .auc-d-icon.red    { background: rgba(239,68,68,.1);  color: #ef4444; }
    .auc-d-icon.amber  { background: rgba(245,158,11,.1); color: #d97706; }
    .auc-d-icon.purple { background: rgba(139,92,246,.1); color: #8b5cf6; }
    .auc-d-icon.teal   { background: rgba(16,185,129,.1); color: #10b981; }
    .auc-d-lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .15rem; }
    .auc-d-val { font-weight: 500; font-size: .93rem; color: var(--text-primary); }
    .auc-d-note-box { display: flex; align-items: flex-start; gap: .75rem; background: #fffbeb; border: 1px solid #fcd34d; border-radius: var(--radius-md); padding: .875rem 1rem; margin-top: 1rem; font-size: .88rem; color: #92400e; line-height: 1.65; }
    .auc-d-note-box i { color: #d97706; margin-top: .2rem; flex-shrink: 0; }
    .auc-bid-card { border: none !important; box-shadow: 0 4px 28px rgba(37,99,235,.14) !important; border-radius: var(--radius-lg) !important; overflow: hidden !important; position: sticky; top: 6rem; }
    .auc-bid-hdr { background: linear-gradient(135deg,#1e40af,#3b82f6); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: .75rem; color: #fff; }
    .auc-bid-hdr-icon { width: 2.75rem; height: 2.75rem; background: rgba(255,255,255,.18); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; color: #fff; }
    .auc-bid-hdr-title { font-weight: 700; font-size: 1.05rem; color: #fff; }
    .auc-bid-hdr-sub { font-size: .78rem; opacity: .82; margin-top: .1rem; color: #fff; }
    .auc-bid-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .625rem; }
    .auc-bid-form-grid .cnt-field-group.full { grid-column: 1 / -1; }
    .auc-state-card { border: none !important; box-shadow: 0 2px 20px rgba(0,0,0,.09) !important; border-radius: var(--radius-lg) !important; overflow: hidden !important; }
    .auc-state-hdr { padding: 1.75rem 1.5rem; text-align: center; }
    .auc-state-hdr.upcoming { background: linear-gradient(135deg,#78350f,#d97706); }
    .auc-state-hdr.closed   { background: linear-gradient(135deg,#064e3b,#059669); }
    .auc-state-icon { width: 4rem; height: 4rem; background: rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .875rem; font-size: 1.75rem; color: #fff; }
    .auc-state-title { color: #fff; font-weight: 700; font-size: 1.05rem; }
    .auc-state-info { background: var(--gray-100); border-radius: var(--radius-md); padding: .875rem; margin-bottom: .875rem; }
    .auc-state-info-lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: .25rem; }
    .auc-state-info-val { font-weight: 700; font-size: 1rem; }
    /* Auction detail two-column layout */
    .auc-d-layout { display: grid; grid-template-columns: 1fr 420px; gap: 2rem; align-items: flex-start; }
    .auc-d-main { min-width: 0; }
    .auc-d-aside { min-width: 0; }
    @media (max-width: 960px) {
      .auc-d-layout { grid-template-columns: 1fr; }
    }
    /* Bid form field styles (cnt-*) */
    .cnt-field-group { margin-bottom: .875rem; }
    .cnt-label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
    .cnt-required { color: #ef4444; margin-left: 2px; }
    .cnt-optional { font-size: .72rem; color: var(--text-light); font-weight: 400; margin-left: 2px; }
    .cnt-input { width: 100%; padding: .55rem .85rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; font-family: var(--font-body); color: var(--text-primary); background: var(--white); outline: none; transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
    .cnt-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
    .cnt-input.is-invalid { border-color: #ef4444; }
    .form-control.is-invalid { border-color: #ef4444; }
    .cnt-textarea { min-height: 72px; resize: vertical; }
    .cnt-hint { font-size: .73rem; color: var(--text-light); margin-top: 3px; }
    .cnt-checkbox-label { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--text-secondary); cursor: pointer; line-height: 1.5; }
    .cnt-checkbox-label input[type="checkbox"] { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; accent-color: #3b82f6; cursor: pointer; }
    .invalid-feedback { font-size: .73rem; color: #ef4444; margin-top: 2px; }
    .cnt-submit-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .8rem 1.5rem; background: linear-gradient(135deg,#1e40af,#3b82f6); color: #fff; font-weight: 700; font-size: .95rem; font-family: var(--font-body); border: none; border-radius: var(--radius-md); cursor: pointer; transition: opacity .18s; }
    .cnt-submit-btn:hover { opacity: .88; }
    .cnt-submit-btn:disabled { opacity: .55; cursor: default; }

/* ══════════════ STICKY APP DOWNLOAD BUTTONS (left edge) ══════════════ */
.app-dl-sticky {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 12px;
  border-radius: 0 8px 8px 0;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  width: 44px;
  gap: 0;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.18);
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              gap 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s;
}

.app-dl-btn:hover {
  width: 106px;
  justify-content: flex-start;
  gap: 10px;
  box-shadow: 3px 3px 14px rgba(0, 0, 0, 0.24);
}

.app-dl-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.app-dl-label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.22s 0.1s, max-width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-dl-btn:hover .app-dl-label {
  max-width: 80px;
  opacity: 1;
}

.app-dl-android {
  background: #3ddc84;
  color: #1a1a1a;
}

.app-dl-android:hover {
  background: #31c473;
  color: #1a1a1a;
}

.app-dl-ios {
  background: #1c1c1e;
  color: #fff;
}

.app-dl-ios:hover {
  background: #2d2d30;
  color: #fff;
}

@media (max-width: 600px) {
  .app-dl-sticky {
    top: auto;
    bottom: 80px;
    transform: none;
  }
}
/* ── Laravel theme overrides ─────────────────────────────────────────────
   Classes added to replace inline styles removed during blade adaptation */
.v2-footer-logo-mb { margin-bottom: var(--space-lg, 1.5rem); }
.v2-int-header--center { text-align: center; margin-bottom: var(--space-2xl, 3rem); }

/* ── Swastik page utility classes (replaced inline styles) ─────────── */
.sw-text-sm-secondary { font-size:0.88rem;color:var(--text-secondary); }
.sw-icon-green-mr { color:var(--green-600);margin-right:6px; }
.sw-icon-shrink { flex-shrink:0;margin-top:1px; }
.sw-text-green { color:var(--green-700); }
.sw-list-col { list-style:none;display:flex;flex-direction:column;gap:6px; }
.sw-label-xs-muted { font-size:0.72rem;color:rgba(255,255,255,0.6);margin-bottom:4px; }
.sw-text-red { color:var(--red-500); }
.sw-heading-green { color:var(--green-700);margin-bottom:var(--space-sm);font-size:0.95rem; }
.sw-text-danger { color:#991b1b; }
.sw-bold-white { font-weight:700;color:white; }
.sw-glass-box { background:rgba(255,255,255,0.1);border-radius:var(--radius-md);padding:var(--space-md); }
.sw-dot-7 { width:7px;height:7px;background:currentColor;border-radius:50%;display:inline-block; }
.sw-dot-6 { width:6px;height:6px;background:currentColor;border-radius:50%;display:inline-block; }
.sw-nowrap { white-space:nowrap; }
.sw-caption-center { text-align:center;font-size:0.8rem;color:var(--text-light);margin-top:var(--space-md); }
.sw-mt-2xl-center { text-align:center;margin-top:var(--space-2xl); }
.sw-pad-lg { padding:var(--space-lg); }
.sw-pad-2xl { padding:var(--space-2xl); }
.sw-alert-inline { padding:8px 14px;font-size:0.82rem;margin-bottom:var(--space-md);display:flex;align-items:center;gap:6px; }
.sw-opacity-85 { opacity:0.85; }
.sw-opacity-75 { opacity:0.75; }
.sw-max-720 { max-width:720px;margin:0 auto; }
.sw-max-560-mt { max-width:560px;margin:var(--space-2xl) auto 0; }
.sw-flex-wrap-xl { margin-top:var(--space-xl);display:flex;gap:var(--space-md);flex-wrap:wrap; }
.sw-btn-dark-green { margin-top:var(--space-2xl);background:linear-gradient(135deg,var(--green-900),#1a5c2a);color:white;border:none; }
.sw-checkbox-green { margin-top:3px;accent-color:var(--green-700); }
.sw-label-flex { margin-bottom:6px;display:inline-flex;align-items:center;gap:4px; }
.sw-justify-center { justify-content:center; }
.sw-gap-2xl-start { gap:var(--space-2xl);align-items:flex-start; }
.sw-heading-sm { font-weight:700;font-size:1rem;margin-bottom:4px; }
.sw-bold-white-600 { font-weight:600;color:white; }
.sw-icon-2xl { font-size:2rem;opacity:0.7; }
.sw-text-base-green9 { font-size:1rem;color:var(--green-900); }
.sw-text-xs-w60 { font-size:0.8rem;color:rgba(255,255,255,0.6); }
.sw-text-sm-mb { font-size:0.88rem;margin-bottom:var(--space-md); }
.sw-text-sm-w75 { font-size:0.85rem;color:rgba(255,255,255,0.75); }
.sw-text-sm-w70-mb { font-size:0.85rem;color:rgba(255,255,255,0.7);margin-bottom:var(--space-md); }
.sw-text-xs-nowrap { font-size:0.78rem;color:var(--text-light);white-space:nowrap; }
.sw-text-xs-light { font-size:0.75rem;color:var(--text-light); }
.sw-flex-1-min { flex:1;min-width:200px; }
.sw-shrink-0 { flex-shrink:0; }
.sw-grid-2-lg { display:grid;grid-template-columns:1fr 1fr;gap:var(--space-lg);margin-bottom:var(--space-lg); }
.sw-flex-between-wrap { display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-md);flex-wrap:wrap;margin-bottom:var(--space-sm); }
.sw-flex-center-xl { display:flex;justify-content:center;gap:var(--space-sm);margin-top:var(--space-xl); }
.sw-flex-check-row { display:flex;gap:var(--space-md);align-items:flex-start;cursor:pointer;font-size:0.85rem;color:var(--text-secondary); }
.sw-flex-col-sm { display:flex;flex-direction:column;gap:var(--space-sm); }
.sw-flex-wrap-lg { display:flex;align-items:center;gap:var(--space-lg);flex-wrap:wrap; }
.sw-section-heading-white { color:white;font-size:1.1rem;margin-bottom:var(--space-lg);display:flex;align-items:center;gap:8px; }
.sw-text-amber { color:#854d0e; }
.sw-text-emerald { color:var(--green-800); }
.sw-border-left-red { border-left:4px solid var(--red-600); }
.sw-glass-box-mb { background:rgba(255,255,255,0.08);border-radius:var(--radius-md);padding:var(--space-md);margin-bottom:var(--space-lg); }
.sw-btn-gradient-green { background:linear-gradient(135deg,var(--green-900),var(--green-800));color:white;border:none; }
.sw-badge-error { background:#fee2e2;color:#991b1b; }
.sw-bg-error-light { background:#fee2e2; }

/* ── DB-driven banner slides ──────────────────────────────────────────────── */

/* Clear hardcoded nth-child backgrounds when slide has a DB image (v2-db-slide class) */
.v2-slide.v2-db-slide:nth-child(1) .v2-slide-bg,
.v2-slide.v2-db-slide:nth-child(2) .v2-slide-bg,
.v2-slide.v2-db-slide:nth-child(3) .v2-slide-bg,
.v2-slide.v2-db-slide:nth-child(n+4) .v2-slide-bg {
    background-image: none;
}
/* JS will set background-image via inline style from data-bg attribute */

/* Fix fallback hardcoded slide image paths (images are in classic/ subdirectory) */
.v2-slide:not(.v2-db-slide):nth-child(1) .v2-slide-bg {
    background-image: url('../images/classic/banner-1.jpg');
}
.v2-slide:not(.v2-db-slide):nth-child(2) .v2-slide-bg {
    background-image: url('../images/classic/banner-2.jpg');
}
.v2-slide:not(.v2-db-slide):nth-child(3) .v2-slide-bg {
    background-image: url('../images/classic/banner-3.jpg');
}

/* ── 404 Error Page ───────────────────────────────────────── */
.v2-error-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-50) 0%, var(--green-50) 100%);
  padding: 60px 24px;
}
.v2-error-inner {
  text-align: center;
  max-width: 540px;
}
.v2-error-code {
  font-size: clamp(6rem, 18vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--green-900);
  opacity: 0.08;
  letter-spacing: -0.04em;
  user-select: none;
  margin-bottom: -1.5rem;
}
.v2-error-icon {
  font-size: 3.5rem;
  color: var(--green-700);
  margin-bottom: 1.25rem;
}
.v2-error-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 1rem;
}
.v2-error-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.v2-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.v2-error-actions .v2-btn-outline-white {
  border-color: var(--green-700);
  color: var(--green-700);
}
.v2-error-actions .v2-btn-outline-white:hover {
  background: var(--green-700);
  color: #fff;
}

/* Ticker: each item spans full viewport so only one notice is visible at a time */
.v2-ticker-track a { min-width: 100vw; }

/* ── Branch Pages ─────────────────────────────────────────────────────────── */

/* Index grid */
.brn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.brn-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow 0.22s, transform 0.22s;
  overflow: hidden;
}
.brn-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); transform: translateY(-3px); }

.brn-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--green-200);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brn-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
  flex-shrink: 0;
}

.brn-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-900);
  margin: 0;
  line-height: 1.35;
}

.brn-address {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}
.brn-address i { color: var(--green-600); margin-top: 2px; flex-shrink: 0; }

.brn-manager {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-top: var(--space-xs);
}
.brn-manager-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--green-700);
}
.brn-manager-avatar img { width: 100%; height: 100%; object-fit: cover; }
.brn-manager-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brn-manager-label { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; }
.brn-manager-name { font-size: 0.88rem; font-weight: 600; color: var(--green-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.brn-contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: var(--space-xs);
}
.brn-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.18s;
}
.brn-contact-item i { color: var(--green-600); width: 14px; }
.brn-contact-item:hover { color: var(--green-800); }

.brn-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-800);
  text-decoration: none;
  transition: gap 0.18s, color 0.18s;
  border-top: 1px solid var(--border);
}
.brn-detail-btn:hover { gap: 10px; color: var(--green-600); }

/* Detail page */
.brn-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 900px) {
  .brn-detail-wrap { grid-template-columns: 1fr; }
}

.brn-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}
.brn-detail-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--green-50);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-900);
}
.brn-detail-card-body { padding: 20px; }
.brn-detail-card-body.p-0 { padding: 0; }

.brn-info-row {
  display: flex;
  gap: var(--space-md);
  padding: 10px 0;
  border-bottom: 1px solid var(--green-50);
  font-size: 0.9rem;
  align-items: flex-start;
}
.brn-info-row:last-child { border-bottom: none; }
.brn-info-label {
  min-width: 110px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.brn-info-label i { color: var(--green-600); width: 14px; }
.brn-info-val { color: var(--text-primary); }
.brn-info-val a { color: var(--green-800); text-decoration: none; }
.brn-info-val a:hover { text-decoration: underline; }

.brn-mgr-profile { display: flex; gap: var(--space-lg); align-items: flex-start; }
.brn-mgr-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--green-100);
}
.brn-mgr-photo img { width: 100%; height: 100%; object-fit: cover; }
.brn-mgr-placeholder {
  width: 100%;
  height: 100%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--green-500);
}
.brn-mgr-details { display: flex; flex-direction: column; gap: 6px; }
.brn-mgr-name { font-size: 1.1rem; font-weight: 700; color: var(--green-900); margin: 0; }
.brn-mgr-role { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
.brn-mgr-contacts { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.brn-mgr-contact {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--green-800);
  text-decoration: none;
}
.brn-mgr-contact i { width: 14px; }
.brn-mgr-contact:hover { text-decoration: underline; }

.brn-map-wrap { width: 100%; height: 350px; }
.brn-map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* Sidebar */
.brn-detail-sidebar { position: sticky; top: 80px; }

.brn-sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.brn-sidebar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--green-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.brn-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--green-50);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.18s;
}
.brn-sidebar-item:hover { background: var(--green-50); }
.brn-sidebar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  flex-shrink: 0;
}
.brn-sidebar-info { flex: 1; min-width: 0; }
.brn-sidebar-name { font-size: 0.88rem; font-weight: 600; color: var(--green-900); }
.brn-sidebar-addr { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.brn-sidebar-chevron { color: var(--text-light); font-size: 0.75rem; flex-shrink: 0; }
.brn-sidebar-empty { padding: 20px 18px; font-size: 0.85rem; color: var(--text-light); }
.brn-sidebar-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  background: var(--green-50);
  transition: background 0.18s;
}
.brn-sidebar-all:hover { background: var(--green-100); }

@media (max-width: 600px) {
  .brn-grid { grid-template-columns: 1fr; }
  .brn-mgr-profile { flex-direction: column; align-items: center; text-align: center; }
}

/* ── Loan Document Types (service page) ─────────────────────────────────── */

.ldoc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.ldoc-type-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.ldoc-type-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}
.ldoc-type-head i { font-size: 1rem; flex-shrink: 0; }

.ldoc-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.ldoc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--green-50);
  font-size: 0.87rem;
}
.ldoc-item:last-child { border-bottom: none; }

.ldoc-item > i { margin-top: 2px; flex-shrink: 0; font-size: 0.9rem; }
.ldoc-icon-required { color: var(--green-600); }
.ldoc-icon-optional { color: #aaa; }

.ldoc-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ldoc-item-title { color: var(--text-primary); font-weight: 600; line-height: 1.4; }
.ldoc-item-note  { color: var(--text-light); font-size: 0.78rem; }

.ldoc-optional-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  background: var(--green-50);
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1px 7px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 1px;
}

@media (max-width: 600px) {
  .ldoc-grid { grid-template-columns: 1fr; }
}

/* ── Branch view: full-width map banner below hero ───────────────────────── */
.brn-map-banner {
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: block;
  line-height: 0;
}
.brn-map-banner iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 768px) {
  .brn-map-banner { height: 280px; }
}

/* ── Footer Officer Block ─────────────────────────────────────────────────── */
.footer-officer-block {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-officer-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}
.footer-officer-name {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 3px;
}
.footer-contact-item--sm {
  font-size: .78rem !important;
}

/* ── Contact page Officer inline contact ─────────────────────────────────── */
.cnt-officer-contact {
  display: block;
  font-size: .82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.cnt-officer-contact i { margin-right: 4px; color: var(--green-600); }

/* ── Contact page: Officer cards ─────────────────────────────────────────── */
.cnt-officers-wrap {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.cnt-officer-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  flex: 1;
  min-width: 220px;
}

.cnt-officer-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  font-size: 1.3rem;
  border: 2px solid var(--green-200);
}
.cnt-officer-photo img { width: 100%; height: 100%; object-fit: cover; }

.cnt-officer-info { min-width: 0; }
.cnt-officer-role {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--green-700);
  font-weight: 700;
  margin-bottom: 2px;
}
.cnt-officer-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 4px;
}
.cnt-officer-card .cnt-officer-contact {
  display: block;
  font-size: .78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.cnt-officer-card .cnt-officer-contact i { color: var(--green-600); margin-right: 4px; }

@media (max-width: 500px) {
  .cnt-officer-card { min-width: 100%; }
}

/* ── Footer officer with photo ────────────────────────────────────────────── */
.footer-officer-with-photo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.footer-officer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 1rem;
}
.footer-officer-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Footer redesign: 4-col grid + horizontal quick links ────────────────── */

/* Replace old footer-grid with 4 equal columns */
.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0 var(--space-xl);
}

@media (max-width: 1024px) {
  .footer-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid-4 { grid-template-columns: 1fr; }
}

/* Quick links strip */
.footer-quick-strip {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.footer-quick-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.footer-quick-link {
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  text-decoration: none;
  padding: 2px 10px;
  transition: color .18s;
  position: relative;
}
.footer-quick-link::after {
  content: '|';
  position: absolute;
  right: 0;
  color: rgba(255,255,255,.2);
}
.footer-quick-link:last-child::after { display: none; }
.footer-quick-link:hover { color: #fff; }

/* ── Notice index: 2-column grid ─────────────────────────────────────────── */
.ntc-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: flex-start;
}
@media (max-width: 900px) { .ntc-grid { grid-template-columns: 1fr; } }

/* Urgent notice card */
.ntc-urgent-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--red-600);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: #fff;
  margin-bottom: var(--space-lg);
}
.ntc-urgent-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}
.ntc-badge-urgent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fee2e2;
  color: #dc2626;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ntc-badge-dot {
  width: 7px; height: 7px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}
.ntc-urgent-title {
  font-size: 1rem;
  color: var(--green-900);
  margin: 0;
  font-weight: 700;
}
.ntc-urgent-date { font-size: .78rem; color: var(--text-light); white-space: nowrap; }
.ntc-urgent-desc { font-size: .88rem; margin-bottom: var(--space-md); color: var(--text-secondary); }
.ntc-urgent-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .82rem;
  margin-bottom: var(--space-md);
  color: #854d0e;
}

/* Notice pagination */
.ntc-pagination { display: flex; justify-content: center; margin-top: var(--space-xl); }

/* AGM card (green gradient) */
.ntc-agm-card {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.ntc-agm-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ntc-agm-title i { opacity: .85; }
.ntc-agm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.ntc-agm-item, .ntc-agm-venue {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}
.ntc-agm-lbl { font-size: .72rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.ntc-agm-val { font-weight: 700; color: white; }
.ntc-agm-note { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: var(--space-md); }
.btn-outline-white {
  border: 1px solid rgba(255,255,255,.5);
  color: white;
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background .18s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: white; }

/* Downloads list on notice page */
.ntc-download-list { display: flex; flex-direction: column; gap: var(--space-sm); }

/* Notice detail: badges */
.nd-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--space-md); }
.nd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.nd-badge-urgent { background: #fee2e2; color: #dc2626; }
.nd-badge-agm    { background: #d1fae5; color: #065f46; }
.nd-badge-notice { background: var(--green-50); color: var(--green-800); }

/* Notice detail: AGM event highlight */
.nd-highlight {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}
.nd-highlight-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: var(--space-md);
  font-size: .9rem;
}
.nd-event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.nd-event-item--full { grid-column: 1 / -1; }
.nd-event-item { background: white; border-radius: var(--radius-sm); padding: var(--space-md); }
.nd-event-lbl { font-size: .72rem; color: var(--text-light); margin-bottom: 3px; }
.nd-event-val { font-weight: 700; color: var(--green-900); }

/* Notice detail: download card */
.nd-download-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--space-lg) 0;
}
.nd-download-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--green-50);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: .88rem;
  color: var(--green-900);
}
.nd-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.nd-file-icon { font-size: 1.5rem; color: var(--red-600); flex-shrink: 0; }
.nd-file-info { flex: 1; min-width: 0; }
.nd-file-name { font-weight: 600; font-size: .9rem; color: var(--text-primary); }
.nd-file-size { font-size: .78rem; color: var(--text-light); margin-top: 2px; }

