html {
  scroll-behavior: smooth;
}

:root {
  --primary: #529d3e;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
}

/* NAV */
nav {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav h1 {
  color: var(--primary);
  font-size: 22px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  margin-left: 20px;
  font-weight: 500;
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0px 8%;
  max-width: 700px;
}

.hero-content h2 {
  font-size: 42px;
}

.hero-content p {
  margin: 20px 0;
}

.hero-content button {
  background: var(--primary);
  color: var(--light);
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

/* SECTIONS */
section {
  padding: 80px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
}

.section-title h2 {
  font-size: 32px;
}

.section-title p {
  color: var(--gray);
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about div {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.about img {
  width: 100%;
  border-radius: 10px;
}

/* SERVICES */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.card i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 15px;
}

/* WHY */
.why {
  background: var(--light);
}

.why ul {
  max-width: 700px;
  margin: auto;
}

.why li {
  margin: 15px 0;
  list-style: none;
}

.why li i {
  color: green;
  margin-right: 10px;
}

/* PRODUCTS */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* TESTIMONIALS */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial p {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}

.testimonial .name {
  font-weight: 600;
  color: #222;
}

/* ORDER */
.order-box {
  max-width: 600px;
  margin: auto;
}

.order-box input,
.order-box textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  outline: none;
  border: 1px solid #ccc;
}

.order-box input:focus,
.order-box textarea:focus {
  border-color: #529d3e;
}

.order-box button {
  width: 100%;
  background: var(--primary);
  color: var(--light);
  border: none;
  padding: 14px;
  font-size: 16px;
  cursor: pointer;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--alight);
  padding: 60px 8% 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #cccccc;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #cccccc;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-btn a {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-btn a:hover {
  transform: scale(1.1);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn a {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* NAVBAR RESPONSIVE */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 80px 30px;
    gap: 25px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: 0.4s ease-in-out;
    z-index: 150;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
    z-index: 200;
  }

  nav a {
    font-size: 18px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .hero-content h2 {
    font-size: 30px;
  }
}
@media screen and (max-width: 500px) {
  .hero-slider {
    height: 50vh;
  }
}
@media screen and (max-width: 768px) {
  .social-links {
    display: flex;
    justify-content: center;
  }
}
