/* ===================================================
   Quality Agriculture Ltd — Main Stylesheet
   Modern RTL Hebrew Agricultural Machinery Website
   =================================================== */

/* ===== IMPORTS & CUSTOM PROPERTIES ===== */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&family=Assistant:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --green-dark:   #1B5E20;
  --green-mid:    #2E7D32;
  --green-light:  #43A047;
  --green-pale:   #E8F5E9;
  --gold:         #F9A825;
  --gold-light:   #FFF8E1;
  --earth:        #5D4037;
  --sky:          #0277BD;

  /* Neutrals */
  --bg:           #F9FAFB;
  --white:        #FFFFFF;
  --gray-50:      #F8FAFC;
  --gray-100:     #F1F5F9;
  --gray-200:     #E2E8F0;
  --gray-300:     #CBD5E1;
  --gray-500:     #64748B;
  --gray-700:     #334155;
  --gray-900:     #0F172A;
  --text:         #1A2332;
  --text-muted:   #64748B;

  /* Typography */
  --font-main:    'Heebo', 'Assistant', sans-serif;

  /* Spacing */
  --section-py:   96px;
  --container:    1240px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:    0 10px 40px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-xl:    0 20px 60px rgba(0,0,0,0.18);
  --shadow-green: 0 8px 32px rgba(46,125,50,0.30);

  /* Borders */
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  9999px;

  /* Transitions */
  --tr-fast:      0.18s ease;
  --tr-mid:       0.30s ease;
  --tr-slow:      0.45s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== CONTAINERS ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--tr-mid);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  opacity: 0;
  transition: opacity var(--tr-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-mid) 60%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(46,125,50,0.45);
}

