/* =============================================
   DEVADIYA FOUNDATION — style.css
   Version: 3.2 (Hero fix + Center alignment)
   ============================================= */

/* =============================================
   1. CSS VARIABLES
   ============================================= */
:root {
  --blue:         #0066b2;
  --blue-dark:    #004d87;
  --blue-light:   #e8f4fd;
  --orange:       #F47B20;
  --orange-dark:  #d4660f;
  --orange-light: #fff3e8;
  --green:        #5a9e3c;
  --green-light:  #edf7e8;

  --gray-900: #1a202c;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white:    #ffffff;
  --off-white:#fafbfc;

  --ff-heading: 'Nunito', sans-serif;
  --ff-body:    'Noto Sans', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 48px rgba(0,0,0,.15);

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:       72px;
  --section-pad: 80px;
  --container-w: 1200px;
  --container-p: 24px;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body {
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--blue); color: white; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* =============================================
   3. LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-p);
}
.section     { padding: var(--section-pad) 0; }
.section-sm  { padding: 60px 0; }
.section-alt { background: var(--off-white); }

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-header h2 span { color: var(--blue); }
.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: var(--radius-full);
  margin: 14px auto 0;
}

/* =============================================
   4. BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  line-height: 1;
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }

.btn-blue {
  background: var(--blue); color: white;
  box-shadow: 0 4px 14px rgba(0,102,178,.28);
}
.btn-blue:hover {
  background: var(--blue-dark); color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,102,178,.38);
}

.btn-orange {
  background: var(--orange); color: white;
  box-shadow: 0 4px 14px rgba(244,123,32,.32);
}
.btn-orange:hover {
  background: var(--orange-dark); color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,123,32,.42);
}

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

.btn-ghost {
  background: var(--blue-light); color: var(--blue);
}
.btn-ghost:hover { background: var(--blue); color: white; }

/* =============================================
   5. PAGE LOADER
   ============================================= */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: white;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease, visibility .4s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--gray-100);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   6. HEADER & NAVIGATION
   ============================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo img { height: 44px; width: auto; }
.nav-logo:hover img { transform: scale(1.03); transition: transform var(--transition); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.nav-links a {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--blue-light);
}
.nav-links .nav-donate {
  background: var(--orange);
  color: white;
  padding: 8px 18px;
  margin-left: 6px;
  box-shadow: 0 3px 10px rgba(244,123,32,.28);
}
.nav-links .nav-donate:hover {
  background: var(--orange-dark); color: white;
  box-shadow: 0 5px 14px rgba(244,123,32,.38);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.5);
}
.nav-overlay.show { display: block; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: var(--nav-h); left: 0;
  width: 100%; z-index: 1001;
  background: white;
  padding: 16px 20px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border-bottom: 1px solid var(--gray-100);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--ff-heading);
  font-weight: 600; font-size: 1rem;
  color: var(--gray-700);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active { background: var(--blue-light); color: var(--blue); }
.mobile-nav .nav-donate {
  background: var(--orange); color: white;
  text-align: center; margin-top: 8px;
  border-radius: var(--radius-full);
}
.mobile-nav .nav-donate:hover { background: var(--orange-dark); color: white; }

/* =============================================
   7. HERO  — REDUCED HEIGHT + CENTERED CONTENT
   ============================================= */
.hero {
  margin-top: var(--nav-h);
  position: relative;
  /* ★ Changed: reduced from calc(100vh - nav-h) to 65vh */
  height: 65vh;
  min-height: 460px;
  max-height: 580px;
  overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }

