/* ============================================
   OEVI — Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  /* Colors */
  --primary: #0F5132;
  --primary-light: #198754;
  --primary-dark: #0a3622;
  --secondary: #1E3A8A;
  --secondary-light: #3B82F6;
  --accent: #F59E0B;
  --accent-light: #FBBF24;
  --accent-dark: #D97706;
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --black: #0A0A0A;
  
  /* Semantic */
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0F5132 0%, #198754 100%);
  --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --gradient-hero: linear-gradient(135deg, rgba(15,81,50,0.9) 0%, rgba(30,58,138,0.85) 100%);
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1280px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 50%;
  
  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.4s var(--ease);
  --transition-fast: all 0.2s var(--ease);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-white { color: var(--white) !important; }
.text-center { text-align: center; }

/* Section Styles */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 50px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.bg-light {
  background: var(--gray-50);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(15,81,50,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15,81,50,0.4);
  color: var(--white);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--gray-900);
  box-shadow: 0 8px 24px rgba(245,158,11,0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(245,158,11,0.4);
  color: var(--gray-900);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-donate {
  background: var(--gradient-accent);
  color: var(--gray-900) !important;
  padding: 12px 28px !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(245,158,11,0.3);
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245,158,11,0.5);
  color: var(--gray-900) !important;
}

.btn i {
  transition: transform 0.3s var(--ease);
}

.btn:hover i {
  transform: translateX(4px);
}

/* Link Arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.link-arrow i {
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover i {
  transform: translateX(6px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  padding: 12px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: var(--transition);
}

.logo span {
  color: var(--accent);
}

.site-header.scrolled .logo {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  position: relative;
  transition: var(--transition);
}

.site-header.scrolled .nav-link {
  color: var(--gray-700);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover {
  color: var(--accent);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  padding: 12px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  border-radius: 50%;
  transition: var(--transition);
}

.site-header.scrolled .search-btn {
  color: var(--gray-700);
}

.search-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.site-header.scrolled .nav-toggle span {
  background: var(--gray-900);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero .swiper {
  height: 100%;
}

.hero-slide {
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurns 12s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-2%, -2%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Pagination & Scrollbar */
.hero-pagination {
  position: absolute;
  right: 40px !important;
  top: 50% !important;
  left: auto !important;
  width: auto !important;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
}

.hero-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  transition: var(--transition);
  border-radius: 6px;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
  height: 32px;
}

.hero-scrollbar {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 150px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  z-index: 3;
}

.hero-scrollbar-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.3s ease;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--white), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background: var(--accent);
  animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
  }
}

/* MVV Section */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mvv-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mvv-card:hover::before {
  transform: scaleX(1);
}

.mvv-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.mvv-card:hover .mvv-icon {
  transform: rotate(-8deg) scale(1.05);
  background: var(--gradient-accent);
  color: var(--gray-900);
}

.mvv-card h3 {
  margin-bottom: 1rem;
}

.mvv-card p {
  color: var(--gray-500);
  line-height: 1.7;
}

/* Programs Section */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.program-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.program-card:hover .program-image img {
  transform: scale(1.1);
}

.program-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: var(--transition);
}

.program-card:hover .program-overlay {
  opacity: 1;
}

.program-icon {
  position: absolute;
  bottom: -30px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gray-900);
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 4px solid var(--white);
  transition: var(--transition);
}

.program-card:hover .program-icon {
  bottom: 24px;
  transform: rotate(-8deg) scale(1.1);
}

.program-content {
  padding: 3rem 1.5rem 1.5rem;
}

.program-content h3 {
  margin-bottom: 0.75rem;
}

.program-content p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.program-features {
  margin-bottom: 1.5rem;
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.program-features i {
  color: var(--success);
}

/* Stats Section */
.section-stats {
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,81,50,0.95);
}

.section-stats .container {
  position: relative;
  z-index: 2;
}

.section-stats .section-tag {
  color: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--accent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient-accent);
  color: var(--gray-900);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-content {
  padding: 1.75rem;
}

.project-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.project-content p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.project-meta i {
  margin-right: 4px;
  color: var(--accent);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-link i {
  transition: transform 0.3s var(--ease);
}

.btn-link:hover i {
  transform: translateX(6px);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,81,50,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Testimonials */
.testimonialsSwiper {
  padding-bottom: 60px !important;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--gray-100);
  margin: 1rem;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.swiper-pagination-bullet {
  background: var(--gray-300) !important;
  width: 10px !important;
  height: 10px !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* CTA Section */
.section-cta {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
  padding: 120px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,81,50,0.95);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--accent);
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 4px;
}

.newsletter-form {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 4px;
  margin-top: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 20px;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form button {
  background: var(--gradient-accent);
  color: var(--gray-900);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: scale(1.05);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gradient-accent);
  color: var(--gray-900);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--gradient-accent);
  color: var(--gray-900);
}

