/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --primary-color: #2c5530;
  --secondary-color: #8b4513;
  --accent-color: #d4af37;
  --text-dark: #2c2c2c;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #2c5530 0%, #3d6b42 100%);
  --gradient-accent: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 3D Header Effect - Innovation #1 */
.header-3d {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 249, 250, 0.95) 50%,
    rgba(255, 255, 255, 0.98) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(212, 175, 55, 0.3) 20%,
      rgba(44, 85, 48, 0.4) 50%,
      rgba(212, 175, 55, 0.3) 80%,
      transparent 100%
    )
    1;
  transform: translateZ(0);
  will-change: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  box-shadow: 0 12px 40px rgba(44, 85, 48, 0.15), 0 6px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(212, 175, 55, 0.1), inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(44, 85, 48, 0.1);
}

.header-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(44, 85, 48, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(
      135deg,
      rgba(44, 85, 48, 0.12) 0%,
      rgba(255, 255, 255, 0.98) 25%,
      rgba(248, 249, 250, 0.95) 50%,
      rgba(255, 255, 255, 0.98) 75%,
      rgba(212, 175, 55, 0.12) 100%
    );
  z-index: -1;
}

.header-3d::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.6) 15%,
    rgba(212, 175, 55, 0.9) 30%,
    rgba(44, 85, 48, 0.8) 50%,
    rgba(212, 175, 55, 0.9) 70%,
    rgba(212, 175, 55, 0.6) 85%,
    transparent 100%
  );
  z-index: 1;
  box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3), 0 1px 2px rgba(44, 85, 48, 0.2);
}

.navbar {
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
  will-change: auto;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.nav-container::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.3) 20%,
    rgba(212, 175, 55, 0.6) 50%,
    rgba(212, 175, 55, 0.3) 80%,
    transparent 100%
  );
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  padding: 8px 12px;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(212, 175, 55, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  will-change: transform;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.2) 0%,
    transparent 30%,
    transparent 70%,
    rgba(44, 85, 48, 0.2) 100%
  );
  border-radius: 17px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-logo:hover::before {
  opacity: 1;
}

.logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(44, 85, 48, 0.25), 0 6px 12px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(212, 175, 55, 0.2), inset 0 3px 6px rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(44, 85, 48, 0.1);
  will-change: transform;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(
        45deg,
        rgba(212, 175, 55, 0.4) 0%,
        rgba(44, 85, 48, 0.3) 50%,
        rgba(212, 175, 55, 0.4) 100%
      )
      border-box;
  position: relative;
}

.logo::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(212, 175, 55, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(44, 85, 48, 0.3) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      rgba(212, 175, 55, 0.2) 0%,
      transparent 30%,
      transparent 70%,
      rgba(44, 85, 48, 0.2) 100%
    );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(1px);
}

.logo:hover {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 16px rgba(44, 85, 48, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo:hover::before {
  opacity: 1;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(212, 175, 55, 0.3);
  will-change: transform;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  position: relative;
}

.logo-text::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-logo:hover .logo-text {
  transform: translateY(-1px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1), 0 0 12px rgba(212, 175, 55, 0.5);
}

.nav-logo:hover .logo-text::after {
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  padding: 8px 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(248, 249, 250, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 30%,
    transparent 70%,
    rgba(44, 85, 48, 0.1) 100%
  );
  border-radius: 26px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-menu:hover::before {
  opacity: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
  will-change: transform;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease;
  padding: 0.75rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(212, 175, 55, 0.02) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(5px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(44, 85, 48, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(212, 175, 55, 0.1);
  transition: width 0.2s ease;
  z-index: -1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.2s ease;
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.2);
}

.nav-link:focus {
  outline: none;
  color: var(--primary-color);
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.2);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(212, 175, 55, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 2px 6px rgba(44, 85, 48, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  will-change: transform;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hamburger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(212, 175, 55, 0.08) 50%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

.bar {
  width: 25px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--accent-color) 50%,
    var(--primary-color) 100%
  );
  margin: 3px 0;
  will-change: transform;
  transition: transform 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hero Section - Innovation #2: Parallax with Glassmorphism */
.hero {
  height: 120vh;
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) sepia(0.3) contrast(1.1);
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(44, 85, 48, 0.85) 0%,
    rgba(139, 69, 19, 0.65) 30%,
    rgba(212, 175, 55, 0.75) 70%,
    rgba(44, 85, 48, 0.8) 100%
  );
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(212, 175, 55, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(44, 85, 48, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(139, 69, 19, 0.2) 0%,
      transparent 50%
    );
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.3);
  animation: fadeInUp 1s ease-out;
  position: relative;
  line-height: 1.1;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  animation: expandLine 1.5s ease-out 0.5s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 255, 255, 0.2);
  animation: fadeInUp 1s ease-out 0.3s both;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

/* About Section - Innovation #3: Floating Cards with Hover Effects */
.about {
  padding: 100px 0;
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.value-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: block;
}

.value-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  clip-path: inset(0% 0% 5% 5%);
}

/* Activities Section - Innovation #4: Interactive Card Stack */
.activities {
  padding: 100px 0;
  background: var(--white);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.activity-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.activity-card:hover {
  transform: translateY(-15px) rotate(2deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-accent);
  z-index: 1;
}

.card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  clip-path: inset(0% 0% 5% 5%);
}

.activity-card:hover .activity-img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 10px;
  font-weight: 600;
  color: var(--primary-color);
}

.card-stats i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

/* History Section - Innovation #5: Animated Timeline */
.history {
  padding: 100px 0;
  background: var(--bg-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  min-width: 100px;
  text-align: center;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin: 0 2rem;
  flex: 1;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
}

.timeline-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 1rem;
  clip-path: inset(0% 0% 5% 5%);
}

/* Subscribe Section */
.subscribe {
  padding: 100px 0;
  background: var(--white);
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.support-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-accent);
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.card-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.support-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.support-card p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.donation-amounts {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.amount-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.monthly-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  background: var(--white);
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.volunteer-info {
  text-align: left;
  margin-bottom: 1.5rem;
}

.volunteer-info p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.volunteer-info i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.map-container {
  margin-top: 3rem;
}

.map-container h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-section p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* Hardware Acceleration for Smooth Animations */
.logo,
.nav-link,
.hamburger,
.bar,
.nav-logo,
.logo-text,
.nav-menu {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

/* Prevent text selection on interactive elements */
.hamburger,
.nav-link,
.logo {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Smooth transitions for all interactive elements */
.nav-link,
.hamburger,
.logo,
.nav-logo {
  -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100px;
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: 0;
    top: 70px;
    flex-direction: column;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(248, 249, 250, 0.95) 50%,
      rgba(255, 255, 255, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    will-change: transform;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(44, 85, 48, 0.15),
      0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 2rem 0;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    transform: translateX(-100%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  /* Ensure smooth mobile menu transitions */
  .nav-menu {
    -webkit-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Prevent menu items from causing layout shifts */
  .nav-menu li {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    height: 100vh;
    min-height: 600px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .timeline-year {
    position: absolute;
    left: -15px;
    top: 0;
    z-index: 2;
  }

  .timeline-content {
    margin: 0;
    margin-top: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .support-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    height: 90vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .card-content,
  .support-card,
  .contact-form {
    padding: 1.5rem;
  }
}
