/* ============================================================
   HINDU GAU RAKSHA DAL - Main Stylesheet
   ============================================================ */

/* ---------- Base ---------- */
:root {
  --saffron: #ff7d0f;
  --saffron-dark: #c74a07;
  --saffron-light: #ffb87a;
  --green: #16a34a;
  --dark: #1a1a1a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
}

/* ---------- Reusable Utilities ---------- */
.container-custom {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-custom { padding-left: 2rem; padding-right: 2rem; }
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-padding { padding-top: 5rem; padding-bottom: 5rem; }
}

.section-tag {
  display: inline-block;
  color: var(--saffron);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .section-heading { font-size: 2.75rem; }
}

.section-subheading {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--saffron);
  color: #fff;
  padding: 0.85rem 1.9rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px -6px rgba(255, 125, 15, 0.5);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--saffron-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(255, 125, 15, 0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  padding: 0.85rem 1.9rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--saffron);
  padding: 0.85rem 1.9rem;
  border-radius: 9999px;
  border: 2px solid var(--saffron);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 125, 15, 0.15);
  border-top-color: var(--saffron);
  border-radius: 50%;
  animation: spin 0.9s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
}
.loader-text {
  color: var(--saffron);
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
@media (min-width: 1024px) {
  .nav-container { height: 80px; padding: 0 2rem; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(255,125,15,0.35);
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #111827;
  letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--saffron);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Desktop Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--saffron);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.75rem;
}
.btn-nav-join {
  background: var(--saffron);
  color: #fff;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255,125,15,0.3);
}
.btn-nav-join:hover {
  background: var(--saffron-dark);
  transform: translateY(-1px);
}
.btn-nav-donate {
  background: transparent;
  color: var(--saffron);
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  border: 1.5px solid var(--saffron);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-nav-donate:hover {
  background: var(--saffron);
  color: #fff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: #374151;
  cursor: pointer;
  transition: background 0.25s ease;
}
.mobile-toggle:hover { background: #f3f4f6; }
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
.mobile-link {
  display: block;
  padding: 0.75rem 0.5rem;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.mobile-link:hover {
  background: #fff8ed;
  color: var(--saffron);
  padding-left: 1rem;
}
.mobile-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

/* ============================================================
   HERO - DESKTOP SLIDER
   ============================================================ */
.hero-desktop-section {
  padding: 1.5rem 1.5rem 0;
}
@media (min-width: 1024px) {
  .hero-desktop-section { padding: 2rem 2rem 0; }
}

.hero-desktop-wrapper {
  max-width: 80rem;
  margin: 0 auto;
}

.hero-desktop-slider {
  position: relative;
  height: 600px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
}
@media (min-width: 1280px) {
  .hero-desktop-slider { height: 640px; }
}

.hero-desktop-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a; /* fallback so it's never white */
  will-change: opacity;
  z-index: 0;
}
.hero-desktop-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.25) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 3rem;
  max-width: 640px;
}
@media (min-width: 1280px) {
  .hero-slide-content { padding: 0 4.5rem; }
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 125, 15, 0.18);
  color: #ffb87a;
  border: 1px solid rgba(255, 125, 15, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero-heading {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
@media (min-width: 1280px) {
  .hero-heading { font-size: 3.75rem; }
}

.hero-desc {
  font-size: 1.0625rem;
  color: #e5e7eb;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Nav Arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.hero-nav:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: translateY(-50%) scale(1.08);
}
.hero-nav-prev { left: 1.5rem; }
.hero-nav-next { right: 1.5rem; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}
.hero-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}
.hero-dot.active {
  width: 48px;
  background: var(--saffron);
  box-shadow: 0 0 12px rgba(255,125,15,0.6);
}
.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,0.65);
}

/* ============================================================
   HERO - MOBILE SLIDER
   ============================================================ */
.hero-mobile-section {
  padding: 1rem 1rem 0;
}
.hero-mobile-slider {
  position: relative;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.3);
}
.hero-mobile-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a; /* fallback color */
  z-index: 0;
}
.hero-mobile-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-mobile-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
}
.hero-badge-mobile {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 125, 15, 0.2);
  color: #ffb87a;
  border: 1px solid rgba(255, 125, 15, 0.4);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-mobile-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}
.hero-mobile-desc {
  font-size: 0.95rem;
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.btn-primary-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: var(--saffron);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(255,125,15,0.5);
  transition: all 0.3s ease;
}
.btn-primary-mobile:active {
  transform: scale(0.97);
}
.hero-mobile-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-image-wrapper {
  position: relative;
  padding-bottom: 3rem;
  padding-right: 3rem;
}
.about-image-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.2);
  aspect-ratio: 4/3;
}
.about-image-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 15px 30px -10px rgba(0,0,0,0.25);
  aspect-ratio: 4/3;
}
.about-experience-badge {
  position: absolute;
  top: 1.25rem;
  left: -1rem;
  background: var(--saffron);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 25px -8px rgba(255,125,15,0.6);
  line-height: 1.1;
}
.about-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  background: #fff8ed;
  border-radius: 12px;
  border-left: 3px solid var(--saffron);
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px -10px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -12px rgba(0,0,0,0.2);
}
.team-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-image img {
  transform: scale(1.08);
}
.team-social {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,125,15,0.92), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6rem;
  padding-bottom: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.team-card:hover .team-social { opacity: 1; }
.team-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  transform: translateY(10px);
}
.team-card:hover .team-social a {
  transform: translateY(0);
}
.team-social a:hover {
  background: #1a1a1a;
  color: #fff;
}
.team-info {
  padding: 1.25rem;
  text-align: center;
}
.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.85rem;
  color: var(--saffron);
  font-weight: 600;
}

/* ============================================================
   BRANCH CARDS
   ============================================================ */
