/* ============================================================
   SAHBHAGI VIKAS — Premium Design System
   Palette: Primary #0B5ED7 · Secondary #00A884 · Accent #F4B400
   Type: Poppins (headings) · Inter (body) · Manrope (buttons)
   ============================================================ */

:root {
  --sv-primary: #0B5ED7;
  --sv-primary-dark: #084299;
  --sv-secondary: #00A884;
  --sv-accent: #F4B400;
  --sv-bg: #F8FAFC;
  --sv-text: #1F2937;
  --sv-white: #FFFFFF;
  --sv-muted: #64748B;
  --sv-border: #E7ECF3;
  --sv-gradient: linear-gradient(135deg, var(--sv-primary) 0%, var(--sv-secondary) 100%);
  --sv-gradient-soft: linear-gradient(135deg, rgba(11, 94, 215, .08) 0%, rgba(0, 168, 132, .08) 100%);
  --sv-shadow-sm: 0 4px 16px rgba(15, 23, 42, .06);
  --sv-shadow-md: 0 12px 32px rgba(15, 23, 42, .09);
  --sv-shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --sv-radius: 20px;
  --sv-radius-sm: 12px;
  /* topbar (38px) + header inner (78px) = 116px to offset fixed header heights */
  --sv-header-h: 38px;
}

* {
  box-sizing: border-box;
 
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--sv-text);
  background: var(--sv-bg);
  overflow-x: hidden;
  padding-top: var(--sv-header-h);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #111827;
  letter-spacing: -.02em;
}

p {
  color: #000000;
  line-height: 1.75;
}

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

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

::selection {
  background: var(--sv-accent);
  color: #111827;
}

.sv-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sv-primary);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 10px 0;
}

.sv-skip-link:focus {
  left: 0;
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sv-accent);
  outline-offset: 2px;
}

/* ---------------- Loader ---------------- */
#sv-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}

#sv-loader.sv-hide {
  opacity: 0;
  visibility: hidden;
}

.sv-loader-container {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-loader-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: sv-spin 1.1s linear infinite;
}

.sv-loader-ring svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sv-loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.sv-loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@keyframes sv-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ---------------- Top bar ---------------- */
.sv-topbar {
  background: #0A1A33;
  color: #ffffff;
  font-size: .85rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}

.sv-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}

.sv-topbar-contact a {
  color: #ffffff;
  margin-right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.sv-topbar-contact a:hover {
  color: var(--sv-accent);
}

.sv-topbar-social a {
  color: #ffffff;
  margin-left: .9rem;
}

.sv-topbar-social a:hover {
  color: var(--sv-accent);
}

/* ---------------- Header ---------------- */
.sv-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: all .3s ease;
}

.sv-header.sv-scrolled {
  top: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* Row 1 — Logo + Donate Now */
.sv-header-top {
  border-bottom: 1px solid var(--sv-border, #e5e7eb);
  background: #fff;
  padding: 8px 0;
}

.sv-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  width: 100%;
  margin: auto;
  padding: 0 32px;
}

/* Row 2 — Navigation Menu */
.sv-header-bottom {
  background: #fff;
  padding: 5px 0;
}

.sv-header-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1320px;
  width: 100%;
  margin: auto;
  padding: 0 32px;
}

.sv-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.sv-brand-mark img {
  width: auto;
  height: 64px;
  max-height: 68px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.sv-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sv-brand-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(1.95rem, 3.1vw, 2.35rem);
  color: #0e8ea7;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
}

.sv-brand-tagline {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  color: #556987;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-top: 5px;
  white-space: nowrap;
}

.sv-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.sv-nav>ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  
}

.sv-nav>ul>li {
  position: relative;
}

.sv-nav>ul>li>a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 0.81rem;
  font-weight: 600;
  color: #374151;
  border-radius: 8px;
  transition: .25s;
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

.sv-nav>ul>li>a:hover,
.sv-nav>ul>li>a.active {
  color: var(--sv-primary);
  background: rgba(11, 94, 215, .08);
}

.sv-nav>ul>li>a i {
  font-size: .68rem;
  margin-top: 0;
  line-height: 1;
  display: inline-block;
}

.sv-has-mega .sv-mega {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  width: 560px;
  max-width: calc(100vw - 30px);
  background: #fff;
  border-radius: var(--sv-radius-sm);
  box-shadow: var(--sv-shadow-lg);
  border: 1px solid var(--sv-border);
  display: grid;
  grid-template-columns: 1fr 1fr 210px;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  padding: 1rem;
  z-index: 1000;
}

.sv-has-mega .sv-mega.sv-mega-wide {
  left: 0;
  transform: translateY(10px);
  min-width: 700px;
  max-width: calc(100vw - 30px);
}

