/* Removed footer styling */

:root {
  --green-light: #98ce4d;
  --green-soft: #a6c98d;
  --green-dark: #007a1c;
  --black: #000000;
}

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

body {
  background-color: #fff;
  color: var(--black);
  line-height: 1.6;
  padding-top: 0;
}

/* Top Bar */
.top-bar-icons {
  position: fixed;
  top: 0;
  width: 100%;
  height: 40px;
  background-color: #006837;
  padding: 5px 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: top 0.3s ease;
  z-index: 1000;
}

.top-bar-icons a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar-icons a:hover {
  color: #ffd700;
}

@media (max-width: 600px) {
  .top-bar-icons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .top-bar-icons a {
    font-size: 22px;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  z-index: 999;
  transition: all 0.3s ease;
}

nav.scrolled {
  background-color: white;
}

.logo img {
  height: 100px; 
  width: auto;
}

.nav-center, .nav-right {
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 20px;
  font-weight: bold;
}

nav.scrolled a {
  color: #006837;
}

nav a:hover {
  color: var(--green-light);
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* Sections */
section {
  padding: 3rem 2rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 250px;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  color: var(--black);
  font-size: 1.3rem;
  line-height: 1.8;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 25;
}

@media (max-width: 600px) {
  .about-content {
    flex-direction: column;
  }
  .about-text, .about-img {
    min-width: 100%;
  }
  .about-text {
    font-size: 1.2rem;
    line-height: 1.8;
  }
  .about-img img {
    width: 100%;
    height: auto;
  }
}

.about-img img {
  width: 100%;
  border-radius: 8px;
  height: 300px;
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

.more-btn {
  background-color: #007a1c;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.more-btn:hover {
  background-color: #004d29;
}

.product-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.product-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.product-row {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.product-box {
  width: 180px;
  flex-shrink: 0;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
  flex: 1 1 180px;
  max-width: 200px;
  text-align: center;
  cursor: pointer
}

@media (max-width: 768px) {
  .product-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
  }

  .product-box {
    max-width: 100%;
    flex: none;
    margin: 10px 0;
  }
}

.product-box:nth-child(1) { animation-delay: 0s; }
.product-box:nth-child(2) { animation-delay: 0.2s; }
.product-box:nth-child(3) { animation-delay: 0.4s; }
.product-box:nth-child(4) { animation-delay: 0.6s; }
.product-box:nth-child(5) { animation-delay: 0.8s; }

.product-box img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.product-box img:hover {
  transform: scale(1.05);
}

.product-box p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 22px;
  position: relative;
  display: inline-block;
}

.product-box:hover p::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--green-dark);
  transition: width 0.3s ease;
}

/*ORDER BUTTON*/
.order-button {
  background-color: #006600;
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 40px;
  display: inline-block;
}

.order-button:hover {
  background-color: #009900;
}

/* heading link */
.heading-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.heading-link:hover h2 {
  text-decoration: underline;
  color: #006600;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact {
  background-color: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 2rem;
}

/* Contact Form */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info h3, .contact-form h3 {
  color: #333;
}

.contact-info p, .contact-form input, .contact-form select {
  margin-bottom: 12px;
}

.contact-info a {
  color: black;
  text-decoration: none;
}

.contact-info hr {
  margin: 10px 0;
  border: 0;
  height: 1px;
  background: #ccc;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  width: 100px;
  margin-top: 10px;
  padding: 10px;
  background-color: #26832d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: lightgreen;
}

.social-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 2px solid green;
}

.social-icon.facebook,
.social-icon.linkedin,
.social-icon.email {
  background-color: white;
}

.social-icon:hover {
  background-color: green;
  color: black;
  border-color: gold;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    text-align: center;
  }

  .nav-center, .nav-right {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    color: red;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* === MODAL STYLING === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #000;
  animation: fadeInModal 0.5s ease-in-out;
}

.modal-left img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
}

.modal-right {
  flex: 1;
}

.modal-right h2 {
  margin-top: 0;
}

.icon-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.icon-box i {
  font-size: 20px;
  color: green;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

.try-feed {
  font-weight: bold;
  color: #006600;
  margin-top: 20px;
  font-size: 18px;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feed-types {
  margin: 10px 0;
  padding-left: 20px;
  list-style-type: disc;
  color: #333;
  font-size: 16px;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader-logo {
  width: 120px;
  height: auto;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}