.btn-outline {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.section-header.light .section-title { color: #fff; }
.section-header.light .section-subtitle { color: rgba(255,255,255,0.75); }
.section-header.light .section-tag {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up { animation: fadeUp 0.75s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TRANSLATION & CURRENCY ===== */
.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 900px) {
  .nav-tools { margin-right: 0; }
  .nav-tools select { font-size: 0.75rem !important; padding: 4px !important; }
}
.nav-select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.nav-select:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.nav-select option {
  background: #0f172a;
  color: #fff;
}
/* hide google elements completely */
#google_translate_element { display: none !important; }
.goog-te-banner-frame { display: none !important; }
iframe.goog-te-banner-frame { display: none !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.skiptranslate > iframe { display: none !important; }
body { top: 0px !important; position: static !important; padding-top: 0px !important; }
html { padding-top: 0px !important; margin-top: 0px !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
.VIpgJd-Zvi9od-ORHb-OEVmcd, .VIpgJd-Zvi9od-aZ2wEe-wOHMyf { display: none !important; }

/* ===================================================================
   HEADER
   =================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(15,23,42,0.96);
  transition: background var(--tr-mid), box-shadow var(--tr-mid), padding var(--tr-mid);
}

.header.scrolled {
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.22);
  padding: 0;
}

.nav-container {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding var(--tr-mid);
}

.header.scrolled .nav-container { padding: 16px 24px; }
.header.scrolled .header-ribbon-text { display: none; } /* Hide the top text when scrolling to save space */

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: color var(--tr-fast), background var(--tr-fast);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-green);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(46,125,50,0.5);
  background: rgba(255,255,255,0.12) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--tr-fast);
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,20,10,0.82) 0%,
    rgba(15,30,15,0.65) 50%,
    rgba(27,94,32,0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 780px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-highlight {
  background: linear-gradient(90deg, var(--gold), #FFF176);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.22);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}



/* ===================================================================
   BRANDS MARQUEE
   =================================================================== */
.brands-banner {
  background: var(--gray-900);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.brands-track { overflow: hidden; }

.brands-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.header-ribbon-text {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.header-ribbon-text .dot { color: var(--green); }

.brand-item {
  padding: 0 36px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.10);
  transition: color var(--tr-fast);
}

.brand-item:hover { color: var(--gold); }

/* ===================================================================
   CATEGORIES
   =================================================================== */
.categories {
  padding: var(--section-py) 0;
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--tr-mid);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.corner-badge {
  position: absolute;
  top: 14px;
  right: -32px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 34px;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  pointer-events: none;
}
.corner-badge.official { background: var(--green-mid); }
.corner-badge.parallel { background: var(--sky); }

.sale-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f0ad4e;
  color: #fff;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

.category-card.featured {
  border-color: var(--green-light);
  box-shadow: var(--shadow-green);
}

.category-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.category-img {
  max-height: 165px;
  width: auto;
  object-fit: contain;
  transition: transform var(--tr-slow);
}

.category-card:hover .category-img {
  transform: scale(1.07);
}

.category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #5D4037;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
}

.category-info {
  padding: 20px 20px 14px;
  flex: 1;
}

.category-info h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.category-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.category-count {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.category-arrow {
  padding: 14px 20px;
  color: var(--green-mid);
  font-size: 1.25rem;
  font-weight: 900;
  border-top: 1px solid var(--gray-100);
  transition: transform var(--tr-fast);
}

.category-card:hover .category-arrow {
  transform: translateX(-6px);
}

/* ===================================================================
   PRODUCTS
   =================================================================== */
.products {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

/* Filter buttons */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  transition: all var(--tr-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green-mid);
  color: #fff;
  border-color: var(--green-mid);
  box-shadow: var(--shadow-green);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-100);
  transition: all var(--tr-mid);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.product-card.hidden { display: none; }

.product-img-wrap {
  position: relative;
  height: 220px;
  background: var(--gray-50);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-img {
  max-height: 185px;
  width: auto;
  object-fit: contain;
  transition: transform var(--tr-slow);
}

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

.product-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge-new {
  display: inline-block;
  background: var(--green-mid);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-used {
  display: inline-block;
  background: var(--earth);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-rent {
  display: inline-block;
  background: var(--sky);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cond-rent {
  background: var(--sky-light);
  color: var(--sky);
}

.badge-hot {
  display: inline-block;
  background: #E53935;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-official {
  display: inline-block;
  background: var(--green-mid);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-parallel {
  display: inline-block;
  background: var(--gray-600);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-sale {
  display: inline-block;
  background: #f0ad4e;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-deal {
  display: inline-block;
  background: var(--gold);
  color: #5D4037;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Product overlay */
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,30,10,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--tr-mid);
}

.product-card:hover .product-overlay { opacity: 1; }

.overlay-btn {
  background: #fff;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all var(--tr-fast);
  font-family: inherit;
}

.overlay-btn:hover {
  background: var(--green-mid);
  color: #fff;
}

/* Product info */
.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-brand {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
}

.product-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spec {
  font-size: 0.78rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
}

.btn-inquire {
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all var(--tr-fast);
  box-shadow: 0 3px 12px rgba(46,125,50,0.35);
  font-family: inherit;
}

.btn-inquire:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.50);
}

.products-cta {
  text-align: center;
  margin-top: 56px;
}

.products-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ===================================================================
   ABOUT
   =================================================================== */
.about {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img-col { position: relative; }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-chip {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  min-width: 180px;
}

.chip-icon { font-size: 2rem; }

.about-chip strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
}

.about-chip span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { text-align: right; margin-bottom: 20px; }

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: all var(--tr-fast);
}

.about-feature:hover {
  border-color: var(--green-light);
  background: var(--green-pale);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.about-feature span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================================================================
   WHY US
   =================================================================== */
.why-us {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1628 0%, #1B3A2E 45%, #0D2318 100%);
  z-index: 0;
}

.why-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(46,125,50,0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(249,168,37,0.12) 0%, transparent 50%);
}

.why-us .container { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  transition: all var(--tr-mid);
  backdrop-filter: blur(8px);
}

.why-card:hover {
  background: rgba(46,125,50,0.20);
  border-color: rgba(46,125,50,0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-100);
  transition: all var(--tr-mid);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
  border-color: var(--green-light);
  box-shadow: var(--shadow-green);
  background: linear-gradient(145deg, #fff 0%, #F1F8F1 100%);
}

.test-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.test-text {
  font-size: 0.97rem;
  color: var(--gray-700);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.test-text::before { content: '"'; }
.test-text::after  { content: '"'; }

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.test-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.test-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gray-900);
}

.test-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================================
   CONTACT
   =================================================================== */
.contact {
  padding: var(--section-py) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-tag { margin-bottom: 12px; }
.contact-info .section-title { text-align: right; margin-bottom: 16px; }

.contact-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: all var(--tr-fast);
}

.contact-item:hover {
  border-color: var(--green-light);
  background: var(--green-pale);
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 3px;
}

.contact-item a,
.contact-item span {
  font-size: 0.9rem;
  color: var(--green-mid);
  font-weight: 500;
}

.contact-item a:hover { text-decoration: underline; }

/* Contact form */
.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  direction: rtl;
  transition: all var(--tr-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(67,160,71,0.15);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
}

/* ===================================================================
   SEARCH & SORT CONTROLS
   =================================================================== */
.search-sort-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
  align-items: center;
}

.search-input-wrapper, .sort-dropdown-wrapper {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 8px 20px;
  transition: all var(--tr-fast);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.search-input-wrapper:hover, .sort-dropdown-wrapper:hover, .search-input-wrapper:focus-within {
  border-color: var(--green-mid);
  box-shadow: 0 6px 16px rgba(39,174,96,0.12);
  transform: translateY(-1px);
}

.search-icon, .sort-icon {
  width: 18px;
  height: 18px;
  color: var(--green-mid);
  flex-shrink: 0;
  margin-left: 10px; /* RTL layout */
}

#searchInput {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  width: 260px;
  outline: none;
  padding: 4px 0;
}

#searchInput::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

#sortSelect,
#conditionSelect {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  appearance: none;
  padding: 4px 0;
  padding-left: 10px;
}

#sortSelect option,
#conditionSelect option {
  background: var(--white);
  color: var(--text);
}

@media (max-width: 640px) {
  .search-input-wrapper, .sort-dropdown-wrapper {
    width: 100%;
  }
  #searchInput {
    width: 100%;
  }
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--gray-900);
}

.footer-top { padding: 64px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand .nav-logo { margin-bottom: 18px; }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--tr-fast);
}

.footer-col a:hover { color: var(--gold); }

.contact-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}

.contact-list a {
  color: rgba(255,255,255,0.45);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===================================================================
   MODAL
   =================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--tr-mid);
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr-fast);
  font-family: inherit;
}

