/* Custom Styles for HANS Centre Website */
:root {
  /* Brand Colors */
  --primary-color: #1a4b84;       /* Deep blue */
  --primary-dark: #0d2c4a;       /* Darker blue for hover states */
  --primary-light: #e6f0f9;      /* Light blue for backgrounds */
  --secondary-color: #e6b85c;    /* Gold */
  --secondary-dark: #d1a04f;     /* Darker gold for hover states */
  --accent-color: #e74c3c;       /* Red accent */
  --accent-dark: #c0392b;        /* Darker red for hover states */
  
  /* Neutral Colors */
  --dark-color: #2c3e50;         /* Dark blue-gray for headings */
  --text-color: #333333;         /* Dark gray for body text */
  --text-muted: #6c757d;         /* Medium gray for secondary text */
  --light-color: #f8f9fa;        /* Off-white for backgrounds */
  --border-color: #e2e8f0;       /* Light gray for borders */
  --white: #ffffff;              /* Pure white */
  --black: #000000;              /* Pure black */
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  --font-size-base: 1rem;       /* 16px */
  --line-height-base: 1.6;
  --heading-font-weight: 700;
  --subheading-font-weight: 600;
  
  /* Spacing */
  --spacing-xs: 0.25rem;        /* 4px */
  --spacing-sm: 0.5rem;         /* 8px */
  --spacing-md: 1rem;           /* 16px */
  --spacing-lg: 1.5rem;         /* 24px */
  --spacing-xl: 2rem;           /* 32px */
  --spacing-2xl: 3rem;          /* 48px */
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-pill: 50px;
  
  /* Box Shadow */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Typography */
body {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-primary);
  font-weight: var(--heading-font-weight);
  line-height: 1.2;
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
}

h1, .h1 { font-size: 2.5rem; } /* 40px */
h2, .h2 { font-size: 2rem; }   /* 32px */
h3, .h3 { font-size: 1.75rem; } /* 28px */
h4, .h4 { font-size: 1.5rem; }  /* 24px */
h5, .h5 { font-size: 1.25rem; } /* 20px */
h6, .h6 { 
  font-size: 1rem;            /* 16px */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
  line-height: var(--line-height-base);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Buttons */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: var(--border-radius-pill);
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.btn:hover, .btn:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--dark-color);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--dark-color);
}

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

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Events Page Hero */
.events-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 80px; /* Account for fixed header */
}

.events-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.events-hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  transition: transform 0.5s ease;
}

.events-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(135deg, rgba(10, 61, 98, 0.85) 0%, rgba(52, 152, 219, 0.75) 10%);
}

.events-hero .hero-content {
  position: relative;
  z-index: 3;
  padding: 6rem 0 4rem;
}

.events-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.events-hero .hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Events Section */
#events .card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#events .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#events .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#events .card:hover .card-img-top {
  transform: scale(1.05);
}

#events .card-body {
  padding: 1.75rem;
}

#events .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

#events .card-text {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

#events .card-text strong {
  color: #333;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .events-hero .hero-title {
    font-size: 2.8rem;
  }
  
  .events-hero .hero-subtitle {
    font-size: 1.3rem;
  }
  
  #events .card-img-top {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .events-hero {
    min-height: 50vh;
  }
  
  .events-hero .hero-title {
    font-size: 2.2rem;
  }
  
  .events-hero .hero-subtitle {
    font-size: 1.1rem;
  }
  
  #events .card {
    margin-bottom: 1.5rem;
  }
  
  #events .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .events-hero .hero-title {
    font-size: 1.8rem;
  }
  
  .events-hero .hero-subtitle {
    font-size: 1rem;
  }
  
  #events .card-img-top {
    height: 180px;
  }
  
  #events .card-body {
    padding: 1.25rem;
  }
  
  #events .card-title {
    font-size: 1.25rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background-color: #0a3d62; /* Fallback color */
  padding-top: 80px; /* Account for fixed header */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  transition: transform 0.5s ease;
}