.branch-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.branch-card:hover::before { transform: scaleX(1); }
.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
  border-color: transparent;
}
.branch-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #fff8ed, #ffefd4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 1.4rem;
}
.branch-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}
.branch-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.9rem;
}
.branch-count {
  display: inline-block;
  background: #fff8ed;
  color: var(--saffron-dark);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,125,15,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f0f0f;
  color: #9ca3af;
  padding-top: 4rem;
}
.footer-top {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem 3rem;
  }
}
@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    padding: 0 2rem 3rem;
    gap: 3rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-brand-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
.footer-brand-sub {
  color: var(--saffron);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-3px);
}

.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--saffron);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--saffron);
  transition: transform 0.25s ease;
}
.footer-links a:hover {
  color: var(--saffron);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.footer-contact-item i {
  color: var(--saffron);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}
@media (min-width: 768px) {
  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    max-width: 80rem;
    margin: 0 auto;
  }
}
.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .footer-bottom-links { margin-top: 0; }
}
.footer-bottom-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-bottom-links a:hover { color: var(--saffron); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -6px rgba(255,125,15,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 40;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--saffron-dark);
  transform: translateY(-3px);
}

/* ============================================================
   FADE UP ANIMATION
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 640px) {
  .hero-mobile-slider { height: 480px; }
  .about-image-wrapper { padding-bottom: 2rem; padding-right: 2rem; }
  .about-experience-badge { top: 0.75rem; left: -0.5rem; padding: 0.75rem 1rem; }
}

/* ============================================================
   LIGHTBOX (Gallery Zoom Popup)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 2rem;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox.open .lightbox-content {
  transform: scale(1);
}
.lightbox-content img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}
.lightbox-nav:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 640px) {
  .lightbox { padding: 1rem; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; }
}

/* Prevent background scroll when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

/* ============================================================
   VIDEO / SHORTS SECTION
   ============================================================ */

/* Tabs */
.video-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem;
  background: #f3f4f6;
  border-radius: 9999px;
  margin: 0 auto 2rem;
  width: fit-content;       /* shrink to content */
  max-width: 100%;
}
.video-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.video-tab:hover { color: var(--saffron); }
.video-tab.active {
  background: #fff;
  color: var(--saffron);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Panels */
.video-panel { display: none; }
.video-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Landscape Videos Grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

.video-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.18);
  border-color: transparent;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background 0.3s ease;
}
.video-play i {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 4px; /* optical centering for play triangle */
  box-shadow: 0 10px 25px rgba(255,125,15,0.6);
  transition: transform 0.3s ease, background 0.3s ease;
}
.video-card:hover .video-play { background: rgba(0,0,0,0.35); }
.video-card:hover .video-play i {
  transform: scale(1.12);
  background: var(--saffron-dark);
}

.video-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-meta {
  padding: 1.1rem 1.25rem 1.35rem;
}
.video-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.video-sub {
  font-size: 0.8rem;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Shorts Grid (Portrait) ---------- */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .shorts-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1024px) {
  .shorts-grid { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
}

.short-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.short-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px -10px rgba(0,0,0,0.18);
}

.short-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #111;
}
.short-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.short-card:hover .short-thumb img { transform: scale(1.1); }

.short-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.1));
  transition: background 0.3s ease;
}
.short-play i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding-left: 3px;
  box-shadow: 0 8px 20px rgba(255,125,15,0.6);
  transition: transform 0.3s ease;
}
.short-card:hover .short-play i { transform: scale(1.15); }

.short-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  letter-spacing: 0.03em;
}
.short-badge i { color: var(--saffron); font-size: 0.6rem; }

.short-meta {
  padding: 0.6rem 0.75rem 0.8rem;
}
.short-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ============================================================
   VIDEO PLAYER MODAL  (fixed for landscape + shorts portrait)
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Modal Inner — LANDSCAPE (default) ---------- */
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 540px;                 /* explicit height so child % heights resolve */
  max-height: 88vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.65);
  background: #000;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.video-modal.open .video-modal-inner { transform: scale(1); }

/* Aspect-ratio fallback for modern browsers (overrides fixed height) */
@supports (aspect-ratio: 16 / 9) {
  .video-modal-inner {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Modal Inner — PORTRAIT (Shorts) ---------- */
.video-modal.portrait .video-modal-inner {
  width: auto;
  height: 88vh;
  max-height: 780px;
  max-width: 92vw;
  aspect-ratio: 9 / 16;
}

/* ---------- Player mount — MUST fill inner completely ---------- */
.video-player-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

/* Kill YTPlayer's aspect-ratio hack and force everything to fill */
.video-player-mount iframe,
.video-player-mount > div,
.video-player-mount > span,
.video-player-mount video,
.video-player-mount [id^="ytplayer"],
.video-player-mount [class*="ytplayer"],
.video-player-mount [class*="yt-player"],
.video-player-mount [class*="player"],
.video-player-mount [class*="plyr"] {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  padding-top: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  display: block !important;
  transform: none !important;
}

/* ---------- Close button ---------- */
.video-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
  transition: all 0.3s ease;
}
.video-modal-close:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: rotate(90deg);
}

body.video-modal-open { overflow: hidden; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 640px) {
  .video-modal { padding: 0.5rem; }
  .video-modal-inner {
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }
  .video-modal.portrait .video-modal-inner {
    height: 82vh;
    max-height: 82vh;
    max-width: 88vw;
    aspect-ratio: 9 / 16;
  }
  .video-modal-close { top: 0.5rem; right: 0.5rem; width: 38px; height: 38px; }
}

