/* ================================================================
   ISLAMIC CHARITY WEBSITE - PROFESSIONAL CSS
   Version: 2.0 Optimized
   Author: Islamic Society - Jabalia City
   ================================================================ */

/* ===== CSS VARIABLES (Unified Color System) ===== */
:root {
  /* Primary Colors */
  --primary: #456a2e;
  --primary-50: #f4f8f2;
  --primary-100: #e2edd8;
  --primary-200: #c5ddb4;
  --primary-300: #9fc486;
  --primary-400: #7aab5e;
  --primary-500: #456a2e;
  --primary-600: #3a5926;
  --primary-700: #2f471e;
  --primary-800: #263819;
  --primary-900: #202f15;

  /* Secondary Colors */
  --secondary: #bd8c30;
  --secondary-50: #fbf8f2;
  --secondary-100: #f5eedb;
  --secondary-200: #ebdcb0;
  --secondary-300: #dec180;
  --secondary-400: #ce9f50;
  --secondary-500: #bd8c30;
  --secondary-600: #b8862a;
  --secondary-700: #9a6e1f;
  --secondary-800: #7d5919;
  --secondary-900: #664914;

  /* Accent Colors */
  --accent: #5fa3ff;
  --accent-light: #7eb5ff;
  --accent-dark: #4088e6;

  /* Neutral Colors */
  --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;
  --gray-950: #030712;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Text Colors */
  --text-primary: #1b2a1a;
  --text-secondary: #4c5a4c;
  --text-muted: #6b7280;

  /* Surface Colors */
  --surface: var(--white);
  --surface-elevated: var(--gray-50);
  --surface-dark: var(--gray-900);

  /* Border Colors */
  --border: var(--gray-200);
  --border-light: var(--gray-100);

  /* Font Family */
  --font-family: 'Cairo', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-600) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);

  /* Performance Optimizations */
  --gpu-acceleration: translateZ(0);
  --smooth-rendering: optimizeLegibility;
}

/* Dark Mode Variables */
[data-theme="dark"],
html.dark {
  --white: #111827;
  --surface: var(--gray-900);
  --surface-elevated: var(--gray-800);
  --text-primary: var(--gray-100);
  --text-secondary: var(--gray-300);
  --text-muted: var(--gray-400);
  --border: var(--gray-700);
  --border-light: var(--gray-800);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

/* Navbar specific dark mode */
[data-theme="dark"] .unified-nav,
html.dark .unified-nav {
  background: #111827 !important;
  border-bottom-color: #374151 !important;
}

[data-theme="dark"] .nav-main,
html.dark .nav-main {
  background: #111827 !important;
  border-bottom-color: #374151 !important;
}

[data-theme="dark"] .nav-link,
html.dark .nav-link {
  color: #e5e7eb !important;
}

[data-theme="dark"] .nav-link:hover,
html.dark .nav-link:hover {
  color: #5a9438 !important;
}

[data-theme="dark"] .dropdown-menu,
html.dark .dropdown-menu {
  background: #1f2937 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .dropdown-item,
html.dark .dropdown-item {
  color: #e5e7eb !important;
}

[data-theme="dark"] .dropdown-item:hover,
html.dark .dropdown-item:hover {
  background: #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .mobile-nav,
[data-theme="dark"] #mobileNav,
html.dark .mobile-nav,
html.dark #mobileNav {
  background: #111827 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .mobile-toggle,
html.dark .mobile-toggle {
  background: #1f2937 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .mobile-toggle span,
html.dark .mobile-toggle span {
  background: #e5e7eb !important;
}

[data-theme="dark"] .mobile-nav-link,
[data-theme="dark"] .mobile-dropdown-toggle,
html.dark .mobile-nav-link,
html.dark .mobile-dropdown-toggle {
  color: #e5e7eb !important;
}

[data-theme="dark"] .mobile-dropdown-content a,
html.dark .mobile-dropdown-content a {
  color: #9ca3af !important;
}

[data-theme="dark"] .navbar-brand,
html.dark .navbar-brand {
  color: #ffffff !important;
}

/* ===== KEYFRAME ANIMATIONS (Consolidated) ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* ===== BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  direction: rtl;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.7;
  margin: 0;
  min-height: 100%;
  accent-color: var(--primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  direction: rtl;
  text-align: right;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ===== UTILITY CLASSES ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.container-narrow {
  max-width: 980px;
  margin: 0 auto;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Apply hardware acceleration and smooth rendering to interactive elements */
[class*="card"],
[class*="btn"],
[class*="-item"],
.nav-link,
.dropdown-item,
.feature-icon,
.stat-icon {
  will-change: transform;
  backface-visibility: hidden;
  transform: var(--gpu-acceleration);
}

/* Optimize hover transitions */
[class*="card"]:hover,
[class*="btn"]:hover,
[class*="-item"]:hover {
  will-change: transform, box-shadow;
}

/* Animation Classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-bounce {
  animation: bounceIn 0.6s ease;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.7s ease forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.7s ease forwards;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.6s ease forwards;
}

.bounce-in {
  animation: bounceIn 0.6s ease;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: none;
}

/* ===== LOADING SCREEN ===== */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease;
}

html.dark .loading,
html[data-theme="dark"] .loading {
  background: linear-gradient(135deg, #030712 0%, #111827 50%, #030712 100%);
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

/* Logo Container */
.loading-logo-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.loading-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(34, 139, 87, 0.2));
}

/* Enhanced Loader */
.loader-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 1rem 0;
}

.loader {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 4px solid rgba(34, 139, 87, 0.1);
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  box-shadow: 0 0 20px rgba(34, 139, 87, 0.2);
}

html.dark .loader,
html[data-theme="dark"] .loader {
  border: 4px solid rgba(90, 148, 56, 0.1);
  border-top-color: #5a9438;
  border-right-color: #5a9438;
  box-shadow: 0 0 20px rgba(90, 148, 56, 0.3);
}

.loader-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-bottom-color: var(--primary);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin-reverse 1s linear infinite;
  opacity: 0.6;
}

html.dark .loader-inner,
html[data-theme="dark"] .loader-inner {
  border-bottom-color: #5a9438;
  border-left-color: #5a9438;
}

/* Text Content */
.loading-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.loading-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

html.dark .loading-title,
html[data-theme="dark"] .loading-title {
  color: #ffffff;
}

.loading-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

html.dark .loading-subtitle,
html[data-theme="dark"] .loading-subtitle {
  color: #5a9438;
}

/* Loading Dots Animation */
.loading-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite;
}

