:root {
  --primary-color: #0d6efd;
  --danger-color: #dc3545;
  --success-color: #198754;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-top: 76px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(220, 53, 69, 0.8)),
    url("/placeholder.svg?height=800&width=1200") center / cover;
  min-height: 100vh;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.3);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Cards */
.program-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Impact Stats */
.impact-stat {
  padding: 2rem 1rem;
}

.impact-stat h3 {
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white !important;
}

.social-links a {
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section .lead {
    font-size: 1.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.8rem;
  }
}

/* Page-specific styles */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--danger-color));
  color: white;
  padding: 6rem 0 4rem;
  margin-top: -76px;
  padding-top: 8rem;
}

.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--danger-color));
  border: none;
  margin: 3rem 0;
}

/* Team cards */
.team-card {
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

/* Form styles */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
