/* === Global Styles === */
:root {
  --forest-green: #2e8b57;
  --deep-forest: #1a2f23;
  --sky-blue: #6ccff6;
  --light-green: #9ee493;
  --text-light: #f5f5f5;
  --text-dark: #1b1b1b;
  --accent-glow: 0 0 12px rgba(108, 207, 246, 0.6);
}

#bg-balls {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  
  background: #0e1a13; /* fallback if JS dies */
}





* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  /* background: linear-gradient(to bottom, var(--deep-forest), #0e1a13); */
  color: var(--text-light);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,body {
  height:100%; margin:0;
}
.ripple {
  position: fixed;
  width: 5px; height: 5px;
  background: radial-gradient(circle, #ffffff 0%, transparent 30%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: rippleAnim 0.6s linear forwards;
}
@keyframes rippleAnim {
  to { transform: scale(25); opacity: 0; }
}


/* === Navigation Bar === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 47, 35, 0.7);
  backdrop-filter: blur(8px);
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

nav a {
  color: var(--light-green);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:hover {
  color: var(--sky-blue);
}

/* === Hero Section === */
.hero {
  height: 100vh;
  background: url('forest-drones-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--light-green);
  text-shadow: var(--accent-glow);
}

.hero p {
  margin-top: 1rem;
  font-size: 1.3rem;
  max-width: 700px;
  line-height: 1.6;
  color: #e8f5e9;
}

.hero button {
  margin-top: 2rem;
  background: var(--sky-blue);
  color: var(--text-dark);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hero button:hover {
  background: var(--light-green);
  transform: translateY(-3px);
  box-shadow: var(--accent-glow);
}

/* === Section Styling === */
section {
  padding: 6rem 3rem;
  text-align: center;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--sky-blue);
}

section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #dfeee4;
}

/* === Cards / Features === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(108, 207, 246, 0.3);
}

.card h3 {
  color: var(--light-green);
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  color: #d7e8d0;
}

/* === Footer === */
footer {
  background: #0f1a13;
  padding: 2rem 1rem;
  text-align: center;
  color: #a5bba7;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.about-section.fade-in {
  opacity: 1 !important;
  transform: none !important;
}
/* === Animations === */
/* === Universal Fade-In Animation === */
/* === Simple Global Fade-In === */
.fade-in {
  /* opacity: 0; */
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

body.loaded .fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* === Navigation Bar (Enhanced) === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 3rem;
  background: rgba(26, 47, 35, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo .brand {
  color: var(--light-green);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(158, 228, 147, 0.4);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.15s, text-shadow 0.15s;
}

.nav-links li a:hover {
  color: var(--sky-blue);
  text-shadow: var(--accent-glow);
}

/* === Mobile Menu === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.15s ease;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: rgba(26, 47, 35, 0.75);
    width: 200px;
    padding: 2rem;
    border-left: 1px solid rgba(255,255,255,0.1);
    transition: right 0.2s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Animate menu icon when active */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}


/* === Footer === */
footer {
  background: #0f1a13;
  color: #d9f0e3;
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-container h3, 
.footer-container h4 {
  color: var(--light-green);
  margin-bottom: 1rem;
}

.footer-about p {
  line-height: 1.7;
  color: #cfe7d2;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #cfe7d2;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--sky-blue);
  text-shadow: var(--accent-glow);
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: #cfe7d2;
}

.socials {
  margin-top: 1rem;
}

.socials a {
  margin-right: 1rem;
  color: var(--light-green);
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  color: var(--sky-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  color: #a5bba7;
  font-size: 0.9rem;
}

/* Responsive layout tweak */
@media (max-width: 600px) {
  .footer-container {
    text-align: center;
  }
}


/* === Hero Carousel === */
.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
.carousel {
  position: relative !important;
}

.about-section {
  position: relative;
  z-index: 3;
}

.about-section {
  background: linear-gradient(to bottom, rgba(22, 43, 33, 0.75), rgba(10, 20, 15, 1));
}


.carousel {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity .5s ease-in-out;
}

.carousel .slide.active {
  opacity: 1;
  z-index: 1;
}

#about {
  position: relative;
  z-index: 2;
  /* margin-top: 100vh; pushes it visually below the hero */
}


.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

/* Overlay text */
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-light);
}

.overlay h1 {
  font-size: 3.5rem;
  color: var(--light-green);
  text-shadow: var(--accent-glow);
}

.overlay p {
  margin-top: 1rem;
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 2;
}

.carousel-nav button {
  background: none;
  border: none;
  color: var(--light-green);
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
}

@media (max-width: 767px) {
  .carousel-nav {
    display: none;
  }
}


.carousel-nav span:hover {
  color: var(--sky-blue);
  text-shadow: var(--accent-glow);
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.carousel-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.1s;
}

.carousel-dots span.active {
  background: var(--sky-blue);
  box-shadow: var(--accent-glow);
}


/* Make prev/next buttons transparent so only inner span is visible */
.prev,
.next {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: inherit;
  box-shadow: none;
}

/* keep transparent on hover/active and remove focus outline */
.prev:hover,
.next:hover,
.prev:active,
.next:active {
  background: transparent;
}

.prev:focus,
.next:focus {
  outline: none;
  box-shadow: none;
}

/* inner span remains visible and purely visual */
.prev span,
.next span {
  display: inline-block;
  pointer-events: none;
}

/* === About Section === */
.about-section {
  padding: 8rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(14,26,19,0.7), rgba(26,47,35,0.7));
  position: relative;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
}