html.dark .loading-dots span,
html[data-theme="dark"] .loading-dots span {
  background: #5a9438;
}

.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes textGlow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(34, 139, 87, 0.2);
  }

  50% {
    text-shadow: 0 0 20px rgba(34, 139, 87, 0.4);
  }
}

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

  100% {
    background-position: 200% center;
  }
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .loading-logo-container {
    width: 90px;
    height: 90px;
  }

  .loader-wrapper {
    width: 60px;
    height: 60px;
  }

  .loader {
    width: 60px;
    height: 60px;
    border-width: 3px;
  }

  .loader-inner {
    width: 45px;
    height: 45px;
    border-width: 2px;
  }

  .loading-title {
    font-size: 1.25rem;
  }

  .loading-subtitle {
    font-size: 1rem;
  }

  .loading-dots span {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .loading-logo-container {
    width: 70px;
    height: 70px;
  }

  .loading-title {
    font-size: 1.125rem;
  }

  .loading-subtitle {
    font-size: 0.9375rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  .loading-content,
  .loading-logo-container,
  .loading-logo,
  .loader,
  .loader-inner,
  .loading-title,
  .loading-subtitle,
  .loading-dots span {
    animation: none;
  }

  .loading-subtitle {
    -webkit-text-fill-color: var(--primary);
  }
}

/* ===== EMERGENCY BANNER ===== */
.emergency-banner {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.emergency-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.05) 10px,
      rgba(255, 255, 255, 0.05) 20px);
  animation: shimmer 20s linear infinite;
}

.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  margin-inline-end: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: all var(--transition-base);
}

.btn-emergency:hover {
  background: var(--white);
  color: #dc2626;
  transform: scale(1.05);
}

/* ===== ENHANCED TOPBAR SECTION ===== */
.topbar-section {
  background: linear-gradient(135deg, #45722d 0%, #325219 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: visible;
  z-index: 1001;
}

.topbar-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

/* Dark mode topbar */
[data-theme="dark"] .topbar-section,
html.dark .topbar-section {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* Topbar main flex - allow wrap on larger screens */
.topbar-main-flex {
  flex-wrap: wrap;
}

/* Topbar sections - default flex-shrink-0 */
.topbar-contact-section,
.topbar-actions-section {
  flex-shrink: 0;
}

/* Enhanced Contact Links */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #ffffff !important;
  padding: 0.375rem 0.875rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-link .icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contact-link:hover .icon-container {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.contact-link i {
  font-size: 0.75rem;
}

/* Contact link variants */
.contact-link.phone:hover .icon-container {
  background: rgba(34, 197, 94, 0.3);
}

.contact-link.email:hover .icon-container {
  background: rgba(59, 130, 246, 0.3);
}

.contact-link.whatsapp:hover .icon-container {
  background: rgba(37, 211, 102, 0.3);
}

/* Professional Separator */
.professional-separator {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Enhanced Language Selector */
.language-selector {
  position: relative;
}

.language-selector .lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem 0.875rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  white-space: nowrap;
}

.language-selector .lang-btn:hover,
.language-selector .lang-btn:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-selector .lang-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
}

.language-selector .lang-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 0.25rem;
}

.language-selector .lang-btn[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  overflow: hidden;
}

.language-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: 1;
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  cursor: pointer;
}

.lang-option .lang-flag {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.lang-option .lang-name {
  flex: 1;
  font-size: 0.875rem;
}

.lang-option .lang-check {
  font-size: 0.75rem;
  color: var(--primary);
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.lang-option.active .lang-check {
  opacity: 1;
  transform: scale(1);
}

.lang-option.active {
  background: linear-gradient(135deg, rgba(69, 114, 45, 0.1) 0%, rgba(203, 157, 65, 0.05) 100%);
  color: var(--primary);
  font-weight: 600;
}

.lang-option:hover:not(.active) {
  background: linear-gradient(135deg, rgba(69, 114, 45, 0.08) 0%, rgba(203, 157, 65, 0.03) 100%);
  color: var(--primary);
  transform: translateX(-2px);
}

.lang-option:active {
  transform: translateX(0) scale(0.98);
}

/* Dark mode language dropdown */
[data-theme="dark"] .language-dropdown,
html.dark .language-dropdown {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .language-dropdown::before,
html.dark .language-dropdown::before {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .lang-option,
html.dark .lang-option {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .lang-option.active,
html.dark .lang-option.active {
  background: rgba(69, 114, 45, 0.25);
  color: #ffffff;
}

[data-theme="dark"] .lang-option:hover:not(.active),
html.dark .lang-option:hover:not(.active) {
  background: rgba(69, 114, 45, 0.15);
  color: rgba(255, 255, 255, 1);
}

[data-theme="dark"] .lang-option .lang-check,
html.dark .lang-option .lang-check {
  color: #4ade80;
}

/* Enhanced Theme Toggle */
.theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #cb9d41 0%, #45722d 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.theme-toggle:hover::before {
  opacity: 1;
}

.theme-toggle i {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.theme-toggle:hover i {
  transform: rotate(360deg);
}

/* Enhanced Small Donate Button */
.btn-donate-small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #cb9d41 0%, #b8862a 100%);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(203, 157, 65, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-donate-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-donate-small:hover::before {
  left: 100%;
}

.btn-donate-small:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(203, 157, 65, 0.4);
  color: #ffffff;
}

.btn-donate-small i {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.1);
  }
}

/* Enhanced Live Indicator */
.live-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
}

.live-indicator::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: #22c55e;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ===== ENHANCED UNIFIED NAVIGATION ===== */
.unified-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  direction: rtl;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.unified-nav.is-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.unified-nav.is-scrolled .nav-main {
  padding: 0.5rem 0;
}

.nav-main {
  background: transparent;
  padding: 0.75rem 0;
  transition: padding 0.3s ease;
}

