/* Global Styles */
:root {
  --primary-color: #2e7d32;
  /* Forest Green - used for buttons/accents */
  --heading-color: #1a202c;
  /* Premium Dark Slate */
  --secondary-color: #81c784;
  --text-color: #4a5568;
  --background-color: #ffffff;
  --header-bg: #ffffff;
  --nav-link-color: #1a202c;
  --nav-link-hover: #2e7d32;
  --font-family: "Inter", sans-serif;
  --heading-font: "Outfit", sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 700;
}

/* Header Styles */
.main-header {
  background-color: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* Subtle shadow for premium feel */
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 80px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--nav-link-color);
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--nav-link-hover);
}

/* Add a subtle underline animation for hover */
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--nav-link-hover);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--heading-color);
  cursor: pointer;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  animation: slideInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1.5px solid var(--primary-color);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.cta-button:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.1);
}

/* Removed redundant cta-button markers */

@media (max-width: 768px) {
  .hero-tagline {
    font-size: 2.5rem;
  }

  .hero-section {
    height: 400px;
  }
}

/* Section Utilities */
.section-padding {
  padding: 3rem 0;
  scroll-margin-top: 100px;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: left;
  /* Globally changing center to left as requested */
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-6 {
  margin-bottom: 4rem;
}

.quality-section.mb-6 {
  margin-bottom: 0rem;
  /* Decreased bottom space only for this section */
}

.section-subtitle {
  display: block;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h4.section-title {
  font-size: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2-alt {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.rounded-image {
  border-radius: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.shadow {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.w-100 {
  width: 100%;
  display: flex;
  /* Ensures full width buttons center their content */
}

/* About Intro */
.about-intro {
  margin-bottom: 6rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  /* font-size: 1.1rem; */
  font-size: 1rem;
  color: #555;
}

.inline-purpose {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  background: #f1f8e9;
  font-size: 17px;
  margin-top: 2rem;
  font-weight: 500;
  color: var(--heading-color);
}

/* Removed mission-highlight styles */

/* Quality Section */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.quality-card {
  background: #f9fbf9;
  padding: 3rem;
  border-radius: 0;
  border-left: 5px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.quality-card:hover {
  transform: translateY(-5px);
}

.quality-card h4 {
  font-size: 1.5rem;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.check-list li {
  margin-bottom: 0.8rem;
  padding-left: 2rem;
  position: relative;
  color: #444;
}

.check-list li::before {
  content: "\f005";
  /* Font Awesome Star icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  background-color: var(--primary-color);
  width: 20px;
  height: 20px;
  font-size: 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sustainability Banner */
.sustainability-banner {
  background: #f1f8e9;
  padding: 3rem 0;
}

.sustainability-cta {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.icon-list {
  margin-top: 2rem;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.icon-list .icon {
  font-size: 1.5rem;
}

/* Why Choose Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  /* Changed to left */
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h5 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

/* Removed purpose-section and large-text styles */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.product-card {
  background: white;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  height: 100%;
}

.product-image {
  height: 250px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.product-image-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.product-image-carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-info p {
  color: #64748b;
  margin-bottom: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  flex-grow: 1;
}

.product-info .cta-button {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  padding: 0.7rem 1.25rem;
}

.w-100 {
  width: 100%;
}

.contact-form {
  padding: 3rem;
  background: #f1f8e9;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  background: white;
  font-family: var(--heading-font);
  /* font-family: var(--font-family); */
  font-size: 1rem;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Contact Section */
.contact-info-list {
  margin: 2.5rem 0;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background: #f1f8e9;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item .text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-item .text p {
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Removed contact-visual styles */

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Mobile Category Selector Styling */
.mobile-category-selector {
  position: relative;
  margin-bottom: 2rem;
}

#mobile-category-dropdown {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--heading-font);
  font-size: 1rem;
  /* font-weight: 600; */
  /* color: var(--heading-color); */
  color: var(--text-color);
  background: white;
  border: 2px solid #edf2f7;
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#mobile-category-dropdown:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.dropdown-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  pointer-events: none;
}

/* Footer Bar */

.footer-bar {
  background: var(--heading-color);
  color: #94a3b8;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

  .grid-2,
  .grid-2-alt {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-intro,
  .sustainability-cta,
  .quality-section,
  .why-choose {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
    z-index: 2001;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 8rem 2rem 2rem;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .hero-tagline {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-intro {
    margin-bottom: 2rem;
  }

  .quality-section {
    padding-top: 0;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    /* Single column for mobile as requested */
    gap: 1.5rem;
  }

  .mb-6 {
    margin-bottom: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .sustainability-banner {
    padding: 2rem 0;
  }

  .sustainability-cta {
    padding: 0;
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-padding {
    padding: 2rem 0;
  }
}

/* Success Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  padding: 3rem;
  width: 90%;
  max-width: 500px;
  text-align: left;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlide 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalSlide {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  margin-bottom: 1.5rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #f1f8e9;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 0 1.5rem 0;
}

.modal-content p {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 24px;
  box-shadow: 2px 2px 3px #999;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.whatsapp-float.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: translateY(0) scale(1.1);
  color: #fff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float i {
  margin-top: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 22px;
  }
}