.about-text h2 {
  font-size: 2.8rem;
  color: var(--sky-blue);
  margin-bottom: 1.5rem;
  text-shadow: var(--accent-glow);
}

.highlight {
  color: var(--light-green);
  text-shadow: 0 0 10px rgba(158,228,147,0.4);
}

.about-text p {
  font-size: 1.1rem;
  color: #dfeee4;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  background: var(--sky-blue);
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-btn:hover {
  background: var(--light-green);
  box-shadow: var(--accent-glow);
  transform: translateY(-3px);
}

.about-visual {
  position: relative;
}

.about-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(108,207,246,0.2);
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

.image-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(108,207,246,0.2), transparent 60%);
  pointer-events: none;
}

/* === Team Section === */
.team-section {
  position: relative;
  z-index: 3;
  padding: 8rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgba(14, 26, 19, 0.7) 0%, rgba(26, 48, 35, 0.7) 100%);
  /* linear-gradient(to bottom, rgba(14,26,19,0.7), rgba(26,47,35,0.7)); */
}


.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
}

.team-text h2 {
  font-size: 2.8rem;
  color: var(--sky-blue);
  margin-bottom: 1.5rem;
  text-shadow: var(--accent-glow);
}

.team-text p {
  font-size: 1.1rem;
  color: #dfeee4;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.team-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(108,207,246,0.2);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.team-image-container:hover .team-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .team-text {
    text-align: center;
  }
}

/* === Contact Section === */
/* === CONTACT SECTION === */
.contact-section {
  padding: 8rem 3rem;
  /* background: radial-gradient(circle at center, rgba(22,45,32,0.7) 0%, rgba(10,20,15,1) 100%); */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
  backdrop-filter: blur(8px);
}

.contact-container {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.contact-text h2 {
  font-size: 2.8rem;
  color: var(--sky-blue);
  margin-bottom: 1rem;
  text-shadow: var(--accent-glow);
}

.contact-text p {
  color: #dfeee4;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* === FUTURISTIC INPUT ANIMATION (GREEN → WHITE GLOW) === */
.contact-form.futuristic {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form.futuristic .form-group {
  position: relative;
  width: 100%;
}

/* Inputs — no borders, no box-shadows, no outlines */
.contact-form.futuristic input,
.contact-form.futuristic textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  font-size: 1rem;
  padding: 0.8rem 0;
  font-family: 'Poppins', sans-serif;
  outline: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

/* Remove default focus glow from browsers */
.contact-form.futuristic input:focus,
.contact-form.futuristic textarea:focus {
  outline: none;
  box-shadow: none;
  border-bottom-color: rgba(255,255,255,0.1);
}

/* Label behavior */
.contact-form.futuristic label {
  position: absolute;
  top: 0.8rem;
  left: 0;
  font-size: 1rem;
  color: #1a2f23; /* deep forest green */
  pointer-events: none;
  transition: all 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
}

/* Floating + glowing label on focus */
.contact-form.futuristic input:focus + label,
.contact-form.futuristic input:not(:placeholder-shown) + label,
.contact-form.futuristic textarea:focus + label,
.contact-form.futuristic textarea:not(:placeholder-shown) + label {
  top: -1rem;
  left: 0;
  font-size: 0.85rem;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255,255,255,0.7);
}

/* Animated line glow (only visible underline) */
.contact-form.futuristic .glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--light-green), var(--sky-blue));
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(158,228,147,0.5);
}

