/* ================== PRELOADER ================== */
#preloader {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; background: #F0F0F0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; transition: opacity 0.8s ease;
}
#preloader.fade-out { opacity: 0; }
.spinner { font-size: 50px; color: #009933; animation: spin 1.5s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ================== GENERAL ================== */
html, body {
  margin: 0; padding: 0;
  font-family: 'Montserrat', sans-serif;
  background: #F0F0F0; color: #111;
  scroll-behavior: smooth;
}
.green { color: #009933; }
.black { color: #111; }
.white { color: #fff; }
section { padding: 120px 10%; }
.max-container { max-width: 1300px; margin: auto; }

/* ================== NAVBAR ================== */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  background-color: #fff; padding: 15px 40px;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.navbar .logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.navbar .logo img {
  height: 45px;
  transform: scale(2.8); /* Increased Zoom effect */
  transform-origin: left center;
}
.logo-text { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.2; }
.logo-text .main-title { font-size: 26px; font-weight: 700; text-transform: uppercase; }
.logo-text .sub-title { font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: #111; }
.navbar ul { list-style: none; display: flex; gap: 25px; margin: 0; }
.navbar ul li { position: relative; }
.navbar ul li a {
  color: #111; text-decoration: none; font-weight: 600; position: relative;
  transition: transform 0.3s ease, color 0.3s ease;
}
.navbar ul li a::after {
  content: ""; position: absolute; left: 50%; bottom: -5px;
  width: 0; height: 2px; background: #009933;
  transition: all 0.3s ease; transform: translateX(-50%);
}
.navbar ul li a:hover { color: #009933; transform: scale(1.1); }
.navbar ul li a:hover::after { width: 100%; }

/* Dropdown */
.dropdown-content {
  display: flex; flex-direction: column; position: absolute;
  top: 100%; left: 0; background: #fff; padding: 10px 0;
  border-radius: 8px; min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease; z-index: 1000; pointer-events: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.dropdown-content a {
  display: block; color: #111; text-decoration: none;
  padding: 12px 18px; opacity: 0; transform: translateX(-10px);
  transition: all 0.3s ease;
}
.dropdown-content a:hover {
  color: #009933; background: rgba(0,153,51,0.05);
  border-left: 3px solid #009933; transform: translateX(8px);
}
.dropdown:hover .dropdown-content,
.dropdown-content:hover { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown:hover .dropdown-content a { opacity: 1; transform: translateX(0); }

/* ================== HERO ================== */
.hero {
  position: relative; height: 100vh;
  background: url('images/hero-bg.jpeg') no-repeat center center/cover;
  display: flex; justify-content: center; align-items: center;
  text-align: center; overflow: hidden;
  opacity: 0; animation: fadeInHero 2s ease-in-out forwards;
}
@keyframes fadeInHero { from { opacity: 0; } to { opacity: 1; } }
.hero .overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  backdrop-filter: blur(4px); background: rgba(0,0,0,0.3);
}
.hero h1 { position: relative; font-size: 64px; font-weight: 700; }
.hero h1 .white { color: #fff; }   /* Think white */
.hero h1 .green { color: #009933; } /* Green green */


/* ================== WHY WE STAND OUT ================== */
.why-us .content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
}
.why-heading { font-size: 42px; font-weight: 700; line-height: 1.3; }
.why-heading .line { display: block; }
.why-heading .black { color: #111; }
.why-heading .green { color: #009933; }
.why-us .text-right {
  flex: 1;
  max-width: 600px;
  margin-left: 40px;
}
.why-us p { font-size: 18px; line-height: 1.8; color: #333; }

/* ================== FEATURES ================== */
.features { flex-direction: column; gap: 60px; max-width: 1300px; margin: auto; }
.features .row { display: flex; gap: 40px; justify-content: center; width: 100%; }
.features .row-bottom { margin-top: 50px; }
.feature-card {
  background: #fff; padding: 40px 30px; border-radius: 14px; color: #111;
  text-align: center; width: 300px; box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid rgba(0,153,51,0.4);
  border-right: 3px solid rgba(0,153,51,0.4);
}
.feature-card:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(0,153,51,0.2); }
.feature-card h3 { font-size: 22px; margin-bottom: 18px; font-weight: 700; color: #009933; }
.feature-card p { font-size: 16px; line-height: 1.7; color: #555; }

/* ================== PRODUCT SECTION ================== */
.product .content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
}
.product .why-heading { font-size: 42px; font-weight: 700; line-height: 1.3; }
.product .text-right {
  flex: 1;
  max-width: 600px;
  margin-left: 40px;
}
.product .text-right p { font-size: 16px; line-height: 1.8; margin-bottom: 25px; color: #333; }
.product .btn-wrap { margin-top: 10px; }

/* ================== BUTTON ================== */
.btn { padding: 14px 26px; font-weight: 700; border-radius: 12px; border: 2px solid transparent; }
.btn-green { background: #009933; color: #fff; border-color: #009933; animation: pulse 2.5s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,153,51,0.6); }
  70% { box-shadow: 0 0 0 20px rgba(0,153,51,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,153,51,0); }
}

/* ================== FOOTER ================== */
.footer { background: #fff; color: #333; padding: 80px 10% 30px; margin-top: 100px; border-top: 1px solid #ddd; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; max-width: 1300px; margin: auto; }
.footer-col { flex: 1; min-width: 220px; }
.footer-col h3 { color: #009933; margin-bottom: 20px; font-size: 22px; }
.footer-col p { line-height: 1.8; font-size: 16px; color: #555; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { text-decoration: none; color: #333; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: #009933; }
.footer-bottom { text-align: center; margin-top: 40px; font-size: 14px; color: #666; padding-top: 20px; border-top: 1px solid #ddd; }
.footer-socials { margin-top: 20px; display: flex; gap: 25px; }
.footer-socials a { color: #333; font-size: 26px; transition: color 0.3s ease, transform 0.3s ease; }
.footer-socials a:hover { transform: scale(1.3); }
.footer-socials a.whatsapp:hover { color: #25D366; }
.footer-socials a.linkedin:hover { color: #0077b5; }
.footer-socials a.instagram:hover { color: #E1306C; }

/* ================== HAMBURGER (MOBILE) ================== */
.hamburger { display: none; font-size: 28px; color: #111; cursor: pointer; transition: transform 0.3s ease; }
.hamburger.active { transform: rotate(90deg); }

  .navbar ul {
    flex-direction: column; gap: 15px; background: #fff;
    position: absolute; top: 70px; right: 0; padding: 0 20px;
    max-height: 0; opacity: 0; overflow: hidden; width: 220px;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  }
  .navbar ul.show { max-height: 500px; opacity: 1; padding: 20px; }
}

/* ================== BIO PAGE HERO ================== */
.hero-bio {
  height: 50vh;
  background: url('images/product.png') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex; justify-content: center; align-items: center; text-align: center; position: relative;
}
.hero-bio .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); }
.bio-title { position: relative; font-size: 64px; font-weight: 700; color: #009933; z-index: 2; }

/* ================== BIO PRODUCT GRID ================== */
.bio-products {
  padding: 100px 10%;
  text-align: center;
  position: relative;
  background: #F0F0F0;
}
.bio-products .section-title {
  font-size: 36px; font-weight: 700; margin-bottom: 60px; color: #111;
}
.bio-products .section-title .green { color: #009933; }
.product-row {
  display: flex; justify-content: center; gap: 40px; margin-bottom: 50px;
}
.product-card { text-align: center; position: relative; }
.img-box {
  position: relative; width: 220px; height: 220px;
  overflow: hidden; border-radius: 14px; border: 3px solid rgba(0,153,51,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.img-box:hover { transform: scale(1.08); box-shadow: 0 0 25px rgba(0,153,51,0.6); }
.img-box img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; position: relative; z-index: 2; transition: transform 0.4s ease; }
.img-box:hover img { transform: scale(1.1); }
.border-anim {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 3px solid #009933; border-radius: 14px; box-sizing: border-box; z-index: 1;
  transform: rotate(0deg); opacity: 0; transition: opacity 0.3s ease;
}
.img-box:hover .border-anim { opacity: 1; animation: rotateBorder 1.5s linear infinite; }
@keyframes rotateBorder { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.product-card p {
  margin-top: 15px; font-size: 18px; font-weight: 600; color: #111; position: relative; display: inline-block;
}
.product-card p::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 0; height: 2px;
  background: #009933; transition: all 0.3s ease; transform: translateX(-50%);
}
.product-card:hover p::after { width: 100%; }
 }
 }

/* ================== CONTACT SECTION ================== */
.contact-form-section {
  padding: 80px 10%;
  background: #F0F0F0;
  color: #111;
  text-align: center;
}
.contact-container {
  display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; justify-content: center; align-items: flex-start;
}
.contact-form {
  flex: 1; min-width: 320px; max-width: 500px; background: #fff;
  padding: 30px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); text-align: left;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px; border: none; border-radius: 10px;
  background: #F0F0F0; color: #111; font-size: 16px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.1); transition: all 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; background: #e6e6e6; box-shadow: 0 0 10px #00c853;
}
.btn-modern {
  width: 100%; padding: 14px; background: linear-gradient(135deg, #00c853, #009624);
  border: none; border-radius: 12px; color: #fff; font-size: 18px; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,200,83,0.4);
}
.btn-modern:hover {
  background: linear-gradient(135deg, #009624, #00c853);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,200,83,0.6);
}
.contact-info {
  flex: 1; min-width: 300px; text-align: left;
}
.contact-info h3 { margin-bottom: 20px; font-size: 24px; color: #009933; }
.contact-info p { margin: 10px 0; font-size: 16px; color: #333; }
.contact-info i { color: #009933; margin-right: 10px; }
.social-icons { margin-top: 20px; }
.social-icons a { color: #111; margin-right: 15px; font-size: 22px; transition: color 0.3s; }
.social-icons a:hover { color: #009933; }
 }
.contact-container.single-column { flex-direction: column; align-items: center; }
.contact-form { width: 100%; max-width: 500px; margin-bottom: 40px; }
.contact-info.centered { text-align: center; }
.contact-info.centered h3 { color: #009933; margin-bottom: 20px; }
.contact-info.centered p { margin: 8px 0; font-size: 16px; color: #333; }
.contact-info.centered i { color: #009933; margin-right: 8px; }
.contact-info.centered .social-icons { margin-top: 15px; }
.contact-info.centered .social-icons a { margin: 0 10px; font-size: 22px; color: #111; transition: color 0.3s; }
.contact-info.centered .social-icons a:hover { color: #009933; }
body { min-width: 1024px; }


/* ================== RESPONSIVE NAVBAR SHRINK ================== */
.navbar ul { flex-wrap: nowrap; } /* prevent wrapping */

.navbar ul li a {
  padding: 6px 10px;
  transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease, padding 0.3s ease;
}

@media (max-width: 992px) {
  .navbar ul { gap: 18px; }
  .navbar ul li a { font-size: 15px; padding: 5px 8px; }
}


  .navbar ul { gap: 12px; }
  .navbar ul li a { font-size: 14px; padding: 4px 6px; }
}

@media (max-width: 480px) {
  .navbar ul { gap: 8px; }
  .navbar ul li a { font-size: 12px; padding: 3px 5px; }
}


/* ================== NAVBAR ALWAYS VISIBLE ================== */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  flex-direction: row;
  position: static;
  max-height: none;
  opacity: 1;
  width: auto;
}

/* Responsive adjustments without hamburger */
@media (max-width: 768px) {
  .hamburger { display: none; }
  .navbar { padding: 10px 20px; }
  .navbar ul { gap: 12px; justify-content: center; }
  .navbar ul li a { font-size: 14px; padding: 4px 8px; }
}
@media (max-width: 480px) {
  .navbar ul { gap: 8px; justify-content: center; }
  .navbar ul li a { font-size: 12px; padding: 3px 6px; }
}


nav ul li a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: green;
  transition: width 0.3s ease, right 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
  right: 0;
}


/* Navbar Links Animation */
nav ul li a {
  position: relative;
  text-decoration: none;
  color: #000; /* Adjust if needed */
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

/* Underline Effect */
nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  left: 0;
  bottom: -5px;
  background-color: green;
  transition: width 0.3s ease-in-out;
  border-radius: 2px;
}

/* Hover Effect */
nav ul li a:hover {
  color: #008000; /* Optional: text color turns green */
}

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