/* Dark mode navigation */
[data-theme="dark"] .unified-nav,
html.dark .unified-nav {
  background: rgba(17, 24, 39, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .unified-nav.is-scrolled,
html.dark .unified-nav.is-scrolled {
  background: rgba(17, 24, 39, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-main,
html.dark .nav-main {
  background: transparent;
}

/* Dark mode nav links */
[data-theme="dark"] .nav-link,
html.dark .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .nav-link:hover,
html.dark .nav-link:hover {
  color: var(--primary-light);
  background: rgba(69, 114, 45, 0.15);
}

[data-theme="dark"] .nav-link.active,
html.dark .nav-link.active {
  color: #fff;
}

/* Dark mode brand */
[data-theme="dark"] .brand-text,
html.dark .brand-text {
  color: var(--primary-light);
}

[data-theme="dark"] .brand-subtitle,
html.dark .brand-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

/* Dark mode mobile toggle */
[data-theme="dark"] .mobile-toggle,
html.dark .mobile-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-toggle span,
html.dark .mobile-toggle span {
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .mobile-toggle:hover,
html.dark .mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

/* Dark mode mobile nav */
[data-theme="dark"] #mobileNav,
html.dark #mobileNav {
  background: rgba(17, 24, 39, 0.98);
  border-top-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mobile-nav-link,
[data-theme="dark"] .mobile-dropdown-toggle,
html.dark .mobile-nav-link,
html.dark .mobile-dropdown-toggle {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-dropdown-toggle:hover,
html.dark .mobile-nav-link:hover,
html.dark .mobile-dropdown-toggle:hover {
  background: rgba(69, 114, 45, 0.15);
  color: var(--primary-light);
}

[data-theme="dark"] .mobile-dropdown-content,
html.dark .mobile-dropdown-content {
  background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .mobile-dropdown-content a,
html.dark .mobile-dropdown-content a {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .mobile-dropdown-content a:hover,
html.dark .mobile-dropdown-content a:hover {
  background: rgba(69, 114, 45, 0.2);
  color: var(--primary-light);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

/* Enhanced Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
}

.navbar-brand:hover {
  color: var(--primary);
}

.navbar-brand:hover .brand-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 12px 35px rgba(69, 114, 45, 0.35);
}

.navbar-brand:hover .brand-icon::after {
  opacity: 1;
}

.brand-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(69, 114, 45, 0.1);
}

.brand-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navbar-brand:hover .brand-icon::before {
  opacity: 1;
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 40%,
      rgba(255, 255, 255, 0.8) 50%,
      transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  animation: brandShine 3s ease-in-out infinite;
}

@keyframes brandShine {

  0%,
  100% {
    transform: translateX(-100%) rotate(45deg);
  }

  50% {
    transform: translateX(100%) rotate(45deg);
  }
}

.brand-icon img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-icon img {
  transform: scale(1.05);
}

/* Brand Text Container */
.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.navbar-brand:hover .brand-text {
  color: var(--primary-dark);
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.navbar-brand:hover .brand-subtitle {
  color: var(--secondary);
  opacity: 1;
}

/* Scrolled navbar brand adjustments */
.unified-nav.scrolled .brand-icon {
  width: 44px;
  height: 44px;
}

.unified-nav.scrolled .brand-text {
  font-size: 1rem;
}

.unified-nav.scrolled .brand-subtitle {
  font-size: 0.65rem;
}

/* Dark mode brand */
[data-theme="dark"] .brand-icon,
html.dark .brand-icon {
  background: linear-gradient(145deg, #1f2937, #374151);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .brand-subtitle,
html.dark .brand-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* Enhanced Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.nav-link span,
.nav-link i {
  position: relative;
  z-index: 1;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(69, 114, 45, 0.08);
  transform: translateY(-2px);
}

.nav-link:hover i {
  transform: scale(1.15);
}

.nav-link.active {
  color: #fff;
  background: transparent;
}

.nav-link.active::before {
  opacity: 1;
}

.nav-link.active:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(69, 114, 45, 0.3);
}

/* Nav link underline effect for non-active */
.nav-link:not(.active)::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:not(.active):hover::after {
  width: calc(100% - 2rem);
}

.nav-link i {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.nav-link:hover i,
.nav-link.active i {
  opacity: 1;
}

/* Enhanced Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  background: var(--white);
  min-width: 260px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 10px 20px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.98);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  margin: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: -1;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle i:last-child {
  font-size: 0.65rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 0.25rem;
}

.dropdown:hover .dropdown-toggle i:last-child {
  transform: rotate(180deg);
}

/* Enhanced Dropdown Items */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: height 0.25s ease;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(69, 114, 45, 0.08) 0%, rgba(203, 157, 65, 0.05) 100%);
  color: var(--primary);
  padding-right: 1.25rem;
}

.dropdown-item:hover::before {
  height: 60%;
}

.dropdown-item:hover i {
  transform: scale(1.2);
  color: var(--primary);
}

.dropdown-item i {
  width: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

/* Dropdown item separator */
.dropdown-menu li+li {
  margin-top: 0.25rem;
}

/* Dark mode dropdown */
[data-theme="dark"] .dropdown-menu,
html.dark .dropdown-menu {
  background: rgba(31, 41, 55, 0.98);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .dropdown-menu::before,
html.dark .dropdown-menu::before {
  background: rgba(31, 41, 55, 0.98);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dropdown-item,
html.dark .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .dropdown-item:hover,
html.dark .dropdown-item:hover {
  background: rgba(69, 114, 45, 0.2);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.mobile-toggle:hover {
  border-color: var(--primary);
}

.mobile-toggle:hover span {
  background: var(--primary);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 1rem 0;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu>li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-menu>li:last-child {
  border-bottom: none;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: all var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.mobile-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-dropdown-toggle:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.mobile-dropdown-content {
  padding: 0.5rem 0 0.5rem 2rem;
  background: var(--gray-50);
}

.mobile-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.mobile-dropdown-content a:hover {
  color: var(--primary);
  background: var(--white);
}

/* ===== HERO SECTION WITH SWIPER - Enhanced ===== */
.hero-section {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}

/* Hero Swiper Container */
.hero-swiper {
  width: 100%;
  height: 85vh;
  min-height: 600px;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide Background with enhanced zoom */
.slide-bg {
  position: absolute;
  inset: -10%;
  z-index: 1;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 12s ease-out;
  filter: brightness(0.9);
}

.swiper-slide-active .slide-bg {
  transform: scale(1.15);
}

/* Enhanced Slide Overlay with multiple layers */
.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%),
    radial-gradient(ellipse at top right, rgba(69, 114, 45, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(203, 157, 65, 0.1) 0%, transparent 50%);
}

/* Decorative elements */
.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-decoration::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(69, 114, 45, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 15s ease-in-out infinite;
}

.hero-decoration::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(203, 157, 65, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 12s ease-in-out infinite reverse;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

/* Animated grid pattern */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Slide Content */
.slide-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
}

.slide-content .container {
  width: 100%;
  max-width: 1280px;
  padding: 0 3rem;
  margin: 0 auto;
}

/* Hero Grid Layout */
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  text-align: right;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 240px;
}

/* Enhanced Slide Badge */
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: badgeFadeIn 0.8s ease-out 0.2s both;
  position: relative;
  overflow: hidden;
}

.slide-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

.slide-badge i {
  font-size: 1rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.slide-badge-urgent {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.4) 0%, rgba(185, 28, 28, 0.3) 100%);
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.2);
}

.slide-badge-urgent i {
  animation: urgentPulse 1s ease-in-out infinite;
}

@keyframes urgentPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
    color: #fca5a5;
  }
}

.slide-badge-blue {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.4) 0%, rgba(7, 89, 133, 0.3) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 32px rgba(3, 105, 161, 0.2);
}

.slide-badge-gold {
  background: linear-gradient(135deg, rgba(202, 138, 4, 0.4) 0%, rgba(161, 98, 7, 0.3) 100%);
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 8px 32px rgba(202, 138, 4, 0.2);
}

/* Enhanced Slide Title */
.slide-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  animation: titleSlideIn 0.8s ease-out 0.4s both;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.slide-title span {
  display: block;
  margin-top: 0.375rem;
}

.slide-title .text-secondary-300 {
  color: #ddb360;
  text-shadow: 0 0 40px rgba(203, 157, 65, 0.4);
}

.slide-title .text-yellow-300 {
  color: #fcd34d;
  text-shadow: 0 0 40px rgba(252, 211, 77, 0.4);
}

.slide-title .text-yellow-200 {
  color: #fef08a;
  text-shadow: 0 0 40px rgba(254, 240, 138, 0.3);
}

.slide-title .text-cyan-300 {
  color: #67e8f9;
  text-shadow: 0 0 40px rgba(103, 232, 249, 0.4);
}

/* Enhanced Slide Description */
.slide-description {
  font-size: 1.125rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  animation: descFadeIn 0.8s ease-out 0.6s both;
  max-width: 540px;
}

@keyframes descFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Enhanced Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: buttonsFadeIn 0.8s ease-out 0.8s both;
}

@keyframes buttonsFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero i {
  transition: transform 0.3s ease;
}

.btn-hero:hover i {
  transform: scale(1.2);
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(69, 114, 45, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-hero-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(69, 114, 45, 0.5);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-hero-urgent {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: urgentButtonPulse 2s ease-in-out infinite;
}

@keyframes urgentButtonPulse {

  0%,
  100% {
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
  }

  50% {
    box-shadow: 0 8px 40px rgba(220, 38, 38, 0.6);
  }
}

.btn-hero-urgent:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5);
}

.btn-hero-blue {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-hero-blue:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.btn-hero-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-hero-orphan {
  background: linear-gradient(135deg, var(--primary-500, #456a2e) 0%, var(--secondary-600, #b8862a) 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(69, 106, 46, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  animation: orphanButtonGlow 2.5s ease-in-out infinite;
}

.btn-hero-orphan::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transform: rotate(45deg);
  animation: orphanShine 3s ease-in-out infinite;
}

@keyframes orphanShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  50%,
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes orphanButtonGlow {

  0%,
  100% {
    box-shadow: 0 8px 30px rgba(69, 106, 46, 0.5),
      0 0 20px rgba(189, 140, 48, 0.3);
  }

  50% {
    box-shadow: 0 8px 40px rgba(69, 106, 46, 0.7),
      0 0 30px rgba(189, 140, 48, 0.5);
  }
}

.btn-hero-orphan:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 50px rgba(69, 106, 46, 0.6),
    0 5px 20px rgba(189, 140, 48, 0.4);
  background: linear-gradient(135deg, var(--primary-600, #3a5926) 0%, var(--secondary-500, #bd8c30) 100%);
}

.btn-hero-orphan i {
  animation: orphanIconBounce 1.5s ease-in-out infinite;
}

.btn-hero-orphan i:first-child {
  font-size: 1.1em;
}

.btn-hero-orphan i:last-child {
  margin-right: -0.25rem;
  transition: transform 0.3s ease;
}

.btn-hero-orphan:hover i:last-child {
  transform: translateX(-4px);
}

@keyframes orphanIconBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* ===== FLOATING ACTION BUTTON - تسجيل يتيم ===== */
.orphan-fab {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  background: #45712c;
  color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(69, 114, 45, 0.4),
    0 4px 10px rgba(69, 114, 45, 0.2);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: orphanFabFloat 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.orphan-fab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.orphan-fab:hover::before {
  left: 100%;
}

.orphan-fab:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(69, 114, 45, 0.5),
    0 8px 20px rgba(69, 114, 45, 0.4);
  background: linear-gradient(135deg, #5a9438 0%, #45722d 100%);
  border-color: rgba(255, 255, 255, 0.4);
}

.orphan-fab i {
  font-size: 1.5rem;
  animation: orphanFabIconBounce 1.5s ease-in-out infinite;
}

.orphan-fab .fab-text {
  font-size: 1rem;
  white-space: nowrap;
}

@keyframes orphanFabPulse {

  0%,
  100% {
    box-shadow: 0 8px 30px rgba(69, 114, 45, 0.5),
      0 4px 15px rgba(69, 114, 45, 0.3);
  }

  50% {
    box-shadow: 0 12px 40px rgba(69, 114, 45, 0.7),
      0 6px 20px rgba(69, 114, 45, 0.5),
      0 0 40px rgba(69, 114, 45, 0.4);
  }
}

@keyframes orphanFabFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes orphanFabIconBounce {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.1) rotate(-5deg);
  }

  50% {
    transform: scale(1.15) rotate(5deg);
  }

  75% {
    transform: scale(1.1) rotate(-3deg);
  }
}

/* RTL Direction */
/* RTL Direction */
html[dir="rtl"] .orphan-fab {
  left: 30px;
  right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .orphan-fab {
    bottom: 20px;
    left: 20px;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  html[dir="rtl"] .orphan-fab {
    left: 20px;
    right: auto;
  }

  .orphan-fab i {
    font-size: 1.25rem;
  }

  .orphan-fab .fab-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .orphan-fab {
    bottom: 15px;
    left: 15px;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  html[dir="rtl"] .orphan-fab {
    left: auto;
    right: 15px;
  }

  .orphan-fab .fab-text {
    font-size: 0.85rem;
  }
}

/* Dark Mode Support */
html.dark .orphan-fab,
html[data-theme="dark"] .orphan-fab {
  background: #5a9438;
  box-shadow: 0 8px 30px rgba(90, 148, 56, 0.6),
    0 4px 15px rgba(90, 148, 56, 0.4);
}

html.dark .orphan-fab:hover,
html[data-theme="dark"] .orphan-fab:hover {
  background: #6aaa51;
  box-shadow: 0 12px 40px rgba(90, 148, 56, 0.7),
    0 6px 20px rgba(90, 148, 56, 0.5),
    0 0 40px rgba(90, 148, 56, 0.4);
}

.btn-hero-gold:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
}

/* Enhanced Hero Years - Large Number Display */
.hero-years {
  display: inline-block;
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 30%, #FF8C00 60%, #DAA520 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 30px rgba(255, 215, 0, 0.4));
  line-height: 1;
  animation: heroYearsPulse 3s ease-in-out infinite, heroYearsGlow 4s ease-in-out infinite;
  position: relative;
}

.hero-years::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 30%, #FF8C00 60%, #DAA520 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}

@keyframes heroYearsPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

@keyframes heroYearsGlow {

  0%,
  100% {
    filter: drop-shadow(0 4px 30px rgba(255, 215, 0, 0.4));
  }

  50% {
    filter: drop-shadow(0 4px 50px rgba(255, 215, 0, 0.6));
  }
}

/* Enhanced Hero Stat Cards - Glass Morphism Style */
.hero-stats .stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: statCardFadeIn 0.6s ease-out both;
}

.hero-stats .stat-card:nth-child(1) {
  animation-delay: 0.9s;
}

.hero-stats .stat-card:nth-child(2) {
  animation-delay: 1.1s;
}

.hero-stats .stat-card:nth-child(3) {
  animation-delay: 1.3s;
}

@keyframes statCardFadeIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

.hero-stats .stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.hero-stats .stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-stats .stat-card:hover::after {
  opacity: 1;
}

.hero-stats .stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-12px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-stats .stat-card .stat-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  margin: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hero-stats .stat-card .stat-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: inherit;
  filter: blur(10px);
  opacity: 0.5;
  z-index: -1;
}

.hero-stats .stat-card:hover .stat-icon {
  transform: scale(1.15) rotate(8deg);
}

.hero-stats .stat-card-primary .stat-icon {
  background: #456a2e;
  color: #ffffff;
  border: 1px solid rgba(159, 196, 134, 0.3);
  box-shadow: 0 8px 24px rgba(69, 106, 46, 0.2);
}

.hero-stats .stat-card-secondary .stat-icon {
      background: #bc8b2f;
    color: #ffffff;
  border: 1px solid rgba(222, 193, 128, 0.3);
  box-shadow: 0 8px 24px rgba(189, 140, 48, 0.2);
}

.hero-stats .stat-card-accent .stat-icon {
      background: #456a2e;
    color: #ffffff;
  border: 1px solid rgba(126, 181, 255, 0.3);
  box-shadow: 0 8px 24px rgba(95, 163, 255, 0.2);
}

.hero-stats .stat-card .stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.hero-stats .stat-card .stat-number {
  font-size: 1.625rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  min-width: auto;
  letter-spacing: -0.02em;
}

.hero-stats .stat-card .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Stat Item - Legacy Support */
.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-5px);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  min-width: 60px;
}

.stat-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Enhanced Swiper Navigation */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Enhanced Swiper Pagination */
.hero-swiper .swiper-pagination {
  bottom: 3rem !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.hero-swiper .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.5);
  width: 40px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(69, 114, 45, 0.4);
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: scrollIndicatorFadeIn 1s ease-out 1.5s both;
}

@keyframes scrollIndicatorFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.scroll-link:hover {
  color: #fff;
  transform: translateY(-5px);
}

.scroll-link span {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-mouse {
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.scroll-link:hover .scroll-mouse {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.5));
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

  0%,
  100% {
    opacity: 1;
    top: 8px;
    height: 10px;
  }

  50% {
    opacity: 0.4;
    top: 20px;
    height: 6px;
  }
}

/* Hero Responsive */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-swiper {
    height: 80vh;
  }

  .slide-content {
    min-height: 80vh;
  }

  .hero-decoration::before,
  .hero-decoration::after {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
  }

  .slide-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .hero-stats .stat-card {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 160px;
    max-width: 200px;
  }

  .stat-item {
    flex-direction: column;
    gap: 0.25rem;
    min-width: auto;
    padding: 0.75rem 1rem;
  }

  .stat-item:hover {
    transform: translateY(-3px);
  }

  .stat-number {
    min-width: auto;
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
  }

  .hero-swiper {
    height: auto;
    min-height: 100svh;
  }

  .slide-content {
    min-height: 100svh;
    padding: 100px 0 80px;
  }

  .slide-content .container {
    padding: 0 1.25rem;
  }

  .hero-grid-pattern {
    background-size: 40px 40px;
  }

  .slide-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .slide-title {
    font-size: 1.875rem;
    line-height: 1.25;
  }

  .hero-years {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .slide-description {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-stats .stat-card {
    flex: none;
    min-width: 100%;
    max-width: 100%;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none;
  }

  .hero-swiper .swiper-pagination {
    bottom: 2rem !important;
  }

  .scroll-indicator {
    display: none;
  }
}

/* ===== SECTION STYLES ===== */
section {
  scroll-margin-top: 90px;
}

.section-title {
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

/* Section Background Pattern */
.section-pattern {
  position: relative;
}

.section-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .about-section {
  background: var(--gray-950);
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

[data-theme="dark"] .about-section::before {
  background-image: radial-gradient(var(--gray-700) 1px, transparent 1px);
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* ===== WHO WE HELP SECTION ===== */
#who {
  background: var(--gray-50);
}

[data-theme="dark"] #who {
  background: var(--gray-900);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .feature-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

/* ===== ARTICLES SECTION ===== */
.articles-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .articles-section {
  background: var(--gray-950);
}

/* Article Filters */
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.article-search-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  padding-right: 3rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  background: var(--white);
}

.article-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-100);
}

/* Featured Article */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

[data-theme="dark"] .featured-article {
  background: var(--gray-800);
}

.featured-article .article-image {
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.featured-article .article-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Article Cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition-base);
}

[data-theme="dark"] .article-card {
  background: var(--gray-800);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.article-card .article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-image {
  transform: scale(1.05);
}

.article-card .article-content {
  padding: 1.5rem;
}

.article-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.article-meta i {
  margin-left: 0.25rem;
}

/* Load More Button */
.load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.load-more-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== IMPACT SECTION ===== */
#impact {
  background: var(--white);
  position: relative;
}

[data-theme="dark"] #impact {
  background: var(--gray-900);
}

/* Stats Cards */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
}

[data-theme="dark"] .stat-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  transition: transform var(--transition-base);
}

.stat-card:hover .stat-icon {
  transform: scale(1.1);
}

.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Number Counter */
.num {
  font-weight: 900;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* ===== CAMPAIGNS SECTION ===== */
#campaigns {
  background: var(--gray-50);
}

[data-theme="dark"] #campaigns {
  background: var(--gray-800);
}

.card-enhanced {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition-base);
}