.contact-form.futuristic input:focus ~ .glow,
.contact-form.futuristic textarea:focus ~ .glow {
  width: 100%;
  animation: pulseWhite 1.2s infinite alternate;
}

@keyframes pulseWhite {
  0% { box-shadow: 0 0 6px rgba(158,228,147,0.4); }
  100% { box-shadow: 0 0 16px rgba(255,255,255,0.7); }
}

/* === BUTTON STYLING === */
/* === BUTTON STYLING (VISIBLE TEXT ON HOVER) === */
.contact-btn {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--sky-blue); /* default text color */
  border: 2px solid var(--sky-blue);
  border-radius: 25px;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  align-self: center;
  z-index: 1;
}

/* the glowing slide background */
.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--light-green), var(--sky-blue));
  transition: all 0.4s ease;
  z-index: 0; /* stays behind text */
}

/* make sure the text stays above everything */
.contact-btn span {
  position: relative;
  z-index: 2;
}

.contact-btn:hover::before {
  left: 0;
}

/* change text to dark when background becomes bright */
.contact-btn:hover {
  color: #0f1a13; /* dark forest background contrast */
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
  box-shadow: 0 0 20px rgba(158,228,147,0.4);
}

/* === RESPONSIVE TWEAKS === */
@media (max-width: 600px) {
  .contact-section {
    padding: 6rem 2rem;
  }
  .contact-form.futuristic {
    gap: 1.5rem;
  }
}

/* === FAQ SECTION === */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 0 25px rgba(108,207,246,0.3);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--light-green);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.2rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
}

.faq-question:hover {
  color: var(--sky-blue);
  text-shadow: var(--accent-glow);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--sky-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--light-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(14,26,19,0.8);
  color: #dfeee4;
  padding: 0 1.5rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 1rem 1.5rem 1.5rem;
}

.faq-answer p {
  line-height: 1.7;
  font-size: 1rem;
}

.alt-bg{
  background:   linear-gradient(to top, rgba(14, 26, 19, 0.7) 0%, rgba(26, 48, 35, 0.7) 100%);
}

/* === TECHNOLOGY SECTION === */
.tech-section {
  position: relative;
  padding: 8rem 3rem;
  background: linear-gradient(to bottom, rgba(14,26,19,0.75) 0%, rgba(8,16,12,1) 100%);
  overflow: hidden;
  z-index: 2;
}

.tech-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* glowing particles drifting behind */
.tech-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(108,207,246,0.05), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(158,228,147,0.05), transparent 60%);
  animation: drift 12s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes drift {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-40px) scale(1.05); }
}

/* text */
.tech-text {
  position: relative;
  z-index: 2;
}

.tech-text h2 {
  font-size: 2.8rem;
  color: var(--light-green);
  text-shadow: 0 0 15px rgba(158,228,147,0.4);
  margin-bottom: 1.5rem;
}

.tech-text p {
  color: #dfeee4;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.tech-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.tech-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  color: #cfe7d2;
  line-height: 1.7;
}

.tech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, var(--sky-blue) 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(108,207,246,0.6);
  animation: pulseDot 2s infinite alternate;
}

@keyframes pulseDot {
  from { transform: scale(0.7); opacity: 0.6; }
  to   { transform: scale(1.2); opacity: 1; }
}

/* image side */
.tech-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(108,207,246,0.2);
  z-index: 1;
}

.tech-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.tech-image-container:hover .tech-image {
  transform: scale(1.05) rotate(0.5deg);
}

.tech-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(108,207,246,0.25), transparent 70%);
  mix-blend-mode: overlay;
  animation: glowShift 6s infinite alternate ease-in-out;
}

@keyframes glowShift {
  from { opacity: 0.4; }
  to { opacity: 0.8; }
}