.modal-close:hover { background: var(--gray-200); }

.modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--green-mid);
  font-weight: 600;
  margin-bottom: 24px;
}

.modal-form { display: flex; flex-direction: column; gap: 16px; }

/* ===================================================================
   TOAST
   =================================================================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--gray-900);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===================================================================
   WHATSAPP FLOAT
   =================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.50);
  z-index: 800;
  transition: all var(--tr-fast);
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 10px 36px rgba(37,211,102,0.65);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --section-py: 64px; }

  .nav-menu { display: none; flex-direction: column; align-items: flex-start; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,20,10,0.97);
    backdrop-filter: blur(16px);
    padding: 20px 24px;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .hamburger { display: flex; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }

  .stat-divider { width: 100%; height: 1px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img  { height: 380px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .why-grid          { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .about-features  { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .hero-actions    { flex-direction: column; align-items: stretch; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
}

/* ===================================================================
   DYNAMIC PRODUCT CARD ELEMENTS (API-driven)
   =================================================================== */

/* Loading state */
.products-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}

.loading-spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--green-mid);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* No products */
.no-products-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 48px;
  font-size: 1rem;
}

/* WhatsApp button on product card */
.btn-wa-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--tr-fast);
  box-shadow: 0 3px 10px rgba(37,211,102,0.35);
  font-family: var(--font-main);
  white-space: nowrap;
}

.btn-wa-card:hover {
  background: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,211,102,0.50);
}

/* Price actual (non-contact price) */
.price-actual { color: var(--green-dark); }

/* Details link on product card */
.btn-details-card {
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-mid);
  border: 1.5px solid var(--green-light);
  border-radius: var(--radius-full);
  background: transparent;
  transition: all var(--tr-fast);
  font-family: var(--font-main);
  margin-top: 4px;
  cursor: pointer;
}

.btn-details-card:hover {
  background: var(--green-pale);
  border-color: var(--green-mid);
}

/* Reveal animation for dynamically added cards */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===================================================================
   REVIEWS CAROUSEL
   =================================================================== */
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.carousel-track-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 4px;
}

.carousel-loading {
  text-align: center;
  padding: 60px;
  color: var(--text-muted);
  width: 100%;
}

/* Review card */
.review-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--tr-mid), border-color var(--tr-mid);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.review-card-quote {
  font-size: 3rem;
  color: var(--green-light);
  line-height: 0.6;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.review-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 12px; }

.review-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 14px;
}

.review-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 800; flex-shrink: 0;
}

.review-author-name { font-weight: 800; color: var(--gray-900); font-size: 0.95rem; }
.review-author-date { font-size: 0.78rem; color: var(--text-muted); }

/* Carousel arrows */
.carousel-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--tr-fast);
  color: var(--gray-500); flex-shrink: 0;
  font-family: inherit;
}
.carousel-arrow:hover {
  border-color: var(--green-mid);
  color: var(--green-mid);
  box-shadow: var(--shadow-sm);
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none; cursor: pointer;
  transition: all var(--tr-fast);
}
.carousel-dot.active {
  background: var(--green-mid);
  width: 22px;
  border-radius: 4px;
}

/* CTA row */
.reviews-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
#read-all-btn {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-mid);
}
#read-all-btn:hover {
  background: var(--green-pale);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}
#read-all-btn svg { stroke: var(--green-dark); }


/* Star rating input */
.star-rating {
  display: flex;
  gap: 6px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.star {
  font-size: 2rem;
  color: var(--gray-300);
  cursor: pointer;
  transition: color var(--tr-fast), transform var(--tr-fast);
  line-height: 1;
}
.star.selected, .star.hover { color: var(--gold); transform: scale(1.15); }

/* Section subtitle for avg */
#reviews-avg-line { font-size: 1rem; color: var(--text-muted); }

/* Reviews list in modal */
.review-modal-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--gray-50);
}
.review-modal-item .review-stars { margin-bottom: 6px; }
.review-modal-item .review-text { margin-bottom: 10px; font-size: 0.92rem; }
.review-modal-meta { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }




/* ===================================================================
   FACEBOOK FLOAT
   =================================================================== */
.fb-float {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #1877F2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(24,119,242,0.50);
  z-index: 800;
  transition: all var(--tr-fast);
}

.fb-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 10px 36px rgba(24,119,242,0.65);
}


/* ===================================================================
   SERVICES STRIP
   =================================================================== */
.services-strip {
  background: var(--surface);
  padding: 120px 0 20px 0; /* Breathing room under the fixed navbar */
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.service-box {
  background: white;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-fast);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(30, 94, 57, 0.08); /* Primary brand color slightly opaque */
  color: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--tr-fast);
}

.service-box:hover .service-icon {
  background: var(--green-mid);
  color: white;
}

.service-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.service-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}




