/* Impact Page Styles */
/* Hero Section */
/* Enhanced Video Handling */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensure video respects CSP */
  content-security-policy: media-src "self";
}

/* Video Loading States */
.hero-video:not([src]) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Better video embed handling */
.hero-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-video-embed {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-fallback {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-content {
  color: white;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Pillar Navigation */
.pillar-nav {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pillar-nav .nav-link {
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 25px;
}

.pillar-nav .nav-link:hover,
.pillar-nav .nav-link.active {
  background-color: #007bff;
  color: white;
}

.pillar-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Pillar Sections */
.pillar-section {
  scroll-margin-top: 100px;
}

.pillar-section:nth-child(even) {
  background-color: #f8f9fa;
}

.pillar-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pillar-icon-large {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.pillar-icon-large img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pillar-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.pillar-target-year {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.pillar-summary {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.pillar-body {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #007bff;
}

/* Goal Cards */
.goal-card {
  background: white;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #007bff;
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.goal-metric {
  text-align: center;
  margin-bottom: 1rem;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
  display: inline-block;
}

.metric-suffix {
  font-size: 1.2rem;
  color: #666;
  margin-left: 0.2rem;
}

.goal-label {
  font-size: 1rem;
  color: #333;
  text-align: center;
  line-height: 1.5;
}

.goal-status.achieved {
  background-color: #28a745;
  color: white;
  padding: 0.5rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  margin-top: 1rem;
}

/* Partner Cards */
.partner-category {
  margin-bottom: 3rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #007bff;
}

.partner-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-3px);
}

.partner-logo {
  text-align: center;
  margin-bottom: 1rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.partner-country {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.partner-note {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Certificates */
.partner-certificates {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.certificate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.certificate-badge {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 15px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.certificate-badge.valid {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.certificate-badge.expired {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.cert-link {
  color: inherit;
  text-decoration: none;
  font-size: 0.7rem;
}

/* Media Gallery */
.media-gallery {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item img,
.carousel-item video {
  border-radius: 10px;
  max-height: 400px;
  object-fit: cover;
}

/* Footer CTA */
.footer-cta {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.footer-cta h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Last Updated */
.last-updated {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Collapse Button Styles */
.btn[data-bs-toggle=collapse] .when-expanded {
  display: none;
}

.btn[data-bs-toggle=collapse].collapsed .when-expanded {
  display: inline;
}

.btn[data-bs-toggle=collapse].collapsed .when-collapsed {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .pillar-title {
    font-size: 2rem;
  }
  .pillar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  .pillar-icon {
    width: 16px;
    height: 16px;
  }
  .goal-card {
    padding: 1.5rem 1rem;
  }
  .metric-value {
    font-size: 2rem;
  }
  .partner-card {
    padding: 1rem;
  }
  .hero-cta .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .pillar-nav .nav-pills {
    flex-direction: column;
    align-items: center;
  }
  .pillar-nav .nav-link {
    margin-bottom: 0.5rem;
  }
}
/* Accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus styles for better accessibility */
.btn:focus,
.nav-link:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
  }
  .goal-card,
  .partner-card {
    border: 2px solid #333;
  }
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .goal-card,
  .partner-card {
    animation: none;
    transition: none;
  }
  .hero-video {
    animation-play-state: paused;
  }
}
/* Counter Animation Enhancement */
.metric-value {
  transition: all 0.3s ease;
}
.metric-value.counting {
  color: #007bff;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* Scroll to top button */
.scroll-to-top {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.scroll-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Image loading states */
img {
  transition: opacity 0.3s ease;
}
img.lazy {
  opacity: 0.7;
}
img.loaded {
  opacity: 1;
}

/*# sourceMappingURL=main.css.map */
