/* ============================================
   MODERN 2026 CSS RESET & GLOBAL STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gradient: linear-gradient(135deg, #0a4f6b 0%, #1b98e0 50%, #0e2a47 100%);
  --neon-glow: 0 0 20px rgba(27, 152, 224, 0.7), 0 0 40px rgba(27, 152, 224, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --accent-neon: #ffba08;
  --text-primary: #f0f8ff;
  --text-secondary: #a3d5ff;
  --dark-bg: #0b1d2a;
  --card-bg: rgba(11, 29, 42, 0.7);
  --animation-speed: 0.4s;
  --border-radius-3d: 12px;
  --space-3d: 20px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', 'SF Pro Display', system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: linear-gradient(180deg, #0a0e17 0%, #0b1d2a 50%, #07111b 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Particle Background Canvas */
.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ============================================
   FUTURISTIC CURSOR SYSTEM
   ============================================ */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-neon);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(27, 152, 224, 0.8);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transition: all 0.2s ease-out;
}

.cursor-ring.active {
  width: 60px;
  height: 60px;
  border-width: 1px;
  border-color: rgba(255, 186, 8, 0.9);
}

.cursor-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(27, 152, 224, 0.4);
  pointer-events: none;
  z-index: 9997;
  transition: opacity 0.3s;
}

/* ============================================
   UTILITIES & LAYOUT
   ============================================ */
.container {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.light {
  background: linear-gradient(135deg, rgba(246, 249, 252, 0.1) 0%, rgba(220, 240, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-3d);
  margin: 2rem 0;
  padding: 3rem;
  position: relative;
}

.light::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(27, 152, 224, 0.3), rgba(255, 186, 8, 0.3));
  border-radius: calc(var(--border-radius-3d) + 4px);
  z-index: -1;
  animation: borderGlow 3s infinite alternate;
}

@keyframes borderGlow {
  0% { opacity: 0.3; }
  100% { opacity: 0.7; }
}

.center {
  text-align: center;
}

/* 3D Floating Animation */
.float-element {
  animation: floating3D 6s ease-in-out infinite;
}

@keyframes floating3D {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-20px) rotateX(5deg); }
}

/* ============================================
   NAVIGATION - GLASS MORPHISM
   ============================================ */
.nav {
  background: rgba(10, 79, 107, 0.85);
  backdrop-filter: blur(15px);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.logo {
  margin-top: 20px;
  height: 100px;
  width: auto;
}

.logo {
  margin-top: 60px;
  margin-bottom: 1px;   /* brings motto closer */
}

.motto {
  font-size: 15px;
  letter-spacing: 2px;   /* gives that “official” feel */
  color: rgba(255, 186, 8, 0.9);        /* dark green (optional) */
  text-transform: uppercase;
  margin-top: 60px;
  
}
 

.logo {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(90deg, #fff 0%, var(--accent-neon) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding: 0.5rem 0;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-neon), #1b98e0);
  transition: width 0.5s ease;
}

.logo:hover::after {
  width: 90%;
}

/* Search Bar Container */
.search-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  margin-left: auto; /* pushes it to the RIGHT */
  max-width: 400px;
  width: 90%;

  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover state */
.search-container:hover {
  border-color: #bbb;
}

/* Focus-within lets the container react when input is focused */
.search-container:focus-within {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  background: #fff;
}

/* Input */
.search-container input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;

  font-size: 0.95rem;
  color: #159c0c;
}

/* Placeholder */
.search-container input::placeholder {
  color: #888;
}

/* Search icon */
.search-icon {
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Icon hover */
.search-container:hover .search-icon {
  color: #111;
}

.search-container {
  margin-left: auto;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-colo);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-neon);
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-link:hover,
.nav-links a.active {
  color: var(--accent-neon);
}

.nav-link:hover::before,
.nav-links a.active::before {
  width: 100%;
}

/* ============================================
   ADJUSTABLE NAVIGATION BAR
   ============================================ */

/* CSS Variables for Easy Customization */
:root {
  /* Color Variables - Change these for different themes */
  --nav-bg-color: rgba(26, 93, 62, 0.95); /* Main background color */
  --nav-text-color: #ffffff; /* Text color */
  --nav-hover-color: #ffba08; /* Hover text color */
  --nav-active-color: #ffba08; /* Active link color */
  --nav-border-color: rgba(255, 255, 255, 0.1); /* Border color */
  --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Shadow effect */
  
  /* Size Variables - Adjust these for different sizes */
  --nav-height: 70px; /* Overall navigation height */
  --nav-link-padding: 1.2rem 1.5rem; /* Link padding */
  --nav-link-spacing: 1rem; /* Space between links */
  --nav-font-size: 0.9rem; /* Font size */
  --nav-font-weight: 600; /* Font weight */
  --nav-border-radius: 0px; /* Border radius for container */
  
  /* Animation Variables */
  --nav-transition-speed: 0.3s; /* Transition speed */
  --nav-hover-effect: underline; /* Options: underline, background, glow, slide */
}

/* ============================================
   BASE NAVIGATION STYLES
   ============================================ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--nav-bg-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--nav-shadow);
  border-bottom: 1px solid var(--nav-border-color);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--nav-transition-speed) ease;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--nav-border-radius);
}

/* ============================================
   NAVIGATION LINKS
   ============================================ */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--nav-link-spacing);
  align-items: center;
}