[data-theme="dark"] .card-enhanced {
  background: var(--gray-900);
}

.card-enhanced:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Progress Bar */
.progress {
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--white);
}

[data-theme="dark"] .faq-section {
  background: var(--gray-950);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

[data-theme="dark"] .faq-item {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: right;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.faq-question:hover .faq-icon {
  background: var(--primary);
  color: var(--white);
}

.faq-question.active .faq-icon i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer.show {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* FAQ Category Buttons */
.faq-category-btn {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

/* ===== CONTACT SECTION ===== */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

[data-theme="dark"] .contact-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

/* Form Controls */
.form-control,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all var(--transition-base);
  background: var(--white);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: var(--gray-900);
  border-color: var(--gray-700);
  color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-100);
}

/* ===== FOOTER - Hero Style ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #223517 0%, #1a2a12 100%);
  color: rgba(255, 255, 255, 0.9);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(69, 106, 46, 0.15);
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #bd8c30;
  opacity: 0.5;
}

/* Footer particles */
.footer-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(69, 106, 46, 0.2);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.footer-particles span:nth-child(1) {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.footer-particles span:nth-child(2) {
  top: 30%;
  left: 10%;
  animation-delay: 1s;
  width: 4px;
  height: 4px;
}

.footer-particles span:nth-child(3) {
  bottom: 40%;
  right: 25%;
  animation-delay: 2s;
  width: 5px;
  height: 5px;
  background: rgba(189, 140, 48, 0.2);
}

/* Footer content wrapper */
.footer-content {
  position: relative;
  z-index: 10;
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
}

/* Footer brand section */
.footer-brand {
  grid-column: span 3;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(69, 106, 46, 0.25);
  transition: all 0.5s ease;
}

.footer-logo:hover .footer-logo-icon {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(69, 106, 46, 0.35);
}

.footer-logo-text h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.footer-logo-text span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
}

/* Footer badge - like hero */
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(189, 140, 48, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  color: #bd8c30;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(189, 140, 48, 0.3);
}

.footer-badge i {
  color: #bd8c30;
  font-size: 0.9rem;
}

/* Footer description */
.footer-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Footer section title - like hero */
.footer-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* Social links - hero button style */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  transform: translateY(-4px);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer-social-link.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer-social-link.twitter:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
}

.footer-social-link.instagram:hover {
  background: #E4405F;
  border-color: #E4405F;
}

.footer-social-link.youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}