.sv-has-mega:hover .sv-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sv-has-mega:hover .sv-mega.sv-mega-wide {
  transform: translateY(0);
}

.sv-mega-col {
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  border-right: 1px solid var(--sv-border);
}

.sv-mega-col:last-child {
  border-right: none;
}

.sv-mega-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sv-secondary);
  margin-bottom: .6rem;
}

.sv-mega-col a {
  padding: .4rem 0;
  font-size: .88rem;
  color: #374151;
  font-weight: 500;
}

.sv-mega-col a:hover {
  color: var(--sv-primary);
  padding-left: .25rem;
}

.sv-mega-promo {
  background: var(--sv-gradient);
  border-radius: 14px;
  padding: 1.2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column: span 1;
}

.sv-mega-wide .sv-mega-promo {
  display: none;
}

.sv-mega-cta {
  font-weight: 700;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .8rem;
}

.sv-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.sv-btn-donate {
  background: var(--sv-gradient);
  color: #fff !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  padding: .35rem 1.1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  box-shadow: 0 8px 20px rgba(11, 94, 215, .28);
  transition: .3s;
}

.sv-btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 94, 215, .4);
  color: #fff;
}

.sv-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sv-border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.sv-burger span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
}

/* ---------------- Mobile Offcanvas ---------------- */
.sv-offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  box-shadow: var(--sv-shadow-lg);
  transition: right .35s ease;
  padding: 1.5rem;
  overflow-y: auto;
}

.sv-offcanvas.sv-open {
  right: 0;
}

.sv-offcanvas-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
}

.sv-offcanvas-head button {
  background: none;
  border: none;
  font-size: 1.2rem;
}

.sv-offcanvas-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.sv-offcanvas-list a {
  display: block;
  padding: .75rem 0;
  border-bottom: 1px solid var(--sv-border);
  font-weight: 600;
  color: #374151;
}

.sv-offcanvas-item-has-submenu {
  border-bottom: 1px solid var(--sv-border);
}

.sv-offcanvas-item-has-submenu > a {
  border-bottom: none;
}

.sv-offcanvas-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.sv-offcanvas-link-wrapper a {
  flex: 1;
  border-bottom: none !important;
}

.sv-offcanvas-toggle {
  background: rgba(11, 94, 215, 0.06);
  border: 1px solid var(--sv-border);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sv-primary);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.sv-offcanvas-item-has-submenu.sv-open .sv-offcanvas-toggle {
  transform: rotate(180deg);
  background: var(--sv-primary);
  color: #ffffff;
}

.sv-offcanvas-submenu {
  display: none;
  list-style: none;
  padding: 0.25rem 0 0.5rem 0.85rem;
  margin: 0;
  border-left: 2px solid var(--sv-primary);
}

.sv-offcanvas-item-has-submenu.sv-open .sv-offcanvas-submenu {
  display: block;
}

.sv-offcanvas-submenu-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sv-secondary);
  margin-top: 0.65rem;
  margin-bottom: 0.25rem;
  padding-left: 0.25rem;
}

.sv-offcanvas-submenu a {
  padding: 0.35rem 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b5563;
  border-bottom: none !important;
}

.sv-offcanvas-submenu a:hover {
  color: var(--sv-primary);
  padding-left: 0.4rem;
}

.sv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, .5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.sv-overlay.sv-open {
  opacity: 1;
  visibility: visible;
}

/* ---------------- Buttons (custom, not generic bootstrap) ---------------- */
.sv-btn {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  border-radius: 50px;
  padding: .85rem 1.7rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  transition: .3s;
  border: none;
  position: relative;
  overflow: hidden;
}

.sv-btn-primary {
  background: var(--sv-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 94, 215, .28);
}

.sv-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(11, 94, 215, .36);
  color: #fff;
}

.sv-btn-accent {
  background: var(--sv-accent);
  color: #111827;
  box-shadow: 0 10px 24px rgba(244, 180, 0, .3);
}

.sv-btn-accent:hover {
  transform: translateY(-3px);
  color: #111827;
}

.sv-btn-outline {
  background: transparent;
  border: 2px solid var(--sv-white);
  color: #fff;
}

.sv-btn-outline:hover {
  background: #fff;
  color: var(--sv-primary);
}

.sv-btn-outline-dark {
  background: transparent;
  border: 2px solid var(--sv-primary);
  color: var(--sv-primary);
}

.sv-btn-outline-dark:hover {
  background: var(--sv-primary);
  color: #fff;
}

.sv-btn-white {
  background: #fff;
  color: var(--sv-primary) !important;
}

