/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  font-weight: 500;
}

/* Colors */
:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

.text-accent {
  color: var(--green-600);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primaryz {
  background-color: var(--green-600);
  color: white;
}

.btn-primaryz:hover {
  background-color: var(--green-700);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--green-600);
  border: 2px solid var(--green-600);
}

.btn-outline:hover {
  background-color: var(--green-50);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--green-100);
  color: var(--green-800);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.badge-secondary {
  background-color: var(--gray-100);
  color: var(--gray-800);
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--green-200);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--green-100);
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.card-content {
  padding: 1.5rem;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--green-100);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  width: 2rem;
  height: 2rem;
  color: var(--green-600);
}

.nav-text h1 {
  font-size: 1.25rem;
  color: var(--green-800);
  margin: 0;
}

.nav-text p {
  font-size: 0.75rem;
  color: var(--green-600);
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--green-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--green-600);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--green-600);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section with Video Background */
.hero {
  position: relative;
  padding: 5rem 0 8rem;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.8) 0%, rgba(21, 128, 61, 0.7) 50%, rgba(22, 163, 74, 0.6) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.hero-link a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-link a:hover {
  color: white;
  text-decoration: underline;
}

.hero-image {
  position: relative;
}

.image-container {
  aspect-ratio: 1;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--green-400), var(--green-600));
  padding: 2rem;
}

/* Enhanced Image Styling */
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.progress-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.progress-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-600);
}

.progress-label {
  font-size: 0.875rem;
  color: var(--green-700);
}

/* Progress Section */
.progress-section {
  padding: 4rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--green-900);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--green-700);
  max-width: 32rem;
  margin: 0 auto;
}

.progress-container {
  max-width: 64rem;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 0.75rem;
  background-color: var(--green-100);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.progress-fill {
  height: 100%;
  background-color: var(--green-600);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-600);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--green-700);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: var(--green-50);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--green-900);
  margin-bottom: 1.5rem;
}

.features {
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--green-600);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.feature h3 {
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 0.25rem;
}

.feature p {
  color: var(--green-700);
  margin: 0;
}

.about-text p {
  color: var(--green-700);
  margin: 0;
}

.about-image {
  position: relative;
}

.about-image .image-container {
  aspect-ratio: 4 / 5;
}

.artist-badge {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.artist-badge i {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green-600);
}

.artist-badge span {
  font-weight: 600;
  color: var(--green-800);
}

/* Facts Section */
.facts-section {
  padding: 4rem 0;
  background: white;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fact-card {
  padding: 2rem;
  border: 1px solid var(--green-200);
  border-radius: 1rem;
  transition: box-shadow 0.2s ease;
}

.fact-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fact-card i {
  width: 3rem;
  height: 3rem;
  color: var(--green-600);
  margin-bottom: 1rem;
}

.fact-card h3 {
  color: var(--green-800);
  margin-bottom: 1rem;
}

.fact-card p {
  color: var(--green-700);
  margin: 0;
}

/* Get Involved Section */
.get-involved-section {
  padding: 5rem 0;
  background: var(--green-900);
  color: white;
}

.get-involved-section .section-header h2 {
  color: white;
}

.get-involved-section .section-header p {
  color: var(--green-100);
}

.involvement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.involvement-card {
  background: var(--green-800);
  border: 1px solid var(--green-700);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  color: white;
}

.card-icon {
  margin-bottom: 1rem;
}

.card-icon i {
  width: 4rem;
  height: 4rem;
  color: var(--green-400);
}

.involvement-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--green-100);
  margin-bottom: 1rem;
}

.price {
  margin-bottom: 1rem;
}

.amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-400);
}

.period {
  color: var(--green-100);
  font-size: 0.875rem;
}

.benefits {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

.benefits li {
  color: var(--green-100);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.involvement-card .btn-outline {
  border-color: var(--green-400);
  color: var(--green-400);
  background: transparent;
}

.involvement-card .btn-outline:hover {
  background-color: var(--green-400);
  color: var(--green-900);
}

/* Media Section */
.media-section {
  padding: 5rem 0;
  background: white;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Media Gallery Enhancements */
.media-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-item:hover img {
  transform: scale(1.1);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0) 0%, rgba(22, 163, 74, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-item:hover .media-overlay {
  opacity: 1;
}

.media-overlay i {
  width: 2rem;
  height: 2rem;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.media-footer {
  text-align: center;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--green-50);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-content h2 {
  font-size: 2rem;
  color: var(--green-900);
  margin-bottom: 1.5rem;
}

.contact-content p {
  color: var(--green-700);
  margin-bottom: 2rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form input,
.form textarea {
  padding: 0.75rem;
  border: 1px solid var(--green-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green-600);
}

.form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.footer {
  background: var(--green-900);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo i {
  width: 2rem;
  height: 2rem;
  color: var(--green-400);
}

.footer-logo h3 {
  color: white;
  margin: 0;
}

.footer-logo p {
  font-size: 0.875rem;
  color: var(--green-300);
  margin: 0;
}

.footer-brand p {
  color: var(--green-100);
  font-size: 0.875rem;
}

.footer-links h4 {
  color: var(--green-300);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--green-100);
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-links i {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--green-800);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--green-300);
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--green-400);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: white;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 0;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  animation: slideIn 0.3s ease;
}

.modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.modal-header i {
  width: 3rem;
  height: 3rem;
  color: var(--green-600);
  margin-bottom: 1rem;
}

.modal-header h3 {
  color: var(--green-900);
  margin: 0;
}

.modal-body {
  padding: 0 2rem;
  text-align: center;
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--green-600);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.scroll-to-top:active {
  transform: translateY(0);
}

.scroll-to-top i {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile scroll to top button */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .scroll-to-top i {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--green-100);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Responsive Video Styles */
  .hero {
    min-height: 80vh;
    padding: 3rem 0 5rem;
  }

  .hero-video {
    /* Ensure video covers properly on mobile */
    min-width: 120%;
    min-height: 120%;
  }

  .hero-title h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .involvement-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  /* Responsive Video Styles */
  .hero {
    min-height: 70vh;
  }

  .hero-title h1 {
    font-size: 2rem;
  }

  .hero-title p {
    font-size: 1.125rem;
  }

  .hero-title h1 {
    font-size: 2rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--green-50);
}

::-webkit-scrollbar-thumb {
  background: var(--green-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-400);
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Video loading fallback */
.hero-video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 50%, var(--green-500) 100%);
  z-index: 0;
}

/* Ensure video loads properly */
.hero-video {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-video.loaded {
  opacity: 1;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.text-accent {
  color: var(--green-400);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
