/* =========================================================
   GOTI JIBON - Official NGO Stylesheet
   Theme: Nature Green, Vitality Orange & Holistic Clean White
   Approach: Mobile-First, Responsive & Accessible
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS Variables & Design Tokens
   --------------------------------------------------------- */
:root {
  /* Green Palette */
  --primary-dark: #144618;
  --forest-green: #1b5e20;
  --emerald-green: #2e7d32;
  --leaf-green: #4caf50;
  --light-green-bg: #e8f5e9;
  --subtle-green-tint: #f1f8f3;

  /* Accent Colors */
  --vibrant-orange: #e65100;
  --amber-orange: #f57c00;
  --warm-orange-light: #fff3e0;
  --sky-blue: #0288d1;

  /* Neutral Tones */
  --bg-main: #f9fbf7;
  --bg-white: #ffffff;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --border-color: #e2e8f0;
  --border-green: rgba(46, 125, 50, 0.15);

  /* Shadows & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(27, 94, 32, 0.08);
  --shadow-lg: 0 10px 25px rgba(27, 94, 32, 0.12);
  --shadow-hover: 0 14px 30px rgba(27, 94, 32, 0.16);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--forest-green);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--forest-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--vibrant-orange);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  margin-right: auto;
  margin-left: auto;
  max-width: 1200px;
}

/* ---------------------------------------------------------
   3. Buttons & Component Utilities
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--forest-green);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(27, 94, 32, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(27, 94, 32, 0.4);
}

.btn-secondary {
  background-color: var(--vibrant-orange);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(230, 81, 0, 0.3);
}

.btn-secondary:hover {
  background-color: #bf360c;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--forest-green);
  color: #ffffff;
}

.btn-light {
  background-color: #ffffff;
  color: var(--forest-green);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background-color: var(--light-green-bg);
  color: var(--forest-green);
  transform: translateY(-2px);
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--light-green-bg);
  color: var(--forest-green);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.85rem;
  color: var(--forest-green);
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-green), var(--vibrant-orange));
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* ---------------------------------------------------------
   4. Top Announcement Bar
   --------------------------------------------------------- */
.top-bar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.top-bar-links {
  display: flex;
  gap: 1rem;
}

.top-bar-links a {
  color: #fff;
  opacity: 0.9;
  font-weight: 500;
}

.top-bar-links a:hover {
  color: #ffcc80;
  text-decoration: underline;
}

/* ---------------------------------------------------------
   5. Site Header & Responsive Navigation
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

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

.logo-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.logo-icon img,
.logo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(27, 94, 32, 0.3));
}

.brand-logo:hover .logo-icon {
  transform: rotate(-3deg) scale(1.05);
}


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

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest-green);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-name.font-bengali {
  font-family: 'Hind Siliguri', 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: normal;
}


.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--vibrant-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hamburger Toggle for Mobile */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--forest-green);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

.nav-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Mobile Nav Menu Drawer */
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-bottom: 3px solid var(--forest-green);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 1.25rem;
  display: none;
  flex-direction: column;
}

.nav-menu.open {
  display: flex;
}

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

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border-color);
}

.nav-link i {
  color: var(--forest-green);
  width: 20px;
}

.nav-link.active, .nav-link:hover {
  color: var(--vibrant-orange);
}

/* ---------------------------------------------------------
   6. Hero Section (Mobile-First)
   --------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f3 50%, #fff8e1 100%);
  padding: 3.5rem 0 3rem;
  border-bottom: 4px solid var(--forest-green);
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-green);
  color: var(--forest-green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--forest-green);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-highlight {
  color: var(--vibrant-orange);
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 400px;
  margin: 0 auto 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  background-color: var(--bg-white);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-green);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  color: var(--forest-green);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forest-green);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------
   7. Founder's Message Section
   --------------------------------------------------------- */
.founder-section {
  padding: 4rem 0;
  background-color: var(--bg-main);
}

.founder-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  border: 1px solid var(--border-green);
  border-left: 6px solid var(--forest-green);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.founder-quote-mark {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3.5rem;
  color: rgba(27, 94, 32, 0.08);
  pointer-events: none;
}

.founder-headline {
  font-size: 1.35rem;
  color: var(--forest-green);
  margin-bottom: 1.25rem;
  font-weight: 700;
  font-style: italic;
}

.founder-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.founder-signature-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-color);
}

.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--light-green-bg);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 2px solid var(--emerald-green);
}

.founder-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest-green);
}