.sv-btn-white:hover {
  transform: translateY(-3px);
}

.sv-btn-outline-white {
  border: 2px solid rgba(255, 255, 255, .6);
  color: #fff !important;
  background: transparent;
}

.sv-btn-outline-white:hover {
  background: rgba(255, 255, 255, .15);
}

/* Reference Image Matched Pill Buttons */
.sv-btn-get-involved-pill {
  background: linear-gradient(90deg, #0b5ed7 0%, #00a884 100%);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.sv-btn-get-involved-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(11, 94, 215, 0.35);
  color: #ffffff !important;
}

.sv-btn-view-gallery-pill {
  background: #ffffff;
  color: #0b5ed7 !important;
  border: 2px solid #0b5ed7;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sv-btn-view-gallery-pill:hover {
  background: #0b5ed7;
  color: #ffffff !important;
  border-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.2);
}

.sv-btn-view-gallery-pill i {
  color: #0b5ed7;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.sv-btn-view-gallery-pill:hover i {
  color: #ffffff !important;
}

.sv-btn-sm {
  padding: .6rem 1.2rem;
  font-size: .85rem;
}

/* Ripple */
.sv-btn::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, .5);
  border-radius: 100%;
  opacity: 0;
  transform: scale(1);
  transition: transform .5s, opacity 1s;
  top: 50%;
  left: 50%;
  margin: -3px 0 0 -3px;
}

.sv-btn:active::after {
  transform: scale(60);
  opacity: .35;
  transition: 0s;
}

/* ---------------- Section basics ---------------- */
.sv-section {
  padding: 4rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .sv-section {
    padding: 2.5rem 0;
  }
}

.sv-section-tight {
  padding: 3rem 0;
}

.sv-page-hero.text-center .sv-breadcrumb {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.sv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sv-secondary);
  background: rgba(0, 168, 132, .09);
  padding: .45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}

.sv-eyebrow i {
  color: var(--sv-accent);
}

.sv-section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.sv-section-lead {
  font-size: 1.05rem;
  max-width: 640px;
  text-align: justify;
}

/* ---------------- Hero ---------------- */
.sv-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b1c3d;
}

.sv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><circle cx="60" cy="60" r="1.2" fill="%23ffffff" opacity="0.25"/></svg>');
  opacity: .5;
}

/* Dark/gradient overlay stays above image but below content */
.sv-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Keep content above overlay */
.sv-hero .container,
.sv-hero-content,
.sv-hero-stats {
  position: relative;
  z-index: 2;
}

.sv-hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: .35;
}

.sv-hero-shape-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(244, 180, 0, .55), transparent 70%);
  top: -120px;
  right: -100px;
}

.sv-hero-shape-2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 70%);
  bottom: -100px;
  left: -80px;
}

.sv-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 6rem 0 8rem;
}

.sv-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .6;
}

.sv-hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sv-hero-carousel .carousel-inner {
  height: 100%;
}

.sv-hero-carousel .carousel-item {
  height: 100%;
}

.sv-hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sv-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 6rem 0 8rem;
}

.sv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
  padding: .5rem 1.1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.sv-hero h1 {
  color: #fff;
  font-size: 40px;
  line-height: 1.12;
  margin-bottom: 1.4rem;
}

.sv-hero h1 span {
  background: linear-gradient(90deg, #F4B400, #FFE29A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sv-hero p.sv-hero-desc {
  color: rgba(255, 255, 255, .85);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2.2rem;
}

.sv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sv-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

/* Glass card floating on hero */
.sv-hero-glass {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--sv-radius);
  padding: 1.8rem;
  color: #fff;
}

.sv-hero-glass h4 {
  color: #fff;
  margin-bottom: 0;
}

/* ---------------- Generic page hero (inner pages) ---------------- */
.sv-page-hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #071C3D 0%, var(--sv-primary) 60%, var(--sv-secondary) 130%);
}

.sv-page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .6rem;
}

.sv-page-hero p {
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
}

.sv-breadcrumb ol {
  list-style: none;
  display: flex;
  gap: .5rem;
  padding: 0;
  margin: 0 0 1.2rem;
  font-size: .85rem;
}

.sv-breadcrumb li::after {
  content: '/';
  margin-left: .5rem;
  color: rgba(255, 255, 255, .4);
}

.sv-breadcrumb li:last-child::after {
  content: '';
}

.sv-breadcrumb a {
  color: rgba(255, 255, 255, .75);
}

.sv-breadcrumb a:hover {
  color: #fff;
}

.sv-breadcrumb-dark a,
.sv-breadcrumb-dark li,
.sv-breadcrumb-dark span {
  color: #111827 !important;
  font-weight: 600;
}

