* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Make Login look like a button, not a link */
.header-btn {
  background-color: #2563eb;          /* Primary brand colour */
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 10px;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

/* Remove default nav underline / hover behaviour */
.nav-links li a.header-btn:hover {
  background-color: #1e40af;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Header */
header {
  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;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #261f63;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #4529e4;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 2;
  pointer-events: none;
}

.hero-slider {
  display: none;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 2;
}

.animated-dots {
  position: absolute;
  width: 100%;
  height: 100%;
}

.dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: floatDot 4s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 3;
}

.dot:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.dot:nth-child(2) {
  top: 40%;
  left: 20%;
  animation-delay: 0.7s;
}
.dot:nth-child(3) {
  top: 60%;
  left: 80%;
  animation-delay: 1.4s;
}
.dot:nth-child(4) {
  top: 80%;
  left: 70%;
  animation-delay: 2.1s;
}
.dot:nth-child(5) {
  top: 30%;
  left: 90%;
  animation-delay: 2.8s;
}
.dot:nth-child(6) {
  top: 70%;
  left: 15%;
  animation-delay: 3.5s;
}

.dot:nth-child(7) {
  top: 80%;
  left: 60%;
  animation-delay: 4s;
}

.dot:nth-child(8) {
  top: 90%;
  left: 40%;
  animation-delay: 4.5s;
}

.dot:nth-child(9) {
  top: 20%;
  left: 50%;
  animation-delay: 5s;
}

/* Connecting lines between dots */
.dot-connections {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.connection-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 20%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.6) 80%,
    transparent 100%
  );
  transform-origin: left center;
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
  transition: all 0.1s ease-out;
}

@keyframes floatDot {
  0%,
  100% {
    transform: translateY(0px) scale(2);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-30px) scale(3);
    opacity: 1;
  }
}

@keyframes pulseLine {
  0%,
  100% {
    opacity: 0.4;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  }
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 12, 61, 0.65); /* Adjust opacity as needed */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-text {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  z-index: 4;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-style: italic;
  line-height: 1.4;
  z-index: 4;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  position: relative;
  z-index: 4;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #4529e4;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(83, 74, 124, 0.4);
}

.cta-button:hover {
  background: #f4f4f8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(83, 74, 124, 0.6);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: white;
  color: #261f63;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #261f63;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: #6c6f7b;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 4px solid #4529e4;
}

.feature-card:hover {
  transform: translateY(-5px);
}



/* ===== PARALLAX SECTION ===== */

.parallax-section {
  position: relative;
  height: 60vh;
  min-height: 420px;
  width: 100%;
  overflow: hidden;

  /* remove background-image from here now */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* NEW: Moving background layer */
.parallax-bg {
  position: absolute;
  inset: 0;

  /* IMPORTANT: set image here */
  background-image: url("device.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Make it larger so translation doesn't show edges */
  height: 130%;
  top: -15%;

  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Dark overlay for readability */
.parallax-overlay {
  position: relative;          /* <-- important so it sits above bg */
  width: 100%;
  height: 100%;
  background: rgba(20, 18, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;                  /* <-- ensures overlay/content stays on top */
}

/* Content styling */
.parallax-content {
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 2rem;
}

.parallax-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.parallax-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.parallax-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 1.8rem;
  background: #4529e4;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.parallax-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(69, 41, 228, 0.4);
}

/* Second parallax image */
.parallax-secondary .parallax-bg {
  background-image: url("forest warden.jpg");
}

/* Optional: slightly darker overlay for contrast */
.parallax-secondary .parallax-overlay {
  background: rgba(10, 16, 28, 0.6);
}

/* Third parallax image */
.parallax-trap .parallax-bg {
  background-image: url("trap.jpg");
}

/* Optional tone tweak to differentiate visually */
.parallax-trap .parallax-overlay {
  background: rgba(18, 28, 22, 0.55);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4529e4, #332c55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #261f63;
}

.feature-card p {
  color: #6c6f7b;
  line-height: 1.6;
}

/* Product Showcase */
.showcase {
  padding: 5rem 0;
  background: white;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase-text h2 {
  font-size: 2.5rem;
  color: #261f63;
  margin-bottom: 1rem;
}

.showcase-text p {
  font-size: 1.1rem;
  color: #6c6f7b;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.showcase-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background: #f8f9fa;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #261f63 0%, #4529e4 100%);
  color: white;
  transform: scale(1.05);
}

.pricing-card.featured .cta-button {
  background: white;
  color: #261f63;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.price-period {
  opacity: 0.7;
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.features-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.features-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #4529e4;
}

.pricing-card.featured .features-list li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured .features-list li::before {
  color: white;
}

/* Contact Form */
.contact {
  padding: 5rem 0;
  background: #291f63;
  color: white;
}

.contact .section-title h2 {
  color: white;
}

.contact .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 1rem;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.submit-btn {
  background: white;
  color: #261f63;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1rem;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.obsero-fade {
  background: linear-gradient(135deg, #4529e4, #332c55);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 5px;
  display: none;
}

.form-message.success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid #4caf50;
  color: #4caf50;
}

.form-message.error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid #f44336;
  color: #f44336;
}

/* Footer */
footer {
  background: #201a3a;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #6c6f7b;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.logo-scroll {
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card:hover {
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  .showcase-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .features-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}