/* Very short viewport (laptops, landscape phones) */
@media (max-height: 560px) {
  .video-modal.portrait .video-modal-inner {
    height: 92vh;
    max-height: 92vh;
    width: auto;
    max-width: calc(92vh * 9 / 16);
    aspect-ratio: 9 / 16;
  }
}
/* ============================================================
   PAGE HERO / BREADCRUMB
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 380px;
  padding: 5rem 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 100%),
    url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-hero { min-height: 440px; padding: 6rem 2rem 5rem; }
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255,125,15,0.18), transparent 60%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: #e5e7eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s ease;
}
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb .sep {
  color: rgba(255,255,255,0.4);
  font-size: 0.6rem;
}
.breadcrumb .current { color: var(--saffron); font-weight: 600; }

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
@media (min-width: 768px) {
  .page-hero-title { font-size: 3.25rem; }
}
.page-hero-title span { color: var(--saffron); }

.page-hero-sub {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .page-hero-sub { font-size: 1.15rem; }
}

/* ============================================================
   MVV CARDS (Mission / Vision / Values)
   ============================================================ */
.mvv-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15);
  border-color: transparent;
}
.mvv-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.35rem;
  background: linear-gradient(135deg, #fff8ed, #ffe8cc);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 1.75rem;
  transition: all 0.35s ease;
}
.mvv-card:hover .mvv-icon {
  background: var(--saffron);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.mvv-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}
.mvv-text {
  font-size: 0.925rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ============================================================
   SERVICE CARDS (What We Do)
   ============================================================ */
.service-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  transition: all 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15);
  border-color: transparent;
}
.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fff8ed, #ffe8cc);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all 0.35s ease;
}
.service-card:hover .service-icon {
  background: var(--saffron);
  color: #fff;
}
.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.6rem;
}
.service-text {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ============================================================
   IMPACT SECTION
   ============================================================ */
.impact-section {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,125,15,0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255,125,15,0.12), transparent 55%),
    #0f0f0f;
  position: relative;
}
.tag-light {
  color: var(--saffron-light);
}

.impact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}
.impact-card:hover {
  border-color: rgba(255,125,15,0.5);
  background: rgba(255,125,15,0.06);
  transform: translateY(-6px);
}
.impact-card i {
  color: var(--saffron);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.impact-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}
@media (min-width: 768px) {
  .impact-number { font-size: 2.75rem; }
}
.impact-label {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), rgba(255,125,15,0.15));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--saffron);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(255,125,15,0.2);
}

.timeline-content {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  transition: all 0.35s ease;
}
.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: 0 15px 30px -12px rgba(0,0,0,0.12);
  border-color: rgba(255,125,15,0.4);
}
.timeline-year {
  display: inline-block;
  background: #fff8ed;
  color: var(--saffron-dark);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
.timeline-text {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #c74a07 0%, #ff7d0f 100%);
  overflow: hidden;
}
@media (min-width: 768px) {
  .cta-section { padding: 5rem 2rem; }
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.18), transparent 50%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 3rem;
  }
}
.cta-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .cta-title { font-size: 2.25rem; }
}
.cta-title span { color: #ffe8cc; }
.cta-text {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-section .btn-primary {
  background: #fff;
  color: var(--saffron-dark);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.3);
}
.cta-section .btn-primary:hover {
  background: #fff5e6;
  transform: translateY(-2px);
}
.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.85);
  color: #fff;
}
.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ============================================================
   FILTER TABS (Gallery page)
   ============================================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem;
  background: #f3f4f6;
  border-radius: 9999px;
  margin: 0 auto 2.5rem;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}
.filter-tab:hover {
  color: var(--saffron);
}
.filter-tab.active {
  background: #fff;
  color: var(--saffron);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
@media (max-width: 640px) {
  .filter-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
  }
}

/* Gallery category label overlay */
.gallery-cat {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gallery-overlay {
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================================
   MEMBERS PAGE
   ============================================================ */

/* ---------- Search bar ---------- */
.members-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}
.members-search > i.fa-search {
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--saffron);
  font-size: 0.95rem;
  pointer-events: none;
}
.members-search input {
  width: 100%;
  padding: 1rem 3.2rem 1rem 3rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111827;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.members-search input::placeholder {
  color: #9ca3af;
}
.members-search input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,125,15,0.15), 0 6px 20px -8px rgba(0,0,0,0.08);
}
.members-search .search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  color: #6b7280;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.25s ease;
}
.members-search .search-clear:hover {
  background: var(--saffron);
  color: #fff;
}
.members-search.has-value .search-clear {
  display: flex;
}

/* ---------- Filter tabs ---------- */
.members-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem;
  background: #f3f4f6;
  border-radius: 9999px;
  margin: 0 auto 2.5rem;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
}
.member-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}
.member-tab:hover {
  color: var(--saffron);
}
.member-tab.active {
  background: #fff;
  color: var(--saffron);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
@media (max-width: 640px) {
  .member-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
  }
}

/* ---------- Members grid ---------- */
.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 480px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .members-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Member card ---------- */
.member-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -12px rgba(0,0,0,0.18);
  border-color: transparent;
}

.member-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.member-card:hover .member-photo img {
  transform: scale(1.08);
}

/* Social icons on hover */
.member-social {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,125,15,0.92), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.member-card:hover .member-social {
  opacity: 1;
}
.member-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.8rem;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.member-card:hover .member-social a {
  transform: translateY(0);
}
.member-social a:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Category badge on the photo */
.member-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--saffron);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}
.member-badge.badge-state {
  background: #16a34a;
}
.member-badge.badge-district {
  background: #2563eb;
}
.member-badge.badge-volunteer {
  background: #7c3aed;
}