.sv-breadcrumb-dark li::after {
  color: #6b7280 !important;
}

.sv-breadcrumb li[aria-current] {
  color: #fff;
  font-weight: 600;
}

/* ---------------- Cards ---------------- */
.sv-card {
  background: #fff;
  border-radius: var(--sv-radius);
  border: 1px solid var(--sv-border);
  box-shadow: var(--sv-shadow-sm);
  transition: .35s;
  height: 100%;
}

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

.sv-card-body {
  padding: 2rem;
}

.sv-icon-tile {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sv-gradient-soft);
  color: var(--sv-primary);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  transition: .35s;
}

.sv-card:hover .sv-icon-tile {
  background: var(--sv-gradient);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

/* Glass testimonial cards */
.sv-glass-card {
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px);
  border-radius: var(--sv-radius);
  padding: 2rem;
  box-shadow: var(--sv-shadow-sm);
  height: 100%;
}

/* ---------------- About section ---------------- */
.sv-about-media {
  position: relative;
}

.sv-about-media img {
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-lg);
}

.sv-about-badge {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sv-shadow-lg);
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}

.sv-about-badge strong {
  font-size: 1.6rem;
  color: var(--sv-primary);
  display: block;
  font-family: 'Poppins', sans-serif;
}

.sv-about-badge span {
  font-size: .78rem;
  color: var(--sv-muted);
}

/* ---------------- Impact Counters ---------------- */
.sv-counters {
  background: linear-gradient(135deg, #071C3D, #0B5ED7 60%, #00A884 130%);
  position: relative;
  overflow: hidden;
}

.sv-counter-item {
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.sv-counter-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: .15rem;
}

.sv-counter-label {
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
  font-size: .95rem;
  margin-top: .35rem;
}

/* ---------------- Timeline (legal status / vision strategy) ---------------- */
.sv-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.sv-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--sv-border);
}

.sv-timeline-item {
  position: relative;
  padding-bottom: 2.2rem;
}

.sv-timeline-item:last-child {
  padding-bottom: 0;
}

.sv-timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sv-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .7rem;
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--sv-border);
}

.sv-timeline-card {
  background: #fff;
  border: 1px solid var(--sv-border);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--sv-shadow-sm);
}

.sv-timeline-card h5 {
  margin-bottom: .3rem;
}

.sv-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--sv-secondary);
  background: rgba(0, 168, 132, .1);
  padding: .25rem .6rem;
  border-radius: 50px;
}

/* ---------------- Focus / Program Cards ---------------- */
.sv-focus-card {
  padding: 2rem 1.6rem;
  text-align: center;
}

/* ---------------- Why choose us ---------------- */
.sv-feature-row {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--sv-border);
}

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

.sv-feature-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--sv-primary);
  background: rgba(15, 118, 110, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------------- Programs large cards ---------------- */
.sv-program-card {
  position: relative;
  border-radius: var(--sv-radius);
  overflow: hidden;
  height: 360px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--sv-shadow-md);
}

.sv-program-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.sv-program-card:hover img {
  transform: scale(1.08);
}

.sv-program-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 20, 50, .92) 0%, rgba(7, 20, 50, .15) 65%);
}

.sv-program-card-body {
  position: relative;
  z-index: 2;
  padding: 1.8rem;
  color: #fff;
}

.sv-program-card-body h4 {
  color: #fff;
  margin-bottom: .4rem;
}

.sv-program-tag {
  display: inline-block;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .7rem;
}

/* ---------------- Success stories / testimonials slider (CSS only carousel via bootstrap) ---------------- */
.sv-quote-mark {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color: var(--sv-accent);
  line-height: 1;
  opacity: .5;
}

/* ---------------- Gallery masonry ---------------- */
.sv-masonry {
  column-count: 3;
  column-gap: 1.2rem;
}

.sv-masonry-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--sv-shadow-sm);
}

.sv-masonry-item img {
  width: 100%;
  display: block;
  transition: transform .5s;
}

.sv-masonry-item:hover img {
  transform: scale(1.06);
}

.sv-masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 94, 215, .85), transparent 60%);
  opacity: 0;
  transition: .3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
  font-weight: 600;
}

.sv-masonry-item:hover .sv-masonry-overlay {
  opacity: 1;
}

@media (max-width:992px) {
  .sv-masonry {
    column-count: 2;
  }
}

@media (max-width:576px) {
  .sv-masonry {
    column-count: 1;
  }
}

.sv-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}

.sv-filter-pill {
  padding: .55rem 1.3rem;
  border-radius: 50px;
  border: 1px solid var(--sv-border);
  background: #fff;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: .25s;
}