.nav-link {
  color: var(--nav-text-color);
  text-decoration: none;
  font-weight: var(--nav-font-weight);
  font-size: var(--nav-font-size);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--nav-link-padding);
  position: relative;
  transition: all var(--nav-transition-speed) ease;
  border-radius: 4px;
}

/* ============================================
   HOVER EFFECTS - CHOOSE ONE
   ============================================ */

/* Option 1: Underline Effect (Default) */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--nav-hover-color);
  transition: width var(--nav-transition-speed) ease;
}

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

.nav-link:hover::before {
  width: 80%;
}

/* Option 2: Background Fill Effect */
/*
.nav-link {
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--nav-hover-color);
  transition: left var(--nav-transition-speed) ease;
  z-index: -1;
  border-radius: 4px;
}

.nav-link:hover {
  color: var(--nav-bg-color);
}

.nav-link:hover::before {
  left: 0;
}
*/

/* Option 3: Glow Effect */
/*
.nav-link:hover {
  color: var(--nav-hover-color);
  text-shadow: 0 0 10px rgba(255, 186, 8, 0.5);
  transform: translateY(-2px);
}
*/

/* Option 4: Slide Under Effect */
/*
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--nav-hover-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--nav-transition-speed) ease;
}

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

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
*/

/* ============================================
   ACTIVE LINK STYLES
   ============================================ */
.nav-link.active {
  color: var(--nav-active-color);
  position: relative;
}

/* Active link indicator for underline effect */
.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--nav-active-color);
}

/* Active link indicator for background effect */
/*
.nav-link.active {
  background: var(--nav-active-color);
  color: var(--nav-bg-color);
}
*/

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Styles */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --nav-link-padding: 1rem 1.2rem;
    --nav-link-spacing: 0.5rem;
    --nav-font-size: 0.8rem;
  }
  
  .nav-container {
    padding: 0 1rem;
    justify-content: center;
  }
  
  .nav-links {
    gap: 0.3rem;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  :root {
    --nav-height: 50px;
    --nav-link-padding: 0.8rem 0.8rem;
    --nav-font-size: 0.75rem;
  }
  @media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}
  .nav-container {
    padding: 0 0.5rem;
  }
  
  @media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }

  .logo {
    height: 50px;
  }
}

  .nav-links {
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }
}

/* ============================================
   SCROLL EFFECTS
   ============================================ */