/* button */
.tech-btn {
  display: inline-block;
  position: relative;
  margin-top: 1rem;
  border: 2px solid var(--sky-blue);
  border-radius: 25px;
  padding: 0.9rem 2.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 2;
}

.tech-btn span {
  position: relative;
  z-index: 2;
}

.tech-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--sky-blue), var(--light-green));
  transition: all 0.4s ease;
  z-index: 1;
}

.tech-btn:hover::before {
  left: 0;
}

.tech-btn:hover {
  color: #0f1a13;
  box-shadow: 0 0 20px rgba(108,207,246,0.4);
}

/* responsive */
@media (max-width: 768px) {
  .tech-text { text-align: center; }
}


/* === DRYADES OVERVIEW === */
.dryades-overview {
  position: relative;
  padding: 8rem 2rem;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(16,35,25,1), rgba(8,16,12,1));
  overflow: hidden;
}

.dryades-header h2 {
  color: var(--light-green);
  font-size: 2.8rem;
  text-shadow: 0 0 15px rgba(158,228,147,0.4);
  margin-bottom: 1.5rem;
}

.dryades-header p {
  color: #dfeee4;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

.dryades-diagram {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 4rem auto 0;
}

.dryades-diagram .node {
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--sky-blue), transparent 60%);
  border-radius: 50%;
  animation: nodePulse 3s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(108,207,246,0.6);
}

.dryades-diagram .node:nth-child(1) { top: 70%; left: 20%; animation-delay: 0s; }
.dryades-diagram .node:nth-child(2) { top: 30%; left: 50%; animation-delay: 0.6s; }
.dryades-diagram .node:nth-child(3) { top: 65%; left: 80%; animation-delay: 1s; }
.dryades-diagram .node:nth-child(4) { top: 50%; left: 35%; animation-delay: 1.3s; }
.dryades-diagram .node:nth-child(5) { top: 80%; left: 60%; animation-delay: 1.7s; }

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.connections {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.connections line {
  stroke: rgba(108,207,246,0.25);
  stroke-width: 0.7;
  animation: glowLine 4s infinite alternate ease-in-out;
}

@keyframes glowLine {
  from { stroke: rgba(108,207,246,0.15); }
  to { stroke: rgba(158,228,147,0.5); }
}

/* === DRYADES NETWORK TOPOLOGY === */
.dryades-topology {
  position: relative;
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(to bottom, #0e1a13, #08110b);
  overflow: hidden;
}

.topology-header h2 {
  font-size: 2.6rem;
  color: var(--sky-blue);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(108,207,246,0.4);
}

.topology-header p {
  color: #cfe7d2;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.mesh {
  position: relative;
  width: 600px;
  height: 400px;
  margin: 0 auto;
  border: 1px dashed rgba(108,207,246,0.1);
  border-radius: 12px;
  overflow: hidden;
}

.mesh-node {
  position: absolute;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, var(--light-green), transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(158,228,147,0.5);
  animation: floatNode 6s infinite ease-in-out alternate;
}

@keyframes floatNode {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.mesh-node:nth-child(1) { top: 10%; left: 45%; animation-delay: 0s; }
.mesh-node:nth-child(2) { top: 30%; left: 70%; animation-delay: 0.5s; }
.mesh-node:nth-child(3) { top: 60%; left: 80%; animation-delay: 1s; }
.mesh-node:nth-child(4) { top: 70%; left: 40%; animation-delay: 1.5s; }
.mesh-node:nth-child(5) { top: 50%; left: 15%; animation-delay: 2s; }
.mesh-node:nth-child(6) { top: 25%; left: 20%; animation-delay: 2.5s; }
.mesh-node:nth-child(7) { top: 40%; left: 55%; animation-delay: 3s; }

.mesh::before,
.mesh::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(108,207,246,0.4), transparent);
  animation: scanline 5s infinite linear;
}

.mesh::before { top: 30%; }
.mesh::after { top: 70%; animation-delay: 2.5s; }

@keyframes scanline {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* === DRYADES POWER === */
.dryades-power {
  position: relative;
  padding: 8rem 2rem;
  background: linear-gradient(to bottom, rgba(10,20,15,1), rgba(5,10,8,1));
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.power-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
}

.power-text h2 {
  color: var(--light-green);
  font-size: 2.5rem;
  text-shadow: 0 0 15px rgba(158,228,147,0.4);
  margin-bottom: 1rem;
}

.power-text p {
  color: #cfe7d2;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.power-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.power-specs li {
  margin-bottom: 0.7rem;
  color: #dfeee4;
  font-size: 1.05rem;
}

.power-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.power-ring {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--light-green), var(--sky-blue), var(--light-green));
  animation: spin 10s linear infinite;
  filter: drop-shadow(0 0 20px rgba(108,207,246,0.3));
}