.sv-filter-pill.active,
.sv-filter-pill:hover {
  background: var(--sv-gradient);
  color: #fff;
  border-color: transparent;
}

/* ---------------- Report Cards ---------------- */
.sv-report-card {
  display: flex;
  gap: 1.4rem;
  padding: 1.4rem;
  border: 1px solid var(--sv-border);
  border-radius: 18px;
  background: #fff;
  align-items: center;
  transition: .3s;
}

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

.sv-report-thumb {
  width: 78px;
  height: 100px;
  border-radius: 8px;
  background: var(--sv-gradient);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: var(--sv-shadow-sm);
}

.sv-report-meta {
  display: flex;
  gap: 1rem;
  font-size: .78rem;
  color: var(--sv-muted);
  margin-top: .3rem;
  flex-wrap: wrap;
}

/* ---------------- Forms ---------------- */
.sv-form-control {
  border: 1px solid var(--sv-border);
  border-radius: 12px;
  padding: .85rem 1.1rem;
  width: 100%;
  font-family: 'Inter', sans-serif;
  background: #fff;
  transition: .25s;
}

.sv-form-control:focus {
  border-color: var(--sv-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(11, 94, 215, .12);
}

.sv-form-label {
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .4rem;
  display: block;
}

.sv-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  border: 2px dashed var(--sv-border);
  border-radius: 16px;
  padding: 1.4rem;
  background: rgba(11, 94, 215, .03);
  color: var(--sv-primary);
  cursor: pointer;
  text-align: center;
  transition: .25s;
}

.sv-upload-box:hover {
  border-color: var(--sv-primary);
  background: rgba(11, 94, 215, .06);
}

.sv-upload-box i {
  font-size: 1.6rem;
}

.sv-upload-box span {
  font-weight: 700;
}

.sv-upload-box small {
  color: var(--sv-muted);
}

.sv-file-name {
  font-size: .84rem;
  color: var(--sv-muted);
  margin-top: .4rem;
}

.sv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 50, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .25s;
}

.sv-modal-overlay.sv-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sv-modal {
  position: relative;
  width: min(680px, 100%);
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--sv-shadow-lg);
}

.sv-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(15, 23, 42, .06);
  color: #111827;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-modal h3 {
  margin-bottom: .4rem;
}

.sv-modal p {
  margin-bottom: 0;
}

/* ---------------- Footer ---------------- */
.sv-cta-strip {
  background: var(--sv-gradient);
  padding: 3.2rem 0;
}

.sv-cta-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: #fff;
}

.sv-cta-strip-inner h3 {
  color: #fff;
  margin-bottom: .3rem;
}

.sv-cta-strip-inner p {
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

.sv-cta-strip-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.sv-footer {
  background: #0A1A33;
  color: #ffffff;
  padding-top: 4.5rem;
}

.sv-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.sv-footer-col h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.sv-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sv-footer-col ul li {
  margin-bottom: .7rem;
}

.sv-footer-col ul a:hover {
  color: var(--sv-accent);
}

.sv-brand-footer .sv-brand-text strong {
  color: #fff;
}

.sv-footer-brand p {
  color: #ffffff;
  margin: 1rem 0 1.2rem;
  font-size: .92rem;
}

.sv-footer-social {
  display: flex;
  gap: .7rem;
}

.sv-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-footer-social a:hover {
  background: var(--sv-gradient);
}

.sv-newsletter-form {
  display: flex;
  gap: .5rem;
  margin-bottom: .5rem;
}

.sv-newsletter-form input {
  flex: 1;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  padding: .7rem 1.1rem;
  color: #fff;
}

.sv-newsletter-form input::placeholder {
  color: #64748B;
}

.sv-newsletter-form button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sv-gradient);
  border: none;
  color: #fff;
  flex-shrink: 0;
}

.sv-footer-newsletter p {
  font-size: .85rem;
}

.sv-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.3rem 0;
}

.sv-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
}

@media (max-width:992px) {
  .sv-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:576px) {
  .sv-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Floating WhatsApp + Back to top ---------------- */
.sv-whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  z-index: 900;
  animation: sv-pulse 2.4s infinite;
}

@keyframes sv-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

#sv-back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sv-gradient);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  box-shadow: var(--sv-shadow-md);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
}

