/* Google Fonts Integration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

/* CSS Custom Variables for Theme */
:root {
  --primary: #7A1C31;          /* Deep Burgundy / Curtain Red */
  --primary-light: #942940;    /* Lighter Crimson */
  --primary-dark: #581220;     /* Dark Velvet Maroon */
  --secondary: #D4AF37;        /* Champagne Gold */
  --secondary-light: #E9C455;  /* Soft Gold Accent */
  --secondary-dark: #AA8722;   /* Antique Gold */
  --bg-primary: #FAF8F5;       /* Warm Cream / Natural Paper */
  --bg-secondary: #FFFFFF;     /* Pure White for Cards */
  --bg-dark: #1E1A1B;          /* Sleek Dark Accent */
  --text-dark: #2B2627;        /* Readable charcoal text */
  --text-muted: #5C5254;       /* Subdued description text */
  --text-light: #FDFBF7;       /* Off-white text */
  
  --border-color: #E2DDD8;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(91, 75, 78, 0.08);
  --shadow-lg: 0 16px 40px rgba(91, 75, 78, 0.12);
  
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 1.5vw + 1.1rem, 2rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-dark);
}

/* Language Change Transition Effect */
.fade-transition {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Header & Top Banner Navigation (Matching Wireframe) */
header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 1rem;
}

/* Left Align: Logo Placeholder */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: bold;
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: 1px;
}

/* Center Align: NGO Title */
.title-container {
  text-align: center;
}

.ngo-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.ngo-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-dark);
  margin-top: 0.25rem;
  font-weight: 600;
}

/* Right Align: Language Toggle Dropdown */
.lang-container {
  display: flex;
  justify-content: flex-end;
}

.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--primary);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.lang-btn:hover {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 105%;
  background-color: var(--bg-secondary);
  min-width: 120px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  z-index: 1000;
  overflow: hidden;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.lang-option:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* Navigation Horizontal Menu (Below Header) */
.nav-menu-bar {
  background-color: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.nav-links {
  display: flex;
  list-style: none;
  width: 100%;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 1.1rem 1.5rem;
  color: rgba(253, 251, 247, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px 2px 0 0;
}

/* Mobile Toggle Buttons */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
}

/* Lock background scroll while the mobile nav drawer is open */
@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
  }
}

/* Page Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(90, 18, 32, 0.95), rgba(40, 6, 12, 0.98)), url('../images/theatre_hero.png') center/cover;
  color: var(--text-light);
  padding: 5.5rem 2rem;
  text-align: center;
  border-bottom: 4px solid var(--secondary);
  box-shadow: var(--shadow-md);
}

/* Hero Slider Styles (Only active when .slider-active is present) */
.hero-section.slider-active {
  background: linear-gradient(135deg, rgba(90, 18, 32, 0.96), rgba(40, 6, 12, 0.98));
  color: var(--text-light);
  padding: 4.5rem 2rem;
  border-bottom: 4px solid var(--secondary);
  box-shadow: var(--shadow-md);
  
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  align-items: center;
  gap: 3.5rem;
  text-align: left;
}

.hero-slider-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* Maintain a nice horizontal format */
  background-color: #0d0a0b; /* Pitch dark matte background for the letterbox bars */
  border: 4px solid var(--secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Blurred backdrop fill so contained (letterboxed) slides never show flat
   black bars -- the frame keeps its dark base color as a fallback until JS
   sets the first background-image. */
.hero-slider-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(30px) brightness(0.55) saturate(1.15);
  transform: scale(1.15);
  z-index: 0;
  transition: opacity 0.4s ease;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  object-fit: contain; /* Show the entire photo (prevent any cropping) */
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Hero Content alignment */
.slider-active .hero-content {
  position: relative;
  z-index: 5;
  max-width: 100%;
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-buttons .btn-secondary {
  margin-left: 0; /* Override left margin */
}

/* Slider Controls (Placed inside .hero-slider-frame container) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(30, 26, 27, 0.55);
  border: 2px solid rgba(253, 251, 247, 0.35);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-arrow:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.prev-arrow {
  left: 16px;
}

.next-arrow {
  right: 16px;
}

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

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(253, 251, 247, 0.45);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(30, 26, 27, 0.3);
}

.slider-dot:hover {
  background-color: rgba(253, 251, 247, 0.85);
}

.slider-dot.active {
  background-color: var(--secondary);
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.9);
}

/* Responsiveness adjustments */
@media (max-width: 992px) {
  .hero-section.slider-active {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 3.5rem 1.5rem;
  }
  
  .slider-active .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .slider-arrow {
    display: none; /* Hide arrows on small phones */
  }
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
  color: var(--secondary-light);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  color: rgba(253, 251, 247, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-light);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(253, 251, 247, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-left: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-dark);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

/* Page Container & Section Layouts */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Pillar Card Grid */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.pillar-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(122, 28, 49, 0.2);
}

.pillar-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(122, 28, 49, 0.08), rgba(212, 175, 55, 0.14));
  border: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08);
  border-color: var(--secondary);
}

