/* Sri Vidya Nikethan - Stunning Modern Website Styles */

/* ===== CSS VARIABLES ===== */
:root {
  --primary-color: #0891b2;
  --primary-light: #06b6d4;
  --primary-dark: #0e7490;
  --secondary-color: #f97316;
  --secondary-light: #fb923c;
  --accent-color: #10b981;
  --accent-light: #34d399;
  --dark-color: #0f172a;
  --light-color: #f0fdfa;
  --gray-color: #64748b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.08);
  --shadow-md: 0 8px 16px -2px rgb(0 0 0 / 0.12), 0 4px 8px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 16px 32px -4px rgb(0 0 0 / 0.15), 0 8px 16px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 24px 48px -8px rgb(0 0 0 / 0.18), 0 16px 24px -8px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 32px 64px -16px rgb(0 0 0 / 0.3);
  --glow-primary: 0 0 30px rgba(8, 145, 178, 0.4), 0 0 60px rgba(8, 145, 178, 0.2);
  --glow-secondary: 0 0 30px rgba(249, 115, 22, 0.4), 0 0 60px rgba(249, 115, 22, 0.2);
  --glow-accent: 0 0 30px rgba(16, 185, 129, 0.4);
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus Styles for Accessibility */
:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--dark-color);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 25%, rgba(8, 145, 178, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(249, 115, 22, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.5);
  font-weight: 700;
  letter-spacing: 0.5px;
  animation: buttonPulse 3s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(8, 145, 178, 0.6), var(--glow-primary);
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--glow-primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  position: relative;
  line-height: 1.2;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  background: rgba(8, 145, 178, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-color);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section {
  padding: 5rem 0;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 4px 24px rgba(8, 145, 178, 0.1);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color)) 1;
}

.header.scrolled {
  box-shadow: 0 8px 40px rgba(8, 145, 178, 0.15), 0 0 80px rgba(249, 115, 22, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 6rem 0 3rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
  z-index: 0;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 70vh;
}

.hero-text {
  padding: 2rem 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(8, 145, 178, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-color);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

/* Stats Section */
.hero-stats {
  background: var(--white);
  padding: 3rem 0;
  border-top: 1px solid rgba(8, 145, 178, 0.1);
  margin-top: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-color);
  font-weight: 500;
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 2rem;
  }
  
  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
  }
  
  .hero-illustration {
    order: -1;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

/* ===== SERVICES/PROGRAMS SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 12px 40px rgba(8, 145, 178, 0.1);
  border: 2px solid rgba(8, 145, 178, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.5);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.05), rgba(249, 115, 22, 0.05), rgba(16, 185, 129, 0.05));
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 25px 60px rgba(8, 145, 178, 0.2), var(--glow-primary), var(--glow-accent);
  border-color: rgba(8, 145, 178, 0.25);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.75rem;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(8, 145, 178, 0.4), 0 0 40px rgba(16, 185, 129, 0.2);
  transition: var(--transition);
  position: relative;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-light), var(--accent-light));
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
  filter: blur(8px);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg) scale(1.15);
  box-shadow: 0 15px 45px rgba(8, 145, 178, 0.6), var(--glow-primary), var(--glow-accent);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.625rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-weight: 700;
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===== IMPACT SECTION ===== */
.impact {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 75% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
  animation: impactGlow 10s ease-in-out infinite;
}

@keyframes impactGlow {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.impact .section-title,
.impact .section-subtitle {
  color: var(--white);
}

.impact .section-title {
  -webkit-text-fill-color: var(--white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.impact .section-title::after {
  background: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.impact-card {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.impact-card h3 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.impact-card p {
  font-size: 1.125rem;
  opacity: 0.95;
  line-height: 1.7;
}

/* ===== EVENTS SECTION ===== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(8, 145, 178, 0.1);
  border: 2px solid rgba(8, 145, 178, 0.08);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 60px rgba(8, 145, 178, 0.25), var(--glow-primary), var(--glow-accent);
  border-color: rgba(8, 145, 178, 0.2);
}

.event-date {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.event-date::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle, rgba(249, 115, 22, 0.3) 0%, transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  animation: eventDateGlow 4s ease-in-out infinite;
}

@keyframes eventDateGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15%, 15%) rotate(180deg); }
}

.event-day {
  font-size: 3rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.event-month {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.event-content {
  padding: 1.75rem;
}

.event-content h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-weight: 700;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--gray-color);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: var(--light-color);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 12px 40px rgba(8, 145, 178, 0.12);
  border: 2px solid rgba(8, 145, 178, 0.08);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 60px rgba(8, 145, 178, 0.25), var(--glow-primary), var(--glow-accent);
  border-color: rgba(8, 145, 178, 0.25);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 5.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
  font-weight: 900;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  color: var(--gray-color);
  font-style: italic;
  line-height: 1.9;
  font-size: 1.0625rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.125rem;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--gray-color);
  font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.94), rgba(16, 185, 129, 0.92));
  color: var(--white);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 45%);
  animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.08);
  }
}

.cta h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-weight: 900;
  text-shadow: 0 6px 30px rgba(0,0,0,0.25), 0 0 60px rgba(249, 115, 22, 0.3);
  letter-spacing: -1px;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.8;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.contact-details p {
  color: var(--gray-color);
}

.contact-form {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  transition: var(--transition);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1), 0 8px 25px rgba(8, 145, 178, 0.15);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.97), rgba(4, 120, 87, 0.95));
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 55%);
  pointer-events: none;
  animation: footerGlow 12s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
  text-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #334155;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 12px 35px rgba(8, 145, 178, 0.4), var(--glow-primary);
  }
  50% {
    box-shadow: 0 15px 50px rgba(8, 145, 178, 0.6), var(--glow-primary), var(--glow-accent);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease;
}

.slide-in-right {
  animation: slideInRight 0.8s ease;
}

.scale-in {
  animation: scaleIn 0.6s ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .events-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}
