/* ==========================================
   CSS VARIABLE DEFINITIONS & RESET (REFRESHED)
   ========================================== */
:root {
  --primary-color: #0d9488; /* Fresh Teal */
  --primary-hover: #0f766e;
  --secondary-color: #f59e0b; /* Sunset Orange */
  --secondary-hover: #d97706;
  
  --dark-bg: #0f172a; /* Deep Slate Blue */
  --dark-surface: #1e293b;
  --light-bg: #f8fafc; /* Crisp Cool White */
  --light-surface: #ffffff;
  
  --text-primary: #0f172a;
  --text-muted: #475569;
  --text-light: #f1f5f9;
  --text-gray: #94a3b8;
  
  --border-color: #e2e8f0;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(13, 148, 136, 0.03);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* Dark Mode Variables Override */
body.dark-mode {
  --light-bg: #0f172a;
  --light-surface: #1e293b;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .main-header {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

body.dark-mode .navbar {
  background-color: var(--light-surface);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--light-surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: rotate(15deg) scale(1.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* ==========================================
   UTILITY & LAYOUT REUSABLES
   ========================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: rgba(13, 148, 136, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
}

/* BUTTONS (GLOW & TRANSITION) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--dark-bg);
  border-color: #fff;
  transform: translateY(-3px);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-block {
  width: 100%;
}

/* ==========================================
   TOP BAR & HEADER (GLASSMORPHIC)
   ========================================== */
.top-bar {
  background-color: var(--dark-bg);
  color: var(--text-gray);
  padding: 0.6rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 2rem;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-left a:hover {
  color: #fff;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.top-bar-right > a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.social-links a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
}

/* MAIN HEADER */
.main-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  background: rgba(13, 148, 136, 0.08);
  padding: 0.35rem;
  border-radius: 10px;
}

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

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 700;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--light-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 0;
  min-width: 170px;
  display: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background-color: rgba(13, 148, 136, 0.05);
  color: var(--primary-color);
  padding-left: 1.8rem;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    min-width: auto;
    text-align: center;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-header .btn-donate {
  padding: 0.5rem 1.4rem;
  font-size: 0.85rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.2rem;
}

/* ==========================================
   HERO SLIDER (REDECORATED)
   ========================================== */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

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

.slide-content {
  max-width: 750px;
  color: #fff;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.text-gradient-orange {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.text-gradient-teal {
  background: linear-gradient(90deg, #2dd4bf, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.slide-tagline {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  margin-bottom: 1.8rem;
}

.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slide-desc {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.slide-btns {
  display: flex;
  gap: 1.2rem;
}

/* Slider arrows & controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
  left: 4%;
}

.slider-arrow.next {
  right: 4%;
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 10px;
}

/* ==========================================
   STATISTICS COUNTER (GLASSMORPHIC BOX)
   ========================================== */
.stats-section {
  padding: 4.5rem 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  position: relative;
  margin-top: -60px;
  z-index: 20;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

body.dark-mode .stats-section {
  background-color: rgba(30, 41, 59, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border-color);
}

.stat-icon {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  background: rgba(13, 148, 136, 0.05);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.stat-card:hover .stat-icon {
  transform: translateY(-5px) scale(1.05);
  background: var(--primary-color);
  color: #fff;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* ==========================================
   MISSION & FEATURES (REFINED GRID)
   ========================================== */
.mission-section {
  padding: 10rem 0 7rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.mission-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.ceo-signature {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.8rem;
}

.ceo-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.ceo-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.feature-card {
  background-color: var(--light-surface);
  padding: 3rem 2.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

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

.feature-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: rgba(13, 148, 136, 0.05);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-color);
  color: #fff;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   URGENT CAUSES (MODERN CARDS)
   ========================================== */
.causes-section {
  padding: 8rem 0;
  background-color: var(--light-surface);
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

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

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

.cause-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.cause-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
}

.cause-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cause-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.cause-title a:hover {
  color: var(--primary-color);
}

.cause-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.progress-container {
  margin-top: auto;
  margin-bottom: 2rem;
}

.progress-bar-wrapper {
  background-color: var(--border-color);
  height: 8px;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color), #06b6d4);
  height: 100%;
  width: 0;
  border-radius: 50px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.progress-stats strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================
   CTA BANNER (PARALLAX EFFECT)
   ========================================== */
.cta-banner {
  padding: 9rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  position: relative;
}

.cta-content {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.8rem;
}

.cta-desc {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ==========================================
   TESTIMONIALS (CARD SHAPE)
   ========================================== */
.testimonials-section {
  padding: 8rem 0;
}

.testimonial-slider {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

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

.testimonial-quote {
  background: var(--light-surface);
  padding: 3.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
  position: relative;
}

.testimonial-quote i {
  font-size: 3rem;
  color: rgba(13, 148, 136, 0.1);
  position: absolute;
  top: 2rem;
  left: 2.5rem;
}

.testimonial-quote p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  text-align: left;
}

.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

.author-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

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

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

/* ==========================================
   PHOTO ARCHIVES (GRID EFFECTS)
   ========================================== */
.gallery-section {
  padding: 8rem 0;
  background-color: var(--light-surface);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50px;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

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

.gallery-item {
  height: 290px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 148, 136, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay span {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* ==========================================
   LATEST NEWS / BLOG
   ========================================== */
.news-section {
  padding: 8rem 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}

.news-card {
  background: var(--light-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.news-img {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.news-date {
  position: absolute;
  bottom: -15px;
  left: 1.8rem;
  background: var(--secondary-color);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

.news-content {
  padding: 2.5rem 2rem 2rem;
}

.news-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-weight: 500;
}

.news-meta i {
  color: var(--primary-color);
  margin-right: 0.4rem;
}

.news-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.news-title a:hover {
  color: var(--primary-color);
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  color: var(--primary-hover);
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* ==========================================
   NEWSLETTER (TEAL GRADIATION)
   ========================================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-color), #0f766e);
  color: #fff;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  transform: translate(100px, -100px);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.newsletter-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.newsletter-text p {
  opacity: 0.9;
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 1.1rem 1.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
  background: #fff;
  color: var(--dark-bg);
  border-color: #fff;
}

.newsletter-form .btn {
  background: var(--dark-bg);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.newsletter-form .btn:hover {
  background: #000;
  transform: translateY(-2px);
}

/* ==========================================
   FOOTER (ELEGANT LAYOUT)
   ========================================== */
.main-footer {
  background-color: var(--dark-bg);
  color: var(--text-gray);
  padding: 7rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 10px;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-contact-info i {
  color: var(--primary-color);
  margin-top: 0.25rem;
}

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

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.back-to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

.back-to-top:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* ==========================================
   DONATION MODAL (POPUP SYSTEM)
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--light-surface);
  width: 90%;
  max-width: 520px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem;
  position: relative;
  transform: scale(0.92);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

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

.modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.modal-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}

.donation-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.preset-btn {
  flex: 1;
  min-width: 75px;
  padding: 0.75rem 0;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.preset-btn.active, .preset-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

#custom-amount,
#custom-amount-page {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-top: 0.6rem;
  font-size: 1rem;
  background: var(--light-bg);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  background: var(--light-bg);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
#custom-amount:focus,
#custom-amount-page:focus {
  border-color: var(--primary-color);
  background: var(--light-surface);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.4rem;
  }
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .causes-grid, .gallery-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .stats-section {
    margin-top: 0;
    padding: 3rem;
  }
  .stat-card::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .main-header {
    padding: 1.1rem 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-surface);
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .slide-title {
    font-size: 2.8rem;
  }
  .slider-arrow {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input {
    border-radius: 6px;
  }
  .newsletter-form .btn {
    border-radius: 6px;
    padding: 1.1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .causes-grid, .gallery-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .gallery-filter {
    flex-wrap: wrap;
  }
  .slide-title {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}