.footer-social-link.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

/* Footer nav columns */
.footer-nav {
  grid-column: span 3;
}

.footer-nav-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-nav-title span.indicator {
  width: 3px;
  height: 24px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(69, 106, 46, 0.5));
}

.footer-nav-title.secondary span.indicator {
  background: linear-gradient(to bottom, var(--secondary), rgba(189, 140, 48, 0.5));
}

.footer-nav-title h5 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-nav-links a:hover {
  color: #fff;
}

.footer-nav-links a i {
  font-size: 0.8rem;
  color: rgba(69, 106, 46, 0.6);
  transition: all 0.3s ease;
}

.footer-nav-links a:hover i {
  color: var(--primary);
  transform: translateX(-4px);
}

.footer-nav-links.secondary a:hover i {
  color: var(--secondary);
}

/* Footer contact section */
.footer-contact {
  grid-column: span 3;
}

/* Contact cards - hero button style */
.footer-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.footer-contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(69, 114, 45, 0.4);
  transform: translateX(-3px);
}

.footer-contact-card.secondary:hover {
  border-color: rgba(203, 157, 65, 0.4);
}

.footer-contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(69, 114, 45, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a9438;
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-contact-card.secondary .footer-contact-card-icon {
  background: rgba(203, 157, 65, 0.15);
  color: #cb9d41;
}

.footer-contact-card:hover .footer-contact-card-icon {
  background: #45722d;
  color: #fff;
  transform: scale(1.05);
}

.footer-contact-card.secondary:hover .footer-contact-card-icon {
  background: #cb9d41;
  color: #fff;
}

.footer-contact-card-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-card-text span {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

/* Footer bottom bar */
.footer-bottom {
  position: relative;
  background: rgba(26, 61, 20, 0.5);
  border-top: 1px solid rgba(203, 157, 65, 0.2);
  margin-top: 4rem;
  padding: 1.25rem 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

/* Developer credits */
.footer-credits {
  display: flex;
  align-items: center;
}

.footer-credits a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-credits a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.footer-credits .dev-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: #cb9d41;
}

.footer-credits i {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-credits a:hover i {
  color: #cb9d41;
}

/* Responsive footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 6;
  }

  .footer-nav {
    grid-column: span 3;
  }

  .footer-contact {
    grid-column: span 6;
  }

  .footer-bottom-content {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-content {
    padding: 3rem 0 0;
  }

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

  .footer-brand,
  .footer-nav,
  .footer-contact {
    grid-column: span 1;
  }

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

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== FLOATING DONATE BUTTON ===== */
.floating-donate {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-secondary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.floating-donate:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

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

.badge-secondary {
  background: var(--secondary);
  color: var(--white);
}

.badge-accent {
  background: var(--accent);
  color: var(--white);
}

/* ===== HOVER EFFECTS ===== */
.glow-hover {
  transition: all var(--transition-base);
}

.glow-hover:hover {
  box-shadow: 0 0 20px rgba(69, 114, 45, 0.3), 0 0 40px rgba(69, 114, 45, 0.1);
}

.floating-action {
  transition: all var(--transition-base);
}

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

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* ===== LIVE IMPACT BAR ===== */
.live-impact-bar {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.live-impact-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="20" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.impact-content {
  position: relative;
  z-index: 2;
}

.impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.live-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.live-stat-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.live-stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.live-pulse {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  animation: livePulse 2s infinite;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  position: absolute;
  right: calc(50% - 10px);
  top: 1.5rem;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--primary);
}

/* ===== VOLUNTEER CARDS ===== */
.volunteer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
}

.volunteer-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.volunteer-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-md);
  margin-top: -50px;
}

/* ===== DONATION FEED ===== */
.donation-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.donation-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  background: var(--gray-50);
  animation: slideInRight 0.5s ease;
}

