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

:root {
  --primary-color: #2d5a27;
  --secondary-color: #4a7c59;
  --accent-color: #7fb069;
  --light-green: #a7c957;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --background-light: #f8f9fa;
  --background :azure;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}
.highlightglow
{
    color: #a7c957;
    font-weight: bold;
    text-shadow: 0 0 5px #a7c957, 0 0 10px #a7c957, 0 0 20px #a7c957;
}
[data-theme="dark"] {
  --primary-color: #4a7c59;
  --secondary-color: #7fb069;
  --accent-color: #a7c957;
  --text-dark: #ecf0f1;
  --text-light: #2c3e50;
  --background-light: #1a1a1a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --glow-color: #a7c957;
  --card-bg: #2d2d2d;
  --border-color: #404040;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--background-light);
  transition: all 0.3s ease;
}

/* Glow Effects */
.glow {
  filter: drop-shadow(0 0 10px var(--glow-color));
  transition: filter 0.3s ease;
}

.glow:hover {
  filter: drop-shadow(0 0 20px var(--glow-color));
}

.glow-text {
  text-shadow: 0 0 20px var(--glow-color);
}

.glow-button {
  box-shadow: 0 0 20px rgba(127, 176, 105, 0.3);
  transition: all 0.3s ease;
}

.glow-button:hover {
  box-shadow: 0 0 30px rgba(127, 176, 105, 0.6);
  transform: translateY(-2px);
}

.glow-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(127, 176, 105, 0.1);
  transition: all 0.3s ease;
}

.glow-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(127, 176, 105, 0.3);
  transform: translateY(-5px);
}

/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
  transform: translate(-50%, -50%);
}

/* Welcome Screen */
.welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: all 1s ease;
}

.welcome-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.welcome-logo {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  animation: logoFloat 2s ease-in-out infinite alternate;
}

.welcome-text {
  font-size: 1.5rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background: var(--text-light);
  width: 0%;
  animation: loadingProgress 3s ease forwards;
}

@keyframes logoFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

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

@keyframes loadingProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
.fas fa-leaf {
  font-size: 2rem;
  color: var(--accent-color);
  margin-right: 0.5rem;
  padding:30px;
  margin-left:30px;
} 

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  transform: translateY(-100%);
  animation: slideDown 0.8s ease 3.5s forwards;
  box-shadow: var(--shadow);
  ;
}
.navbar:hover
{
  background :antiquewhite;
  
}
[data-theme="dark"] .navbar {
  background: rgba(26, 26, 26, 0.95);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  font-size: medium;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  font-size: medium;
  font-family: Aveninext;
  
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: #aaa xure;
  font-size: medium;
  font-family: Aveninext;
  

}

.nav-link::after {
  content: attr(data-text);
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.theme-toggle:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

/* Main Content */
.main-content {
  opacity: 0;
  animation: fadeIn 1s ease 4s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(45, 90, 39, 0.8), rgba(74, 124, 89, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
  animation: slideInLeft 1s ease 4.5s forwards;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: slideInRight 1s ease 5s forwards;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0;
  animation: slideInUp 1s ease 5.5s forwards;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

/* Fact of the Day */
.fact-of-day {
  padding: 2rem 0;
  background: var(--background-light);
}

.fact-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
}

.fact-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.fact-card p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.refresh-fact {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-fact:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* About Section */
.about {
  background: var(--background-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-image {
  text-align: center;
}

.about-image i {
  font-size: 15rem;
  color: var(--accent-color);
  animation: pulse 2s ease-in-out infinite;
}

.audio-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.audio-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.audio-player {
  width: 100%;
  margin-top: 1rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Timeline Section */
.timeline-section {
  background: var(--background-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 2rem;
}

.timeline-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  top: 0;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -10px;
}

.timeline-content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.timeline-actions {
  margin-top: 1rem;
}

.action-tag {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 5px 5px 5px 0;
}

/* Issues Section */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.issue-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.issue-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.issue-card:hover i {
  transform: scale(1.1);
  color: var(--primary-color);
}

.issue-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.issue-stats {
  margin-top: 1rem;
}

.stat {
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Solutions Section */
.solutions {
  background: var(--gradient);
  color: var(--text-light);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.solution-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.solution-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.solution-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light-green);
}

/* Challenges Section */
.challenges {
  background: var(--background-light);
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.challenge-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.challenge-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.challenge-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.challenge-progress {
  margin: 1.5rem 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.join-challenge {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.join-challenge:hover {
  background: var(--secondary-color);
}

/* Gallery Section */
.gallery {
  background: var(--background-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.section-title reveal glow-text{
  color: white;
}
/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  max-width: 80%;
  max-height: 80%;
  text-align: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.modal-info {
  color: white;
  padding: 1rem;
}

/* Research Section */
.research {
  background: var(--background-light);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.research-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.research-card:hover .research-image img {
  transform: scale(1.1);
}

.research-content {
  padding: 2rem;
}

.research-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.research-author {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.research-excerpt {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.research-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.research-category {
  background: var(--accent-color);
    color: white;
  padding: 3px 10px;
  border-radius: 15px;
    font-size: 0.8rem;
}

.read-more {
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
    border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  background: var(--secondary-color);
}

/* Contact Section */
.contact {
  background: var(--background-light);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
  padding: 15px;
   border: 2px solid var(--border-color);
  border-radius: 10px;
    font-size: 1rem;
  transition: all 0.3s ease;
    background: var(--card-bg);
  color: var(--text-dark);
}

.form-group input:focus,
                 .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.1);
}

           .submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Footer */
.footer {
   background: var(--text-dark);
  color: var(--text-light);
      text-align: center;
  padding: 3rem 0;
    background-color: #2d5a27;
}

[data-theme="dark"] .footer {
  background: #0d0d0d;
}

.social-links {
  margin: 2rem 0;
}

.social-links a {
  display: inline-block;
  margin: 0 1rem;
  color: var(--text-light);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

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

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Animation classes for scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Particle animation */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.5;
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

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


@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--card-bg);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image i {
    font-size: 8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .welcome-logo {
    font-size: 2rem;
  }

  .welcome-text {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .loading-bar {
    width: 250px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 3rem !important;
    padding-right: 0 !important;
  }

  .timeline-marker {
    left: 10px !important;
    right: auto !important;
  }

  .challenges-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .nav-menu {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 1rem;
  }
}