#sv-back-to-top.sv-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------------- Utility ---------------- */
.sv-text-gradient {
  background: var(--sv-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sv-bg-soft {
  background: var(--sv-gradient-soft);
}

.sv-divider-wave {
  line-height: 0;
}

/* Responsive nav collapse */
@media (max-width:1199px) {
  .sv-header-bottom {
    display: none;
  }

  .sv-nav {
    display: none;
  }

  .sv-burger {
    display: flex;
  }
}

@media (max-width:992px) {
  .sv-header-top-inner {
    gap: 0.5rem;
  }

  .sv-header-actions {
    justify-content: flex-end;
  }

  .sv-card-body {
    padding: 1.5rem;
  }

  .sv-feature-row {
    flex-direction: column;
    gap: .75rem;
  }

  .sv-feature-num {
    width: auto;
  }

  .sv-program-card {
    height: auto;
    min-height: 320px;
  }

  .sv-report-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .sv-report-thumb {
    width: 100%;
    height: 160px;
  }

  .sv-report-card .flex-grow-1 {
    width: 100%;
  }

  .sv-report-meta {
    justify-content: flex-start;
  }

  .sv-newsletter-form {
    flex-wrap: wrap;
  }

  .sv-newsletter-form input {
    min-width: 0;
  }

  .sv-newsletter-form button {
    min-width: 44px;
  }

  .sv-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width:768px) {
  .sv-hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .sv-hero-content {
    padding: 3rem 0 5rem;
    text-align: center;
  }

  .sv-hero-actions {
    justify-content: center;
  }

  .sv-section {
    padding: 4rem 0;
  }

  .sv-topbar-contact a:nth-child(2) {
    display: none;
  }

  .sv-hero-glass {
    padding: 1.5rem;
  }

  .sv-about-badge {
    position: static;
    margin-top: 1.5rem;
  }

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

  .sv-footer-social {
    flex-wrap: wrap;
    gap: .6rem;
  }

  .sv-footer-newsletter input {
    width: 100%;
  }

  /*.sv-footer-newsletter button {*/
  /*  width: 100%;*/
  /*}*/

  .sv-masonry {
    column-count: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* @media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px;
    }
} */


.sv-brand-mark img {
  width: auto;
  height: 64px;
  max-height: 68px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;
}

/* ================= Modern Program Page Styles ================= */
.sv-program-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, #071c3d 0%, #0b5ed7 55%, #00a884 100%);
  color: #ffffff;
  overflow: hidden;
}

.sv-program-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sv-program-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffd75e;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.sv-program-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.sv-program-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  max-width: 680px;
  line-height: 1.6;
}

/* Modern Showcase Card */
.sv-program-card-modern {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 50px rgba(11, 94, 215, 0.07);
  padding: 2.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sv-program-card-modern:hover {
  box-shadow: 0 30px 60px rgba(11, 94, 215, 0.12);
}

.sv-program-img-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.sv-program-img-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sv-program-img-wrapper:hover .sv-program-img-main {
  transform: scale(1.05);
}

.sv-program-gallery-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sv-program-gallery-thumb:hover {
  transform: scale(1.04);
}

.sv-program-title-styled {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.sv-program-desc-modern {
  font-size: 1.06rem;
  line-height: 1.8;
  color: #4b5563;
}

.sv-highlights-card-modern {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 18px;
  padding: 1.5rem;
  border-left: 5px solid #0b5ed7;
}

.sv-highlights-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.96rem;
  font-weight: 500;
  color: #1f2937;
}

.sv-highlights-icon {
  width: 24px;
  height: 24px;
  background: rgba(11, 94, 215, 0.1);
  color: #0b5ed7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 2px;
}

.sv-stat-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.sv-stat-pill strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0b5ed7;
}

.sv-stat-pill span {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Enhanced Left-Side Image Gallery Showcase */
.sv-program-img-showcase {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sv-program-img-main-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.85rem;
}

.sv-program-img-main-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
  height: 480px;
}

.sv-program-img-main-box:hover img {
  transform: scale(1.04);
}

