* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* PAGE INTRO BANNER */
.page-intro {
  background: linear-gradient(135deg, #0a1f12 0%, #0f2e1a 100%);
  padding: 12px 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* NAV BAR */
nav {
  display: flex;
  align-items: center;
  padding: 15px 50px;
  background: linear-gradient(180deg, rgba(10, 31, 18, 0.98) 0%, rgba(15, 46, 26, 0.95) 100%);
  position: relative;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.nav-logo {
  height: 90px;
  width: auto;
  transition: transform 0.4s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 45px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9em;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #66bb6a, #81c784);
  transition: width 0.4s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: #81c784;
}

.nav-link:hover::after {
  width: 100%;
}

/* HERO VIDEO */
.hero-video {
  position: relative;
  width: 100%;
  height: 88vh;
  overflow: hidden;
  background-color: #1a3d24;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 18, 0.15) 0%,
    rgba(10, 31, 18, 0.25) 50%,
    rgba(10, 31, 18, 0.45) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  max-width: 850px;
}

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
  animation: fadeInText 1.8s ease-out;
}

@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO IMAGE */
.hero-image {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

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

.hero-image .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 18, 0.1) 0%,
    rgba(10, 31, 18, 0.2) 50%,
    rgba(10, 31, 18, 0.35) 100%
  );
  pointer-events: none;
}

/* MISSION SECTION */
.mission-section {
  padding: 100px 0;
  background-color: #fff;
}

.mission-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.mission-text {
  flex: 1.2;
}

.mission-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f2e1a;
  font-size: 2.6em;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.mission-text p {
  font-size: 1.05em;
  line-height: 1.95;
  color: #4a4a4a;
  font-weight: 400;
}

.mission-image {
  flex: 0.8;
}

.mission-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 25px 50px rgba(10, 31, 18, 0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.mission-image img:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px rgba(10, 31, 18, 0.18);
}

/* ABOUT SECTION */
.about-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fbf8 0%, #edf5ed 100%);
}

.about-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f2e1a;
  font-size: 2.6em;
  font-weight: 500;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 20px;
}

.about-intro {
  text-align: center;
  font-size: 1.15em;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.story-card {
  background: #fff;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(10, 31, 18, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(10, 31, 18, 0.1);
}

.story-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f2e1a;
  font-size: 1.4em;
  font-weight: 500;
  margin-bottom: 15px;
}

.story-card p {
  font-size: 0.95em;
  line-height: 1.8;
  color: #5a5a5a;
}

.goals-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f2e1a;
  font-size: 1.8em;
  font-weight: 500;
  text-align: center;
  margin-bottom: 35px;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.goal-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(10, 31, 18, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(10, 31, 18, 0.1);
}

.goal-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(102, 187, 106, 0.15) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}

.goal-icon i {
  font-size: 1.4em;
  color: #2e7d32;
}

.goal-card p {
  font-size: 0.9em;
  line-height: 1.6;
  color: #4a4a4a;
}

.values-banner {
  background: linear-gradient(135deg, #0f2e1a 0%, #1a4d2e 100%);
  padding: 35px 50px;
  border-radius: 8px;
  text-align: center;
}

.values-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1em;
  line-height: 1.7;
  margin: 0;
}

.values-banner strong {
  color: #81c784;
}

/* GET INVOLVED SECTION */
.get-involved-section {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.get-involved-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f2e1a;
  font-size: 2.6em;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.get-involved-section p {
  font-size: 1.05em;
  line-height: 1.9;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto 28px auto;
}

/* PARTNERSHIP SECTION */
.partnership-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fbf8 0%, #edf5ed 100%);
  text-align: center;
}

.partnership-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f2e1a;
  font-size: 2.6em;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.partnership-section p {
  font-size: 1.05em;
  line-height: 1.9;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto 28px auto;
}

/* FIRST STEP SECTION */
.first-step-section {
  padding: 120px 0;
  background-color: #fff;
}

.first-step-content {
  display: flex;
  align-items: center;
  gap: 100px;
}

.first-step-text {
  flex: 1;
}