/* Slide background */
.hero-slide-bg {
  position: absolute; inset: 0;
}
.hero-slide-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-slide:nth-child(1) .hero-slide-bg { background: linear-gradient(135deg,#0c4a8a,#2d9cdb); }
.hero-slide:nth-child(2) .hero-slide-bg { background: linear-gradient(135deg,#145a0a,#4a9e34); }
.hero-slide:nth-child(3) .hero-slide-bg { background: linear-gradient(135deg,#7a3a00,#e87d22); }

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(105deg,
    rgba(0,40,90,.82) 0%,
    rgba(0,60,120,.62) 45%,
    rgba(0,80,140,.25) 100%
  );
}

/* ★ Changed: content is now CENTERED */
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex;
  align-items: center;
}
/* ★ Make the container flex so hero-text centers inside it */
.hero-content .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-text {
  max-width: 660px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

/* ★ Hero tag — centered */
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%; background: var(--orange);
  display: inline-block; flex-shrink: 0;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; color: white; line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title strong { color: #ffc96e; }

.hero-subtitle {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: rgba(255,255,255,.88);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;    /* ★ center the subtitle block */
  margin-right: auto;
}

/* ★ Hero actions — centered */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;   /* ★ center buttons */
}

/* Indicators */
.hero-indicators {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 4; display: flex; gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.4);
  cursor: pointer; border: none;
  transition: all var(--transition);
  padding: 0;
}
.hero-dot:hover  { background: rgba(255,255,255,.7); }
.hero-dot.active { background: white; width: 32px; }

/* =============================================
   8. STATS STRIP
   ============================================= */
.stats-strip { background: var(--blue); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 20px;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: 0; top: 20%; height: 60%;
  width: 1px; background: rgba(255,255,255,.18);
}
.stat-num {
  font-family: var(--ff-heading);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 900; color: white;
  line-height: 1; margin-bottom: 6px;
}
.stat-suffix { color: var(--orange); font-size: .65em; }
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

/* =============================================
   9. WHO WE ARE
   ============================================= */
.who-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px; align-items: center;
}
.who-img-wrap { position: relative; }
.who-img-holder {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--blue-light), #cde6f8);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; position: relative;
}
.who-img-holder img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.who-img-holder i { font-size: 3.5rem; color: var(--blue); opacity: .25; position: relative; }
.who-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--orange); color: white;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.who-badge-num {
  font-family: var(--ff-heading);
  font-size: 2.125rem; font-weight: 900; line-height: 1;
}
.who-badge-lbl { font-size: 0.8125rem; font-weight: 600; opacity: .9; margin-top: 2px; }

.who-text .eyebrow {
  font-size: 0.8125rem; font-weight: 700;
  color: var(--orange); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 12px;
}
.who-text h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  font-weight: 800; color: var(--gray-900);
  line-height: 1.2; margin-bottom: 20px;
}
.who-text p {
  font-size: 1rem; line-height: 1.75;
  color: var(--gray-500); margin-bottom: 14px;
}

/* TM superscript mark */
.tm-mark {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: 0;
  line-height: 1;
}
.who-pillars {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 24px 0 30px;
}
.pillar-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue);
  padding: 7px 14px; border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: 0.875rem; font-weight: 700;
}
.pillar-tag i { font-size: 0.75rem; }

/* =============================================
   10. FOCUS AREAS
   ============================================= */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.focus-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-100);
  transition: all var(--transition);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.focus-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.focus-card:hover::before { transform: scaleX(1); }
.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.focus-icon {
  width: 68px; height: 68px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 24px;
  transition: transform var(--transition);
}
.focus-card:hover .focus-icon { transform: scale(1.1); }
.focus-card.blue   .focus-icon { background: var(--blue-light);   color: var(--blue);   }
.focus-card.green  .focus-icon { background: var(--green-light);  color: var(--green);  }
.focus-card.orange .focus-icon { background: var(--orange-light); color: var(--orange); }
.focus-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.25rem; font-weight: 800;
  color: var(--gray-900); margin-bottom: 12px;
}
.focus-card p {
  font-size: 0.9375rem; line-height: 1.7;
  color: var(--gray-500); margin-bottom: 28px; flex: 1;
}
.focus-link {
  font-family: var(--ff-heading); font-weight: 700; font-size: 0.875rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.focus-card.blue   .focus-link { color: var(--blue);   }
.focus-card.green  .focus-link { color: var(--green);  }
.focus-card.orange .focus-link { color: var(--orange); }
.focus-link:hover  { gap: 10px; }

/* =============================================
   11. NEWS SLIDER — standalone, no JS timing dep
   ============================================= */
.news-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.news-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-weight: 700; font-size: 0.9375rem;
  color: var(--gray-500);
  border: 2px solid var(--gray-200);
  transition: all var(--transition); cursor: pointer;
  background: white;
}
.news-tab:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.news-tab.active {
  background: var(--blue); color: white; border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(0,102,178,.28);
}