.power-ring::before {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,20,15,1), rgba(5,10,8,1));
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--light-green) 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(158,228,147,0.5);
  animation: pulseCore 2.5s infinite alternate;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseCore {
  from { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  to { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* === FAQ Section === */
.faq-section {
  position: relative;
  padding: 8rem 2rem;
  background: linear-gradient(to bottom, #0e1a13, #08110b);
  overflow: hidden;
  z-index: 1;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-header h2 {
  color: var(--light-green);
  font-size: 2.6rem;
  text-shadow: 0 0 15px rgba(158,228,147,0.4);
  margin-bottom: 1rem;
}

.faq-header p {
  color: #cfe7d2;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Container */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Item styling */
.faq-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(158,228,147,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item.active {
  box-shadow: 0 0 20px rgba(108,207,246,0.3);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1.5rem 2rem;
  color: var(--light-green);
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--sky-blue);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--sky-blue);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--light-green);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 2rem;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: #dfeee4;
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
}

.faq-answer p::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(108,207,246,0.4), transparent);
  opacity: 0.7;
  animation: glowLine 3s infinite alternate ease-in-out;
}

@keyframes glowLine {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}

/* Subtle background motion */
.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(108,207,246,0.05), transparent 70%),
              radial-gradient(circle at 80% 60%, rgba(158,228,147,0.05), transparent 70%);
  animation: drift 15s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes drift {
  from { transform: translateY(0px); }
  to   { transform: translateY(-25px); }
}

/* === Loader Overlay === */
#loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #0f1a13 0%, #000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 0.6s ease-out 1s forwards;
}
.loader-logo {
  width: 0;
  opacity: 0;
  filter: drop-shadow(0 0 15px rgba(158,228,147,0.4));
  animation: logoIntro 0.9s cubic-bezier(0.25, 1, 0.3, 1) forwards;
}

/* Keyframes */
@keyframes logoIntro {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  40% {
    opacity: 1;
    transform: scale(1.15);
  }
  70% {
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* === Content Fade-In === */
body.loaded main,
body.loaded section,
body.loaded nav,
body.loaded footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


/* ===== NEREIDES SECTIONS ===== */
@keyframes flowEnergy {
  0% { stroke-dashoffset: 500; opacity: 0.6; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}

.energy-line {
  stroke: #32ffc4;
  stroke-width: 2;
  stroke-dasharray: 500;
  animation: flowEnergy 4s linear infinite;
}

.nereides-section {
  background: linear-gradient(to bottom, #03141d, #052f3c, 0.7);
  padding: 6rem 3rem;
  color: #cfe7d2;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nereides-section h2 {
  background: linear-gradient(90deg, #32ffc4, #eafffa, #32ffc4);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}


.nereides-section h2 {
  font-size: 2.5rem;
  color: #57d6a2;
  margin-bottom: 1.5rem;
}

.nereides-section p {
  max-width: 850px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  color: #cde9e0;
}

.nereides-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 2em
}

.nereides-visual img {
  width: 100%;
  border-radius: 15px;
  filter: brightness(85%) contrast(105%);
  box-shadow: 0 0 25px rgba(80, 255, 200, 0.25);
}

.image-glow {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  box-shadow: 0 0 40px rgba(80, 255, 200, 0.2);
  pointer-events: none;
}

.impact-stats, .economic-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

.impact-stats li, .stat-box {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 1.5rem 2rem;
  box-shadow: 0 0 15px rgba(80, 255, 200, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover, .impact-stats li:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(80, 255, 200, 0.35);
}

.stat-box h3 {
  font-size: 2rem;
  color: #6fffd3;
  margin-bottom: 0.5rem;
}
