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

body {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
   Navbar
================================= */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  position: relative;
}

.logo img {
  width: 150px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #6cdb34;
}

.nav-buttons a {
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 12px;
  font-weight: 500;
  margin-left: 10px;
  transition: 0.3s;
}

.login-btn {
  border: 1px solid #6cdb34;
  color: #6cdb34;
}

.login-btn:hover {
  background: #6cdb34;
  color: #fff;
}

.signup-btn {
  background: #6cdb34;
  color: #fff;
}

.signup-btn:hover {
  background: #57b628;
}

/* ===== Toggle Button ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.3s ease;
}

.menu-toggle span {
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {

  /* Navbar */
  .menu-toggle {
    display: flex;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .nav-links {
    display: none;
    width: 100%;
    margin-top: 20px;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-buttons {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
  }

  .nav-buttons a {
    width: 100%;
    text-align: center;
    margin: 0 5px;
  }
}

/* banner */
/* Generic container (re-use this if not already defined) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Banner section */
.about-banner {
  background: url("../images/service/service.png") center/cover no-repeat;
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* align text to the left */
  text-align: left;
  padding-left: 30px;
  /* space from left edge */
}

/* Dark overlay */
.about-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(41, 41, 41, 0.45); */
  z-index: 1;
}

/* Title */
.banner-title {
  font-size: 78px;
  color: #FFFFFF;
  /* white color */
  z-index: 2;
  letter-spacing: 12px;
  font-weight: 600;
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .about-banner {
    height: 180px;
    padding-left: 20px;
    /* smaller padding on mobile */
  }

  .banner-title {
    font-size: 28px;
  }
}

/* services*/

.services-section {
  padding: 60px 20px;
  background: #f9f7fc;
  /* light background like screenshot */
  text-align: center;
}

.services-section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #222;
}

.services-section p {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.service-card h3 {
  padding: 15px;
  font-size: 1rem;
  color: #333;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ✅ Mobile adjustments */
@media (max-width: 600px) {
  .services-section h2 {
    font-size: 1.5rem;
  }

  .service-card img {
    height: 120px;
  }
}

/* servcie drone */
.how-it-works {
  padding: 60px 20px;
  background: #f9f7fc;
  text-align: center;
}

.how-it-works h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #222;
}

.how-it-works p {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.how-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  /* optional */
}

/* Footer */
.footer {
  background: #4F6600;
  color: #e9ffe4;
  padding: 50px 0 25px;
  font-size: 15px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0 25px;
}

.footer h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer p {
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  color: #e9ffe4;
  text-decoration: none;

}

.footer a:hover {
  color: #bed47b;
  /* light green */
  text-decoration: none;
}

/* Email input */
.footer form {
  display: flex;
  gap: 10px;
}

.footer input[type="email"] {
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  width: 100%;
}

.footer button {
  padding: 8px 18px;
  background: #bed47b;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #203900;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 25px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 15px;
  font-size: 14px;
}

.footer-bottom a {
  color: #e9ffe4;
  text-decoration: none;
  margin-left: 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media(max-width:768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer form {
    flex-direction: column;
  }

  .footer button {
    width: 100%;
  }
}