:root {
  --primary-color: #1a6b3c;
  --secondary-color: #fb8c00;
  --bg-light: #f4f6f3;
  --text-dark: #0b3d2e;
}

body {
  color: var(--text-dark);
  background: #ffffff;
  overflow-x: hidden;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  padding-top: 120px; /* Space for fixed header */
}

@media (max-width: 991.98px) {
  body {
    padding-top: 70px;
  }
}

/* Background patterns */
.bg-pattern-main {
  background-color: #ffffff;
  background-image: 
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.015) 0px, rgba(0, 0, 0, 0.015) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.01) 0px, rgba(0, 0, 0, 0.01) 1px, transparent 1px, transparent 12px);
  background-attachment: fixed;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6, .fw-bold, .fw-semibold {
  font-weight: 600 !important;
}

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

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

.btn-primary-eco {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: white !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-eco:hover {
  background-color: #124d2b !important;
  border-color: #124d2b !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26, 107, 60, 0.3);
}

/* HEADER & NAVBAR */
header.fixed-top {
  transition: all 0.3s ease;
  background-color: white;
  z-index: 1040;
}

.top-navbar-slant-container {
  position: relative;
  height: 45px;
}

.slant-bg-gray {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -100vw;
  background: #f5f6f8;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%);
}

.slant-bg-green {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -100vw;
  background: #1a6b3c;
  z-index: 2;
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 70px 100%);
}

.top-nav-link {
  position: relative;
  color: #fff !important;
  font-size: 11px;
  letter-spacing: 0.6px;
  transition: all 0.22s ease;
  font-weight: 500;
  padding: 7px 10px !important;
  display: inline-block;
  margin: 0 2px;
  text-decoration: none;
}

.top-nav-link:hover, .top-nav-link.active {
  color: #ffca28 !important;
}

.social-icon {
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Main Nav Links */
.navbar-nav .nav-link {
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 8px 14px !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #1a6b3c !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: #e6bf91;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.btn-quote {
  background-color: #1a6b3c;
  color: white;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border: none;
  transition: 0.3s;
}

.btn-quote:hover {
  background-color: #124d2b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 107, 60, 0.25);
}

/* CARDS & PRODUCTS */
.product-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #ffffff;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  border-color: #1a6b3c;
}

.product-img-wrap {
  position: relative;
  height: 240px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrap img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

/* FOOTER */
.footer-v2 {
  background: #0f172a;
}

.footer-link-v2 {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: block;
  padding: 4px 0;
}

.footer-link-v2:hover {
  color: #34d399;
  transform: translateX(4px);
}

.footer-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 11px;
  color: #cbd5e1;
}

.social-icon-v2 {
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social-icon-v2:hover {
  background: #1a6b3c;
  color: #ffffff;
}

/* FLOATING BUTTONS */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1030;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.float-btn-whatsapp {
  background-color: #25D366;
}

.float-btn-whatsapp:hover {
  background-color: #20ba59;
  transform: scale(1.1);
  color: white;
}

.float-btn-phone {
  background-color: #1a6b3c;
}

.float-btn-phone:hover {
  background-color: #124d2b;
  transform: scale(1.1);
  color: white;
}

/* Responsive */
@media (max-width: 991.98px) {
  .logo-column img {
    max-height: 45px !important;
  }
}