.sv-program-grid-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.sv-program-grid-thumb:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Custom Case Study Modal Fixes */
.modal {
  z-index: 1060 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

.modal-dialog-scrollable {
  max-height: calc(100vh - 2rem) !important;
}

.modal-dialog-scrollable .modal-content {
  max-height: 82vh !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
  border: none !important;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  max-height: calc(82vh - 240px) !important;
  padding: 1.5rem 1.75rem !important;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  flex-shrink: 0 !important;
}

.sv-case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

/* ================= COMPREHENSIVE RESPONSIVENESS SYSTEM ================= */

/* Global safety & media fluid defaults */
img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

iframe {
  border: 0;
}

body {
  overflow-x: hidden;
  width: 100%;
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* Fluid Brand Logo Sizing */
.sv-brand-mark img {
  width: auto;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  transition: max-height 0.3s ease;
}

@media (max-width: 992px) {
  .sv-brand-mark img {
    max-height: 44px;
  }
  .sv-topbar-contact a {
    margin-right: 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  /* Fluid Section Spacing */
  .sv-section {
    padding: clamp(2.2rem, 5vw, 3.5rem) 0 !important;
  }

  .sv-page-hero,
  .sv-program-hero {
    padding: 3rem 0 2.5rem !important;
  }

  .sv-hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .sv-hero-content {
    padding: 2.5rem 0 4rem;
    text-align: center;
  }

  .sv-hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.8rem) !important;
  }

  .sv-hero-desc {
    font-size: 0.98rem !important;
    margin-left: auto;
    margin-right: auto;
  }

  .sv-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

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

  .sv-page-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.2rem) !important;
  }

  .sv-program-card-modern {
    padding: 1.25rem !important;
  }

  .sv-program-title-styled {
    font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
  }

  .sv-stat-pill {
    margin-bottom: 0.5rem;
    padding: 0.85rem 0.6rem;
  }

  .sv-stat-pill strong {
    font-size: 1.25rem;
  }

  .sv-stat-pill span {
    font-size: 0.72rem;
  }

  .sv-cta-strip {
    padding: 2.2rem 0;
  }

  .sv-cta-strip-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .sv-cta-strip-actions {
    width: 100%;
    flex-direction: column;
  }

  .sv-cta-strip-actions .sv-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sv-brand-mark img {
    max-height: 52px;
  }

  .sv-header-top-inner {
    padding: 4px 12px;
  }

  .sv-btn-donate {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }

  .sv-topbar-inner {
    height: auto;
    padding: 4px 0;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    text-align: center;
  }

  .sv-topbar-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .sv-topbar-contact a {
    margin-right: 0;
    font-size: 0.75rem;
  }

  .sv-topbar-social {
    display: flex;
    gap: 0.6rem;
  }

  .sv-topbar-social a {
    margin-left: 0;
    font-size: 0.8rem;
  }

  .modal-dialog {
    margin: 0.5rem !important;
  }

  .modal-content {
    border-radius: 16px !important;
  }

  .modal-body {
    padding: 1rem !important;
  }

  .sv-case-study-card {
    min-height: 260px !important;
  }

  .sv-case-study-card img {
    height: 260px !important;
  }

  /* Gallery pills horizontal scroll container */
  .sv-gallery-filters-container .d-flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sv-filter-pill {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }

  .sv-avatar-tab-btn {
    padding: 0.4rem 0.9rem 0.4rem 0.5rem;
    font-size: 0.82rem;
  }

  .sv-avatar-tab-btn img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 380px) {
  .sv-hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .sv-hero-glass h4 {
    font-size: 1.15rem;
  }

  .sv-hero-glass small {
    font-size: 0.68rem;
  }
}

/* ---------------- Success Stories Screenshot Layout & Redesign Styling ---------------- */
.sv-story-screenshot-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 5px solid #dc3545 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.sv-story-screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(220, 53, 69, 0.12), 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1 !important;
  border-left-color: #b02a37 !important;
}

.sv-story-red-frame {
  border: 3px solid #dc3545;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: #f8fafc;
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.18);
  transition: all 0.4s ease;
}

.sv-story-red-frame img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sv-story-red-frame:hover img {
  transform: scale(1.04);
}

.text-success-light {
  color: #16a34a !important;
}

.sv-impact-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.2px;
}

.sv-impact-pill-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.25);
}

.sv-impact-pill-success {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.sv-impact-pill-warning {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.sv-impact-pill-info {
  background: rgba(13, 110, 253, 0.1);
  color: #0b5ed7;
  border: 1px solid rgba(13, 110, 253, 0.25);
}

.sv-story-filter-btn {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.sv-story-filter-btn:hover,
.sv-story-filter-btn.active {
  background: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* ---------------- Ultra-Clean Modern Story Card Styling ---------------- */
.sv-story-card-modern {
  border: 1px solid #e2e8f0 !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #ffffff !important;
}

.sv-story-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(220, 53, 69, 0.14), 0 10px 20px rgba(0, 0, 0, 0.05) !important;
  border-color: #fca5a5 !important;
}

.sv-story-card-modern img {
  transition: transform 0.5s ease;
}

.sv-story-card-modern:hover img {
  transform: scale(1.06);
}


.sv-story-hero-banner:hover {
  box-shadow: 0 25px 70px rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.3);
}

.sv-story-modern-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sv-story-modern-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 45px rgba(220, 53, 69, 0.16);
  border-color: #fca5a5;
}

.sv-story-img-container {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: #0f172a;
}

.sv-story-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sv-story-modern-card:hover .sv-story-img-container img {
  transform: scale(1.08);
}

.sv-story-badge-floating {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  backdrop-filter: blur(8px);
  background: rgba(220, 53, 69, 0.9) !important;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.sv-gradient-text-danger {
  background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Avatar Tab Selector Buttons */
.sv-avatar-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1.25rem 0.5rem 0.6rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  cursor: pointer;
}

.sv-avatar-tab-btn img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dc3545;
}

.sv-avatar-tab-btn:hover,
.sv-avatar-tab-btn.active {
  background: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.35);
}