.donation-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    right: 20px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .timeline-dot {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

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

  .contact-link span {
    display: none;
  }

  .topbar-section .container {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .floating-donate {
    width: 48px;
    height: 48px;
    bottom: 16px;
    left: 16px;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {

  .emergency-banner,
  .topbar-section,
  .floating-donate,
  .mobile-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }
}

/* ===== ENHANCED PROJECTS PAGES ===== */

/* Page Header - Enhanced */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #fef9c3 100%);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(69, 114, 45, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(203, 157, 65, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 114, 45, 0.3), transparent);
}

/* Dark mode page header */
[data-theme="dark"] .page-header,
html.dark .page-header {
  background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
}

[data-theme="dark"] .page-header::before,
html.dark .page-header::before {
  background:
    radial-gradient(circle at 20% 80%, rgba(69, 114, 45, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(203, 157, 65, 0.1) 0%, transparent 50%);
}

[data-theme="dark"] .page-header::after,
html.dark .page-header::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Enhanced Project Cards */
.project-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, rgba(69, 114, 45, 0.3) 50%, rgba(203, 157, 65, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Dark mode project cards */
[data-theme="dark"] .project-card,
html.dark .project-card {
  background: rgba(31, 41, 55, 0.8);
  border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .project-card:hover,
html.dark .project-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Project Card Image */
.project-card .project-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.1) rotate(1deg);
}

.project-card .project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.project-card:hover .project-image::after {
  opacity: 0.9;
}

/* Project Type Badges */
.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.project-badge-permanent {
  background: rgba(255, 255, 255, 0.95);
  color: #0369a1;
  border: 1px solid rgba(3, 105, 161, 0.3);
}

.project-badge-seasonal {
  background: rgba(255, 255, 255, 0.95);
  color: #45722d;
  border: 1px solid rgba(69, 114, 45, 0.3);
}

.project-badge-development {
  background: rgba(255, 255, 255, 0.95);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.project-badge-emergency {
  background: rgba(255, 255, 255, 0.95);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
  animation: emergencyPulse 2s ease-in-out infinite;
}

@keyframes emergencyPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}

/* Dark mode badges */
[data-theme="dark"] .project-badge-permanent,
html.dark .project-badge-permanent {
  background: rgba(17, 24, 39, 0.95);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

[data-theme="dark"] .project-badge-seasonal,
html.dark .project-badge-seasonal {
  background: rgba(17, 24, 39, 0.95);
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.4);
}

[data-theme="dark"] .project-badge-development,
html.dark .project-badge-development {
  background: rgba(17, 24, 39, 0.95);
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.4);
}

[data-theme="dark"] .project-badge-emergency,
html.dark .project-badge-emergency {
  background: rgba(17, 24, 39, 0.95);
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.4);
}

