:root {
  --background: hsl(40, 30%, 97%);
  --foreground: hsl(30, 10%, 15%);
  --card: hsl(40, 25%, 95%);
  --card-foreground: hsl(30, 10%, 15%);
  --primary: hsl(95, 35%, 30%);
  --primary-foreground: hsl(40, 30%, 97%);
  --secondary: hsl(40, 25%, 90%);
  --secondary-foreground: hsl(30, 10%, 15%);
  --muted: hsl(40, 15%, 92%);
  --muted-foreground: hsl(30, 8%, 45%);
  --accent: hsl(95, 25%, 40%);
  --accent-foreground: hsl(40, 30%, 97%);
  --border: hsl(40, 15%, 85%);
  --olive: hsl(95, 35%, 30%);
  --olive-light: hsl(95, 25%, 45%);
  --brown: hsl(30, 30%, 30%);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

html {
  font-size: 18px;
  /* Global increase from default 16px */
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
    /* Scale back slightly for mobile */
  }
}

p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-primary-foreground {
  color: var(--primary-foreground) !important;
}

.bg-background {
  background-color: var(--background) !important;
}

.bg-card {
  background-color: var(--card) !important;
}

.border-border {
  border-color: var(--border) !important;
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--olive-light) !important;
  border-color: var(--olive-light) !important;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 12, 10, 0.7), rgba(15, 12, 10, 0.4), transparent);
}

.navbar {
  background-color: white !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar-logo {
  height: 80px;
  width: auto;
  transition: height 0.3s ease;
}

@media (max-width: 991.98px) {
  .navbar-logo {
    height: 60px;
  }
}

@media (max-width: 575.98px) {
  .navbar-logo {
    height: 50px;
  }
}

.aboutus {
  background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('../assets/bg.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.logo-color {
  background-color: #FF9800 !important;
}

.navbar-toggler {
  padding: 0.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.navbar-toggler:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.navbar-toggler i {
  width: 28px;
  height: 28px;
  display: block;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted-foreground) !important;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.feature-card {
  transition: transform 0.3s ease;
}

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

.product-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: var(--card);
}

.product-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.product-card .img-container {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--secondary);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.badge-certified {
  background-color: rgba(59, 78, 38, 0.9);
  color: var(--primary-foreground);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  display: inline-block;
  text-transform: uppercase;
}

footer {
  background-color: #1a2414;
  /* Deep organic green-black */
  color: var(--primary-foreground);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive), var(--accent), var(--olive));
}

footer a {
  color: var(--primary-foreground);
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.3s ease;
  display: inline-block;
}

footer a:hover {
  opacity: 1;
  color: #fff;
  transform: translateX(5px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.contact-item {
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-icon {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.2);
}

.footer-logo-container {
  display: inline-block;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.collapse-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.collapse-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  margin-top: 4rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}