/* Info block */
.member-info {
  padding: 1.15rem 1.25rem 1.35rem;
  text-align: center;
}
.member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.member-role {
  font-size: 0.85rem;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.member-loc {
  font-size: 0.78rem;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.member-loc i {
  color: var(--saffron);
  font-size: 0.7rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ---------- Quick contact cards ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.contact-info-card:hover::before { transform: scaleX(1); }
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15);
  border-color: transparent;
}
.ci-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #fff8ed, #ffe8cc);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 1.4rem;
  transition: all 0.35s ease;
}
.contact-info-card:hover .ci-icon {
  background: var(--saffron);
  color: #fff;
  transform: rotate(-6deg);
}
.ci-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}
.ci-line {
  display: block;
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.25s ease;
}
a.ci-line:hover { color: var(--saffron); }

/* ---------- Contact form ---------- */
.contact-form-wrap {
  background: #fff;
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: 0 15px 40px -18px rgba(0,0,0,0.15);
  border: 1px solid #f3f4f6;
}
@media (max-width: 640px) {
  .contact-form-wrap { padding: 1.75rem 1.25rem; }
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact-form .form-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.contact-form .req {
  color: var(--saffron);
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.925rem;
  color: #111827;
  transition: all 0.25s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,125,15,0.12);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ff7d0f' d='M8 11L3 6h10z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.75rem;
}

.contact-form .form-group.has-error input,
.contact-form .form-group.has-error select,
.contact-form .form-group.has-error textarea {
  border-color: #dc2626;
  background: #fef2f2;
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.4rem;
  min-height: 1em;
  font-weight: 500;
}

/* Checkbox */
.form-check {
  padding-top: 0.25rem;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #4b5563;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.5;
  text-transform: none;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  accent-color: var(--saffron);
  cursor: pointer;
  flex-shrink: 0;
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.btn-submit i { margin-right: 0.5rem; }
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Map ---------- */
.contact-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.contact-map {
  flex: 1;
  min-height: 380px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 40px -18px rgba(0,0,0,0.2);
  border: 1px solid #f3f4f6;
  background: #f3f4f6;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 380px;
}

.map-side-info {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 1.5rem 1.5rem 0.75rem;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
}
.map-side-row {
  display: flex;
  gap: 0.9rem;
  padding-bottom: 1rem;
  align-items: flex-start;
}
.map-side-row i {
  color: var(--saffron);
  font-size: 1.05rem;
  margin-top: 0.25rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.map-side-row strong {
  display: block;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.map-side-row span,
.map-side-row a {
  display: block;
  color: #6b7280;
  font-size: 0.825rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s ease;
}
.map-side-row a:hover { color: var(--saffron); }

/* ---------- Social strip ---------- */
.social-strip {
  background: linear-gradient(135deg, #fff8ed 0%, #ffe8cc 100%);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(255,125,15,0.15);
}
@media (min-width: 900px) {
  .social-strip {
    grid-template-columns: 1fr 1.3fr;
    padding: 3rem 3rem;
    gap: 3rem;
  }
}
.social-strip-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .social-strip-title { font-size: 1.85rem; }
}
.social-strip-sub {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}
.social-strip-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .social-strip-icons { grid-template-columns: repeat(6, 1fr); }
}
.social-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}
.social-tile i {
  font-size: 1.4rem;
  color: var(--saffron);
  transition: transform 0.3s ease;
}
.social-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 25px -12px rgba(0,0,0,0.15);
  border-color: var(--saffron);
  color: var(--saffron);
}
.social-tile:hover i {
  transform: scale(1.15);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(255,125,15,0.4);
  box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
}
.faq-item[open] {
  border-color: var(--saffron);
  box-shadow: 0 15px 30px -15px rgba(255,125,15,0.25);
}
.faq-item summary {
  list-style: none;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: #111827;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--saffron); }
.faq-item summary i {
  color: var(--saffron);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary i {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.75;
}
.faq-answer a {
  color: var(--saffron);
  text-decoration: none;
  font-weight: 600;
}
.faq-answer a:hover { text-decoration: underline; }
/* ============================================================
   JOIN US PAGE
   ============================================================ */

/* ---------- Why Join Us benefits ---------- */
.join-benefit {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
}
.join-benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15);
  border-color: transparent;
}
.jb-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #fff8ed, #ffe8cc);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 1.4rem;
  transition: all 0.35s ease;
}
.join-benefit:hover .jb-icon {
  background: var(--saffron);
  color: #fff;
  transform: rotate(-6deg);
}
.jb-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.6rem;
}
.jb-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ---------- Membership tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tier-grid { grid-template-columns: repeat(4, 1fr); }
}

.tier-card {
  background: #fff;
  border: 2px solid #f3f4f6;
  border-radius: 22px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15);
  border-color: rgba(255,125,15,0.4);
}
.tier-featured {
  border-color: var(--saffron);
  box-shadow: 0 20px 35px -15px rgba(255,125,15,0.3);
}
.tier-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(255,125,15,0.6);
}
.tier-head {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 1.25rem;
}
.tier-tag {
  display: inline-block;
  color: var(--saffron);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.4rem;
}
.tier-desc {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
}
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
}
.tier-features li i {
  color: #16a34a;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.tier-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  background: #fff8ed;
  color: var(--saffron-dark);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}
.tier-btn:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
}
.tier-btn-primary {
  background: var(--saffron);
  color: #fff;
}
.tier-btn-primary:hover {
  background: var(--saffron-dark);
}

/* ---------- Join form ---------- */
.join-form-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.15);
  border: 1px solid #f3f4f6;
}
@media (max-width: 640px) {
  .join-form-wrap { padding: 1.5rem 1.25rem; }
}

.form-section {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px dashed #e5e7eb;
}
.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-section-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 6px 15px -4px rgba(255,125,15,0.5);
}
.form-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.15rem;
}
.form-section-sub {
  font-size: 0.825rem;
  color: #6b7280;
  line-height: 1.5;
}

.join-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .join-form .form-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.join-form .form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.join-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.join-form .req { color: var(--saffron); }
.join-form .hint {
  color: #9ca3af;
  font-weight: 500;
  font-size: 0.78rem;
}