.sv-avatar-tab-btn:hover img,
.sv-avatar-tab-btn.active img {
  border-color: #ffffff;
}

.sv-program-grid-thumb {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: 250px;
}

@media (min-width: 992px) {
    .sv-block-card:nth-child(7),
    .sv-block-card:nth-child(8),
    .sv-block-card:nth-child(9) {
        transform: translateX(-35px);
        margin-bottom: 20px;
    }
}
/* Remove top bar completely and remove its reserved gap */
.sv-topbar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove space left for top bar */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.sv-header {
    top: 0 !important;
    margin-top: 0 !important;
}

/* Header should start directly at the top */
.sv-header-top-inner,
.sv-header-bottom-inner {
    margin-top: 0 !important;
}

.sv-gallery-grid {
    justify-content: center !important;
}



/* =========================================
   PROGRAMS MEGA MENU - 5 COLUMNS
========================================= */

.sv-has-mega {
    position: relative;
}

.sv-has-mega .sv-mega-wide {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);

    width: 880px;
    max-width: calc(100vw - 30px);

    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;

    gap: 0 !important;
    padding: 12px 0 !important;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 14px 14px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);

    z-index: 9999;
}

/* =========================================
   EACH COLUMN
========================================= */

.sv-mega-wide .sv-mega-col {
    width: 100%;
    min-width: 0;

    padding: 4px 12px;

    border-right: 1px solid #e5e7eb;
}

.sv-mega-wide .sv-mega-col:last-child {
    border-right: none;
}

/* =========================================
   TITLE
========================================= */

.sv-mega-wide .sv-mega-title {
    display: block;

    font-size: 13px !important;
    line-height: 1.4 !important;

    font-weight: 600 !important;

    letter-spacing: 0.6px;

    color: #374151 !important;

    margin-bottom: 8px !important;

    text-transform: uppercase;

    max-width: 100% !important;
}

/* =========================================
   MENU LINKS
========================================= */

.sv-mega-wide .sv-mega-col > a:not(.sv-mega-title) {
    display: block;

    font-size: 12.5px !important;
    line-height: 1.4;

    color: #374151;

    text-decoration: none;

    margin-bottom: 6px;
}

.sv-mega-wide .sv-mega-col > a:not(.sv-mega-title):hover {
    color: #087fbd;
}

/* =========================================
   OTHER PROGRAMS
========================================= */

.sv-mega-wide .sv-mega-col h4,
.sv-mega-wide .sv-mega-col .sv-mega-subtitle {
    font-size: 12px !important;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 14px;
}

/* =========================================
   DESKTOP
========================================= */

@media (min-width: 992px) {

    .sv-has-mega .sv-mega-wide {
        width: 880px;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

}

/* =========================================
   LAPTOP
========================================= */

@media (min-width: 992px) and (max-width: 1200px) {

    .sv-has-mega .sv-mega-wide {
        width: 950px;
    }

    .sv-mega-wide .sv-mega-col {
        padding-left: 12px;
        padding-right: 12px;
    }

    .sv-mega-wide .sv-mega-title {
        font-size: 11px !important;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    .sv-has-mega .sv-mega-wide {
        position: static;

        width: 100%;
        max-width: 100%;

        transform: none;

        display: block !important;

        box-shadow: none;
        border-radius: 0;
    }

    .sv-mega-wide .sv-mega-col {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;

        padding: 12px 15px;
    }

}



/* Fix mega menu positioning to anchor under parent menu item */
.sv-nav {
    position: relative !important;
}

.sv-nav .sv-has-mega {
    position: relative !important;
}

.sv-has-mega .sv-mega {
    left: 0 !important;
    right: auto !important;
    top: 100% !important;
    transform: translateY(10px) !important;
}

.sv-has-mega:hover .sv-mega {
    transform: translateY(0) !important;
}

.sv-has-mega .sv-mega-wide {
    left: 0 !important;
    transform: translateY(10px) !important;

    width: min(880px, calc(100vw - 30px)) !important;
    max-width: calc(100vw - 30px) !important;

    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.sv-has-mega:hover .sv-mega-wide {
    transform: translateY(0) !important;
}

.sv-section-tight {
    padding: 3rem 0;
    background-color: #e5f2f4;
        margin-top: 50px;
}