/* Reading Progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 1100;
  width: 0;
  transition: width 0.1s linear;
}
/* ============================================
   PAGE HERO (All Inner Pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
  color: var(--white);
  background: var(--gradient-hero);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=1920&q=80'));
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,81,50,0.92) 0%, rgba(30,58,138,0.88) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-hero h1 span {
  color: var(--accent);
}

.page-hero .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.breadcrumb-custom a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.breadcrumb-custom a:hover {
  color: var(--accent);
}

.breadcrumb-custom i {
  font-size: 0.7rem;
}

.breadcrumb-custom span {
  color: var(--accent);
}

/* ============================================
   GRID SYSTEM (Bootstrap-like utilities)
   ============================================ */
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.row.g-3 { gap: 1rem; }
.row.g-4 { gap: 1.5rem; }
.row.g-5 { gap: 2.5rem; }

[class*="col-"] {
  grid-column: span 12;
}

.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 12; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.p-0 { padding: 0; }
.d-none { display: none; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.w-100 { width: 100%; }

.rounded-4 { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.list-unstyled { list-style: none; padding: 0; margin: 0; }

/* ============================================
   INNER PAGE COMPONENTS
   ============================================ */

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  top: 0;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 400px;
  margin: 0 2rem;
  position: relative;
  transition: var(--transition);
  border-left: 4px solid var(--accent);
}

.timeline-item:nth-child(even) .timeline-content {
  border-left: none;
  border-right: 4px solid var(--accent);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-year {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--gray-900);
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.3rem;
}

.timeline-content p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent);
  top: 2rem;
  z-index: 2;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-image {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  transition: bottom 0.4s var(--ease);
}

.team-card:hover .team-social {
  bottom: 0;
}

.team-social a {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--accent);
  color: var(--gray-900);
  transform: translateY(-3px);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.team-card.expanded .team-bio {
  max-height: 200px;
}

.team-toggle {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.team-toggle i {
  transition: transform 0.3s var(--ease);
}

.team-card.expanded .team-toggle i {
  transform: rotate(180deg);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.value-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--gray-900);
}

.value-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-card p {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* Awards Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.award-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.award-card:hover {
  transform: translateY(-8px) rotate(-2deg);
  box-shadow: var(--shadow-lg);
}

.award-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gray-900);
  font-size: 2.2rem;
  box-shadow: 0 10px 30px rgba(245,158,11,0.3);
}

.award-year {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.award-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.award-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* Filter Buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--white);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(15,81,50,0.3);
}

/* Program Detail */
.program-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.program-detail:hover {
  box-shadow: var(--shadow-lg);
}

.program-detail-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
}

.program-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.program-detail:hover .program-detail-hero img {
  transform: scale(1.05);
}

.program-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.program-detail-icon {
  position: absolute;
  bottom: -40px;
  left: 40px;
  width: 90px;
  height: 90px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--gray-900);
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  z-index: 2;
}

.program-detail-body {
  padding: 5rem 3rem 3rem;
}

.program-detail-body h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.program-detail-body .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Impact Card */
.impact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.impact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.impact-card h4 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.impact-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.impact-stat {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

/* Article Card */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient-accent);
  color: var(--gray-900);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.article-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-body h4 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--gray-900);
}

.article-body p {
  color: var(--gray-500);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.article-author span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* Gallery Masonry */
.gallery-masonry {
  columns: 4;
  column-gap: 1rem;
}

.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-masonry .gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.8s var(--ease);
}

.gallery-masonry .gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-masonry .gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  background: rgba(15,81,50,0.6);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-masonry .gallery-item:hover::after {
  opacity: 1;
}

/* Video Card */
.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.video-card:hover img {
  transform: scale(1.08);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-card:hover .video-play {
  background: var(--accent);
  color: var(--gray-900);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
}

.video-title h5 {
  color: var(--white);
  margin: 0;
}

/* Contact Card */
.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.contact-card-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
  background: var(--gradient-accent);
  color: var(--gray-900);
  transform: rotate(-8deg);
}

.contact-card h5 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.contact-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
}

/* FAQ Accordion */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  transition: var(--transition);
  font-size: 1rem;
}

.faq-question i {
  transition: transform 0.3s var(--ease);
  color: var(--accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  padding: 0 1.5rem;
  color: var(--gray-500);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* Form Floating */
.form-floating-custom {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-floating-custom input,
.form-floating-custom textarea,
.form-floating-custom select {
  width: 100%;
  padding: 18px 20px 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--white);
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}

.form-floating-custom label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--gray-500);
  font-size: 1rem;
  pointer-events: none;
  transition: var(--transition);
  background: var(--white);
  padding: 0 4px;
}

.form-floating-custom input:focus,
.form-floating-custom textarea:focus,
.form-floating-custom select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15,81,50,0.08);
}

.form-floating-custom input:focus + label,
.form-floating-custom input:not(:placeholder-shown) + label,
.form-floating-custom textarea:focus + label,
.form-floating-custom textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