.join-form input[type="text"],
.join-form input[type="tel"],
.join-form input[type="email"],
.join-form input[type="date"],
.join-form input[type="file"],
.join-form select,
.join-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.925rem;
  color: #111827;
  transition: all 0.25s ease;
}
.join-form input[type="file"] {
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  font-size: 0.85rem;
}
.join-form textarea { resize: vertical; min-height: 100px; }

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,125,15,0.12);
}

.join-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ff7d0f' d='M8 11L3 6h10z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.75rem;
}

.join-form .form-group.has-error input,
.join-form .form-group.has-error select,
.join-form .form-group.has-error textarea {
  border-color: #dc2626;
  background: #fef2f2;
}

.file-hint {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.4rem;
}

/* Chips (skills) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.25s ease;
  user-select: none;
}
.chip span:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}
.chip input:checked + span {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  box-shadow: 0 6px 15px -6px rgba(255,125,15,0.5);
}

/* Checkbox */
.join-form .form-check { padding-top: 0.25rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #4b5563;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.5;
  text-transform: none;
  margin-bottom: 0;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  accent-color: var(--saffron);
  cursor: pointer;
  flex-shrink: 0;
}

/* Submit */
.join-form .btn-submit {
  width: 100%;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.join-form .btn-submit i { margin-right: 0.5rem; }
.join-form .btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 1rem;
}
.form-note i { color: var(--saffron); }

/* ============================================================
   DONATE PAGE
   ============================================================ */

/* ---------- Impact tiles ---------- */
.impact-tile {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.impact-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.impact-tile:hover::before { transform: scaleX(1); }
.impact-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15);
  border-color: transparent;
}
.it-amount {
  display: inline-block;
  background: #fff8ed;
  color: var(--saffron-dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.it-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #fff8ed, #ffe8cc);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 1.4rem;
  transition: all 0.35s ease;
}
.impact-tile:hover .it-icon {
  background: var(--saffron);
  color: #fff;
  transform: rotate(-6deg);
}
.it-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.6rem;
}
.it-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ---------- Donation form ---------- */
.donate-form-wrap {
  background: #fff;
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: 0 15px 40px -18px rgba(0,0,0,0.15);
  border: 1px solid #f3f4f6;
}
@media (max-width: 640px) {
  .donate-form-wrap { padding: 1.5rem 1.25rem; }
}

.donate-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}
.donate-label.mt-6 { margin-top: 1.75rem; }

/* Amount chips */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .amount-grid { grid-template-columns: repeat(6, 1fr); }
}
.amount-chip {
  padding: 0.85rem 0.5rem;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.amount-chip:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}
.amount-chip.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(255,125,15,0.5);
  transform: translateY(-2px);
}

/* Custom amount */
.custom-amount-group { margin-top: 1rem; }
.input-prefix {
  position: relative;
  display: flex;
  align-items: stretch;
}
.input-prefix > span {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: #fff8ed;
  color: var(--saffron-dark);
  font-weight: 700;
  border: 1.5px solid #e5e7eb;
  border-right: none;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.input-prefix input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e5e7eb;
  border-left: none;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  font-family: inherit;
  font-size: 0.925rem;
  color: #111827;
  transition: all 0.25s ease;
}
.input-prefix input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,125,15,0.12);
}

/* Payment tabs */
.pay-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.pay-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 1;
  justify-content: center;
}
.pay-tab:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}
.pay-tab.active {
  background: #fff8ed;
  border-color: var(--saffron);
  color: var(--saffron-dark);
}
@media (max-width: 480px) {
  .pay-tab { font-size: 0.78rem; padding: 0.55rem 0.75rem; }
}

/* Donate form fields */
.donate-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .donate-form .form-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.donate-form .form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.donate-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.donate-form .req { color: var(--saffron); }
.donate-form .hint {
  color: #9ca3af;
  font-weight: 500;
  font-size: 0.78rem;
}

.donate-form input[type="text"],
.donate-form input[type="tel"],
.donate-form input[type="email"],
.donate-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.925rem;
  color: #111827;
  transition: all 0.25s ease;
}
.donate-form textarea { resize: vertical; min-height: 90px; }
.donate-form input:focus,
.donate-form textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,125,15,0.12);
}
.donate-form .form-group.has-error input,
.donate-form .form-group.has-error textarea {
  border-color: #dc2626;
  background: #fef2f2;
}
.hint-text {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hint-text i { color: var(--saffron); }

.donate-form .form-check { padding-top: 0.25rem; }
.link { color: var(--saffron); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Submit */
.donate-form .btn-submit {
  width: 100%;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.donate-form .btn-submit i { margin-right: 0.5rem; }
.donate-form .btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ---------- QR card ---------- */
.qr-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 100px;
}
.qr-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.2);
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}
.qr-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,125,15,0.15), transparent 70%);
}
.qr-card-head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.qr-tag {
  display: inline-block;
  background: #fff8ed;
  color: var(--saffron-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.qr-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.35rem;
}
.qr-sub {
  font-size: 0.8rem;
  color: #6b7280;
}

.qr-image-wrap {
  position: relative;
  display: inline-block;
  padding: 0.75rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 15px 30px -12px rgba(0,0,0,0.15);
  margin-bottom: 1.25rem;
}
.qr-image-wrap img {
  display: block;
  width: 240px;
  height: 240px;
  border-radius: 10px;
}
@media (max-width: 400px) {
  .qr-image-wrap img { width: 200px; height: 200px; }
}
.qr-frame {
  position: absolute;
  inset: -6px;
  border: 2px dashed rgba(255,125,15,0.4);
  border-radius: 22px;
  pointer-events: none;
}

.qr-upi-id {
  margin-bottom: 1rem;
}
.upi-label {
  display: block;
  font-size: 0.7rem;
  color: #9ca3af;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.upi-value {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.75rem 0.6rem 1rem;
  border-radius: 9999px;
}
.upi-value code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #111827;
  font-weight: 600;
}
.copy-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--saffron);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.copy-btn:hover {
  background: var(--saffron-dark);
  transform: scale(1.08);
}
.copy-btn.copied {
  background: #16a34a;
}