/* Navbar shrink on scroll */
.nav-bar.scrolled {
  --nav-height: 60px;
  --nav-font-size: 0.85rem;
  --nav-link-padding: 1rem 1.2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ALTERNATIVE COLOR THEMES
   ============================================ */

/* Dark Theme */
.nav-bar.dark-theme {
  --nav-bg-color: rgba(17, 17, 17, 0.95);
  --nav-hover-color: #4dabf7;
  --nav-active-color: #4dabf7;
}

/* Light Theme */
.nav-bar.light-theme {
  --nav-bg-color: rgba(255, 255, 255, 0.95);
  --nav-text-color: #333333;
  --nav-hover-color: #1a5d3e;
  --nav-active-color: #1a5d3e;
  --nav-border-color: rgba(0, 0, 0, 0.1);
}

/* Gradient Theme */
.nav-bar.gradient-theme {
  --nav-bg-color: linear-gradient(90deg, #1a5d3e, #2d8a5f);
  background: var(--nav-bg-color);
}

/* Glass Morphism Theme */
.nav-bar.glass-theme {
  --nav-bg-color: rgba(255, 255, 255, 0.1);
  --nav-text-color: #ffffff;
  --nav-hover-color: #ffba08;
  --nav-active-color: #ffba08;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   ANIMATION VARIATIONS
   ============================================ */

/* Bounce Animation on Hover */
.nav-bar.animated .nav-link:hover {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Pulse Animation for Active Link */
.nav-bar.pulse .nav-link.active::before {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   ADDITIONAL FEATURES
   ============================================ */

/* Add logo/icon support */
.nav-bar.with-logo .nav-container {
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nav-text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Menu Toggle (Optional) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--nav-text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--nav-bg-color);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
}

/* ============================================
   QUICK ADJUSTMENT CLASSES
   ============================================ */

/* Size Classes */
.nav-bar.small {
  --nav-height: 60px;
  --nav-font-size: 0.8rem;
  --nav-link-padding: 0.8rem 1rem;
}

.nav-bar.large {
  --nav-height: 80px;
  --nav-font-size: 1rem;
  --nav-link-padding: 1.5rem 2rem;
}

/* Spacing Classes */
.nav-bar.compact {
  --nav-link-spacing: 0.5rem;
}

.nav-bar.spacious {
  --nav-link-spacing: 2rem;
}

/* Font Weight Classes */
.nav-bar.light-font {
  --nav-font-weight: 400;
}

.nav-bar.bold-font {
  --nav-font-weight: 700;
}

/* Border Radius Classes */
.nav-bar.rounded {
  --nav-border-radius: 10px;
}

.nav-bar.pill {
  --nav-border-radius: 50px;
}

/* ============================================
   UTILITY CLASSES FOR JAVASCRIPT CONTROL
   ============================================ */

/* Hide/show navigation */
.nav-bar.hidden {
  transform: translateY(-100%);
}

.nav-bar.visible {
  transform: translateY(0);
}

/* Change on scroll */
.nav-bar.scroll-up {
  transform: translateY(0);
}

.nav-bar.scroll-down {
  transform: translateY(-100%);
}

/* ============================================
   CUSTOMIZATION INSTRUCTIONS
   ============================================ */
/*
HOW TO USE:

1. CHANGE COLORS:
   Modify the CSS variables in :root or add theme classes:
   - .dark-theme
   - .light-theme
   - .gradient-theme
   - .glass-theme

2. CHANGE SIZES:
   Modify the size variables or use quick classes:
   - .small
   - .large
   - .compact
   - .spacious

3. CHANGE HOVER EFFECT:
   Uncomment ONE of the hover effect options above

4. ADD TO YOUR HTML:
   Add classes to your nav element:
   <nav class="nav-bar glass-theme rounded">
   
5. MAKE RESPONSIVE:
   The navigation automatically adjusts for mobile

6. ADD SCROLL EFFECTS:
   Use JavaScript to add/remove .scrolled class
*/

/* ============================================
   HERO SECTION - IMMERSIVE
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 186, 8, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(27, 152, 224, 0.1) 0%, transparent 50%);
  animation: pulseBackground 10s infinite alternate;
}

@keyframes pulseBackground {
  0% { opacity: 0.5; }
  100% { opacity: 0.8; }
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #fff 0%, var(--accent-neon) 50%, #a3d5ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 3s infinite linear;
  background-size: 200% auto;
}

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

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS - NEON & 3D
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 500px;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn:hover::before {
  opacity: 0.7;
}

.primary {
  background: linear-gradient(135deg, var(--accent-neon) 0%, #ff9e08 100%);
  color: #0a0e17;
  box-shadow: 
    0 10px 20px rgba(255, 186, 8, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.primary:hover {
  transform: translateY(-5px) rotateX(10deg);
  box-shadow: 
    0 15px 30px rgba(255, 186, 8, 0.5),
    0 5px 15px rgba(255, 186, 8, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #0a0e17;
}

.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  position: relative;
}

.secondary::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #1b98e0, var(--accent-neon), #1b98e0);
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.secondary:hover::after {
  opacity: 1;
}

.secondary:hover {
  border-color: transparent;
  color: #fff;
  transform: translateY(-5px);
}

/* ============================================
   GRID LAYOUT
   ============================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
}

/* ============================================
   CARDS - GLASS MORPHISM
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--border-radius-3d);
  border: 1px solid var(--glass-border);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 152, 224, 0.1), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    var(--neon-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.image-card {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.6s ease;
  filter: brightness(0.9) saturate(0.9);
}

.image-card:hover img {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
}

/* ============================================
   PROGRAMS GRID
   ============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 138, 95, 0.1), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.program-card:hover {
  transform: translateY(-15px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    var(--neon-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.program-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.program-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.program-link:hover {
  transform: translateX(5px);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.service-list {
  list-style: none;
  margin-top: 1rem;
}

.service-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.collaboration-notice {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(45, 138, 95, 0.1);
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid var(--glass-border);
}

/* ============================================
   CHECKLIST - ANIMATED
   ============================================ */
.checklist {
  margin-top: 1.5rem;
  list-style: none;
}

.checklist li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

.checklist li:hover {
  transform: translateX(10px);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-neon);
  font-weight: bold;
  animation: checkPulse 2s infinite;
}

@keyframes checkPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}


/* ===== JOIN SECTION ===== */
.section {
    padding: 80px 20px;
    background: #090c25;
}

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

/* ===== GRID LAYOUT ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: start;
}

/* ===== TEXT AREA ===== */
h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #90949b;
}

p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ===== BENEFITS LIST ===== */
.benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.benefits-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #334155;
}