.pillar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* Two-column layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.split-text h2 {
  margin-bottom: 1.5rem;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-secondary);
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* List with Gold Bullets */
.gold-list {
  list-style: none;
  margin-top: 1rem;
}

.gold-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.gold-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 1.1rem;
}

/* Registration Grid (Statutory Details Table styled beautifully) */
.statutory-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.statutory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  margin-top: 2rem;
}

.statutory-item {
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 1.2rem;
}

.statutory-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.statutory-value {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-family: var(--font-serif);
  font-weight: 600;
}

/* Activities Cards Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.activity-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.activity-card-body {
  padding: 2.5rem;
}

.activity-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.activity-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(122, 28, 49, 0.08);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sectors Grid List */
.sectors-container {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  margin-top: 4rem;
  text-align: center;
}

.sectors-container h2 {
  color: var(--secondary-light);
  margin-bottom: 3rem;
}

.sectors-container h2::after {
  background-color: var(--secondary-light);
  left: 50%;
  transform: translateX(-50%);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sector-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}

.sector-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  transform: scale(1.03);
}

.sector-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.6rem;
  color: var(--secondary);
  transition: var(--transition);
}

.sector-item:hover .sector-icon {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: var(--secondary);
}

.sector-item h4 {
  color: var(--text-light);
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Committee Page Grid */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.committee-grid .committee-card:nth-child(1),
.committee-grid .committee-card:nth-child(2) {
  grid-column: span 2; /* Main office bearers stand out larger */
}

.committee-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.committee-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 3px solid var(--secondary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.committee-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.committee-role {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.committee-badge {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: 500;
}

/* Documents Table styling */
.docs-table-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.docs-table th {
  background-color: var(--primary-dark);
  color: var(--secondary);
  padding: 1.2rem 2rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.docs-table td {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

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

.docs-table tr:hover td {
  background-color: rgba(122, 28, 49, 0.02);
}

.doc-name-cell {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.doc-desc-cell {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.doc-actions-cell {
  white-space: nowrap;
}

.doc-btn-view {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--primary);
  margin-right: 0.5rem;
  transition: var(--transition);
}

.doc-btn-view:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
}

.doc-btn-download {
  display: inline-block;
  background-color: var(--bg-primary);
  color: var(--text-dark);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.doc-btn-download:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}

.contact-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(122, 28, 49, 0.15);
}

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

.form-btn-submit {
  background-color: var(--primary);
  color: var(--text-light);
  font-weight: 700;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 0.9rem 2.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.form-btn-submit:hover {
  background-color: transparent;
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(122, 28, 49, 0.2);
}

/* Form status alert */
.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #E2F0D9;
  color: #385723;
  border: 1px solid #C5E0B4;
}

.form-status.error {
  display: block;
  background-color: #FCE4D6;
  color: #C00000;
  border: 1px solid #F8CBAD;
}

/* Contact Info Side Card */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.info-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.info-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  font-size: 1.4rem;
  color: var(--primary);
}

.info-details h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.info-details p {
  margin: 0;
  font-size: 1.05rem;
}

/* Bank details special style */
.bank-info-box {
  background-color: var(--bg-secondary);
  border: 2px solid var(--secondary);
  position: relative;
  overflow: hidden;
}

.bank-info-box::after {
  content: '★';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 5rem;
  color: rgba(212, 175, 55, 0.1);
  transform: rotate(15deg);
}

.bank-details-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}

.bank-label {
  font-weight: 700;
  color: var(--primary);
}

.bank-value {
  color: var(--text-dark);
  font-weight: 600;
  font-family: var(--font-serif);
}

/* Footer styling */
footer {
  background-color: var(--bg-dark);
  color: rgba(253, 251, 247, 0.75);
  padding: 4.5rem 2rem 2rem;
  border-top: 4px solid var(--primary);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.8fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--text-light);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(253, 251, 247, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links-col h4,
.footer-contact-col h4,
.footer-credibility-col h4 {
  color: var(--secondary-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.8rem;
}

.footer-links-list a {
  color: rgba(253, 251, 247, 0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  display: flex;
  gap: 0.5rem;
}

.footer-contact-list a {
  color: rgba(253, 251, 247, 0.6);
}

.footer-contact-list a:hover {
  color: var(--secondary);
}

.credibility-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  font-size: 0.85rem;
}

.credibility-item {
  margin-bottom: 0.8rem;
}

.credibility-item:last-child {
  margin-bottom: 0;
}

.credibility-label {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.credibility-val {
  color: var(--text-light);
  font-family: var(--font-serif);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(253, 251, 247, 0.4);
}

/* Mobile Drawer Responsive Styles */
@media (max-width: 992px) {
  .header-top {
    grid-template-columns: 1fr 1fr;
    padding: 1rem 1.5rem;
  }
  
  .title-container {
    grid-column: span 2;
    order: 3;
    margin-top: 1rem;
  }
  
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .committee-grid .committee-card:nth-child(1),
  .committee-grid .committee-card:nth-child(2) {
    grid-column: span 2;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .split-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pillar-grid, .activities-grid, .sectors-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .logo-text {
    font-size: 0.95rem;
  }
  
  .logo-img {
    height: 65px;
    border-width: 1.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(197, 160, 89, 0.15);
  }
  
  .ngo-title {
    font-size: 1.4rem;
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--primary-dark);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .nav-links.active {
    max-height: 600px;
    opacity: 1;
  }

  .nav-link {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-container {
    justify-content: space-between;
  }
  
  .statutory-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .statutory-card {
    padding: 2rem;
  }
  
  .docs-table th, .docs-table td {
    padding: 1rem;
  }
  
  .doc-btn-view, .doc-btn-download {
    display: block;
    margin-right: 0;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .doc-btn-download:last-child {
    margin-bottom: 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Logo Styling */
.logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  background-color: white;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(197, 160, 89, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.logo-img:hover {
  transform: scale(1.1);
  border-color: var(--secondary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 0 0 5px rgba(168, 131, 65, 0.35);
}

/* News Section Styling */
.news-section {
  padding: 4rem 2rem;
  background-color: var(--bg-primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.news-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(122, 28, 49, 0.2);
}

.news-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.news-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-meta {
  font-size: 0.85rem;
  color: var(--secondary-dark);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.5;
}

.news-card-btn {
  align-self: flex-start;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.news-card-btn:hover {
  color: var(--secondary-dark);
  padding-left: 5px;
}

/* Gallery Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(30, 26, 27, 0.95) 0%, rgba(30, 26, 27, 0.4) 60%, rgba(30, 26, 27, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-caption {
  color: var(--text-light);
}

.gallery-caption h4 {
  color: var(--secondary-light);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-serif);
}

.gallery-caption p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: rgba(253, 251, 247, 0.7);
}

.gallery-news-link {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: underline;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 15, 16, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 85%;
  max-height: 70%;
  object-fit: contain;
  border: 3px solid var(--secondary);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--secondary);
}

.lightbox-caption-panel {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-light);
  max-width: 600px;
  padding: 0 1rem;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--secondary-light);
  margin-bottom: 0.25rem;
}

.lightbox-meta {
  font-size: 0.9rem;
  color: rgba(253, 251, 247, 0.6);
  margin-bottom: 0.75rem;
}

.lightbox-link {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  transition: var(--transition);
}

.lightbox-link:hover {
  color: var(--secondary-light);
}

/* Gallery Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(30, 26, 27, 0.95) 0%, rgba(30, 26, 27, 0.4) 60%, rgba(30, 26, 27, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-caption {
  color: var(--text-light);
}

.gallery-caption h4 {
  color: var(--secondary-light);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-serif);
}

.gallery-caption p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: rgba(253, 251, 247, 0.7);
}

.gallery-news-link {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: underline;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 15, 16, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 85%;
  max-height: 70%;
  object-fit: contain;
  border: 3px solid var(--secondary);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--secondary);
}

.lightbox-caption-panel {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-light);
  max-width: 600px;
  padding: 0 1rem;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--secondary-light);
  margin-bottom: 0.25rem;
}

.lightbox-meta {
  font-size: 0.9rem;
  color: rgba(253, 251, 247, 0.6);
  margin-bottom: 0.75rem;
}

.lightbox-link {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  transition: var(--transition);
}

.lightbox-link:hover {
  color: var(--secondary-light);
}

/* Gallery Subsections & Tab Selector */
.gallery-tabs-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem auto 1.5rem auto;
  max-width: 1200px;
  padding: 0 1.5rem;
}

.gallery-tab-btn {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 2.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.gallery-tab-btn:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Video Items Overlay Play Button */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(122, 28, 49, 0.85); /* Burgundy curtain */
  border: 2px solid var(--secondary); /* Gold border */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--secondary);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  pointer-events: none; /* Let clicks pass to parent gallery-item */
}

.gallery-item:hover .video-play-overlay {
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translate(-50%, -50%) scale(1.15);
}

/* Ensure video content scales identically to lightboxImg */
#lightboxVideo {
  background-color: #000;
}

/* Gallery Tab Active State styling */
.gallery-tab-btn.active {
  background-color: var(--primary) !important;
  color: var(--text-light) !important;
  border-color: var(--primary) !important;
}

/* Navigation Dropdown Menu Styling */
.nav-item.dropdown {
  position: relative;
}

/* Show dropdown menu on hover for desktop */
@media (min-width: 769px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--primary-dark);
  min-width: 160px;
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: 3px solid var(--secondary);
  z-index: 1000;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(253, 251, 247, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.dropdown-item:hover {
  color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile responsive styling for dropdown menu */
@media (max-width: 768px) {
  .dropdown-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    background-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: none !important;
    border-top: none !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .dropdown-item {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.85rem !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  }
}

/* ==========================================================================
   Production-readiness pass: accessibility, motion, floating widgets,
   trust badges, Get Involved section, and inline-style cleanup helpers.
   ========================================================================== */

/* Skip link (visible only on keyboard focus) */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 3000;
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: var(--secondary);
}

/* Scroll-reveal fade-up effect */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Floating "Back to top" button */
.back-to-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  border: 2px solid var(--secondary);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1500;
}

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

.back-to-top-btn:hover {
  background-color: var(--primary-dark);
  color: var(--secondary);
}

/* Floating WhatsApp click-to-chat button */
.whatsapp-float-btn {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: var(--shadow-md);
  z-index: 1500;
  animation: whatsapp-pulse 2.4s infinite;
}

.whatsapp-float-btn:hover {
  color: #FFFFFF;
  transform: scale(1.06);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), var(--shadow-md); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), var(--shadow-md); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), var(--shadow-md); }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-btn {
    animation: none;
  }
}

@media (max-width: 768px) {
  .back-to-top-btn {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
  .whatsapp-float-btn {
    left: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* Trust badges strip (homepage) */
.trust-badges-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
  font-size: 1.1rem;
}

/* Get Involved section (homepage) */
.get-involved-section {
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.involved-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  border: 2px solid var(--secondary);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.involved-card h3 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.involved-card p {
  color: rgba(253, 251, 247, 0.85);
  margin-bottom: 1.5rem;
}

.involved-card .btn-primary,
.involved-card .btn-secondary {
  display: inline-block;
}

@media (max-width: 768px) {
  .involved-grid {
    grid-template-columns: 1fr;
  }
}

/* Donate page: bank details grid (replaces prior inline styles) */
.bank-details-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 1rem;
  align-items: center;
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.bank-label {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.bank-value {
  font-weight: 600;
  color: var(--text-dark);
}

.bank-value-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  grid-column: span 2;
}

.bank-value-line {
  grid-column: span 2;
}

.bank-value-highlight {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-weight: 700;
  font-family: var(--font-serif);
}

.bank-value-ifsc {
  font-size: 1.2rem;
  font-family: var(--font-serif);
}

.bank-copy-btn {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  margin: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .bank-details-grid {
    grid-template-columns: 1fr auto;
    padding: 1.25rem;
  }
}

/* Shared card heading style used on donate/contact info boxes */
.card-heading-underline {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.tax-exemption-box {
  border: 2px solid var(--secondary);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-md);
}

.tax-exemption-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.cert-download-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-primary);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cert-download-row-label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.cert-download-row .doc-btn-download {
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
}

.credibility-list-flat {
  background: transparent;
  border: none;
  padding: 0;
}

.credibility-list-flat .credibility-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-color);
  padding: 0.5rem 0;
}

.credibility-list-flat .credibility-item:last-child {
  border-bottom: none;
}

.credibility-list-flat .credibility-val {
  font-weight: 600;
}

/* Map card (contact page) */
.map-card {
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}

.map-card-heading {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.map-frame-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Footer brand logo row (replaces prior inline styles) */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  border: 1px solid var(--secondary);
  border-radius: 50%;
  padding: 2px;
  background: white;
}

.footer-brand-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.footer-address-muted {
  color: rgba(253, 251, 247, 0.6);
}

.credibility-item-spaced {
  margin-top: 0.75rem;
}

/* Documents table: horizontal scroll on small screens */
.docs-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* News article share links */
.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.share-links-label {
  font-weight: 700;
  color: var(--primary-dark);
  margin-right: 0.25rem;
  align-self: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.share-btn:hover {
  color: var(--text-light);
  opacity: 0.9;
  transform: translateY(-2px);
}

.share-btn-whatsapp {
  background-color: #25D366;
}

.share-btn-facebook {
  background-color: #1877F2;
}

/* 404 page */
.error-page-content {
  text-align: center;
  padding: 5rem 2rem;
}

.error-page-code {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 1rem;
}
