/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* Variables */
:root {
  --bg-color: #0a0a0a;
  --text-color: #e0e0e0;
  --primary-color: #27ae60;
  --primary-dark: #1e8449;
  --primary-light: #2ecc71;
  --secondary-color: #1a1a1a;
  --accent-color: #00ff88;
  --nav-bg: rgba(10, 10, 10, 0.95);
  --card-bg: rgba(26, 26, 26, 0.7);
  --section-padding: 100px 50px;
}

/* Base Styles */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
}

/* Animated Gradient Background */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #121212 50%, #1a1a1a 100%);
  z-index: -2;
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Particles Background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  background: transparent;
}

/* Floating Eco Elements */
.eco-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.leaf {
  position: absolute;
  width: 30px;
  height: 30px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2327ae60"><path d="M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17 1.02.3 1.58.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z"/></svg>')
    no-repeat center;
  opacity: 0.6;
  animation: float 15s linear infinite;
}

.circuit {
  position: absolute;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300ff88"><path d="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 2v14h14V5H5m2 2h10v2H7V7m0 4h10v2H7v-2m0 4h10v2H7v-2z"/></svg>')
    no-repeat center;
  opacity: 0.4;
  animation: float 12s linear infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  border-bottom: 1px solid rgba(39, 174, 96, 0.2);
}

.navbar.scrolled {
  padding: 15px 5%;
  background: rgba(10, 10, 10, 0.98);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-color);
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

/* Navbar Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn-nav {
  padding: 10px 20px;
  background: var(--primary-color);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* Buttons */
.btn-primary {
  padding: 12px 25px;
  background: var(--primary-color);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(39, 174, 96, 0.4);
}

.btn-secondary {
  padding: 12px 25px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(39, 174, 96, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
}

/* Sections */
section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2 span {
  color: var(--primary-color);
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  margin: 0 auto 20px;
  border-radius: 2px;
  animation: dividerGrow 1s ease-out;
}

@keyframes dividerGrow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}

.section-subtitle {
  color: #aaa;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 0 5%;
  position: relative;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(46, 204, 113, 0.3);
  z-index: -1;
  border-radius: 5px;
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.globe {
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="%2327ae60" stroke-width="2"/><path d="M50 5 A45 45 0 0 1 50 95 A45 45 0 0 1 50 5" fill="none" stroke="%2327ae60" stroke-width="1"/><path d="M5 50 A45 45 0 0 1 95 50" fill="none" stroke="%2327ae60" stroke-width="1"/></svg>')
    no-repeat center;
  background-size: contain;
  animation: rotateGlobe 30s linear infinite;
  position: relative;
  z-index: 1;
}

.globe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(46, 204, 113, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes rotateGlobe {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #ccc;
}

.mission-statement {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
  border-left: 4px solid var(--primary-color);
  display: flex;
  gap: 15px;
  align-items: center;
}

.mission-statement i {
  font-size: 2rem;
  color: var(--primary-color);
}

.mission-statement p {
  font-style: italic;
  margin: 0;
}

.about-image {
  flex: 1;
  position: relative;
  min-height: 400px;
}

.hexagon-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hexagon {
  position: absolute;
  width: 150px;
  height: 173px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 115.47"><polygon points="50 0 93.3 25 93.3 75 50 100 6.7 75 6.7 25" fill="none" stroke="%2327ae60" stroke-width="2"/></svg>')
    no-repeat center;
  background-size: contain;
  opacity: 0.7;
}

.hexagon:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: floatHexagon 8s ease-in-out infinite;
}

.hexagon:nth-child(2) {
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
  animation: floatHexagon 10s ease-in-out infinite reverse;
}

.hexagon:nth-child(3) {
  bottom: 0;
  right: 20%;
  animation: floatHexagon 12s ease-in-out infinite;
}

@keyframes floatHexagon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Tools Section */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.tool-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(39, 174, 96, 0.1) 0%,
    transparent 100%
  );
  z-index: -1;
}

.tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(39, 174, 96, 0.5);
}

.tool-icon {
  width: 60px;
  height: 60px;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.tool-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.tool-card p {
  color: #bbb;
  margin-bottom: 20px;
  line-height: 1.6;
}

.tool-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.tool-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-size: 0.9rem;
}

.tool-features i {
  color: var(--primary-color);
}

/* Impact Statistics */
.stats {
  background: linear-gradient(135deg, #0a0a0a 0%, #121212 100%);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><circle cx="50" cy="50" r="40" fill="none" stroke="%2327ae60" stroke-width="1"/></svg>');
  background-size: 100px 100px;
  opacity: 0.1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.stat-item {
  position: relative;
  padding: 30px;
  background: rgba(26, 26, 26, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
  z-index: 1;
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(39, 174, 96, 0.1) 0%,
    transparent 100%
  );
  z-index: -1;
}

.stat-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(39, 174, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  border: 2px solid rgba(39, 174, 96, 0.3);
  position: relative;
}

.stat-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-color),
    transparent
  );
  animation: wave 2s linear infinite;
}

@keyframes wave {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

.stat-item p {
  font-size: 1.1rem;
  color: #ccc;
}

/* Testimonials Section */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-content {
  margin-bottom: 30px;
}

.testimonial-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #ddd;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
}

.testimonial-content p::before {
  top: -20px;
  left: -15px;
}

.testimonial-content p::after {
  bottom: -40px;
  right: -15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-author h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: white;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
  font-style: normal;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: rgba(39, 174, 96, 0.1);
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: rgba(39, 174, 96, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: white;
}

.contact-item p {
  color: #bbb;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: #ccc;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.contact-form {
  flex: 1;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(39, 174, 96, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  padding: 60px 5%;
  text-align: center;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.newsletter-text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
}

.newsletter-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 600px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
  padding: 15px 30px;
  background: var(--bg-color);
  color: white;
  border: none;
  border-radius: 0 30px 30px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-form button:hover {
  background: #000;
}

/* Scroll-to-Top Button */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#scrollTop:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
  background: #0a0a0a;
  padding: 60px 5% 30px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 20px;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-col p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777;
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-credits i {
  color: var(--primary-color);
}

/* Loading Animation */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  position: relative;
  width: 100px;
  height: 100px;
}

.loader-leaf {
  position: absolute;
  width: 30px;
  height: 30px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2327ae60"><path d="M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17 1.02.3 1.58.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z"/></svg>')
    no-repeat center;
  animation: loaderSpin 2s linear infinite;
  opacity: 0;
}

.loader-leaf:nth-child(1) {
  top: 0;
  left: 35px;
  animation-delay: 0s;
}

.loader-leaf:nth-child(2) {
  top: 20px;
  left: 65px;
  animation-delay: 0.2s;
}

.loader-leaf:nth-child(3) {
  top: 60px;
  left: 50px;
  animation-delay: 0.4s;
}

@keyframes loaderSpin {
  0% {
    transform: rotate(0deg) scale(0.5);
    opacity: 0;
  }
  50% {
    transform: rotate(180deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg) scale(0.5);
    opacity: 0;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in.delay {
  animation-delay: 0.5s;
}

.fade-in.delay-2 {
  animation-delay: 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-image {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 100px;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    text-align: center;
  }

  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 5%;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-content p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    padding: 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 30px;
  }

  .newsletter-form button {
    border-radius: 30px;
    margin-top: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
/* Update tool card styles for anchor tags */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.tool-card {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.tool-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.tool-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.tool-card p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.tool-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.tool-features i {
  color: var(--primary-color);
}
