/* ============================================================
   COMPONENTS v2.0 — Mobile-First Professional Design
   ============================================================ */

/* ── BACKWARD COMPAT: old class names from subagent-generated HTML ── */
.section__header { text-align: center; margin-bottom: 32px; }
.section__tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.section__title {
  font-size: 1.6rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-grad);
  border-radius: 3px;
}
.section__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .section__header { margin-bottom: 48px; }
  .section__title { font-size: 2rem; }
}

/* Founder highlight responsive */
@media (min-width: 768px) {
  .founder-highlight { flex-direction: row !important; text-align: left !important; }
  .founder-highlight > div:last-child { text-align: left !important; }
}

/* Card team designation compat */
.card-team__designation {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
}

.card__image-wrap { overflow: hidden; }
.card__image-wrap img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__image-wrap img { transform: scale(1.05); }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 10px;
  transition: gap var(--ease);
}
.card__link:hover { gap: 8px; }

/* Marquee compat */
.marquee { background: var(--primary-grad); padding: 7px 0; overflow: hidden; }
.marquee__content { display: flex; white-space: nowrap; animation: marquee 35s linear infinite; color: white; font-weight: 500; font-size: 0.78rem; }
.marquee__content span { padding-right: 40px; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--ff-hindi);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: all var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--ease);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--primary-grad);
  color: white;
  box-shadow: 0 4px 16px rgba(255,107,0,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,0,0.35);
}

.btn--secondary { background: var(--secondary); color: white; }
.btn--secondary:hover { background: var(--secondary-light); transform: translateY(-2px); }

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

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

.btn--gold {
  background: var(--gold-grad);
  color: var(--text-dark);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212,160,23,0.3);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(212,160,23,0.4); }

.btn--sm { padding: 8px 18px; font-size: 0.8rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }

@media (min-width: 768px) {
  .btn { padding: 14px 30px; font-size: 0.95rem; }
  .btn--lg { padding: 16px 40px; font-size: 1.05rem; }
}


/* ══════════════════════════════════════════════
   HEADER — Professional Sticky Nav
   ══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--ease);
}

/* ─── Top Bar ─── */
.header__top-bar {
  background: linear-gradient(90deg, #1A1A1A 0%, #2A2A2A 100%);
  padding: 6px 0;
  font-size: 0.72rem;
  display: none; /* Hidden on mobile */
}

.header__top-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header__top-contact a,
.header__top-contact span {
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-en);
  font-size: 12px;
  transition: color var(--ease);
}

.header__top-contact a:hover { color: var(--primary); }

.header__top-social {
  display: flex;
  gap: 10px;
}

.header__top-social a {
  width: 26px;
  height: 26px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  transition: all var(--ease);
}

.header__top-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}

@media (min-width: 1024px) {
  .header__top-bar { display: block; }
}

/* ─── Main Header ─── */
.header__main {
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--ease);
}

.header.scrolled .header__main {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px var(--gutter);
  max-width: var(--container-wide);
  margin: 0 auto;
  min-height: 60px;
}

@media (min-width: 768px) {
  .header__inner { min-height: 70px; padding: 6px var(--gutter); }
}

@media (min-width: 1200px) {
  .header__inner { min-height: 72px; }
}

/* ─── Logo ─── */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 1100;
}

.header__logo img {
  height: 40px;
  width: auto;
  transition: transform var(--ease);
}

.header__logo:hover img { transform: scale(1.05); }

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-title {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.header__logo-subtitle {
  font-family: var(--ff-en);
  font-size: 9px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

@media (min-width: 768px) {
  .header__logo img { height: 48px; }
  .header__logo-title { font-size: 1.15rem; }
  .header__logo-subtitle { font-size: 10px; letter-spacing: 2px; }
  .header__logo { gap: 12px; }
}

@media (min-width: 1200px) {
  .header__logo img { height: 52px; }
  .header__logo-title { font-size: 1.25rem; }
}

/* ─── Desktop Navigation ─── */
.nav {
  display: none; /* Hidden on mobile */
  align-items: center;
  gap: 0;
}

.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--r-sm);
  transition: all var(--ease);
  white-space: nowrap;
  position: relative;
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link:hover::before,
.nav__link.active::before {
  transform: scaleX(1);
}

.nav__link .arrow {
  font-size: 8px;
  transition: transform var(--ease);
  opacity: 0.5;
}

.nav__item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--ease);
  z-index: 100;
  border: 1px solid rgba(0,0,0,0.06);
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text-body);
  transition: all var(--ease);
  position: relative;
}

.nav__dropdown-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
  transition: height var(--ease);
}

.nav__dropdown-link:hover {
  background: var(--primary-lighter);
  color: var(--primary);
}

.nav__dropdown-link:hover::before { height: 60%; }