.first-step-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f2e1a;
  font-size: 2.6em;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.first-step-text p {
  font-size: 1.1em;
  line-height: 2;
  color: #4a4a4a;
  font-weight: 400;
}

.first-step-image {
  flex: 1;
}

.first-step-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(10, 31, 18, 0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.first-step-image img:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(10, 31, 18, 0.18);
}

/* DARK OVERLAY SECTIONS */
.dark-overlay-section {
  position: relative;
  padding: 130px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.dark-overlay-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 31, 18, 0.85) 0%, rgba(15, 46, 26, 0.8) 100%);
  z-index: 1;
}

.dark-overlay-section > .container {
  position: relative;
  z-index: 2;
}

/* CONNECT SECTION */
.connect-section {
  background-image: url('assets/YouthForEarth/steven-kamenar-MMJx78V7xS8-unsplash.jpg');
}

.connect-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 2.6em;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.connect-section p {
  color: rgba(255,255,255,0.92);
  font-size: 1.15em;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.9;
  font-weight: 400;
}

/* APPLY SECTION */
.apply-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #f8fbf8 0%, #edf5ed 100%);
}

.apply-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f2e1a;
  font-size: 2.4em;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.apply-section p {
  color: #3d5a45;
  font-size: 1.1em;
  margin-bottom: 8px;
  font-weight: 400;
}

.btn-apply {
  display: inline-block;
  padding: 16px 55px;
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-apply:hover {
  background: linear-gradient(135deg, #256029 0%, #2e7d32 100%);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.35);
}

.deadline-notice {
  margin-bottom: 25px;
  margin-top: 0;
  color: #5a7360;
  font-size: 0.9em;
  font-weight: 500;
  font-style: italic;
}

/* CONTACT SECTION */
.contact-section {
  background: #fff;
  padding: 50px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-logo {
  height: 120px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-logo:hover {
  opacity: 1;
  transform: scale(1.02);
}

.contact-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1.3em;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.contact-emails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-email {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  background-color: rgba(46, 125, 50, 0.1);
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  min-width: 280px;
  text-align: center;
}

.contact-email:hover {
  background-color: rgba(46, 125, 50, 0.2);
  color: #2e7d32;
}

/* SOCIAL BAR */
.social-bar {
  background-color: #f7f7f7;
  padding: 35px 40px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.social-bar .social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.social-bar .social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  color: #2e7d32;
  text-decoration: none;
  font-size: 1.15em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.social-bar .social-circle:hover {
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.28);
  border-color: transparent;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.15em;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  animation: fadeInUp 0.5s ease;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #256029 0%, #2e7d32 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(46, 125, 50, 0.4);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .first-step-content {
    gap: 60px;
  }
  
  .hero-content h1 {
    font-size: 2.6em;
  }
}

@media (max-width: 900px) {
  .first-step-content,
  .mission-content {
    flex-direction: column;
    gap: 50px;
  }
  
  .hero-content h1 {
    font-size: 2.2em;
  }
  
  nav {
    padding: 20px 30px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-logo {
    height: 110px;
  }
  
  .hero-content h1 {
    font-size: 1.8em;
  }
  
  .hero-video {
    height: 75vh;
  }
  
    
  .first-step-section,
  .dark-overlay-section,
  .apply-section {
    padding: 80px 0;
  }
  
  .first-step-text h2,
  .connect-section h2,
  .apply-section h2,
  .mission-text h2,
  .about-section h2 {
    font-size: 2em;
  }
  
  .mission-section,
  .about-section {
    padding: 60px 0;
  }
  
  .hero-image {
    height: 40vh;
  }
  
  .about-story {
    grid-template-columns: 1fr;
  }
  
  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-banner {
    padding: 30px 25px;
  }
  
  .container {
    padding: 0 25px;
  }
  
  .page-intro {
    padding: 14px 25px;
  }
  
  .site-title {
    font-size: 0.85em;
    letter-spacing: 2px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5em;
  }
  
  .nav-links {
    gap: 25px;
  }
  
  .btn-apply {
    padding: 16px 45px;
  }
}