.benefits-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

/* ===== BUTTONS ===== */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn.primary {
    background: #2563eb;
    color: #fff;
}

.btn.primary:hover {
    background: #1d4ed8;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn.secondary:hover {
    background: #2563eb;
    color: #fff;
}

/* ===== INFO CARD ===== */
.info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.info-card h3 {
    margin-bottom: 20px;
    color: #1e293b;
}

/* ===== EVENTS ===== */
.event-item {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.event-date {
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 600;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 5px 0;
    color: #0f172a;
}

.event-desc {
    font-size: 0.95rem;
    color: #64748b;
}

/* ===== VIEW LINK ===== */
.view-all-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #2563eb;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.3s;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 60px 15px;
    }
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.service-list {
  list-style: none;
  margin-top: 1rem;
}

.service-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.collaboration-notice {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(45, 138, 95, 0.1);
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid var(--glass-border);
}





/* ============================================
   CTA GRID
   ============================================ */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.cta-item {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}

.cta-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--neon-glow);
}

.cta-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   DONATE SECTION - SPECIAL
   ============================================ */
.donate {
  background: linear-gradient(135deg, #2a9d8f 0%, #1d7a6b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.donate::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(11, 29, 42, 0.95);
  color: #fff;
  padding: 4rem 0 2rem;
  position: relative;
  border-top: 1px solid rgba(27, 152, 224, 0.3);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-neon), #1b98e0, var(--accent-neon));
  background-size: 200% 100%;
  animation: gradientSlide 3s infinite linear;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer a {
  color: #a3d5ff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-neon);
  transition: width 0.3s ease;
}

.footer a:hover {
  color: var(--accent-neon);
}

.footer a:hover::after {
  width: 100%;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .search-container {
    margin: 1rem 0;
    order: 3;
    width: 100%;
    max-width: 100%;
  }
  
  .hero-stats {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .nav-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.8rem;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .programs-grid,
  .services-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }
  
  .light {
    padding: 2rem;
  }
  
  .stat-item {
    min-width: 120px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .stat-item {
    min-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   LOADING ANIMATION
   ============================================ */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0e17;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid transparent;
  border-top: 4px solid var(--accent-neon);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: relative;
}

.loader::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 4px solid transparent;
  border-top: 4px solid #1b98e0;
  border-radius: 50%;
  animation: spin 1.5s linear infinite reverse;
}

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

        /* --- Gallery specific header --- */
:root {
    --primary-gradient: linear-gradient(135deg, #0a4f6b 0%, #1b98e0 50%, #0e2a47 100%);
    --neon-glow: 0 0 20px rgba(27, 152, 224, 0.7), 0 0 40px rgba(27, 152, 224, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --accent-neon: #ffba08;
    --text-primary: #f0f8ff;
    --text-secondary: #a3d5ff;
    --dark-bg: #0b1d2a;
    --card-bg: rgba(11, 29, 42, 0.7);
    --animation-speed: 0.4s;
    --border-radius-3d: 12px;
    --space-3d: 20px;
}



        .gallery-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin: 48px 0 24px 0;
            border-bottom: 2px dashed #d8cfbc;
            padding-bottom: 20px;
            flex-wrap: wrap;
            gap: 16px;
        }

      .gallery-header:hover{
        transform: translateY(-15px);
      box-shadow:  0 30px 60px rgba(0, 0, 0, 0.135),
      var(--neon-glow),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
      }

        .gallery-header h2 {
            font-size: 36px;
            font-weight: 600;
            color: #007000;
            letter-spacing: -0.3px;
        }

        .gallery-header h2 i {
            color: #b7834f;
            margin-right: 12px;
            font-size: 32px;
        }

        .filter-tabs {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-tab {
            background: transparent;
            border: 1px solid #cbbaa6;
            border-radius: 40px;
            padding: 8px 22px;
            font-weight: 500;
            font-size: 15px;
            color: #3b4f3b;
            cursor: pointer;
            transition: all 0.2s;
            background: white;
        }

        .filter-tab.active, .filter-tab:hover {
            background: #2c6e49;
            border-color: #2c6e49;
            color: white;
        }

        /* --- GALLERY GRID (core) --- */
        .gallery-grid {
          background-color: #0b740b;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 28px;
            margin: 40px 0 60px 0;
        }

        .gallery-item {
            border-radius: 24px;
            overflow: hidden;
            background: white;
            box-shadow: 0 12px 28px rgba(45, 255, 13, 0.852), 0 2px 8px rgba(0, 0, 0, 0.02);
            transition: transform 0.25s ease, box-shadow 0.3s;
            border: 1px solid #ece2d5;
        }

        .gallery-item:hover {
            transform: translateY(-6px);
            box-shadow: 0 24px 40px rgba(70, 50, 20, 0.08);
            border-color: #cfc1ad;
        }
        .gallery-header.glass-theme {
  --nav-bg-color: rgba(255, 255, 255, 0.1);
  --nav-text-color: #ffffff;
  --nav-hover-color: #ffba08;
  --nav-active-color: #ffba08;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

        .gallery-image {
            height: 240px;
            background-size: cover;
            background-position: center;
            position: relative;
            display: flex;
            align-items: flex-end;
            padding: 12px;
            background-color: #d9d0bd; /* fallback */
        }

        /* subtle overlay for better readability on some images */
        .gallery-image::after {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(0deg, rgba(30,30,20,0.2) 0%, transparent 60%);
            pointer-events: none;
        }

        .category-tag {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 240, 0.9);
            backdrop-filter: blur(2px);
            padding: 6px 16px;
            border-radius: 40px;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            color: #2d572d;
            border: 1px solid #f0e1ce;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }

        .gallery-caption {
            padding: 18px 18px 20px 18px;
            background: white;
        }

        .gallery-caption h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 6px;
            color: #213b21;
        }

        .gallery-caption p {
            font-size: 14px;
            color: #5c614c;
            margin-bottom: 16px;
            line-height: 1.4;
        }

        .meta-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #eee7dd;
            padding-top: 14px;
            font-size: 13px;
            color: #876f52;
        }

        .meta-info i {
            color: #b58d64;
            width: 18px;
            margin-right: 4px;
        }

        .meta-info span {
            display: flex;
            align-items: center;
        }

        /* --- Footer (simple, warm) --- */
        .footer {
            border-top: 1px solid #e1d7c8;
            padding: 32px 0;
            margin-top: 40px;
            text-align: center;
            color: #6b6e5a;
            font-size: 14px;
        }

        .footer .sord-credit {
            font-weight: 500;
            color: #3e613e;
        }

        /* responsive adjustments */
        @media (max-width: 700px) {
            .top-bar {
                flex-direction: column;
                align-items: start;
            }
            .nav-links {
                flex-wrap: wrap;
                gap: 18px;
            }
            .hero-statement h1 {
                font-size: 38px;
            }
        }
        @media (max-width: 480px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }
        /* ============================================
   EVENTS PAGE SPECIFIC STYLES
   ============================================ */

/* Page Header */
.events-page {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.header-content h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-neon) 50%, #a3d5ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon {
  font-size: 2.5rem;
  color: var(--accent-neon);
  animation: float 3s ease-in-out infinite;
}

.header-decoration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.decoration-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
}

.decoration-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-neon);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.header-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link:hover {
  transform: translateX(-5px);
  background: rgba(255, 186, 8, 0.1);
  border-color: var(--accent-neon);
}