.qr-apps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 500;
}
.qr-apps i { color: var(--saffron); }

/* ---------- Trust card ---------- */
.trust-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
}
.trust-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.trust-row:last-child { border-bottom: none; padding-bottom: 0; }
.trust-row:first-child { padding-top: 0; }
.trust-row i {
  color: var(--saffron);
  font-size: 1rem;
  margin-top: 0.2rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.trust-row strong {
  display: block;
  color: #111827;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.trust-row span {
  display: block;
  color: #6b7280;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ---------- Bank details ---------- */
.bank-details-wrap {
  margin-top: 3.5rem;
  background: #fff;
  border-radius: 22px;
  padding: 2rem 2rem 2.25rem;
  box-shadow: 0 15px 40px -18px rgba(0,0,0,0.12);
  border: 1px solid #f3f4f6;
}
@media (max-width: 640px) {
  .bank-details-wrap { padding: 1.5rem 1.25rem; }
}
.bank-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 1.5rem;
}
.bank-head > i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8ed, #ffe8cc);
  color: var(--saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.bank-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}
.bank-head p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
}

.bank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .bank-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bank-grid { grid-template-columns: repeat(3, 1fr); }
}
.bank-item {
  padding: 0.9rem 1.1rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
}
.bank-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.bank-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.bank-value code {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  word-break: break-all;
}

/* ---------- Allocation / transparency ---------- */
.alloc-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.alloc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
}
.alloc-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}
.alloc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.alloc-pct {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}
.alloc-bar {
  grid-column: 1 / -1;
  height: 8px;
  background: #f3f4f6;
  border-radius: 9999px;
  overflow: hidden;
}
.alloc-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.alloc-note {
  background: linear-gradient(135deg, #fff8ed 0%, #ffe8cc 100%);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(255,125,15,0.15);
  position: relative;
  overflow: hidden;
}
.alloc-note::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,125,15,0.18), transparent 70%);
}
.alloc-note-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--saffron);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 25px -8px rgba(255,125,15,0.5);
  position: relative;
  z-index: 1;
}
.alloc-note-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.alloc-note-text {
  font-size: 0.925rem;
  color: #4b5563;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.alloc-note .btn-secondary {
  background: #fff;
  position: relative;
  z-index: 1;
}
.alloc-note .btn-secondary:hover {
  background: var(--saffron);
  color: #fff;
}

/* ============================================================
   NEWS PAGE
   ============================================================ */

/* ---------- Section head row ---------- */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section-head-link {
  color: var(--saffron);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.25s ease;
}
.section-head-link:hover { gap: 0.7rem; }

/* ---------- Featured article ---------- */
.featured-news {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: all 0.35s ease;
}
@media (min-width: 900px) {
  .featured-news { grid-template-columns: 1.1fr 1fr; }
}
.featured-news:hover {
  box-shadow: 0 25px 50px -20px rgba(0,0,0,0.15);
}
.featured-news-image {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #111;
}
@media (min-width: 900px) {
  .featured-news-image { min-height: 420px; }
}
.featured-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-news:hover .featured-news-image img {
  transform: scale(1.06);
}
.featured-news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--saffron);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px -6px rgba(255,125,15,0.6);
}
.featured-news-body {
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .featured-news-body { padding: 2.5rem 2.75rem; }
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 1rem;
}
.news-meta i { color: var(--saffron); margin-right: 0.35rem; }

.featured-news-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .featured-news-title { font-size: 1.85rem; }
}

.featured-news-excerpt {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  flex: 1;
}

.featured-news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f3f4f6;
  flex-wrap: wrap;
}
.news-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.news-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff8ed;
}
.news-author-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.news-author-role {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
}

/* ---------- Two-column layout ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .news-layout {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

/* ---------- Filter tabs ---------- */
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem;
  background: #fff;
  border-radius: 9999px;
  margin-bottom: 2rem;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.06);
}
.news-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.83rem;
  border-radius: 9999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}
.news-tab:hover { color: var(--saffron); }
.news-tab.active {
  background: var(--saffron);
  color: #fff;
  box-shadow: 0 6px 15px -5px rgba(255,125,15,0.5);
}
@media (max-width: 640px) {
  .news-tab { padding: 0.5rem 0.85rem; font-size: 0.75rem; }
}

/* ---------- News grid ---------- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- News card ---------- */
.news-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  display: flex;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15);
  border-color: transparent;
}
.news-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.news-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-image img { transform: scale(1.08); }

