* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background-color: #f0f0f0;
  text-align: center;
  padding: 1rem;
}

header {
  background-color: #ffeb3b;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 24px;
  color: #333;
  text-align: center;
}

header h1 a {
  color: yellow;
  text-decoration: none;
  font-weight: bold;
}

nav {
  background-color: #ffeb3b;
  padding: 10px 20px;
  width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  background-color: yellow;
  text-decoration: none;
  color: black;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

nav ul li a:hover {
  background-color: red;
}

.search-box {
  position: relative;
  margin-bottom: 20px;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search-box i {
  position: absolute;
  right: 10px;
  top: 10px;
  color: #888;
}




.main-content {
  width: 600px;
  margin: 0 auto;
  padding-top: 180px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.product img {
  width: 100%;
}
@media (max-width: 768px) {
  .grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@keyframes slideInRight {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

.product img {
  animation: slideInRight 1s ease forwards;
}



.slider {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
  margin: 5px auto;
  border-radius: 10px;
  max-height: 300px;
}

.slides {
  display: flex;
  width: 100%;
  animation: slide 4s infinite;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slide {
  0% { transform: translateX(0%); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}
.slider {
  width: 100%;
  overflow: hidden;
  max-height: 300px;
}
.slides img {
  width: 100%;
  display: none;
}


section {
  padding: 150px 20px 50px;
  background: rgb(252, 236, 236);
  margin: 20px auto;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product {
  background: rgb(248, 246, 246);
  padding: 15px;
  margin: 10px;
  display: inline-block;
  width: 180px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.product:hover {
  transform: scale(1.07);
}

.product img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: cover;
}

.product-name {
  padding: 0.5rem;
  font-weight: bold;
}

.discount {
  color: red;
  font-weight: bold;
}

button {
  padding: 12px;
  background: #ff5733;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease-in-out, transform 0.2s;
  font-size: 14px;
}

button:hover {
  background: #130b09;
  transform: scale(1.1);
}

.delivery {
  position: relative;
  background-image: url('delivery-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-overlay {
  background-color: white; /* dark overlay */
  width: 100%;
  height: 125%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bg-overlay h3 {
  color: rgb(167, 10, 10);
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
  
}


.car {
  width: 150px;
  margin-bottom: 10px;
}

marquee p {
  color: black;
  font-size: 1.2rem;
  font-weight: bold;
}
@media (max-width: 600px) {
  .delivery {
    height: 250px;
  }

  .bg-overlay h3 {
    font-size: 1.5rem;
  }

  .car {
    width: 90px;
  }

  marquee p {
    font-size: 0.95rem;
  }
}



#reviews {
  padding: 20px;
  background-color: #f9f9f9;
}
.review {
  display: flex;
  align-items: flex-start;
  gap: 15px;

  margin-bottom: 15px;
  padding: 15px;
  border-left: 4px solid #007BFF;
  background-color: #fff;
  
  
}
.review img {
  width: 50px;           /* Smaller size */
  height: 50px;
  border-radius: 50%;    /* Make it round */
  margin-right: 15px;
  object-fit: cover;
  border: 2px solid #007BFF; /* Optional border for style */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Soft shadow */
}


.review-content p {
  margin: 0;
}


#services {
  padding: 20px;
  background: white;
  margin: 20px auto;
  width: 80%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#services h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.service-item {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.service-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 16px;
  color: #555;
}
@media (max-width: 768px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}


/* Form */
form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #e78088;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form h2 {
  color: green;
  background-color: green;
}

form div {
  margin-bottom: 15px;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
}

form textarea {
  resize: vertical;
}

form button {
  padding: 10px 15px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: red;
}

footer {
  background: #222;
  color: white;
  padding: 15px;
  margin-top: 20px;
  border-top: 3px solid #ff5733;
  text-align: center;
}

footer a {
  color: #4da6ff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

.footer-icons a {
  margin: 0 10px;
  display: inline-block;
  font-size: 30px;
  transition: transform 0.3s ease-in-out;
}

.footer-icons a:hover {
  transform: scale(1.2);
}

/* ✅ Responsive Styles */
@media (max-width: 768px) {
  .main-content {
    width: 100%;
    padding: 0 10px;
    padding-top: 300px;
  }



  section {
    padding: 50px 10px;
    margin: 10px;
    width: 100%;
  }

  #services {
    width: 95%;
    padding: 10px;
    margin: 10px auto;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .product {
    width: 90%;
    margin: 10px auto;
    display: block;
  }

  .slides img {
    height: auto;
  }

  .slider {
    height: auto;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #25d366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
  display: block;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}


  