.hero-bg:hover .hero-image {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    135deg, 
    rgba(10, 61, 98, 0.9) 0%, 
    rgba(0, 108, 134, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero-badge .badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: #ffffff;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-buttons .btn {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.hero-buttons .btn i {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
  transform: translateX(5px);
}

.hero-buttons .btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.hero-buttons .btn-primary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-outline-light {
  border-width: 2px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.hero-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Trust Indicators */
.trust-indicators {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  padding: 1rem;
}

.trust-item .counter {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trust-item .label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Scroll Down Button */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.scroll-down:hover {
  opacity: 1;
  transform: translate(-50%, 5px);
}

.scroll-down i {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 6rem 1.5rem 4rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .trust-item .counter {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.hero-badge .badge {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 300;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn {
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

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

.hero-buttons .btn:hover i {
  transform: translateX(5px);
}

.trust-indicators {
  margin-top: 4rem;
}

.trust-indicators .counter {
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-indicators .small {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  color: white;
  opacity: 0.8;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.hero-scroll-down:hover {
  opacity: 1;
  color: var(--light);
}

.hero-scroll-down .small {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}

.hero-social-links {
  left: 30px;
  bottom: 40px;
  z-index: 10;
}

.hero-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.hero-social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: white;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-7px) translateX(-50%); }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero-social-links {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .trust-indicators .counter {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-badge .badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }
  
  .trust-indicators .counter {
    font-size: 1.75rem;
  }
}

/* Section Styling */
.section-padding {
  padding: var(--spacing-2xl) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-2xl);
}

.section-subtitle {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-left: var(--spacing-lg);
}

.section-subtitle:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

.section-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: var(--border-radius-pill);
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Mission Section */
.mission-section {
  position: relative;
  overflow: hidden;
}

.mission-content {
  position: relative;
  z-index: 1;
}

.mission-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  height: 100%;
  min-height: 400px;
  background-color: var(--light-color);
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.mission-image:hover img {
  transform: scale(1.05);
}

.mission-text {
  padding: var(--spacing-xl);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  margin-top: -50px;
  position: relative;
  z-index: 2;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-color);
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-lg) 0 0 0;
}

.mission-list li {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-xl);
  position: relative;
  color: var(--text-color);
  line-height: 1.6;
}

.mission-list i {
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0.25rem;
  font-size: 1.25rem;
}

/* Impact Section */
.impact-section {
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.impact-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.impact-icon {
  width: 80px;
  height: 80px;
  background: rgba(230, 184, 92, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 2rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

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

.impact-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
  font-family: var(--font-primary);
}

.impact-label {
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  font-size: 1.1rem;
}

/* Programs Section */
.programs-section {
  background-color: var(--white);
  position: relative;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.program-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.program-image {
  height: 200px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.program-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

.program-description {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.program-meta {
  display: flex;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: auto;
}

.program-meta i {
  margin-right: var(--spacing-xs);
  color: var(--secondary-color);
}

.program-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.program-icon {
  width: 70px;
  height: 70px;
  background: rgba(230, 184, 92, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  color: var(--secondary-color);
  font-size: 1.75rem;
  transition: var(--transition);
  font-size: 1.75rem;
  color: var(--secondary-color);
}

.program-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.program-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.program-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.program-link i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

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

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--white), var(--primary-color));
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.cta-section .btn-light {
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: var(--transition);
}

.cta-section .btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Our Work Section */
.work-section {
  background-color: #f8f9fa;
}

.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.event-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.event-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-meta {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

.event-location {
  display: flex;
  align-items: center;
}

.event-location i {
  margin-right: 5px;
  color: var(--secondary-color);
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.75rem 0 1rem;
  color: var(--dark-color);
}

.event-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex: 1;
}

.event-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.event-link i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

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

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

/* Testimonials Section */
.testimonials-section {
  background-color: white;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #eee;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  color: var(--secondary-color);
  font-size: 1rem;
}

.testimonial-rating .bi-star-half {
  position: relative;
}

.testimonial-rating .bi-star-half:before {
  content: "\f5c0";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text:before {
  content: '"\201C"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(230, 184, 92, 0.2);
  font-family: Georgia, serif;
  z-index: 1;
}

.testimonial-author img {
  border: 3px solid var(--secondary-color);
}

.testimonial-author h5 {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  font-size: 0.9rem;
}

/* Video Section */
.video-section {
  position: relative;
  overflow: hidden;
}

.video-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  background: var(--dark-color);
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-caption {
  font-style: italic;
  color: var(--text-muted);
}

.feature-box {
  background: var(--white);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.feature-icon {
  color: var(--primary-color);
  transition: var(--transition);
}

.feature-box:hover .feature-icon {
  transform: scale(1.1);
  color: var(--secondary-color);
}

/* Activities Gallery */
.activities-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.activity-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 1/1;
}

.activity-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.activity-item:hover .activity-img {
  transform: scale(1.05);
}

.activity-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  padding: var(--spacing-sm);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.activity-item:hover .activity-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Team Section */
.team-section {
  background-color: #f8f9fa;
}

.team-member {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  padding: 30px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .team-img img {
  transform: scale(1.1);
}

.team-img .social-links {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 0;
  border-radius: 30px;
  width: 70%;
  transition: var(--transition);
  opacity: 0;
}

.team-member:hover .social-links {
  bottom: 20px;
  opacity: 1;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin: 0 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.team-info {
  margin-top: 2rem;
  text-align: center;
}

.team-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.team-info span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.team-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Footer Styles */
.footer {
  position: relative;
  background-color: #1a1e2b;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-top {
  padding: 80px 0 40px;
  background-color: #1a1e2b;
}

.footer-about {
  margin-bottom: 30px;
}

.footer-about h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-about h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-links {
  margin-bottom: 30px;
}

.footer-links li {
  margin-bottom: 10px;
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-links a i {
  color: var(--secondary-color);
  margin-right: 5px;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

/* Newsletter Form */
.footer-newsletter .form-control {
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 4px 0 0 4px;
  box-shadow: none;
}

.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
  color: #fff;
}

.footer-newsletter .btn {
  border-radius: 0 4px 4px 0;
  padding: 0 20px;
  font-weight: 600;
  height: 50px;
  border: none;
  background: var(--secondary-color);
  color: #1a1e2b;
}

.footer-newsletter .btn:hover {
  background: #e6a42c;
}

.form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.form-check-label a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Social Links */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:last-child {
  margin-right: 0;
}

.social-links a:hover {
  background: var(--secondary-color);
  color: #1a1e2b;
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-left: 15px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-legal-links a:first-child {
  margin-left: 0;
}

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

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  bottom: 30px;
}

.back-to-top:hover {
  background: var(--secondary-color);
  color: #1a1e2b;
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 150px 0 80px;
    min-height: auto;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .impact-number {
    font-size: 2rem;
  }
  
  .program-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-section h2 {
    font-size: 1.75rem;
  }
}

/* Animation */
[data-aos] {
  visibility: hidden;
}

[data-aos].aos-animate {
  visibility: visible;
}