@media (min-width: 1024px) {
  .nav { display: flex; }
}

@media (min-width: 1200px) {
  .nav__link { padding: 8px 16px; font-size: 0.9rem; }
}

/* ─── Header CTA ─── */
.header__cta {
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1024px) {
  .header__cta { display: flex; }
}

/* ─── Mobile Toggle (Hamburger) ─── */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background var(--ease);
}

.mobile-toggle:hover { background: var(--primary-light); }

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--ease);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--primary);
}
.mobile-toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--primary);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

/* ─── Mobile Navigation Drawer ─── */
.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: white;
  z-index: 1050;
  padding: 80px 20px 40px;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}

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

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--ease);
  border-radius: var(--r-sm);
  margin-bottom: 2px;
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--primary);
  background: var(--primary-lighter);
  border-bottom-color: transparent;
}

.mobile-nav__dropdown-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-nav__dropdown-trigger .arrow {
  transition: transform var(--ease);
  font-size: 10px;
  opacity: 0.5;
}

.mobile-nav__dropdown {
  display: none;
  padding-left: 12px;
  border-left: 2px solid var(--primary-light);
  margin-left: 16px;
  margin-bottom: 8px;
}

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

.mobile-nav__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--ease);
}

.mobile-nav__dropdown a:hover { color: var(--primary); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  z-index: 1040;
  transition: opacity var(--ease);
}

.mobile-overlay.active { display: block; }

@media (min-width: 1024px) {
  .mobile-nav, .mobile-overlay { display: none !important; }
}


/* ══════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 350px;
  overflow: hidden;
  margin-top: 60px; /* mobile header height */
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.65) 100%
  );
}

.hero__content {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 92%;
  max-width: 750px;
  z-index: 10;
}

.hero__badge {
  display: inline-block;
  background: rgba(255,107,0,0.9);
  color: white;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: 1.5rem;
  color: white;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hero__subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__buttons .btn { font-size: 0.8rem; padding: 10px 20px; }

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all var(--ease);
  border: none;
}

.hero__dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: var(--r-pill);
}

/* Arrows */
.hero__arrow {
  display: none; /* Hidden on mobile */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all var(--ease);
}

.hero__arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }

@media (min-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 450px;
    margin-top: 70px;
  }
  .hero__title { font-size: 2.2rem; }
  .hero__subtitle { font-size: 1rem; margin-bottom: 20px; }
  .hero__buttons .btn { font-size: 0.9rem; padding: 12px 26px; }
  .hero__badge { font-size: 0.75rem; padding: 6px 18px; }
  .hero__arrow { display: flex; }
  .hero__dots { bottom: 24px; gap: 10px; }
  .hero__dot { width: 10px; height: 10px; }
  .hero__dot.active { width: 30px; }
}

@media (min-width: 1024px) {
  .hero {
    height: 82vh;
    max-height: 780px;
    margin-top: 100px; /* account for top-bar + header */
  }
  .hero__title { font-size: 2.8rem; }
}

@media (min-width: 1200px) {
  .hero { margin-top: 102px; }
  .hero__title { font-size: 3.2rem; }
}


/* ══════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════ */
.card {
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card__body { padding: 16px; }

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.card__tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .card__image { height: 220px; }
  .card__body { padding: 20px; }
  .card__title { font-size: 1.15rem; }
}

/* ─── Team Card ─── */
.card-team {
  text-align: center;
  padding: 24px 16px;
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  border: 1px solid rgba(0,0,0,0.04);
}

.card-team:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-hover);
  border-color: var(--primary);
}

.card-team__image {
  width: 100px;
  height: 100px;
  border-radius: var(--r-full);
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary-light);
  transition: border-color var(--ease), transform var(--ease);
}

.card-team:hover .card-team__image {
  border-color: var(--primary);
  transform: scale(1.06);
}

.card-team__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-team__role {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .card-team { padding: 28px 20px; }
  .card-team__image { width: 110px; height: 110px; }
  .card-team__name { font-size: 1.1rem; }
}

/* ─── Icon Card ─── */
.card-icon {
  text-align: center;
  padding: 24px 16px;
  background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: all var(--ease);
  border: 1px solid rgba(0,0,0,0.04);
}

.card-icon:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(255,107,0,0.15);
}

.card-icon__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
  transition: all var(--ease);
}

.card-icon:hover .card-icon__icon {
  background: var(--primary);
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(255,107,0,0.3);
}

.card-icon:hover .card-icon__icon * { filter: brightness(100); }

.card-icon__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-icon__text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .card-icon { padding: 28px 20px; }
  .card-icon__icon { width: 64px; height: 64px; font-size: 26px; }
  .card-icon__title { font-size: 1.1rem; }
}