.news-panel { display: none; }
.news-panel.active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Slider wrapper ── */
.ns-slider {
  position: relative;
  padding: 0 48px;
}

/* ── Viewport clips overflow ── */
.ns-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* ── Track: always a horizontal row ── */
.ns-track {
  display: flex;
  flex-direction: row;        /* always left-to-right */
  flex-wrap: nowrap;          /* never wrap to next line */
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

/* ── Each card: fixed 1/3 width ── */
.ns-card {
  flex: 0 0 calc(33.333% - 16px);   /* exactly 1/3 minus gap share */
  width:  calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  margin-right: 24px;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.ns-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }

/* ── Card image area ── */
.ns-card-img {
  position: relative;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--gray-100);
}
.ns-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ns-card:hover .ns-card-img img { transform: scale(1.07); }

/* placeholder bg */
.ns-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ns-placeholder i { font-size: 2.5rem; color: rgba(255,255,255,.35); }
.nc-education  .ns-placeholder { background: linear-gradient(135deg,#1565c0,#42a5f5); }
.nc-healthcare .ns-placeholder { background: linear-gradient(135deg,#c62828,#ef5350); }
.nc-community  .ns-placeholder { background: linear-gradient(135deg,#2e7d32,#66bb6a); }
.nc-event1     .ns-placeholder { background: linear-gradient(135deg,#6a1b9a,#ab47bc); }
.nc-event2     .ns-placeholder { background: linear-gradient(135deg,#e65100,#ffa726); }

/* category badge */
.ns-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ── Card body ── */
.ns-body {
  padding: 24px; flex: 1;
  display: flex; flex-direction: column;
}
.ns-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; color: var(--gray-500);
  margin-bottom: 10px;
}
.ns-meta i { color: var(--blue); font-size: .7rem; }
.ns-title {
  font-family: var(--ff-heading);
  font-size: 1.0625rem; font-weight: 800;
  color: var(--gray-900); line-height: 1.35;
  margin-bottom: 10px; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ns-excerpt {
  font-size: 0.9rem; color: var(--gray-500); line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 18px;
}
.ns-footer {
  border-top: 1px solid var(--gray-100);
  padding-top: 16px; margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

/* ── Prev / Next buttons ── */
.ns-prev, .ns-next {
  position: absolute;
  top: 50%; transform: translateY(-60%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: white; color: var(--blue);
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 10;
}
.ns-prev { left: 0; }
.ns-next { right: 0; }
.ns-prev:hover, .ns-next:hover {
  background: var(--blue); color: white; border-color: var(--blue);
  transform: translateY(-60%) scale(1.08);
}
.ns-prev:disabled, .ns-next:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

/* ── Dots ── */
.ns-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 24px;
}
.ns-dot {
  width: 9px; height: 9px;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  border: none; cursor: pointer; padding: 0;
  transition: all var(--transition);
}
.ns-dot.active { background: var(--blue); width: 28px; }
.ns-dot:hover  { background: var(--gray-500); }

.news-footer-row { text-align: center; margin-top: 44px; }

/* ── Responsive ── */
@media (max-width: 899px) {
  .ns-card {
    flex: 0 0 calc(50% - 12px);
    width:  calc(50% - 12px);
    min-width: calc(50% - 12px);
    margin-right: 24px;
  }
}
@media (max-width: 599px) {
  .ns-slider { padding: 0 36px; }
  .ns-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    margin-right: 0;
  }
}

/* News Cards */
.news-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-100);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }

.news-card-img {
  position: relative; overflow: hidden;
  height: 200px; flex-shrink: 0;
  background: var(--gray-100);
}
.news-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.07); }

/* Coloured placeholder per card type */
.news-card-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.news-card-placeholder i { font-size: 2.5rem; color: rgba(255,255,255,.35); }
.nc-education  .news-card-placeholder { background: linear-gradient(135deg,#1565c0,#42a5f5); }
.nc-healthcare .news-card-placeholder { background: linear-gradient(135deg,#c62828,#ef5350); }
.nc-community  .news-card-placeholder { background: linear-gradient(135deg,#2e7d32,#66bb6a); }
.nc-event1     .news-card-placeholder { background: linear-gradient(135deg,#6a1b9a,#ab47bc); }
.nc-event2     .news-card-placeholder { background: linear-gradient(135deg,#e65100,#ffa726); }

/* Category badge */
.news-card-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.cat-edu   { background: var(--blue-light);   color: var(--blue);   }
.cat-hlth  { background: #ffe8e8;             color: #c62828;       }
.cat-com   { background: var(--green-light);  color: var(--green);  }
.cat-event { background: var(--orange-light); color: var(--orange); }

/* Card body */
.news-card-body {
  padding: 24px; flex: 1;
  display: flex; flex-direction: column;
}
.news-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; color: var(--gray-500);
  margin-bottom: 10px;
}
.news-meta i { color: var(--blue); font-size: .7rem; }
.news-card-title {
  font-family: var(--ff-heading);
  font-size: 1.0625rem; font-weight: 800;
  color: var(--gray-900); line-height: 1.35;
  margin-bottom: 10px; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-excerpt {
  font-size: 0.9rem; color: var(--gray-500); line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 18px;
}
.news-card-footer {
  border-top: 1px solid var(--gray-100);
  padding-top: 16px; margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.news-read-more {
  font-family: var(--ff-heading); font-weight: 700; font-size: 0.875rem;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.news-read-more:hover { gap: 10px; color: var(--blue-dark); }

/* Event date badge */
.event-date-badge {
  display: flex; flex-direction: column; align-items: center;
  background: var(--orange); color: white;
  padding: 8px 14px; border-radius: var(--radius-md);
  font-family: var(--ff-heading); flex-shrink: 0;
}
.event-date-badge .ed-day { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.event-date-badge .ed-mon { font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.news-footer-row { text-align: center; margin-top: 44px; }

/* =============================================
   12. VIDEOS
   ============================================= */
.videos-section { background: #0d1b2a; padding: var(--section-pad) 0; }
.videos-section .section-header h2 { color: white; }
.videos-section .section-header h2 span { color: #ffc96e; }
.videos-section .section-header p  { color: rgba(255,255,255,.6); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  aspect-ratio: 16/9;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  background: #1e2d3d;
}
.video-card:hover { transform: scale(1.03); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.video-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder i { font-size: 2.5rem; color: rgba(255,255,255,.12); }
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.video-card:hover .video-overlay { background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.18) 100%); }
.play-btn {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.125rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.play-btn i { margin-left: 3px; }
.video-card:hover .play-btn { background: white; transform: scale(1.14); }
.video-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
}
.video-title { font-family: var(--ff-heading); font-weight: 700; font-size: 0.9rem; color: white; line-height: 1.3; }

/* =============================================
   13. GET INVOLVED
   ============================================= */
.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.involved-card {
  background: white; border-radius: var(--radius-xl);
  padding: 40px 30px; text-align: center;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-100);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.involved-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
}
.involved-card.card-donate::after   { background: var(--orange); }
.involved-card.card-volunteer::after { background: var(--blue); }
.involved-card.card-partner::after  { background: var(--green); }
.involved-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.involved-icon {
  width: 80px; height: 80px;
  border-radius: 50%; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  transition: transform var(--transition);
}
.involved-card:hover .involved-icon { transform: scale(1.1) rotate(-5deg); }
.card-donate   .involved-icon { background: var(--orange-light); color: var(--orange); }
.card-volunteer .involved-icon { background: var(--blue-light);   color: var(--blue);   }
.card-partner  .involved-icon { background: var(--green-light);  color: var(--green);  }
.involved-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.375rem; font-weight: 800;
  color: var(--gray-900); margin-bottom: 12px;
}
.involved-card p {
  font-size: 0.9375rem; color: var(--gray-500);
  line-height: 1.7; margin-bottom: 28px;
}

/* =============================================
   14. GALLERY PREVIEW
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md); cursor: pointer;
  min-height: 180px;
}
.gallery-item:first-child {
  grid-column: span 2; grid-row: span 2;
  min-height: 360px;
}
.gallery-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:nth-child(1) .gallery-placeholder { background: linear-gradient(135deg,#0066b2,#42a5f5); }
.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg,#5a9e3c,#81c784); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg,#F47B20,#ffb74d); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg,#6a1b9a,#ce93d8); }
.gallery-item:nth-child(5) .gallery-placeholder { background: linear-gradient(135deg,#c62828,#e57373); }
.gallery-placeholder i { font-size: 2rem; color: rgba(255,255,255,.35); }
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-cap {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,70,150,.80) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-cap { opacity: 1; }
.gallery-cap span { color: white; font-family: var(--ff-heading); font-weight: 700; font-size: 0.875rem; }

/* =============================================
   15. PARTNERS
   ============================================= */
.partners-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; align-items: center;
}
.partner-pill {
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 28px; min-width: 150px; text-align: center;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.partner-pill:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.partner-pill span { font-family: var(--ff-heading); font-weight: 700; color: var(--gray-500); font-size: 1rem; transition: color var(--transition); }
.partner-pill:hover span { color: var(--blue); }
.partner-pill img { max-height: 48px; width: auto; margin: 0 auto; filter: grayscale(1); opacity: .65; transition: all var(--transition); }
.partner-pill:hover img { filter: grayscale(0); opacity: 1; }
.partner-cta { text-align: center; margin-top: 36px; }

/* =============================================
   16. FOOTER
   ============================================= */
.footer { background: #0d1b2a; color: white; padding: 72px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  display: block; height: 44px; width: auto; margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 0.9375rem; line-height: 1.75;
  color: rgba(255,255,255,.6); margin-bottom: 22px;
}
.footer-tagline em { font-style: normal; color: rgba(255,255,255,.45); }
.footer-social { display: flex; gap: 10px; }
.soc-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9375rem; color: rgba(255,255,255,.7);
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,.10);
}
.soc-btn:hover { background: var(--orange); color: white; border-color: var(--orange); transform: translateY(-3px); }

.footer-col h4 {
  font-family: var(--ff-heading); font-size: 0.9375rem; font-weight: 800;
  color: white; margin-bottom: 18px;
  position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--orange); border-radius: 2px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 0.9rem; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition); padding: 2px 0;
}
.footer-nav a i { font-size: .65rem; transition: transform var(--transition); }
.footer-nav a:hover { color: white; padding-left: 4px; }
.footer-nav a:hover i { transform: translateX(3px); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: rgba(255,255,255,.6);
  margin-bottom: 14px; line-height: 1.6;
}
.footer-contact-item i { color: var(--orange); margin-top: 3px; font-size: 0.875rem; flex-shrink: 0; }
.footer-contact-item a { color: inherit; transition: color var(--transition); }
.footer-contact-item a:hover { color: white; }

/* Newsletter */
.newsletter-box p { font-size: 0.875rem; color: rgba(255,255,255,.55); margin-bottom: 14px; line-height: 1.6; }
.newsletter-input-row { display: flex; gap: 8px; }
.newsletter-input-row input {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  color: white; font-size: 0.875rem;
  transition: border-color var(--transition);
  min-width: 0;
}
.newsletter-input-row input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-input-row input:focus { outline: none; border-color: rgba(255,255,255,.35); }
.newsletter-input-row button {
  background: var(--orange); color: white;
  padding: 10px 18px; border-radius: var(--radius-full);
  font-family: var(--ff-heading); font-weight: 700; font-size: 0.875rem;
  transition: all var(--transition); white-space: nowrap; flex-shrink: 0; cursor: pointer;
  border: none;
}
.newsletter-input-row button:hover { background: var(--orange-dark); }
.nl-msg { margin-top: 10px; font-size: 0.85rem; display: none; }
.nl-msg.success { color: #6ee7b7; }
.nl-msg.error   { color: #fca5a5; }

.footer-bottom {
  padding: 20px 0; text-align: center;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-bottom p { font-size: 0.875rem; color: rgba(255,255,255,.35); }

/* =============================================
   17. SCROLL TO TOP
   ============================================= */
.scroll-top-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,102,178,.4);
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.scroll-top-btn.show { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* =============================================
   18. TOAST
   ============================================= */
.toast {
  position: fixed; top: 90px; right: -420px;
  background: white; padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 9000;
  display: flex; align-items: center; gap: 12px;
  min-width: 280px; max-width: 360px;
  transition: right .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show     { right: 24px; }
.toast.success  { border-left: 4px solid #10b981; }
.toast.error    { border-left: 4px solid #ef4444; }
.toast i { font-size: 1.25rem; }
.toast.success i { color: #10b981; }
.toast.error   i { color: #ef4444; }
.toast span { font-size: 0.9rem; color: var(--gray-700); font-weight: 500; }

/* =============================================
   19. SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* =============================================
   20. RESPONSIVE — Tablet ≤1024px
   ============================================= */
@media (max-width: 1024px) {
  :root { --section-pad: 64px; --container-p: 20px; }

  .who-grid { grid-template-columns: 1fr; gap: 48px; }
  .who-badge { bottom: -14px; right: 14px; }

  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid .focus-card:last-child:nth-child(odd) {
    grid-column: 1 / -1; max-width: 460px; margin: 0 auto; width: 100%;
  }

  .involved-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* =============================================
   21. RESPONSIVE — Mobile ≤768px
   ============================================= */
@media (max-width: 768px) {
  :root { --nav-h: 64px; --section-pad: 52px; --container-p: 16px; }

  /* Header */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* Hero — smaller on mobile */
  .hero {
    height: 60vh;
    min-height: 400px;
    max-height: 520px;
  }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 260px; justify-content: center; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::before,
  .stat-item:nth-child(4)::before { display: none; }

  /* Who We Are */
  .who-badge { position: static; display: inline-flex; gap: 12px; margin-top: 20px; border-radius: var(--radius-md); align-items: center; padding: 14px 20px; }

  /* Focus */
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid .focus-card:last-child:nth-child(odd) { grid-column: 1; max-width: 100%; }
  .focus-card { padding: 30px 24px; }

  /* News */
  .news-tabs { gap: 6px; }
  .news-tab  { padding: 8px 16px; font-size: 0.875rem; }

  /* Involved */
  .involved-grid { grid-template-columns: 1fr; gap: 18px; }
  .involved-card { padding: 30px 24px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item:first-child { grid-column: span 2; min-height: 220px; grid-row: span 1; }
  .gallery-item { min-height: 140px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-input-row { flex-direction: column; }
  .newsletter-input-row button { width: 100%; }

  /* Scroll top */
  .scroll-top-btn { bottom: 20px; right: 16px; width: 42px; height: 42px; }

  /* Toast */
  .toast { min-width: auto; max-width: calc(100% - 32px); }
  .toast.show { right: 16px; }
}

/* =============================================
   22. RESPONSIVE — Small mobile ≤480px
   ============================================= */
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: 1; min-height: 200px; }
  .gallery-item { min-height: 160px; }
  .hero-title { font-size: 1.75rem; }
  .stat-num { font-size: 1.875rem; }
  .section-header h2 { font-size: 1.625rem; }
}

/* =============================================
   CAROUSEL SYSTEM — shared across all sections
   ============================================= */

/* Outer wrapper — needs padding for buttons to overflow */
.carousel-wrap {
  position: relative;
  padding: 0 44px;
  margin: 0 -4px;
}

/* Clipping window */
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* Scrolling track */
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}

/* Every child becomes a slide */
.carousel-slide {
  flex: 0 0 auto;
  min-width: 0;
}

/* ── Nav Buttons ── */
.car-prev,
.car-next {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 10;
  flex-shrink: 0;
}
.car-prev { left: 0; }
.car-next { right: 0; }

.car-prev:hover,
.car-next:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  transform: translateY(-60%) scale(1.08);
  box-shadow: var(--shadow-lg);
}
.car-prev:disabled,
.car-next:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Dark bg variant (video section) */
.car-prev--dark,
.car-next--dark {
  background: rgba(255,255,255,.12);
  color: white;
  border-color: rgba(255,255,255,.2);
}
.car-prev--dark:hover,
.car-next--dark:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

/* ── Dots ── */
.car-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.car-dot {
  width: 9px; height: 9px;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  border: none; cursor: pointer; padding: 0;
  transition: all var(--transition);
}
.car-dot:hover { background: var(--gray-400); }
.car-dot.active {
  background: var(--blue);
  width: 28px;
}

/* Light dots (dark bg) */
.car-dots--light .car-dot { background: rgba(255,255,255,.3); }
.car-dots--light .car-dot:hover { background: rgba(255,255,255,.6); }
.car-dots--light .car-dot.active { background: white; }

/* ── Gallery items in carousel need fixed height ── */
.carousel-wrap .gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 0;
}
.carousel-wrap .gallery-placeholder {
  position: absolute; inset: 0;
  min-height: 0;
  display: flex; align-items: center; justify-content: center;
}
.carousel-wrap .gallery-placeholder img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.carousel-wrap .gallery-placeholder i {
  position: relative; z-index: 1;
  font-size: 2rem; color: rgba(255,255,255,.3);
}
/* Named color variants */
.gp-blue   { background: linear-gradient(135deg,#0066b2,#42a5f5); }
.gp-green  { background: linear-gradient(135deg,#5a9e3c,#81c784); }
.gp-orange { background: linear-gradient(135deg,#F47B20,#ffb74d); }
.gp-purple { background: linear-gradient(135deg,#6a1b9a,#ce93d8); }
.gp-red    { background: linear-gradient(135deg,#c62828,#e57373); }

/* ── Video cards in carousel ── */
.carousel-wrap .video-card {
  aspect-ratio: 16/9;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: #1e2d3d;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.carousel-wrap .video-card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.carousel-wrap .video-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.carousel-wrap .video-placeholder img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.carousel-wrap .video-placeholder i {
  position: relative; z-index: 1;
  font-size: 2.5rem; color: rgba(255,255,255,.12);
}

/* ── News cards in carousel ── */
.carousel-wrap .news-card {
  height: 100%;
  border-radius: var(--radius-xl);
}

/* ★ CRITICAL FIX: Force news panel slides into 3-per-row layout via CSS.
   This guarantees cards are always in a ROW even before JS measures widths.
   JS will override with exact pixel values once it runs correctly. */
.news-panel .carousel-wrap .carousel-slide {
  width: calc(33.333% - 16px) !important;
  min-width: calc(33.333% - 16px) !important;
}
@media (max-width: 899px) {
  .news-panel .carousel-wrap .carousel-slide {
    width: calc(50% - 12px) !important;
    min-width: calc(50% - 12px) !important;
  }
}
@media (max-width: 599px) {
  .news-panel .carousel-wrap .carousel-slide {
    width: calc(100% - 0px) !important;
    min-width: 100% !important;
  }
}

/* videos-section carousel padding tweak */
.videos-section .carousel-wrap {
  padding: 0 48px;
}
.videos-section .car-prev,
.videos-section .car-next {
  background: rgba(255,255,255,.1);
  color: white;
  border-color: rgba(255,255,255,.15);
}
.videos-section .car-prev:hover,
.videos-section .car-next:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .carousel-wrap  { padding: 0 36px; }
  .car-prev, .car-next { width: 36px; height: 36px; font-size: 0.8rem; }
  .videos-section .carousel-wrap { padding: 0 40px; }
}
@media (max-width: 480px) {
  .carousel-wrap  { padding: 0 32px; }
  .car-prev, .car-next { width: 32px; height: 32px; }
}

/* =============================================
   NTAB — Dedicated News Tab Carousel
   Completely separate from shared .carousel-wrap
   system. Measures #news .container (always
   visible) so width is always correct.
   ============================================= */
.ntab-wrap {
  position: relative;
  padding: 0 48px;
  margin-top: 8px;
}
.ntab-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.ntab-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
/* Slides — width set precisely by JS using container measurement */
.ntab-slide {
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 0;
}
/* Cards inside ntab slides fill their slide */
.ntab-slide.news-card {
  height: 100%;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}

/* ── ntab buttons ── */
.ntab-prev,
.ntab-next {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 10;
}
.ntab-prev { left: 0; }
.ntab-next { right: 0; }
.ntab-prev:hover,
.ntab-next:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  transform: translateY(-60%) scale(1.08);
  box-shadow: var(--shadow-lg);
}
.ntab-prev:disabled,
.ntab-next:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ── ntab dots ── */
.ntab-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.ntab-dot {
  width: 9px; height: 9px;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  border: none; cursor: pointer; padding: 0;
  transition: all var(--transition);
}
.ntab-dot:hover { background: var(--gray-400); }
.ntab-dot.active {
  background: var(--blue);
  width: 28px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ntab-wrap { padding: 0 38px; }
  .ntab-prev, .ntab-next { width: 36px; height: 36px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .ntab-wrap { padding: 0 32px; }
  .ntab-prev, .ntab-next { width: 32px; height: 32px; }
}


/* =============================================
   DROPDOWN NAV + LANGUAGE TOGGLE
   ============================================= */

.nav-right {
  display: flex; align-items: center; gap: 8px;
}

/* ── Language Toggle ── */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 5px 13px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--ff-heading);
  font-size: 0.8125rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--blue); background: var(--blue-light); }
.lang-en-label { color: var(--blue);    font-weight: 900; transition: all .2s; }
.lang-sep      { color: var(--gray-300); font-weight: 400; margin: 0 1px; }
.lang-hi-label { color: var(--gray-400); font-weight: 400; transition: all .2s; }

/* ── Dropdown wrapper ── */
.nav-dropdown {
  position: relative;
  display: inline-flex; align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  cursor: pointer;
}
.nav-dd-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
  pointer-events: none;
}
.nav-dropdown:hover .nav-dd-arrow,
.nav-dropdown.open  .nav-dd-arrow { transform: rotate(180deg); }

/* ── Dropdown menu ── */
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  border: 1.5px solid var(--gray-100);
  min-width: 230px;
  padding: 8px 0;
  z-index: 2000;
  animation: ddFade .18s ease;
}
@keyframes ddFade {
  from { opacity:0; transform:translateX(-50%) translateY(-8px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%) rotate(0deg);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid white;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open  .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 20px !important;
  font-family: var(--ff-heading) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--gray-700) !important;
  background: transparent !important;
  border-radius: 0 !important;
  transition: background .15s, color .15s !important;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--blue-light) !important;
  color: var(--blue) !important;
}
.nav-dropdown-menu a i {
  width: 16px; text-align: center;
  color: var(--blue); font-size: 0.8rem; flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-dropdown { display: none; }
  .lang-toggle { font-size: 0.75rem; padding: 4px 10px; }
  .nav-right { gap: 6px; }
}

/* ── Mobile nav groups (dropdown sub-sections) ── */
.mobile-nav-group { border-radius: var(--radius-sm); overflow: hidden; }

.mobile-nav-group-title {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-heading); font-weight: 600; font-size: 1rem;
  color: var(--gray-700); padding: 12px 16px; cursor: pointer;
  border-radius: var(--radius-sm); transition: all var(--transition);
  user-select: none;
}
.mobile-nav-group-title:hover { background: var(--blue-light); color: var(--blue); }
.mobile-nav-group-title i { font-size: 0.7rem; transition: transform 0.25s ease; }
.mobile-nav-group.open .mobile-nav-group-title i { transform: rotate(180deg); }
.mobile-nav-group.open .mobile-nav-group-title { background: var(--blue-light); color: var(--blue); }

.mobile-nav-sub {
  display: none;
  flex-direction: column;
  background: var(--off-white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 4px 0 8px;
}
.mobile-nav-group.open .mobile-nav-sub { display: flex; }

.mobile-nav-sub a {
  padding: 10px 28px !important;
  font-size: 0.9rem !important;
  color: var(--gray-600) !important;
  display: flex !important; align-items: center; gap: 10px;
}
.mobile-nav-sub a i { color: var(--blue); font-size: 0.8rem; width: 14px; text-align: center; }
.mobile-nav-sub a:hover { background: var(--blue-light) !important; color: var(--blue) !important; }

/* Language toggle active state in mobile nav */
.mobile-nav .lang-toggle-mobile {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 8px 16px; padding: 10px;
  background: var(--blue-light); border-radius: var(--radius-full);
  font-family: var(--ff-heading); font-weight: 700; font-size: 0.9rem;
  color: var(--blue); cursor: pointer; border: 1.5px solid var(--blue);
  transition: all var(--transition);
}
.mobile-nav .lang-toggle-mobile:hover { background: var(--blue); color: white; }