/* Project Card Content */
.project-card .project-content {
  padding: 1.5rem;
}

.project-card .project-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: #45722d;
}

[data-theme="dark"] .project-card .project-title,
html.dark .project-card .project-title {
  color: #ffffff;
}

[data-theme="dark"] .project-card:hover .project-title,
html.dark .project-card:hover .project-title {
  color: #86efac;
}

.project-card .project-excerpt {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1rem;
}

[data-theme="dark"] .project-card .project-excerpt,
html.dark .project-card .project-excerpt {
  color: #9ca3af;
}

/* Project Card Stats */
.project-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .project-stats,
html.dark .project-stats {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.project-stat {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.project-stat:hover {
  color: #45722d;
}

[data-theme="dark"] .project-stat:hover,
html.dark .project-stat:hover {
  color: #86efac;
}

/* Project Read More Button */
.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #45722d 0%, #325219 100%);
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(69, 114, 45, 0.3);
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(69, 114, 45, 0.4);
  color: #ffffff;
}

.project-btn i {
  transition: transform 0.3s ease;
}

.project-btn:hover i {
  transform: translateX(-4px);
}

[data-theme="dark"] .project-btn,
html.dark .project-btn {
  background: linear-gradient(135deg, #cb9d41 0%, #b8862a 100%);
  box-shadow: 0 4px 15px rgba(203, 157, 65, 0.3);
}

[data-theme="dark"] .project-btn:hover,
html.dark .project-btn:hover {
  box-shadow: 0 8px 25px rgba(203, 157, 65, 0.4);
}

/* Filter Buttons */
.filter-section {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 0;
}

[data-theme="dark"] .filter-section,
html.dark .filter-section {
  background: rgba(17, 24, 39, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  color: #374151;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #45722d;
  color: #45722d;
}

.filter-btn.active {
  background: linear-gradient(135deg, #45722d 0%, #325219 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(69, 114, 45, 0.4);
}

[data-theme="dark"] .filter-btn,
html.dark .filter-btn {
  background: rgba(31, 41, 55, 0.8);
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .filter-btn:hover,
html.dark .filter-btn:hover {
  border-color: #86efac;
  color: #86efac;
}

[data-theme="dark"] .filter-btn.active,
html.dark .filter-btn.active {
  background: linear-gradient(135deg, #cb9d41 0%, #b8862a 100%);
  box-shadow: 0 8px 25px rgba(203, 157, 65, 0.4);
}

/* Project Detail Page */
.project-detail-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.project-detail-image:hover {
  transform: scale(1.01);
}

/* Prose Content - Dark Mode */
[data-theme="dark"] .prose,
html.dark .prose {
  color: #e5e7eb;
}

[data-theme="dark"] .prose h1,
[data-theme="dark"] .prose h2,
[data-theme="dark"] .prose h3,
[data-theme="dark"] .prose h4,
html.dark .prose h1,
html.dark .prose h2,
html.dark .prose h3,
html.dark .prose h4 {
  color: #ffffff;
}

[data-theme="dark"] .prose p,
html.dark .prose p {
  color: #d1d5db;
}

[data-theme="dark"] .prose a,
html.dark .prose a {
  color: #86efac;
}

[data-theme="dark"] .prose strong,
html.dark .prose strong {
  color: #ffffff;
}

[data-theme="dark"] .prose blockquote,
html.dark .prose blockquote {
  color: #9ca3af;
  border-left-color: #45722d;
}

[data-theme="dark"] .prose code,
html.dark .prose code {
  background: rgba(55, 65, 81, 0.5);
  color: #fcd34d;
}

[data-theme="dark"] .prose pre,
html.dark .prose pre {
  background: #1f2937;
}

/* Donate CTA Section */
.donate-cta {
  position: relative;
  background: linear-gradient(135deg, #45722d 0%, #325219 50%, #cb9d41 100%);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  overflow: hidden;
}

.donate-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

[data-theme="dark"] .donate-cta,
html.dark .donate-cta {
  background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #374151 100%);
}

/* Donate CTA Box - Enhanced for Light/Dark Mode */
.donate-cta-box {
  background: linear-gradient(135deg, #45722d 0%, #325219 40%, #3d6b24 70%, #cb9d41 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px -12px rgba(69, 114, 45, 0.4);
}

.donate-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

.donate-cta-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.donate-cta-btn {
  background: #ffffff;
  color: #45722d;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.donate-cta-btn:hover {
  background: #f9fafb;
  color: #325219;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

/* Dark Mode Donate CTA Box */
[data-theme="dark"] .donate-cta-box,
html.dark .donate-cta-box {
  background: linear-gradient(135deg, #1f2937 0%, #111827 40%, #1f2937 70%, #374151 100%);
  border-color: rgba(203, 157, 65, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .donate-cta-icon,
html.dark .donate-cta-icon {
  background: rgba(203, 157, 65, 0.3);
  color: #fcd34d;
}

[data-theme="dark"] .donate-cta-btn,
html.dark .donate-cta-btn {
  background: linear-gradient(135deg, #cb9d41 0%, #b8862a 100%);
  color: #ffffff;
  box-shadow: 0 10px 40px rgba(203, 157, 65, 0.3);
}

[data-theme="dark"] .donate-cta-btn:hover,
html.dark .donate-cta-btn:hover {
  background: linear-gradient(135deg, #d4a84a 0%, #cb9d41 100%);
  box-shadow: 0 15px 50px rgba(203, 157, 65, 0.4);
}

/* Share Buttons */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  min-width: 140px;
}

.share-btn:hover {
  transform: translateY(-3px);
  color: #ffffff;
}

.share-btn.facebook {
  background: #1877F2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.share-btn.facebook:hover {
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.4);
}

.share-btn.twitter {
  background: #1DA1F2;
  box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3);
}

.share-btn.twitter:hover {
  box-shadow: 0 12px 30px rgba(29, 161, 242, 0.4);
}

.share-btn.whatsapp {
  background: #25D366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.share-btn.whatsapp:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.share-btn.copy {
  background: #6b7280;
  box-shadow: 0 8px 20px rgba(107, 114, 128, 0.3);
}

.share-btn.copy:hover {
  box-shadow: 0 12px 30px rgba(107, 114, 128, 0.4);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-state-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.empty-state-icon::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(69, 114, 45, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.empty-state-icon i {
  font-size: 4rem;
  color: #45722d;
}

[data-theme="dark"] .empty-state-icon i,
html.dark .empty-state-icon i {
  color: #86efac;
}

/* Related Projects Section */
.related-section {
  background: #f9fafb;
}

[data-theme="dark"] .related-section,
html.dark .related-section {
  background: #111827;
}

/* Pagination Enhancement */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination-wrapper .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  margin: 0 0.25rem;
  border-radius: 12px;
  font-weight: 600;
  color: #374151;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover {
  background: #45722d;
  color: #ffffff;
  border-color: #45722d;
  transform: translateY(-2px);
}

.pagination-wrapper .page-link.active {
  background: linear-gradient(135deg, #45722d 0%, #325219 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(69, 114, 45, 0.3);
}

[data-theme="dark"] .pagination-wrapper .page-link,
html.dark .pagination-wrapper .page-link {
  background: rgba(31, 41, 55, 0.8);
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .pagination-wrapper .page-link:hover,
html.dark .pagination-wrapper .page-link:hover {
  background: #cb9d41;
  border-color: #cb9d41;
}

[data-theme="dark"] .pagination-wrapper .page-link.active,
html.dark .pagination-wrapper .page-link.active {
  background: linear-gradient(135deg, #cb9d41 0%, #b8862a 100%);
  box-shadow: 0 4px 15px rgba(203, 157, 65, 0.3);
}

/* Custom Icon Hover Animation */
.icon-animate {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.group:hover .icon-animate {
  transform: scale(1.1) translateZ(0);
}

/* ===== PARTNERS SWIPER SLIDER STYLES ===== */
.partners-swiper {
  position: relative;
  padding: 2rem 0;
  overflow: hidden;
}

.partners-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

/* Partners Navigation Buttons */
.partners-nav-btn {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(69, 114, 45, 0.3);
}

.partners-nav-btn::after {
  font-size: 20px;
  font-weight: bold;
}

.partners-nav-btn:hover {
  background: var(--primary-700);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(69, 114, 45, 0.4);
}

.partners-swiper .swiper-button-next,
.partners-swiper .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
}

.partners-swiper .swiper-button-next {
  right: -10px;
}

.partners-swiper .swiper-button-prev {
  left: -10px;
}

/* Partners Pagination */
.partners-pagination {
  bottom: 0 !important;
  padding-top: 1.5rem;
}

.partners-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--gray-300);
  opacity: 1;
  transition: all 0.3s ease;
}

.partners-swiper .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 30px;
  border-radius: 6px;
}

/* Dark Mode Support */
[data-theme="dark"] .partners-nav-btn,
html.dark .partners-nav-btn {
  background: var(--secondary);
  box-shadow: 0 4px 15px rgba(189, 140, 48, 0.3);
}

[data-theme="dark"] .partners-nav-btn:hover,
html.dark .partners-nav-btn:hover {
  background: var(--secondary-600);
  box-shadow: 0 6px 20px rgba(189, 140, 48, 0.4);
}

[data-theme="dark"] .partners-swiper .swiper-pagination-bullet,
html.dark .partners-swiper .swiper-pagination-bullet {
  background: var(--gray-600);
}

[data-theme="dark"] .partners-swiper .swiper-pagination-bullet-active,
html.dark .partners-swiper .swiper-pagination-bullet-active {
  background: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .partners-swiper .swiper-button-next {
    right: 5px;
  }

  .partners-swiper .swiper-button-prev {
    left: 5px;
  }

  .partners-nav-btn {
    width: 40px;
    height: 40px;
  }

  .partners-nav-btn::after {
    font-size: 16px;
  }
}