/* ─── Pricing Card ─── */
.card-pricing {
  text-align: center;
  padding: 28px 20px;
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}

.card-pricing--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.card-pricing--featured::before {
  content: 'लोकप्रिय';
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--primary-grad);
  color: white;
  padding: 4px 44px;
  font-size: 0.65rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}

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

.card-pricing__type {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-pricing__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--ff-en);
  line-height: 1;
}

.card-pricing__price span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}

.card-pricing__features {
  text-align: left;
  margin-bottom: 20px;
}

.card-pricing__features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
}

.card-pricing__features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .card-pricing { padding: 36px 28px; }
  .card-pricing__price { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .card-pricing--featured { transform: scale(1.04); }
  .card-pricing--featured:hover { transform: scale(1.04) translateY(-5px); }
}


/* ══════════════════════════════════════════════
   STATS COUNTER
   ══════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
}

.stats__item { padding: 16px 8px; }

.stats__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--ff-en);
  line-height: 1;
  margin-bottom: 4px;
}

.stats__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.section--primary .stats__number,
.section--dark .stats__number { color: white; }

.section--primary .stats__label,
.section--dark .stats__label { color: rgba(255,255,255,0.75); }

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stats__item { padding: 24px 16px; }
  .stats__number { font-size: 2.8rem; }
  .stats__label { font-size: 0.9rem; }
}


/* ══════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__caption {
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Filters */
.gallery-filters {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.gallery-filter {
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--bg-grey);
  color: var(--text-muted);
  transition: all var(--ease);
  cursor: pointer;
  border: none;
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(255,107,0,0.3);
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gallery-filters { justify-content: center; gap: 10px; }
  .gallery-filter { padding: 8px 20px; font-size: 0.82rem; }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-item { border-radius: var(--r-md); }
}


/* ══════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox.active { display: flex; }

.lightbox__image {
  max-width: 94%;
  max-height: 85vh;
  border-radius: var(--r-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all var(--ease);
}

.lightbox__close:hover { background: var(--primary); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--ease);
}

.lightbox__nav:hover { background: var(--primary); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

@media (min-width: 768px) {
  .lightbox__close { top: 20px; right: 20px; width: 48px; height: 48px; }
  .lightbox__nav { width: 50px; height: 50px; }
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
}


/* ══════════════════════════════════════════════
   ACCORDION (FAQ)
   ══════════════════════════════════════════════ */
.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--ease);
}

.accordion__item:hover { box-shadow: var(--shadow-sm); }

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--ease);
  gap: 12px;
}

.accordion__header:hover { background: var(--primary-lighter); }

.accordion__icon {
  font-size: 16px;
  color: var(--primary);
  transition: transform var(--ease);
  flex-shrink: 0;
}

.accordion__item.open .accordion__icon { transform: rotate(180deg); }

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.accordion__item.open .accordion__body { max-height: 500px; }

.accordion__content {
  padding: 0 16px 16px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.88rem;
}

@media (min-width: 768px) {
  .accordion__header { padding: 16px 20px; font-size: 0.95rem; }
  .accordion__content { padding: 0 20px 20px; }
}


/* ══════════════════════════════════════════════
   ANNOUNCEMENT MARQUEE
   ══════════════════════════════════════════════ */
.announcement {
  background: var(--primary-grad);
  padding: 7px 0;
  overflow: hidden;
}

.announcement__text {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  color: white;
  font-weight: 500;
  font-size: 0.78rem;
}

@keyframes marquee {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}


/* ══════════════════════════════════════════════
   PAGE BANNER
   ══════════════════════════════════════════════ */
.page-banner {
  position: relative;
  height: 200px;
  margin-top: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-grad);
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.page-banner__content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 var(--gutter);
}

.page-banner__title {
  font-size: 1.6rem;
  color: white;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-banner__breadcrumb {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  margin-top: 6px;
}

.page-banner__breadcrumb a { color: rgba(255,255,255,0.9); }
.page-banner__breadcrumb a:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .page-banner { height: 260px; margin-top: 70px; }
  .page-banner__title { font-size: 2.2rem; }
}

@media (min-width: 1024px) {
  .page-banner { height: 300px; margin-top: 100px; }
  .page-banner__title { font-size: 2.5rem; }
}


/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.7);
  padding-top: 48px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__brand img {
  height: 48px;
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.5);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--ease);
  font-size: 14px;
}

.footer__social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer__heading {
  font-size: 1rem;
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary-grad);
  border-radius: 2px;
}

.footer__links li { margin-bottom: 8px; }