/* Enhanced Filter Bar */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab {
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover {
  background: rgba(27, 152, 224, 0.1);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  transform: translateY(-2px);
}

.filter-tab.active {
  background: linear-gradient(135deg, #1b98e0, var(--accent-neon));
  border-color: transparent;
  color: white;
  box-shadow: var(--neon-glow);
}

.search-box-wrapper {
  flex: 1;
  max-width: 400px;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 0.3rem;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: var(--accent-neon);
  box-shadow: 0 0 15px rgba(255, 186, 8, 0.3);
}

.search-icon {
  color: var(--text-secondary);
  margin-left: 1rem;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.7rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.search-box input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-neon);
  border: none;
  color: var(--dark-bg);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:not(:disabled):hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent-neon);
}

.search-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Featured Event */
.featured-event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--card-bg), rgba(11, 29, 42, 0.9));
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.featured-event::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 186, 8, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

.featured-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 186, 8, 0.2);
  border: 1px solid var(--accent-neon);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-neon);
  margin-bottom: 1.5rem;
  animation: glow 2s ease-in-out infinite;
}

.featured-date {
  display: block;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.featured-date i {
  color: var(--accent-neon);
  margin-right: 0.5rem;
}

.featured-event h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.featured-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.featured-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.featured-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.featured-stats i {
  color: var(--accent-neon);
}

.featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-neon), #ff9e08);
  border: none;
  border-radius: 40px;
  color: var(--dark-bg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.featured-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 186, 8, 0.4);
}

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

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