/* Map Wrapper */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Donation Amounts */
.donation-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.donation-amount {
  padding: 1.5rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.donation-amount:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.donation-amount.selected {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(15,81,50,0.3);
}

/* Resource Card */
.resource-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.resource-icon {
  width: 56px;
  height: 56px;
  background: rgba(245,158,11,0.12);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.resource-card h5 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
  color: var(--gray-900);
}

.resource-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.resource-download {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-download:hover {
  color: var(--accent);
  gap: 10px;
}

/* Stepper */
.stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-weight: 700;
  color: var(--gray-500);
  transition: var(--transition);
}

.step.active .step-circle {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(15,81,50,0.15);
}

.step.completed .step-circle {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}

.step-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

.step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

/* Progress Bar */
.progress-item {
  margin-bottom: 1.75rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-900);
}

.progress-bar-wrap {
  height: 10px;
  background: var(--gray-100);
  border-radius: 50px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50px;
  width: 0;
  transition: width 1.5s var(--ease);
}

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.pagination .page-link:hover {
  background: var(--gray-50);
  color: var(--primary);
  border-color: var(--primary);
}

.pagination .page-item.active .page-link {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.5;
  pointer-events: none;
}

/* Section Backgrounds */
.section-values {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.section-values .section-tag {
  color: var(--accent);
}

.section-values .section-title,
.section-values .section-subtitle {
  color: var(--white);
}

.timeline-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}
/* Add to style.css */
.btn-outline-danger {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
}
.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
}
.btn-outline-primary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* Make nav-actions responsive */
@media (max-width: 992px) {
    .nav-actions {
        flex-direction: column;
        width: 100%;
    }
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo .logo-img {
    height: 40px;
    width: auto;
    transition: 0.3s;
}
.logo:hover .logo-img {
    transform: scale(1.05);
}
.logo .logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #1a2a1a;
    letter-spacing: -0.5px;
    transition: 0.3s;
}
.logo .logo-text span {
    color: #2e7d32;
}
.logo:hover .logo-text {
    transform: scale(1.02);
}

/* Nav Actions - Better Balance */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.nav-actions .btn {
    padding: 8px 18px;
    font-size: 0.8rem;
    white-space: nowrap;
}
.nav-actions .btn-outline-primary {
    background: transparent;
    border: 2px solid #2e7d32;
    color: #2e7d32;
}
.nav-actions .btn-outline-primary:hover {
    background: #2e7d32;
    color: #fff;
    transform: translateY(-2px);
}
.nav-actions .btn-outline-danger {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
}
.nav-actions .btn-outline-danger:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}
.nav-actions .btn-primary {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff;
}
.nav-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(46,125,50,0.3);
}
.nav-actions .btn-donate {
    background: linear-gradient(135deg, #f57c00, #e65100);
    color: #fff;
}
.nav-actions .btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245,124,0,0.3);
}

/* Responsive Nav */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 24px 30px;
        gap: 16px;
        transform: translateX(100%);
        transition: 0.4s;
        z-index: 999;
        overflow-y: auto;
    }
    .nav-menu.open {
        transform: translateX(0);
    }
    .nav-toggle {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .logo .logo-img {
        height: 32px;
    }
    .logo .logo-text {
        font-size: 1.4rem;
    }
}
/* Add to static/assets/css/style.css */

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    width: 100%;
}

.toast {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.4s ease forwards;
    border-left: 4px solid #2e7d32;
    transform: translateX(120%);
    position: relative;
}

.toast.hide {
    animation: slideOutRight 0.4s ease forwards;
}

.toast-success { border-left-color: #2e7d32; }
.toast-error { border-left-color: #c62828; }
.toast-warning { border-left-color: #f57c00; }
.toast-info { border-left-color: #1565c0; }

.toast .toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.toast-success .toast-icon { background: #e8f5e9; color: #2e7d32; }
.toast-error .toast-icon { background: #ffebee; color: #c62828; }
.toast-warning .toast-icon { background: #fff3e0; color: #f57c00; }
.toast-info .toast-icon { background: #e3f2fd; color: #1565c0; }

.toast .toast-content { flex: 1; }
.toast .toast-content .toast-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a2a1a;
    margin-bottom: 2px;
}
.toast .toast-content .toast-message {
    font-size: 0.85rem;
    color: #4a5a4a;
    line-height: 1.5;
}

.toast .toast-close {
    background: none;
    border: none;
    color: #7a8a7a;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: 0.3s;
    flex-shrink: 0;
}
.toast .toast-close:hover {
    color: #1a2a1a;
    transform: rotate(90deg);
}

.toast .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #2e7d32;
    border-radius: 0 0 12px 12px;
    animation: progressBar 4s linear forwards;
}

.toast-error .toast-progress { background: #c62828; }
.toast-warning .toast-progress { background: #f57c00; }
.toast-info .toast-progress { background: #1565c0; }

@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

@keyframes progressBar {
    from { width: 100%; }
    to { width: 0%; }
}

@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: 100%;
    }
    .toast { padding: 14px 16px; }
}