.footer__links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  transition: all var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__links a::before {
  content: '›';
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.footer__links a:hover { color: var(--primary); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer__contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,107,0,0.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.footer__contact-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer__contact-text strong {
  color: rgba(255,255,255,0.85);
  display: block;
  margin-bottom: 2px;
  font-size: 0.78rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  margin-top: 32px;
}

.footer__bottom-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer__copyright {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
}

.footer__policy-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__policy-links a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--ease);
}

.footer__policy-links a:hover { color: var(--primary); }

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}


/* ══════════════════════════════════════════════
   FLOATING WHATSAPP
   ══════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
}

.whatsapp-float__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  width: 52px;
  height: 52px;
  padding: 0;
  justify-content: center;
  border-radius: var(--r-full);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: all var(--ease);
  text-decoration: none;
}

.whatsapp-float__btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}

.whatsapp-float__btn svg { width: 26px; height: 26px; fill: white; }
.whatsapp-float__btn span { display: none; }

@media (min-width: 768px) {
  .whatsapp-float { bottom: 24px; right: 24px; }
  .whatsapp-float__btn {
    width: auto;
    height: auto;
    padding: 12px 22px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.85rem;
  }
  .whatsapp-float__btn svg { width: 22px; height: 22px; }
  .whatsapp-float__btn span { display: inline; }
}


/* ══════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 76px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
  z-index: 998;
  border: none;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

@media (min-width: 768px) {
  .back-to-top { bottom: 88px; right: 24px; width: 44px; height: 44px; }
}


/* ══════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════ */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  background: white;
  transition: all var(--ease);
  color: var(--text-dark);
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.08);
}

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

@media (min-width: 768px) {
  .form-input,
  .form-textarea,
  .form-select { padding: 14px 16px; }
}


/* ══════════════════════════════════════════════
   VIDEO CARDS
   ══════════════════════════════════════════════ */
.video-card {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

.video-card__info {
  padding: 14px 16px;
  background: white;
}

@media (min-width: 768px) {
  .video-card__info { padding: 16px 20px; }
}


/* ══════════════════════════════════════════════
   FOUNDER SECTION
   ══════════════════════════════════════════════ */
.founder-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.founder-section__image {
  position: relative;
  max-width: 260px;
  width: 100%;
}

.founder-section__image img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.founder-section__image::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border: 3px solid var(--primary);
  border-radius: var(--r-lg);
  z-index: -1;
  opacity: 0.5;
}

.founder-section__content h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.founder-section__content .designation {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.founder-section__content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .founder-section {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
  .founder-section__image { max-width: 300px; flex-shrink: 0; }
  .founder-section__content h2 { font-size: 1.6rem; }
}

@media (min-width: 1024px) {
  .founder-section { gap: 56px; }
  .founder-section__image { max-width: 340px; }
}

/* ============================================================
   MOBILE OVERFLOW FIX
   Fixes horizontal scroll caused by inline-style flex containers
   with fixed min-width / flex-basis (donation card, map embed,
   welcome section, contact cards) on small screens.
   Paste this at the END of components.css
   ============================================================ */

@media (max-width: 767px) {
    /* Force all direct children of flex containers in .section
       to shrink to full width instead of keeping their min-width */
    .section [style*="flex:0 0"],
    .section [style*="flex: 0 0"] {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .section [style*="min-width:280px"],
    .section [style*="min-width: 280px"],
    .section [style*="min-width:300px"],
    .section [style*="min-width: 300px"],
    .section [style*="min-width:380px"],
    .section [style*="min-width: 380px"],
    .section [style*="min-width:420px"],
    .section [style*="min-width: 420px"] {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* Belt-and-suspenders: never let any element exceed viewport width */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

/* Exceptions where max-width:100% would break intended sizing */
.hero__slide img,
.card__image,
.gallery-item img,
img {
    max-width: 100%;
}


/* ============================================================
   TOP BAR — Make visible on mobile too (compact layout)
   Overrides the old "display: none" mobile rule
   ============================================================ */

.header__top-bar {
    display: block !important; /* was: none on mobile */
    padding: 6px 0;
}

/* Mobile: stack contact info and social icons, smaller text, wrap nicely */
@media (max-width: 1023px) {
    .header__top-bar .container-wide > div {
        flex-direction: column !important;
        gap: 6px !important;
        align-items: flex-start !important;
    }

    .header__top-contact {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 14px;
        width: 100%;
    }

    .header__top-contact a,
    .header__top-contact span {
        font-size: 11px !important;
        white-space: nowrap;
    }

    .header__top-social {
        display: flex;
        gap: 8px;
    }

    .header__top-social a {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
}

/* Extra-small phones: shrink further so nothing wraps awkwardly or overflows */
@media (max-width: 420px) {
    .header__top-contact a,
    .header__top-contact span {
        font-size: 10px !important;
    }

    .header__top-bar {
        padding: 5px 0;
    }
}