.featured-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.featured-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  font-size: 3rem;
  color: var(--accent-neon);
  opacity: 0.6;
  animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 50%;
  right: 20%;
  font-size: 4rem;
  animation-delay: 0.5s;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  left: 40%;
  animation-delay: 1s;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, var(--card-bg) 90%);
  pointer-events: none;
}

/* Events Counter */
.events-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  width: fit-content;
}

.counter-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-neon), #1b98e0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.counter-badge {
  padding: 0.3rem 0.8rem;
  background: rgba(27, 152, 224, 0.2);
  border: 1px solid #1b98e0;
  border-radius: 30px;
  font-size: 0.8rem;
  color: #1b98e0;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.event-card {
  height: 400px;
  perspective: 1000px;
  cursor: pointer;
}

.event-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.event-card:hover .event-card-inner {
  transform: rotateY(180deg);
}

.event-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}

.event-media {
  height: 140px;
  background: linear-gradient(135deg, #1b98e0, var(--accent-neon));
  position: relative;
  overflow: hidden;
}

.event-media::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
}

.event-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-badge.education { background: linear-gradient(135deg, #4a90e2, #357abd); }
.event-badge.health { background: linear-gradient(135deg, #e27a4a, #bd5f35); }
.event-badge.farming { background: linear-gradient(135deg, #4ae27a, #35bd5f); }
.event-badge.water { background: linear-gradient(135deg, #4abbe2, #3596bd); }
.event-badge.women { background: linear-gradient(135deg, #e24ab6, #bd3591); }
.event-badge.tech { background: linear-gradient(135deg, #9b4ae2, #7a35bd); }

.event-content {
  padding: 1.5rem;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.event-date i {
  color: var(--accent-neon);
}

.event-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.event-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.event-location i, .event-attendees i {
  color: var(--accent-neon);
  margin-right: 0.3rem;
}

.event-footer {
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.event-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-neon);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.event-cta:hover {
  gap: 1rem;
}

/* Past Events Section */
.past-events-section {
  padding: 2rem;
  margin-bottom: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

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

.section-title i {
  color: var(--accent-neon);
  font-size: 1.5rem;
}

.section-title h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
}

.section-badge {
  padding: 0.3rem 0.8rem;
  background: rgba(255, 186, 8, 0.1);
  border: 1px solid var(--accent-neon);
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--accent-neon);
}

.past-events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.past-event-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.past-event-row:hover {
  transform: translateX(10px);
  background: rgba(255, 186, 8, 0.05);
  border-color: var(--accent-neon);
}

.past-event-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  color: var(--text-secondary);
}

.past-event-date i {
  color: var(--accent-neon);
}

.past-event-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.past-event-title {
  font-weight: 500;
  color: var(--text-primary);
}

.past-event-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
}

.past-event-status {
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

.past-event-status.completed {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid #4caf50;
  color: #4caf50;
}

.past-event-status.archived {
  background: rgba(158, 158, 158, 0.1);
  border: 1px solid #9e9e9e;
  color: #9e9e9e;
}

.view-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-neon);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.view-archive-link:hover {
  gap: 1rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  margin-bottom: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover:not(:disabled) {
  background: rgba(255, 186, 8, 0.1);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  transform: scale(1.1);
}

.page-btn.active {
  background: linear-gradient(135deg, #1b98e0, var(--accent-neon));
  border-color: transparent;
  color: white;
  box-shadow: var(--neon-glow);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-dots {
  color: var(--text-secondary);
  padding: 0 0.5rem;
}

/* Newsletter Section */
.events-newsletter {
  padding: 2rem;
  margin-bottom: 2rem;
  background