.news-card-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.news-cat-announcement { background: var(--saffron); }
.news-cat-rescue { background: #16a34a; }
.news-cat-event { background: #2563eb; }
.news-cat-press { background: #7c3aed; }

.news-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-card-title { color: var(--saffron); }
.news-card-excerpt {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--saffron);
  transition: gap 0.25s ease;
}
.news-card:hover .news-card-more { gap: 0.7rem; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pagination-item {
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f3f4f6;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.pagination-item:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  transform: translateY(-2px);
}
.pagination-item.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(255,125,15,0.5);
}
.pagination-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.pagination-dots {
  color: #9ca3af;
  padding: 0 0.5rem;
  font-weight: 700;
}

/* ---------- Sidebar ---------- */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-self: start;
}
@media (min-width: 1024px) {
  .news-sidebar { position: sticky; top: 100px; }
}

.sidebar-box {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.08);
}
.sb-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sb-title i { color: var(--saffron); }
.sb-text {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.sb-hint {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 0.6rem;
  line-height: 1.5;
}

/* Newsletter box */
.newsletter-box {
  background: linear-gradient(135deg, #fff8ed 0%, #ffe8cc 100%);
  border: 1px solid rgba(255,125,15,0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,125,15,0.18), transparent 70%);
  pointer-events: none;
}
.newsletter-box .sb-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: var(--saffron);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 12px 25px -8px rgba(255,125,15,0.5);
  position: relative;
  z-index: 1;
}
.newsletter-box .sb-title,
.newsletter-box .sb-text,
.newsletter-box .sb-hint,
.newsletter-box .newsletter-form {
  position: relative;
  z-index: 1;
}
.newsletter-form {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1.5px solid #fff;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #111827;
  outline: none;
  background: #fff;
  transition: all 0.25s ease;
  min-width: 0;
}
.newsletter-form input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,125,15,0.15);
}
.newsletter-form button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: var(--saffron);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.newsletter-form button:hover {
  background: var(--saffron-dark);
  transform: translateY(-1px);
}
.newsletter-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Trending list */
.trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.trending-list a {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  transition: background 0.25s ease;
}
.trending-list a:hover { background: #fff8ed; }
.trend-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}
.trend-title {
  font-size: 0.83rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-list a:hover .trend-title { color: var(--saffron); }
.trend-meta {
  font-size: 0.7rem;
  color: #9ca3af;
  font-weight: 500;
}

/* Category list */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.25s ease;
}
.category-list li:last-child a { border-bottom: none; }
.category-list a:hover {
  color: var(--saffron);
  padding-left: 0.9rem;
}
.cat-count {
  background: #f9fafb;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  min-width: 28px;
  text-align: center;
}
.category-list a:hover .cat-count {
  background: #fff8ed;
  color: var(--saffron);
}

/* Sidebar CTA */
.cta-sidebar {
  background: linear-gradient(135deg, #c74a07 0%, #ff7d0f 100%);
  color: #fff;
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
}
.cta-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2), transparent 60%);
  pointer-events: none;
}
.cta-sidebar > * { position: relative; z-index: 1; }
.cta-sidebar i.fa-hands-helping {
  font-size: 2rem;
  color: #ffe8cc;
  margin-bottom: 0.75rem;
  display: block;
}
.cta-sidebar .sb-title {
  color: #fff;
  justify-content: center;
}
.cta-sidebar .sb-text {
  color: rgba(255,255,255,0.9);
}
.cta-sidebar .btn-primary {
  background: #fff;
  color: var(--saffron-dark);
  margin-top: 0.5rem;
}
.cta-sidebar .btn-primary:hover {
  background: #fff5e6;
  transform: translateY(-2px);
}

/* ============================================================
   NEWS SINGLE (Article page)
   ============================================================ */

/* Article loading state */
.article-loading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #6b7280;
}
.article-loading .spinner {
  width: 50px;
  height: 50px;
  border-width: 3px;
}

/* ---------- Article Hero ---------- */
.article-hero {
  position: relative;
  padding: 6rem 1rem 4rem;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  color: #fff;
}
@media (min-width: 768px) {
  .article-hero { padding: 8rem 2rem 5rem; min-height: 560px; }
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.85));
  pointer-events: none;
}
.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}
.article-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: #e5e7eb;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.article-hero .breadcrumb a {
  color: #e5e7eb;
  text-decoration: none;
}
.article-hero .breadcrumb a:hover { color: var(--saffron); }
.article-hero .breadcrumb .sep {
  color: rgba(255,255,255,0.4);
  font-size: 0.55rem;
}
.article-hero .breadcrumb .current {
  color: var(--saffron);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.article-cat {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.article-cat-rescue { background: #16a34a; }
.article-cat-event { background: #2563eb; }
.article-cat-press { background: #7c3aed; }
.article-cat-announcement { background: var(--saffron); }

.article-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.75rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  max-width: 820px;
}
@media (min-width: 768px) {
  .article-title { font-size: 2.75rem; }
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.article-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}
.article-author-name {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}
.article-author-role {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
}
.article-meta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
}
.article-meta-stats i { color: var(--saffron); margin-right: 0.35rem; }

/* ---------- Layout ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 2fr 1fr; gap: 3rem; }
}

/* ---------- Main ---------- */
.article-main {
  min-width: 0;
}

/* Featured image */
.article-featured-img {
  margin: 0 0 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.2);
}
.article-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}
.article-featured-img figcaption {
  background: #f9fafb;
  padding: 0.85rem 1.25rem;
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
  border-top: 1px solid #f3f4f6;
}

/* Body typography */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #374151;
}
.article-body p { margin-bottom: 1.35rem; }
.article-body .lead {
  font-size: 1.15rem;
  color: #111827;
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--saffron);
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
  position: relative;
  padding-left: 1rem;
}
.article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 4px;
  background: var(--saffron);
  border-radius: 2px;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 2rem 0 0.75rem;
}
.article-body strong { color: #111827; font-weight: 700; }
.article-body em { color: #4b5563; }

.article-body ul,
.article-body ol {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.5rem;
}
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}
.article-body ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--saffron);
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.85rem;
}
.article-body ol li {
  margin-bottom: 0.75rem;
  color: #374151;
}
.article-body ol li::marker {
  color: var(--saffron);
  font-weight: 700;
}

.article-body a {
  color: var(--saffron);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,125,15,0.35);
  transition: all 0.25s ease;
}
.article-body a:hover {
  color: var(--saffron-dark);
  border-bottom-color: var(--saffron-dark);
}