.founder-role {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.founder-motto {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--vibrant-orange);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ---------------------------------------------------------
   8. The 5 Core Pillars Section (CSS Grid / Flexbox)
   --------------------------------------------------------- */
.pillars-section {
  padding: 4rem 0;
  background-color: var(--subtle-green-tint);
  border-top: 1px solid var(--border-green);
  border-bottom: 1px solid var(--border-green);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pillar-card {
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(27, 94, 32, 0.12);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--emerald-green);
}

.pillar-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(27, 94, 32, 0.12);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.sports-theme { background-color: #fff3e0; color: #e65100; }
.elders-theme { background-color: #e3f2fd; color: #0288d1; }
.green-theme { background-color: #e8f5e9; color: #2e7d32; }
.gov-theme { background-color: #f3e5f5; color: #7b1fa2; }
.health-theme { background-color: #e0f2f1; color: #00796b; }

.pillar-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vibrant-orange);
  margin-bottom: 0.4rem;
}

.pillar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pillar-points {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-points li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.pillar-points li i {
  color: var(--emerald-green);
  font-size: 0.8rem;
}

/* ---------------------------------------------------------
   9. Dynamic Feed Section (API Article Cards)
   --------------------------------------------------------- */
.feed-section {
  padding: 4rem 0;
  background-color: var(--bg-main);
}

.section-header-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.article-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-green);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--leaf-green);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--forest-green);
  background-color: var(--light-green-bg);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.article-read-time {
  font-size: 0.75rem;
  color: var(--text-light);
}

.article-title {
  font-size: 1.25rem;
  color: var(--forest-green);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.article-content {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-light);
}

.article-author {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Skeleton Loading State for Feed */
.article-card.skeleton {
  min-height: 220px;
  background: #fdfdfd;
}

.skeleton-line {
  background: linear-gradient(90deg, #eceff1 25%, #f5f5f5 50%, #eceff1 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-line.title {
  height: 24px;
  width: 75%;
  margin-bottom: 1rem;
}

.skeleton-line.text {
  height: 14px;
  width: 100%;
  margin-bottom: 0.6rem;
}

.skeleton-line.footer {
  height: 16px;
  width: 50%;
  margin-top: auto;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty State / Notice */
.feed-fallback-badge {
  display: inline-block;
  font-size: 0.72rem;
  background-color: var(--warm-orange-light);
  color: var(--vibrant-orange);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------
   10. Event Videos & Media Section
   --------------------------------------------------------- */
.media-section {
  padding: 4rem 0;
  background-color: var(--subtle-green-tint);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.video-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-green);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
}

.video-placeholder-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.green-bg { background: linear-gradient(135deg, #1b5e20, #4caf50); color: rgba(255, 255, 255, 0.4); }
.orange-bg { background: linear-gradient(135deg, #e65100, #ff9800); color: rgba(255, 255, 255, 0.4); }
.blue-bg { background: linear-gradient(135deg, #0288d1, #26c6da); color: rgba(255, 255, 255, 0.4); }

.play-button {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.video-card:hover .play-button {
  transform: scale(1.1);
  color: var(--vibrant-orange);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.video-info {
  padding: 1.25rem;
}

.video-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--vibrant-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.video-title {
  font-size: 1.1rem;
  color: var(--forest-green);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.video-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   11. Call to Action Banner
   --------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 3.5rem 0;
}

.cta-flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.cta-text h2 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   12. Footer Portals
   --------------------------------------------------------- */
.site-footer {
  background-color: #0f2c12;
  color: #e0e0e0;
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 3rem;
}

.footer-brand-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.footer-brand-col .logo-icon {
  background: var(--emerald-green);
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}

.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-tagline {
  font-style: italic;
  color: #ffb74d;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-about {
  font-size: 0.88rem;
  color: #b0bec5;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--vibrant-orange);
  transform: translateY(-2px);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--vibrant-orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: #cfd8dc;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  color: var(--leaf-green);
  font-size: 0.75rem;
}

.footer-links a:hover {
  color: #ffb74d;
  transform: translateX(3px);
}

.footer-contact-item {
  font-size: 0.88rem;
  color: #cfd8dc;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--leaf-green);
  margin-top: 0.25rem;
}

.footer-bottom {
  background-color: #081a0b;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: #90a4ae;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  align-items: center;
}

.developed-by-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  color: #e0e0e0;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(76, 175, 80, 0.35);
  box-shadow: 0 0 12px rgba(76, 175, 80, 0.15);
  transition: all var(--transition-fast);
}

.developed-by-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffb74d;
}

.developed-by-badge strong {
  color: #ffb74d;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.04em;
  font-weight: 700;
}


/* ---------------------------------------------------------
   13. Modals & Dialogs
   --------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-top: 5px solid var(--forest-green);
  animation: modalScale 0.25s ease-out;
}

.modal-box.modal-lg {
  max-width: 620px;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.75rem;
  line-height: 1;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--vibrant-orange);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.admin-icon { background-color: #ffebee; color: #c62828; }
.user-icon { background-color: #e8f5e9; color: var(--forest-green); }
.member-icon { background-color: #fff3e0; color: var(--vibrant-orange); }
.gallery-icon { background-color: #e1f5fe; color: #0288d1; }

.modal-header h3 {
  font-size: 1.4rem;
  color: var(--forest-green);
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group label i {
  color: var(--forest-green);
  font-size: 0.8rem;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: #fdfdfd;
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--forest-green);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.15);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-status {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  background-color: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-status.error {
  background-color: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

.form-status.loading {
  background-color: #e3f2fd;
  color: #0d47a1;
  border: 1px solid #90caf9;
}

/* ---------------------------------------------------------
   13.1 Gmail OTP Authenticator UI
   --------------------------------------------------------- */
.auth-mode-toggle {
  display: flex;
  background: #f1f8e9;
  border-radius: var(--radius-pill);
  padding: 3px;
  margin-bottom: 1.25rem;
  border: 1px solid #c8e6c9;
}

.auth-mode-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.auth-mode-btn.active {
  background: var(--forest-green);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(27, 94, 32, 0.25);
}

.otp-auth-card {
  text-align: center;
  animation: modalScale 0.25s ease-out;
}

.otp-inputs-grid {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.otp-box {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--forest-green);
  border: 2px solid #c8e6c9;
  border-radius: var(--radius-sm);
  background: #fdfdfd;
  transition: all var(--transition-fast);
}

.otp-box:focus {
  outline: none;
  border-color: var(--forest-green);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
  transform: translateY(-2px);
}

.otp-timer-wrap {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.otp-resend-btn {
  background: none;
  border: none;
  color: var(--forest-green);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: 0.85rem;
}

.otp-resend-btn:disabled {
  color: var(--text-light);
  cursor: not-allowed;
  text-decoration: none;
}


/* Gallery Grid in Modal */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.gallery-card-ph {
  height: 120px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem;
}

.gallery-card-ph span {
  font-size: 0.78rem;
}

.green-grad { background: linear-gradient(135deg, #1b5e20, #4caf50); }
.orange-grad { background: linear-gradient(135deg, #e65100, #ff9800); }
.blue-grad { background: linear-gradient(135deg, #0288d1, #26c6da); }
.emerald-grad { background: linear-gradient(135deg, #00796b, #4db6ac); }

/* ---------------------------------------------------------
   14. Responsive Media Queries (Tablet & Desktop Upgrades)
   --------------------------------------------------------- */
@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-row {
    flex-direction: row;
  }

  .form-row .form-group {
    flex: 1;
  }
}

@media (min-width: 768px) {
  .top-bar-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .brand-highlight {
    display: inline;
  }

  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .founder-card {
    padding: 3rem 2.5rem;
  }

  .founder-headline {
    font-size: 1.5rem;
  }

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

  .pillars-grid .pillar-card:last-child {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  .section-header-flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .cta-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

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

  .footer-bottom-flex {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    border-bottom: none;
    background: transparent;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-link {
    padding: 0.25rem 0;
    border-bottom: none;
    font-size: 0.92rem;
  }

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

  .pillars-grid .pillar-card:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
}

/* =========================================================
   15. Green Human Graffiti Background & Street-Art Motifs
   ========================================================= */
.graffiti-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.graffiti-art {
  position: absolute;
  opacity: 0.12;
  filter: drop-shadow(0 0 12px rgba(46, 125, 50, 0.3));
  transition: opacity var(--transition-normal);
  will-change: transform;
}

.graffiti-runner-top {
  top: 90px;
  right: -40px;
  width: 240px;
  animation: graffitiPulse 10s ease-in-out infinite alternate;
}

.graffiti-yoga-left {
  top: 48%;
  left: -50px;
  width: 260px;
  animation: graffitiFloat 14s ease-in-out infinite alternate;
}

.graffiti-tree-planter-right {
  bottom: 8%;
  right: -40px;
  width: 270px;
  animation: graffitiPulse 12s ease-in-out infinite alternate;
  animation-delay: -6s;
}

/* In-Hero Graffiti Accent */
.hero-graffiti-art {
  position: absolute;
  top: 20px;
  right: 5%;
  width: 180px;
  height: 180px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.hero-graffiti-human {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.4));
  animation: graffitiDrift 8s ease-in-out infinite alternate;
}

/* Graffiti Floating & Organic Spray Animations */
@keyframes graffitiFloat {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-15px) rotate(2deg) scale(1.03);
  }
  100% {
    transform: translateY(10px) rotate(-2deg) scale(0.98);
  }
}

@keyframes graffitiPulse {
  0% {
    transform: scale(1) rotate(-3deg);
    opacity: 0.10;
  }
  50% {
    transform: scale(1.05) rotate(1deg);
    opacity: 0.15;
  }
  100% {
    transform: scale(0.97) rotate(-2deg);
    opacity: 0.11;
  }
}

@keyframes graffitiDrift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-10px, 8px) rotate(4deg);
  }
}

/* Responsive Graffiti Adjustments */
@media (min-width: 768px) {
  .graffiti-art {
    opacity: 0.14;
  }

  .graffiti-runner-top {
    width: 320px;
    right: 2%;
    top: 100px;
  }

  .graffiti-yoga-left {
    width: 340px;
    left: 1%;
  }

  .graffiti-tree-planter-right {
    width: 360px;
    right: 3%;
  }

  .hero-graffiti-art {
    width: 240px;
    height: 240px;
    right: 8%;
    top: 40px;
    opacity: 0.28;
  }
}

@media (min-width: 1200px) {
  .graffiti-runner-top {
    width: 380px;
    right: 4%;
  }

  .graffiti-yoga-left {
    width: 400px;
    left: 3%;
  }

  .graffiti-tree-planter-right {
    width: 420px;
    right: 4%;
  }
}

