html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

footer{
text-align:center;
padding:40px 20px;
background:#1b1b1b;
color:white;
}

.developer-credit{
margin-top:14px;
font-size:10px;
letter-spacing:.5px;
opacity:.85;
}

.developer-credit a{
color:#8fd694;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.developer-credit a:hover{
color:white;
}
body {
  line-height: 1.6;
  color: #333;
  background-color: #f7f7f7;
}


header {
  background: #2e7d32;
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-size: 15px;
}

nav a:hover {
  text-decoration: underline;
}


.hero {
  background: url('farm.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}


.btn {
  display: inline-block;
  background: #ff9800;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background: #e68900;
}


section {
  padding: 50px 20px;
  text-align: center;
}

.about-preview {
  background: white;
}


.services {
  background: #e8f5e9;
}

.services h2 {
  margin-bottom: 30px;
}

.service-box {
  background: white;
  margin: 15px auto;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


footer {
  background: #1b5e20;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }

  nav a {
    display: block;
    margin: 5px 0;
  }

  header {
    flex-direction: row;
    text-align: left;
  }
}

.page-title {
  background: #388e3c;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.page-title h1 {
  font-size: 36px;
}


.about-content {
  padding: 50px 20px;
  max-width: 900px;
  margin: auto;
}

.about-box {
  background: white;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about-box h2 {
  margin-bottom: 10px;
  color: #2e7d32;
}

.about-box ul {
  padding-left: 20px;
}

.about-box ul li {
  margin-bottom: 8px;
  text-align: left;
}

.products {
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}


.product-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card h2 {
  color: #2e7d32;
  margin-bottom: 10px;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #ff9800;
  margin-bottom: 10px;
}


.order-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 15px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.order-btn:hover {
  background: #1ebe5d;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
}


.contact-form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-bottom: 15px;
  color: #2e7d32;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}


.contact-form button {
  width: 100%;
  padding: 10px;
  background: #2e7d32;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #1b5e20;
}


.contact-whatsapp {
  background: #e8f5e9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 18px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}


.map-section {
  padding: 40px 20px;
  text-align: center;
  max-width: 1100px;
  margin: auto;
}

.map-section h2 {
  margin-bottom: 15px;
  color: #2e7d32;
}


.note {
  font-size: 13px;
  color: gray;
  margin-top: 10px;
}

section, header, footer {
  animation: fadeUp 0.8s ease-in-out both;
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}


.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.btn,
.order-btn,
.whatsapp-btn,
.contact-form button {
  transition: all 0.3s ease;
}

.btn:hover,
.order-btn:hover,
.whatsapp-btn:hover,
.contact-form button:hover {
  transform: scale(1.05);
}


.product-card:hover,
.service-box:hover,
.about-box:hover {
  transform: translateY(-8px);
  transition: 0.3s ease;
}
.hero h1 {
  animation: slideIn 1s ease forwards;
}

.hero p {
  animation: slideIn 1.2s ease forwards;
}

.hero .btn {
  animation: slideIn 1.4s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
nav a {
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: white;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
  margin-bottom:60px;
}


.slides {
  display: flex;
  height: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
  display: none;
}

.slide.active {
  display: block;
}


.slide img{
width:100%;
height:90vh;
object-fit:cover;
object-position:center;
display:block;
}


.slide-text {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
  text-align: center;
}

.slide-text h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

.slide-text p {
  font-size: 20px;
}


.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  z-index: 1000;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}


header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 30px;
background:#03720c;
position:relative;
z-index: 1000;
}

.logo{
display:flex;
align-items:center;
gap:12px;
font-weight:bold;
font-size:20px;
color:white;
}

.logo img{
height:55px;
width:auto;
display:block;
}

.menu-toggle{
display:none;
margin-left:auto;

justify-content:center;
align-items:center;

height:40px;
width:40px;

cursor:pointer;
}



nav{
display:flex;
gap:20px;
}

nav a{
text-decoration:none;
color:white;
font-weight:500;
}



.menu-toggle{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.menu-toggle span{
display:block;
width:30px;
height:3px;

background:white;
}



@media (max-width:768px){

.menu-toggle{
display:flex;
margin-left: auto;
}
.slide-text {
  left: 10%;
}
nav{
position:absolute;
top:100%;
left:0;
width:100%;
background:#1b5e20;

flex-direction:column;
text-align:center;

max-height:0;
overflow:hidden;

transition:.4s ease;
}
.logo{
  font-size: 15px;
}
.logo img{
height:40px;
}
nav.show{
max-height:400px;
}

}