/* ============================================
   TSVP India — Shared Design System
   Tirhut Samagra Vikas Parishad
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #E65100;
  --primary-light: #FF8A50;
  --primary-dark: #BF360C;
  --secondary: #4A148C;
  --secondary-light: #7B1FA2;
  --secondary-dark: #38006b;
  --accent: #FFC107;
  --white: #FFFFFF;
  --bg: #F5F5F5;
  --bg-dark: #EEEEEE;
  --text: #212121;
  --text-light: #616161;
  --text-muted: #9E9E9E;
  --border: #E0E0E0;
  --success: #2E7D32;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --nav-height: 70px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
}

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

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  color: var(--text-light);
}

/* ---- Section Layout ---- */
.section {
  padding: 80px 0;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---- Section Title Decorator ---- */
.title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(74, 20, 140, 0.3);
}

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

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

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

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

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

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

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

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

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 46px;
  width: auto;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand-text .brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  line-height: 1.1;
}

.navbar-brand-text .brand-tagline {
  font-size: 0.65rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--primary);
  background: rgba(230, 81, 0, 0.08);
}

.navbar-donate-btn {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 8px 18px !important;
  box-shadow: 0 3px 12px rgba(230, 81, 0, 0.35);
}

.navbar-donate-btn:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 16px 0;
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--bg-dark);
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
  background: var(--bg);
}

/* Offset for fixed nav */
.page-offset {
  padding-top: var(--nav-height);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 40%, var(--primary-dark) 100%);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.82) 0%, rgba(230, 81, 0, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-indicators span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-indicators span.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.82rem;
  opacity: 0.9;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================
   ABOUT INTRO
   ============================================ */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-intro-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-intro-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-intro-badge .badge-icon {
  font-size: 2rem;
}

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

.about-intro-badge .badge-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-intro-content h2 {
  margin-bottom: 16px;
}

.about-intro-content p {
  margin-bottom: 16px;
}

.about-intro-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.highlight-tag {
  background: rgba(230, 81, 0, 0.08);
  color: var(--primary);
  border: 1px solid rgba(230, 81, 0, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================================
   PROGRAMS CARDS
   ============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  text-align: center;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary);
}

.program-card .card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.1), rgba(74, 20, 140, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.program-card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.program-card h4 {
  margin-bottom: 10px;
}

.program-card p {
  font-size: 0.9rem;
}

.program-card .duration-tag {
  display: inline-block;
  margin-top: 14px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ============================================
   PARTNERS STRIP
   ============================================ */
.partners-section {
  background: var(--white);
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-light);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.partner-logo:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.05);
}

/* ============================================
   GALLERY PREVIEW
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

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

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(74, 20, 140, 0.7));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

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

.gallery-item .gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.news-card-img {
  height: 180px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-card:hover .news-card-img img {
  transform: scale(1.06);
}

.news-card-body {
  padding: 22px;
}

.news-date {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.news-card-body h4 {
  margin-bottom: 8px;
}

.news-card-body p {
  font-size: 0.88rem;
}

.news-tag {
  display: inline-block;
  background: rgba(74, 20, 140, 0.08);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ============================================
   DONATION CTA BANNER
   ============================================ */
.donate-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 60%);
}

.donate-banner h2,
.donate-banner p {
  color: var(--white);
}

.donate-banner p {
  font-size: 1.1rem;
  margin: 12px 0 32px;
  opacity: 0.92;
}

.donate-banner .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

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

.testimonial-quote {
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 14px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.author-info strong {
  display: block;
  font-size: 0.92rem;
  font-family: 'Poppins', sans-serif;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, #1a0533 0%, #0d0015 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  opacity: 0.75;
  max-width: 280px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-col h5 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item .icon {
  font-size: 1rem;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item p {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-reg {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 0;
}

.footer-reg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-bottom: 16px;
}

.footer-reg-item {
  font-size: 0.78rem;
  opacity: 0.65;
}

.footer-reg-item strong {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.4);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.82rem;
  opacity: 0.7;
}

.iso-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  font-size: 1.6rem;
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {

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

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

.back-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  pointer-events: none;
}

.back-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--primary-dark) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

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

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
  color: var(--accent);
  font-weight: 600;
}

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

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================
   GALLERY FILTER
   ============================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  transition: var(--transition);
  cursor: pointer;
}

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

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

.gallery-full-grid .gallery-item {
  height: 200px;
}

.gallery-item.hidden {
  display: none;
}

/* ============================================
   PROGRAMS FULL PAGE
   ============================================ */
.programs-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid transparent;
  position: relative;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-left-color: var(--primary);
}

.course-card .course-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.course-card h4 {
  margin-bottom: 8px;
}

.course-card .course-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.course-meta-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.course-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.skill-tag {
  background: var(--bg);
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ============================================
   GOVERNMENT PROJECTS
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

.project-card .proj-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.project-card h4 {
  margin-bottom: 6px;
}

.project-card p {
  font-size: 0.88rem;
}

.project-states {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.state-tag {
  background: rgba(74, 20, 140, 0.08);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ============================================
   DONATE PAGE
   ============================================ */
.donate-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.amount-btn {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.amount-btn:hover,
.amount-btn.selected {
  border-color: var(--primary);
  background: rgba(230, 81, 0, 0.05);
}

.amount-btn .amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.amount-btn .impact {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.custom-amount input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  transition: var(--transition);
  outline: none;
}

.custom-amount input:focus {
  border-color: var(--primary);
}

.bank-info {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

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

.bank-row strong {
  color: var(--text);
  font-weight: 600;
}

.tax-benefits {
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.06), rgba(74, 20, 140, 0.06));
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(230, 81, 0, 0.15);
}

.tax-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.tax-item .tax-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  transition: var(--transition);
  outline: none;
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.12), rgba(74, 20, 140, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vmg-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
}

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

.vmg-card:nth-child(1) {
  border-top-color: var(--primary);
}

.vmg-card:nth-child(2) {
  border-top-color: var(--secondary);
}

.vmg-card:nth-child(3) {
  border-top-color: var(--accent);
}

.vmg-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.approach-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.approach-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  box-shadow: var(--shadow);
}

.step-number {
  position: absolute;
  top: -6px;
  right: calc(50% - 54px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.board-table th {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  padding: 14px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  text-align: left;
}

.board-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.board-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

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

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

  .gallery-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .approach-steps::before {
    display: none;
  }

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

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

@media (max-width: 768px) {
  :root {
    --nav-height: 62px;
  }

  .section {
    padding: 56px 0;
  }

  .navbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .board-table {
    font-size: 0.82rem;
  }

  .back-top-btn {
    bottom: 20px !important;
    z-index: 1100 !important;
  }

  .whatsapp-btn {
    bottom: 90px !important;
    z-index: 1100 !important;
  }
}

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

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

  .gallery-full-grid .gallery-item {
    height: 140px;
  }

  .donate-amounts {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .approach-steps {
    grid-template-columns: 1fr;
  }
}

/* Final Override for Floating Buttons (Mobile/Tablet) */
@media (max-width: 768px) {
  body .whatsapp-btn {
    bottom: 30px !important;
    left: 24px !important;
    right: auto !important;
    z-index: 1200 !important;
  }

  body .back-top-btn {
    bottom: 30px !important;
    right: 24px !important;
    z-index: 1200 !important;
  }
}