/* Callout */
.article-callout {
  background: linear-gradient(135deg, #fff8ed 0%, #ffe8cc 100%);
  border-left: 4px solid var(--saffron);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  position: relative;
}
.article-callout i.fa-quote-left {
  color: var(--saffron);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}
.article-callout p {
  font-size: 1.05rem;
  font-style: italic;
  color: #111827;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.article-callout .callout-author {
  display: block;
  font-size: 0.82rem;
  color: var(--saffron-dark);
  font-weight: 700;
  font-style: normal;
}

/* Inline image */
.article-inline-img {
  margin: 2rem 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px -18px rgba(0,0,0,0.2);
}
.article-inline-img img { width: 100%; display: block; }
.article-inline-img figcaption {
  padding: 0.75rem 1.15rem;
  background: #f9fafb;
  font-size: 0.78rem;
  color: #6b7280;
  font-style: italic;
  border-top: 1px solid #f3f4f6;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0 1.5rem;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: #fff8ed;
  color: var(--saffron-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.25s ease;
}
.article-tag:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
}

/* Share bar */
.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
  margin: 1.5rem 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}
.share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.share-label i { color: var(--saffron); }
.share-buttons {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}
.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f9fafb;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}
.share-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}
.share-fb:hover { background: #1877f2; border-color: #1877f2; }
.share-tw:hover { background: #0f1419; border-color: #0f1419; }
.share-wa:hover { background: #25d366; border-color: #25d366; }
.share-cp:hover { background: var(--saffron); border-color: var(--saffron); }

/* Author bio */
.author-bio {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: #f9fafb;
  border-radius: 18px;
  margin: 2rem 0;
  align-items: flex-start;
}
.author-bio img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.author-bio-info { min-width: 0; }
.bio-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.bio-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
.bio-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
}
@media (max-width: 480px) {
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
}

/* Prev / Next */
.article-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .article-nav { grid-template-columns: 1fr 1fr; }
}
.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.article-nav-item:hover {
  border-color: var(--saffron);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -15px rgba(255,125,15,0.3);
}
.article-nav-next { text-align: right; }
.an-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.article-nav-next .an-label { justify-content: flex-end; }
.an-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Sidebar (reuses news page styles) ---------- */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-self: start;
}
@media (min-width: 1024px) {
  .article-sidebar { position: sticky; top: 100px; }
}

/* Not found */
.not-found-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8ed, #ffe8cc);
  color: var(--saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ============================================================
   BRANCHES PAGE
   ============================================================ */

/* ---------- Stats strip ---------- */
.branch-stat {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.branch-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.branch-stat:hover::before { transform: scaleX(1); }
.branch-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
  border-color: transparent;
}
.bs-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #fff8ed, #ffe8cc);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 1.35rem;
  transition: all 0.35s ease;
}
.branch-stat:hover .bs-icon {
  background: var(--saffron);
  color: #fff;
  transform: rotate(-6deg);
}
.bs-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.bs-label {
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Map + head office ---------- */
.branches-map-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .branches-map-wrap {
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
  }
}

.branches-map {
  width: 100%;
  height: 480px;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.2);
  background: #f3f4f6;
  display: block;
}
@media (min-width: 1024px) {
  .branches-map { height: 560px; }
}

.head-office-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 22px;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  position: relative;
}
.ho-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--saffron);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 15px -4px rgba(255,125,15,0.5);
}
.ho-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 25px -8px rgba(255,125,15,0.5);
}
.ho-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.ho-address {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.ho-meta {
  padding: 1rem 0;
  border-top: 1px solid #f3f4f6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.ho-meta-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: #4b5563;
}
.ho-meta-row i {
  color: var(--saffron);
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ho-meta-row a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.25s ease;
}
.ho-meta-row a:hover { color: var(--saffron); }
.ho-btn { align-self: flex-start; }

/* ---------- Search bar ---------- */
.branches-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}
.branches-search > i.fa-search {
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--saffron);
  font-size: 0.95rem;
  pointer-events: none;
}
.branches-search input {
  width: 100%;
  padding: 1rem 3.2rem 1rem 3rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111827;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.branches-search input::placeholder { color: #9ca3af; }
.branches-search input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,125,15,0.15), 0 6px 20px -8px rgba(0,0,0,0.08);
}
.branches-search .search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  color: #6b7280;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.25s ease;
}
.branches-search .search-clear:hover {
  background: var(--saffron);
  color: #fff;
}
.branches-search.has-value .search-clear { display: flex; }

/* ---------- Tabs ---------- */
.branches-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem;
  background: #f3f4f6;
  border-radius: 9999px;
  margin: 0 auto 2.5rem;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
}
.branch-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.83rem;
  border-radius: 9999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}
.branch-tab:hover { color: var(--saffron); }
.branch-tab.active {
  background: #fff;
  color: var(--saffron);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
@media (max-width: 640px) {
  .branch-tab { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
}

/* ---------- Branches grid ---------- */
.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .branches-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Branch card ---------- */
.branch-box {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.branch-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15);
  border-color: transparent;
}

.bb-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.bb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.branch-box:hover .bb-image img { transform: scale(1.08); }

.bb-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--saffron);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bb-badge-hq { background: #16a34a; }

.bb-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bb-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.bb-address {
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0.9rem;
  display: flex;
  gap: 0.45rem;
}
.bb-address i {
  color: var(--saffron);
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.bb-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.bb-meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #4b5563;
  padding: 0.3rem 0;
}
.bb-meta li i {
  color: var(--saffron);
  width: 16px;
  text-align: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.bb-meta li a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.25s ease;
}
.bb-meta li a:hover { color: var(--saffron); }

.bb-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: auto;
}
.bb-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
}
.bb-btn-primary {
  background: var(--saffron);
  color: #fff;
}
.bb-btn-primary:hover {
  background: var(--saffron-dark);
  transform: translateY(-2px);
}
.bb-btn-ghost {
  background: #fff;
  color: #4b5563;
  border-color: #e5e7eb;
}
.bb-btn-ghost:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}