/* ============================================================
   SR Global Trading Corporation
   Stylesheet v2.0 — Mobile-First | All Breakpoints
   ============================================================ */

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

/* ── Tokens ── */
:root {
  --primary:      #2e7d32;
  --primary-lt:   #4caf50;
  --primary-dk:   #1b5e20;
  --secondary:    #f9a825;
  --dark:         #1a1a2e;
  --dark-2:       #212529;
  --text:         #2c3e50;
  --muted:        #6c757d;
  --white:        #fff;
  --light:        #f4faf4;
  --border:       #e8f5e9;
  --border-2:     #dee2e6;
  --sh-sm:        0 4px 16px rgba(0,0,0,.07);
  --sh:           0 8px 32px rgba(0,0,0,.11);
  --sh-lg:        0 16px 52px rgba(0,0,0,.15);
  --r:            12px;
  --r-sm:         8px;
  --ease:         all .3s cubic-bezier(.4,0,.2,1);
  --font:         'Poppins', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
a     { text-decoration: none; color: inherit; transition: var(--ease); }
img   { max-width: 100%; height: auto; display: block; }
ul,ol { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* ── Compatibility aliases (used in inline HTML styles) ── */
:root {
  --text-muted:  var(--muted);
  --text-dark:   var(--text);
  --light-bg:    var(--light);
  --radius-sm:   var(--r-sm);
  --radius:      var(--r);
  --shadow:      var(--sh);
  --shadow-lg:   var(--sh-lg);
  --primary-dark: var(--primary-dk);
  --dark-2:      #212529;
}

/* ── Prevent overflow ── */
.row { --bs-gutter-x: 1rem; overflow-x: clip; }
section, header, footer, div { max-width: 100%; }

/* ════════════════════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════════════════════ */

/* Section spacing — mobile first */
.section-padding    { padding: 48px 0; }
.section-padding-sm { padding: 32px 0; }

.section-label {
  display: inline-block;
  background: rgba(46,125,50,.1);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.45rem, 4vw, 2.3rem);
  font-weight: 800;
  color: var(--dark-2);
  line-height: 1.22;
  margin-bottom: .55rem;
}

.section-subtitle {
  font-size: clamp(.82rem, 2vw, .97rem);
  color: var(--muted);
  line-height: 1.72;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 46px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 10px auto 20px;
}
.divider-left { margin-left: 0; }

/* ── Buttons ── */
.btn-green, .btn-outline-green, .btn-wa, .btn-call {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(.78rem, 2vw, .88rem);
  border: 2px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}

.btn-green         { background: var(--primary);   color: #fff; border-color: var(--primary);   }
.btn-green:hover   { background: transparent; color: var(--primary); }
.btn-outline-green { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-green:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-wa            { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover      { background: transparent; color: #25D366; }
.btn-call          { background: var(--secondary); color: var(--dark-2); border-color: var(--secondary); }
.btn-call:hover    { background: transparent; color: var(--secondary); }

/* ════════════════════════════════════════════════════════════
   LOADING SCREEN
   ════════════════════════════════════════════════════════════ */
#loading-screen {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  transition: opacity .5s ease;
}
.loader-inner   { text-align: center; }
.loader-spinner {
  width: 46px; height: 46px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 14px;
}
.loader-text { font-size: .72rem; color: var(--muted); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════
   TOP BAR
   ════════════════════════════════════════════════════════════ */
.top-bar {
  background: var(--primary-dk);
  padding: 5px 0;
  font-size: .72rem;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
}
.top-bar a         { color: rgba(255,255,255,.8); }
.top-bar a:hover   { color: var(--secondary); }
.top-bar i         { color: var(--secondary); }

/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
.navbar-custom {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 0;
  transition: var(--ease);
  border-bottom: 1px solid transparent;
  z-index: 1030;
}
.navbar-custom.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  border-bottom-color: var(--border);
  padding: 2px 0;
}

.navbar-brand { padding: 4px 0; }
.navbar-logo {
  height: 52px;
  width: auto;
  display: block;
  transition: var(--ease);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.08));
}
.navbar-logo:hover {
  filter: drop-shadow(0 2px 8px rgba(46,125,50,.22));
  transform: scale(1.03);
}

.navbar-toggler {
  border: none !important;
  padding: 5px 7px;
  outline: none !important;
  box-shadow: none !important;
}
.navbar-toggler:focus { box-shadow: none !important; }

/* Mobile nav links */
.navbar-nav .nav-link {
  font-weight: 600;
  font-size: .84rem;
  color: var(--dark-2) !important;
  padding: 10px 12px !important;
  border-radius: var(--r-sm);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary) !important; background: var(--light); }

/* Mobile collapse */
.navbar-collapse {
  background: transparent;
  padding:0px;
  border-radius: 0 0 var(--r) var(--r);
  /*box-shadow: 0 10px 24px rgba(0,0,0,.07);*/
  border-top: 1px solid var(--border);
}

/* Mobile WA button in nav */
.navbar-nav .nav-cta-item { padding: 8px 0 0; }
.navbar-nav .nav-cta-item .btn-green { width: 100%; justify-content: center; }

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: var(--r);
  box-shadow: 0 10px 36px rgba(0,0,0,.1);
  padding: 8px;
  min-width: 200px;
  border-top: 3px solid var(--primary);
  animation: dropIn .2s ease;
}
@keyframes dropIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.dropdown-item {
  border-radius: var(--r-sm);
  padding: 9px 13px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  display: flex; align-items: center; gap: 9px;
  transition: var(--ease);
}
.dropdown-item:hover { background: var(--light); color: var(--primary); transform: translateX(3px); }
.dropdown-item i { color: var(--primary); width: 16px; text-align: center; }

/* ════════════════════════════════════════════════════════════
   HERO SECTION  (mobile-first)
   ════════════════════════════════════════════════════════════ */
.hero-section { position: relative; height:85vh;}
.pos{position: relative;
    top: 320px;}
.hero-slide {
  min-height: 64vh;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  position: relative;
  padding: 58px 0 86px; /* bottom: space for category nav bar */
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,.88) 0%, rgba(26,26,46,.72) 100%);
  transition: background .6s ease;
}

/* Per-slide overlay themes mapped dynamically to array indexes */
.hero-slide[data-theme="0"] .hero-overlay { background: linear-gradient(140deg, rgba(21,78,28,.92) 0%, rgba(15,28,15,.78) 100%); }
.hero-slide[data-theme="1"] .hero-overlay { background: linear-gradient(140deg, rgba(36,95,20,.90) 0%, rgba(100,50,0,.76) 100%); }
.hero-slide[data-theme="2"] .hero-overlay { background: linear-gradient(140deg, rgba(55,30,10,.92) 0%, rgba(18,18,28,.80) 100%); }
.hero-slide[data-theme="3"] .hero-overlay { background: linear-gradient(140deg, rgba(4,62,90,.92)  0%, rgba(25,75,30,.78) 100%); }

.hero-content { position: relative; z-index: 2; color: #fff; }

/* ── Hero Feature List ── */
.hero-features { display: flex; flex-direction: column; gap: 5px; margin-bottom: 1.3rem; }
.hero-feature  { display: flex; align-items: center; gap: 8px; font-size: clamp(.74rem,1.8vw,.84rem); color: rgba(255,255,255,.9); }
.hero-feature i { color: var(--secondary); font-size: .72rem; flex-shrink: 0; }

/* ── Hero Right Showcase ── */
.hero-showcase { position: relative; padding-top: 16px; }

.hero-trust {
  position: absolute; 
  top: -12px; 
  right: -12px; /* Pushed out slightly more for a cleaner, overlapping look */
  
  width: 76px; 
  height: 76px; /* Increased slightly to comfortably accommodate 3 lines of text */
  padding: 6px;
  box-sizing: border-box; /* Ensures padding doesn't distort the 76x76px circle dimensions */
  
  background: var(--secondary); 
  color: var(--dark-2);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4); /* High-end contrast ring */
  
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  
  font-size: 0.62rem; 
  font-weight: 850; 
  text-align: center; 
  line-height: 1.25;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  
  /* Modern, deep organic glow effect */
  box-shadow: 0 8px 24px rgba(249, 168, 37, 0.4), 
              inset 0 2px 4px rgba(255, 255, 255, 0.3);
  
  z-index: 10;
  
  /* Performance-optimized rotation mechanics */
  transform-origin: center;
  animation: spin-slow 12s linear infinite;
  backface-visibility: hidden;
  will-change: transform;
}

@keyframes spin-slow { 
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); } 
}

.hero-main-card {
  border-radius: 18px; overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-main-card > img {
  width: 100%; height: 260px;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}
.hero-main-card:hover > img { transform: scale(1.04); }
.hero-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
  color: #fff;
}
.hero-card-overlay h6 { font-size: .86rem; font-weight: 700; margin: 0 0 3px; }
.hero-card-overlay span { font-size: .7rem; opacity: .82; }

/* Mini product cards */
.hero-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.hero-mini-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 12px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  transition: var(--ease);
}
.hero-mini-card:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.hero-mini-img {
  width: 40px; height: 40px; border-radius: 9px;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.18);
}
.hero-mini-card h6 { font-size: .68rem; font-weight: 700; color: #fff; margin: 0 0 2px; line-height: 1.25; }
.hero-mini-card span { font-size: .6rem; color: rgba(255,255,255,.72); }

/* ── Hero Category Nav Bar ── */
.hero-cat-nav {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 25;
  background: rgba(8,20,8,.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
}
.hero-cat-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px;
  border: none; background: transparent;
  color: rgba(255,255,255,.55);
  font-family: var(--font); font-size: .62rem; font-weight: 600;
  cursor: pointer; transition: var(--ease);
  position: relative; overflow: hidden;
  border-top: 2px solid transparent;
  text-align: center; white-space: nowrap;
}
.hero-cat-btn i  { font-size: .95rem; }
.hero-cat-btn span { 
  display: block; 
  line-height: 1.2; 
  white-space: normal; /* Allows the text to naturally break into multiple lines */
  word-wrap: break-word; /* Forces long words to break if they exceed button width */
}
.hero-cat-btn:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); }
.hero-cat-btn.active { color: #fff; border-top-color: var(--secondary); background: rgba(255,255,255,.09); }

/* Progress fill on active slide */
.hero-cat-fill {
  position: absolute; bottom: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--secondary), #ffca28);
  width: 0%; border-radius: 0;
}
.hero-cat-btn.running .hero-cat-fill { animation: cat-fill 5.5s linear forwards; }
@keyframes cat-fill { from { width: 0% } to { width: 100% } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(249,168,37,.18);
  border: 1px solid rgba(249,168,37,.5);
  color: var(--secondary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: .9rem;
}

.hero-title {
  font-size: clamp(1.65rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: .9rem;
}
.hero-title span { color: var(--secondary); }

.hero-desc {
  font-size: clamp(.82rem, 2vw, 1.05rem);
  opacity: .9;
  line-height: 1.72;
  margin-bottom: 1.4rem;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hero stats — 2-col grid on mobile */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stat h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900; color: var(--secondary); margin: 0;
}
.hero-stat p {
  font-size: clamp(.62rem, 1.5vw, .75rem);
  opacity: .75; margin: 0;
  letter-spacing: .5px; text-transform: uppercase;
}

/* Carousel controls — hide on mobile, show tablet+ */
.carousel-control-prev,
.carousel-control-next {
  display: none;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 50%; opacity: 1;
  border: 2px solid rgba(255,255,255,.22);
  transition: var(--ease);
  top: 50%; transform: translateY(-50%); bottom: auto;
}
.carousel-control-prev:hover,
.carousel-control-next:hover { background: var(--primary); border-color: var(--primary); }
.carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: none; margin: 0 4px;
  transition: var(--ease);
}
.carousel-indicators .active { background: var(--secondary); width: 22px; border-radius: 4px; }

/* ════════════════════════════════════════════════════════════
   MARQUEE STRIP
   ════════════════════════════════════════════════════════════ */
.marquee-strip { background: var(--primary); padding: 9px 0; overflow: hidden; }
.marquee-track  { display: flex; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee-item   { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; color: #fff; font-size: .76rem; font-weight: 500; flex-shrink: 0; }
.marquee-item i { color: var(--secondary); }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ════════════════════════════════════════════════════════════ */
.categories-section { background: var(--light); }

.cat-card {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: var(--ease);
  height: 100%;
  cursor: pointer;
  border: 1px solid transparent;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--border); }

.cat-img-wrap { height: 170px; overflow: hidden; position: relative; }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.cat-card:hover .cat-img-wrap img { transform: scale(1.08); }
.cat-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,94,32,.7) 0%, transparent 55%);
  opacity: 0; transition: var(--ease);
}
.cat-card:hover .cat-img-overlay { opacity: 1; }

.cat-body { padding: 14px 16px; }
.cat-icon {
  width: 38px; height: 38px;
  background: rgba(46,125,50,.1); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 9px; font-size: 1.15rem; color: var(--primary);
  transition: var(--ease);
}
.cat-card:hover .cat-icon { background: var(--primary); color: #fff; }
.cat-title { font-size: .92rem; font-weight: 700; color: var(--dark-2); margin-bottom: 5px; }
.cat-desc  { font-size: .76rem; color: var(--muted); margin-bottom: 11px; line-height: 1.58; }
.btn-explore {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--primary); font-weight: 700; font-size: .77rem;
  background: none; border: none; padding: 0; transition: var(--ease);
}
.btn-explore:hover { gap: 12px; color: var(--primary-dk); }

/* ════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ════════════════════════════════════════════════════════════ */
.prod-card {
  background: #fff; border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: var(--ease); height: 100%; position: relative;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

.prod-img-wrap { height: 185px; overflow: hidden; position: relative; }
.prod-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod-card:hover .prod-img-wrap img { transform: scale(1.07); }

.prod-badge {
  position: absolute; top: 9px; left: 9px;
  background: var(--primary); color: #fff;
  padding: 3px 10px; border-radius: 50px; font-size: .66rem; font-weight: 700;
}

.prod-actions {
  position: absolute; top: 9px; right: 9px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(10px); transition: var(--ease);
}
.prod-card:hover .prod-actions { opacity: 1; transform: translateX(0); }
.prod-action-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  cursor: pointer; transition: var(--ease); color: var(--text); font-size: .8rem;
}
.prod-action-btn:hover { background: var(--primary); color: #fff; }

.prod-body { padding: 12px 14px; }
.prod-cat  { font-size: .65rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.prod-name { font-size: .92rem; font-weight: 700; color: var(--dark-2); margin-bottom: 5px; line-height: 1.3; }
.prod-desc { font-size: .76rem; color: var(--muted); margin-bottom: 11px; line-height: 1.58; }
.prod-footer { display: flex; gap: 6px; align-items: center; }

.btn-inquiry {
  flex: 1;
  background: var(--primary); color: #fff;
  border: 2px solid var(--primary); border-radius: var(--r-sm);
  padding: 7px 10px; font-size: .76rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; transition: var(--ease); font-family: var(--font);
}
.btn-inquiry:hover { background: transparent; color: var(--primary); }

.btn-wa-sm {
  width: 36px; height: 36px; flex-shrink: 0;
  background: #25D366; color: #fff;
  border: none; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; cursor: pointer; transition: var(--ease); text-decoration: none;
}
.btn-wa-sm:hover { background: #128C7E; color: #fff; }

/* ════════════════════════════════════════════════════════════
   WHY CHOOSE US
   ════════════════════════════════════════════════════════════ */
.why-section {
  background: linear-gradient(135deg, var(--primary-dk) 0%, #1a3a1a 100%);
  position: relative; overflow: hidden; color: #fff;
}
.why-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px; background: rgba(255,255,255,.03); border-radius: 50%;
}
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 22px 18px;
  text-align: center; transition: var(--ease); height: 100%;
}
.why-card:hover { background: rgba(255,255,255,.11); border-color: var(--secondary); transform: translateY(-5px); }
.why-icon {
  width: 58px; height: 58px;
  background: rgba(249,168,37,.15);
  border: 2px solid rgba(249,168,37,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.45rem; color: var(--secondary);
  transition: var(--ease);
}
.why-card:hover .why-icon { background: var(--secondary); color: var(--dark-2); }
.why-card h5 { font-size: .9rem; font-weight: 700; margin-bottom: 7px; }
.why-card p  { font-size: .77rem; opacity: .78; line-height: 1.65; margin: 0; }

/* ════════════════════════════════════════════════════════════
   INDUSTRY CARDS
   ════════════════════════════════════════════════════════════ */
.ind-card {
  background: #fff; border-radius: var(--r);
  padding: 20px 16px; box-shadow: var(--sh-sm);
  transition: var(--ease); height: 100%;
  position: relative; overflow: hidden;
  border-bottom: 3px solid transparent;
}
.ind-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  opacity: 0; transition: var(--ease);
}
.ind-card:hover { transform: translateY(-6px); border-bottom-color: var(--primary); }
.ind-card:hover::before { opacity: 1; }
.ind-card .ind-content { position: relative; z-index: 1; }
.ind-card:hover .ind-content * { color: #fff !important; }
.ind-icon { font-size: 1.9rem; color: var(--primary); margin-bottom: 9px; display: block; }
.ind-card h5 { font-size: .9rem; font-weight: 700; color: var(--dark-2); margin-bottom: 6px; }
.ind-card p  { font-size: .76rem; color: var(--muted); margin: 0; line-height: 1.62; }

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.testi-section { background: var(--light); }
.testi-card {
  background: #fff; border-radius: var(--r);
  padding: 26px 22px; box-shadow: var(--sh-sm);
}
.testi-quote  { font-size: 2.8rem; line-height: 1; color: var(--primary); opacity: .13; font-family: Georgia, serif; margin-bottom: 6px; }
.testi-stars  { color: var(--secondary); font-size: .78rem; margin-bottom: 10px; }
.testi-text   { font-size: .84rem; color: var(--text); line-height: 1.76; font-style: italic; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); flex-shrink: 0; }
.testi-name   { font-weight: 700; color: var(--dark-2); margin: 0; font-size: .86rem; }
.testi-role   { font-size: .72rem; color: var(--muted); margin: 0; }

/* ════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════════════════ */
.accordion-item   { border: 1px solid var(--border) !important; border-radius: var(--r) !important; margin-bottom: 8px; overflow: hidden; }
.accordion-button { font-weight: 600; font-size: .86rem; color: var(--dark-2) !important; background: #fff !important; padding: 14px 18px; }
.accordion-button:not(.collapsed) { color: var(--primary) !important; box-shadow: none !important; }
.accordion-button::after { background-size: 14px; }
.accordion-body   { font-size: .82rem; color: var(--muted); line-height: 1.76; padding: 0 18px 16px; }

/* ════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dk) 0%, #1a3c2a 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 320px; height: 320px; background: rgba(255,255,255,.04); border-radius: 50%;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   FLOATING BUTTONS
   ════════════════════════════════════════════════════════════ */
.floating-btns {
  position: fixed; bottom: 18px; right: 14px;
  display: flex; flex-direction: column; gap: 9px; z-index: 1050;
}
.float-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: var(--ease); text-decoration: none; position: relative;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-wa   { background: #25D366; }
.float-call { background: var(--primary); }
.float-wa   { animation: pwa   2.2s ease-in-out infinite; }
.float-call { animation: pcall 2.2s ease-in-out infinite .55s; }
@keyframes pwa   { 0%,100%{box-shadow:0 4px 16px rgba(37,211,102,.3)} 50%{box-shadow:0 4px 26px rgba(37,211,102,.65)} }
@keyframes pcall { 0%,100%{box-shadow:0 4px 16px rgba(46,125,50,.3)}  50%{box-shadow:0 4px 26px rgba(46,125,50,.65)}  }

.float-tooltip {
  position: absolute; right: 56px;
  background: var(--dark-2); color: #fff;
  padding: 4px 10px; border-radius: 5px;
  font-size: .7rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--ease);
}
.float-btn:hover .float-tooltip { opacity: 1; }

.scroll-top {
  position: fixed; bottom: 18px; left: 14px;
  width: 40px; height: 40px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; box-shadow: 0 4px 14px rgba(46,125,50,.3);
  transition: var(--ease); z-index: 1049;
  opacity: 0; transform: translateY(12px);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dk); transform: translateY(-3px); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer { background: #0a190a; color: rgba(255,255,255,.72); }
.footer-top { padding: 40px 0 28px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-logo {    height: 62px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px;}
.footer-desc { font-size: .79rem; line-height: 1.72; margin-bottom: 14px; }

.footer-social { display: flex; gap: 7px; flex-wrap: wrap; }
.soc-btn {
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; transition: var(--ease);
}
.soc-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.footer h6 {
  color: #fff; font-size: .86rem; font-weight: 700;
  margin-bottom: 12px; padding-bottom: 7px; position: relative;
}
.footer h6::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 22px; height: 2px; background: var(--secondary);
}

.footer-links li { margin-bottom: 7px; }
.footer-links a {
  font-size: .77rem; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 6px; transition: var(--ease);
}
.footer-links a::before {
  content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--secondary); font-size: .66rem; flex-shrink: 0;
}
.footer-links a:hover { color: #fff; transform: translateX(4px); }

.fc-item { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; }
.fc-item i { color: var(--secondary); font-size: .82rem; margin-top: 2px; width: 13px; flex-shrink: 0; }
.fc-item span { font-size: .77rem; line-height: 1.58; }
.fc-item a { color: rgba(255,255,255,.72); }
.fc-item a:hover { color: var(--secondary); }

.footer-bottom { padding: 14px 0; font-size: .73rem; }
.footer-bottom a { color: rgba(255,255,255,.55); margin: 0 6px; }
.footer-bottom a:hover { color: var(--secondary); }

/* ════════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ════════════════════════════════════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, var(--primary-dk) 0%, #1a3c2a 100%);
  padding: 72px 0 36px; color: #fff;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; right: 0; top: 0;
  width: 50%; height: 100%; background: rgba(255,255,255,.03);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-header h1 { font-size: clamp(1.6rem, 4vw, 2.7rem); font-weight: 900; }
.page-header p  { font-size: clamp(.82rem, 2vw, 1.05rem); color: rgba(255,255,255,.75); margin-top: .6rem; max-width: 500px; }
.breadcrumb-item a { color: var(--secondary); font-size: .82rem; }
.breadcrumb-item.active { color: rgba(255,255,255,.65); font-size: .82rem; }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */
.about-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.about-img img { width: 100%; height: 280px; object-fit: cover; }

.mv-card { border-radius: var(--r); padding: 24px 20px; height: 100%; }
.mv-mission { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: #fff; }
.mv-vision  { background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%); color: #fff; }
.mv-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: .7rem; }
.mv-card p  { font-size: .83rem; opacity: .88; line-height: 1.76; }

.value-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; background: var(--light);
  border-radius: var(--r-sm); margin-bottom: 10px;
}
.value-icon {
  width: 40px; height: 40px; background: var(--primary);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: #fff; flex-shrink: 0;
}
.value-item h6 { font-weight: 700; color: var(--dark-2); margin-bottom: 2px; font-size: .86rem; }
.value-item p  { font-size: .77rem; color: var(--muted); margin: 0; }

.counter-section { background: var(--light); }
.counter-box {
  text-align: center; padding: 22px 14px;
  background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-sm); transition: var(--ease);
}
.counter-box:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.counter-num { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 5px; }
.counter-label { font-size: .8rem; color: var(--muted); font-weight: 500; }

.team-card { text-align: center; }
.team-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  margin: 0 auto 10px; overflow: hidden;
  border: 3px solid var(--border); transition: var(--ease);
}
.team-card:hover .team-avatar { border-color: var(--primary); transform: scale(1.05); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; color: var(--dark-2); margin-bottom: 3px; font-size: .88rem; }
.team-role { font-size: .75rem; color: var(--primary); font-weight: 600; margin-bottom: 7px; }

.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-dot  { position: absolute; left: -21px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.timeline-year  { font-size: .68rem; font-weight: 700; color: var(--primary); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.timeline-title { font-size: .88rem; font-weight: 700; color: var(--dark-2); margin-bottom: 4px; }
.timeline-desc  { font-size: .77rem; color: var(--muted); line-height: 1.62; margin: 0; }

/* ════════════════════════════════════════════════════════════
   PRODUCTS PAGE
   ════════════════════════════════════════════════════════════ */
.filter-bar {
  background: #fff; border-radius: var(--r);
  padding: 14px 16px; box-shadow: var(--sh-sm); margin-bottom: 20px;
}
.filter-btn {
  padding: 5px 14px; border-radius: 50px;
  border: 2px solid var(--border); background: transparent;
  color: var(--text); font-size: .77rem; font-weight: 600;
  cursor: pointer; transition: var(--ease); margin: 3px;
  font-family: var(--font); white-space: nowrap;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.search-wrap { position: relative; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .82rem; }
.search-input {
  width: 100%; border: 2px solid var(--border); border-radius: 50px;
  padding: 8px 16px 8px 34px; font-size: .83rem;
  font-family: var(--font); outline: none; transition: var(--ease); color: var(--text);
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,125,50,.1); }

.no-products { text-align: center; padding: 46px 20px; display: none; }
.no-products i { font-size: 2.4rem; color: var(--border); display: block; margin-bottom: 10px; }

.modal-content { border-radius: var(--r); border: none; overflow: hidden; }
.modal-header  { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: #fff; border: none; }
.modal-header .btn-close { filter: invert(1); }
.modal-product-img { width: 100%; height: 220px; object-fit: cover; }

/* ════════════════════════════════════════════════════════════
   INDUSTRIES PAGE
   ════════════════════════════════════════════════════════════ */
.ind-hero-card {
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh); height: 240px; position: relative;
}
.ind-hero-card img { width: 100%; height: 100%; object-fit: cover; }
.ind-hero-card .overlay-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(27,94,32,.9) 0%, transparent 60%);
  padding: 16px 14px 13px; color: #fff;
}
.ind-hero-card .overlay-text h5 { font-weight: 700; margin-bottom: 2px; font-size: .9rem; }
.ind-hero-card .overlay-text p  { font-size: .74rem; opacity: .85; margin: 0; }

.stat-card {
  text-align: center; padding: 20px 14px;
  background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-sm); transition: var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.stat-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.stat-card p  { font-size: .79rem; color: var(--muted); margin: 0; }

.ind-feature {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px; border: 1px solid var(--border);
  border-radius: var(--r-sm); transition: var(--ease); margin-bottom: 9px;
}
.ind-feature:hover { border-color: var(--primary); background: var(--light); }
.ind-feature i { font-size: 1.25rem; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.ind-feature h6 { font-weight: 700; color: var(--dark-2); margin-bottom: 2px; font-size: .84rem; }
.ind-feature p  { font-size: .76rem; color: var(--muted); margin: 0; }

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */
.contact-form-card { background: #fff; border-radius: var(--r); padding: 24px 20px; box-shadow: var(--sh); }
.contact-info-card { background: linear-gradient(135deg, var(--primary-dk), #1a3c2a); color: #fff; border-radius: var(--r); padding: 24px 20px; }
.form-label { font-weight: 600; font-size: .81rem; color: var(--dark-2); margin-bottom: 4px; display: block; }
.form-control, .form-select {
  border: 2px solid var(--border); border-radius: var(--r-sm);
  padding: 9px 13px; font-size: .84rem; font-family: var(--font); transition: var(--ease);
}
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,125,50,.1); outline: none; }

.ci-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ci-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ci-icon {
  width: 38px; height: 38px; background: rgba(255,255,255,.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--secondary); flex-shrink: 0;
}
.ci-item h6 { color: #fff; font-weight: 700; margin-bottom: 2px; font-size: .84rem; }
.ci-item span { font-size: .78rem; opacity: .8; }
.ci-item a { color: rgba(255,255,255,.8); }
.ci-item a:hover { color: var(--secondary); }

.map-wrap { border-radius: var(--r); overflow: hidden; height: 300px; box-shadow: var(--sh); }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ════════════════════════════════════════════════════════════
   POLICY PAGES
   ════════════════════════════════════════════════════════════ */
.policy-content { max-width: 820px; margin: 0 auto; line-height: 1.76; }
.policy-content h4 { color: var(--primary-dk); margin-top: 1.6rem; margin-bottom: .7rem; font-weight: 700; font-size: .98rem; }
.policy-content p, .policy-content li { font-size: .87rem; color: var(--muted); }
.policy-content ul { margin-left: 1.2rem; list-style: disc; }

/* ── Bootstrap overrides: tighten spacing on mobile ── */
.mb-5 { margin-bottom: 2rem !important; }
@media (min-width: 768px)  { .mb-5 { margin-bottom: 2.6rem !important; } }
@media (min-width: 1024px) { .mb-5 { margin-bottom: 3rem !important; } }

/* Responsive row gaps */
.g-5 { --bs-gutter-y: 1.5rem !important; --bs-gutter-x: 1.2rem !important; }
@media (min-width: 768px)  { .g-lg-5 { --bs-gutter-y: 2rem !important; --bs-gutter-x: 1.6rem !important; } }
@media (min-width: 1024px) { .g-lg-5 { --bs-gutter-y: 2.6rem !important; --bs-gutter-x: 2rem !important; } }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes fadeInDown  { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInLeft  { from{opacity:0;transform:translateX(-20px)} to{opacity:1;transform:translateX(0)} }
@keyframes fadeInUp    { from{opacity:0;transform:translateY(20px)}  to{opacity:1;transform:translateY(0)} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(20px)}  to{opacity:1;transform:translateX(0)} }

/* ════════════════════════════════════════════════════════════
   ██ RESPONSIVE SCALE-UP (mobile → tablet → desktop) ██
   ════════════════════════════════════════════════════════════ */

/* ── 480 px — large phones ── */
@media (min-width: 480px) {
    .hero-section{height:100vh;}
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 10px 12px; }
  .hero-btns .btn-green,
  .hero-btns .btn-outline-green,
  .hero-btns .btn-wa,
  .hero-btns .btn-call { width: auto; }
  .cat-img-wrap { height: 190px; }
  .prod-img-wrap { height: 200px; }
}

/* ── 576 px — small tablets / large phones ── */
@media (min-width: 576px) {
  .hero-title { font-size: 2.2rem; }
  .row { --bs-gutter-x: 1.2rem; }
}

/* ── 768 px — tablets ── */
@media (min-width: 768px) {
  /* Spacing */
  .section-padding    { padding: 64px 0; }
  .section-padding-sm { padding: 42px 0; }

  /* Hero */
  .hero-slide  { min-height: 78vh; padding: 70px 0 100px; }
  .hero-main-card > img { height: 280px; }
  .hero-stats  { gap: 12px 28px; }

  /* Carousel arrows appear */
  .carousel-control-prev,
  .carousel-control-next { display: flex; }
  .carousel-control-prev { left: 18px; }
  .carousel-control-next { right: 18px; }

  /* Page header */
  .page-header { padding: 88px 0 46px; }

  /* Cards */
  .cat-img-wrap  { height: 205px; }
  .prod-img-wrap { height: 210px; }
  .about-img img { height: 360px; }
  .ind-hero-card { height: 300px; }
  .map-wrap { height: 360px; }

  /* Contact */
  .contact-form-card { padding: 32px 28px; }
  .contact-info-card { padding: 32px 28px; }

  /* Footer */
  .footer-top { padding: 52px 0 34px; }

  /* Floating */
  .floating-btns { bottom: 24px; right: 18px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.3rem; }
  .scroll-top { left: 18px; bottom: 24px; width: 42px; height: 42px; }
}

/* ── 1024 px — laptops / desktops ── */
@media (min-width: 1024px) {
     .hero-section{height:100vh;}
  /* Spacing */
  .section-padding    { padding: 82px 0; }
  .section-padding-sm { padding: 56px 0; }

  /* Hero */
  .hero-slide  { min-height: 92vh; padding: 82px 0 110px; }
  .hero-main-card > img { height: 300px; }
  .hero-trust  { width: 76px; height: 76px; font-size: .6rem; top: -8px; right: -8px; }
  .hero-cat-btn { font-size: .7rem; padding: 12px 8px; }
  .hero-cat-btn i { font-size: 1.05rem; }
  .hero-stats  { gap: 14px 40px; }

  /* Desktop nav underline effect */
  .navbar-nav .nav-link { padding: 24px 13px !important; border-radius: 0; position: relative; }
  .navbar-nav .nav-link::after {
    content: ''; position: absolute;
    bottom: 15px; left: 13px; right: 13px;
    height: 2px; background: var(--primary);
    transform: scaleX(0); transform-origin: left;
    transition: var(--ease);
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active { background: none; }
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after { transform: scaleX(1); }

  /* Page header */
  .page-header { padding: 105px 0 60px; }

  /* Cards */
  .cat-img-wrap  { height: 215px; }
  .prod-img-wrap { height: 220px; }
  .about-img img { height: 460px; }
  .ind-hero-card { height: 380px; }
  .map-wrap      { height: 400px; }

  /* Footer */
  .footer-top { padding: 66px 0 42px; }

  /* Floating */
  .floating-btns { bottom: 30px; right: 24px; }
  .float-btn { width: 54px; height: 54px; font-size: 1.38rem; }
  .scroll-top { left: 24px; bottom: 30px; width: 44px; height: 44px; }

  /* Contact */
  .contact-form-card { padding: 40px; }
  .contact-info-card { padding: 40px; }
}

/* ── 1280 px — large desktops ── */
@media (min-width: 1280px) {
  .section-padding { padding: 92px 0; }
  .row { --bs-gutter-x: 1.5rem; }
}

/* ════════════════════════════════════════════════════════════
   DYNAMIC FRONTEND ADDITIONS (PHP pages)
   ════════════════════════════════════════════════════════════ */

/* Footer extras */
.footer-heading { color:#fff; font-size:.82rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:14px; }
.footer-links   { list-style:none; padding:0; margin:0; }
.footer-links li + li { margin-top:7px; }
.footer-links a { color:rgba(255,255,255,.6); font-size:.82rem; transition:var(--ease); }
.footer-links a:hover { color:var(--secondary); padding-left:5px; }
.footer-contact { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer-contact li { display:flex; gap:10px; align-items:flex-start; font-size:.82rem; color:rgba(255,255,255,.65); }
.footer-contact li i { color:var(--secondary); width:16px; flex-shrink:0; margin-top:3px; }
.footer-contact a { color:rgba(255,255,255,.65); }
.footer-contact a:hover { color:var(--secondary); }
.footer-social a { width:34px; height:34px; border-radius:8px; background:rgba(255,255,255,.08); color:rgba(255,255,255,.7); display:flex; align-items:center; justify-content:center; font-size:.84rem; transition:var(--ease); }
.footer-social a:hover { background:var(--primary); color:#fff; transform:translateY(-2px); }
.footer-bottom { padding:16px 0; border-top:1px solid rgba(255,255,255,.06); font-size:.76rem; color:rgba(255,255,255,.4); }
.footer-bottom-links { display:flex; gap:14px; flex-wrap:wrap; }
.footer-bottom-links a { color:rgba(255,255,255,.4); font-size:.76rem; }
.footer-bottom-links a:hover { color:rgba(255,255,255,.8); }

/* Category card */
.cat-card { background:#fff; border-radius:16px; border:1.5px solid #e8f5e9; transition:var(--ease); cursor:pointer; }
.cat-card:hover { border-color:var(--primary); transform:translateY(-6px); box-shadow:0 12px 32px rgba(46,125,50,.12); }
.cat-icon-wrap { width:56px; height:56px; border-radius:14px; background:rgba(46,125,50,.1); display:flex; align-items:center; justify-content:center; color:var(--primary); transition:var(--ease); }
.cat-card:hover .cat-icon-wrap { background:var(--primary); color:#fff; }

/* Product card */
.product-card { background:#fff; border-radius:16px; border:1px solid #e9ecef; overflow:hidden; transition:var(--ease); }
.product-card:hover { box-shadow:0 16px 48px rgba(0,0,0,.12); transform:translateY(-4px); }
.product-img-wrap { position:relative; overflow:hidden; aspect-ratio:4/3; }
.product-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.product-card:hover .product-img-wrap img { transform:scale(1.06); }
.product-badge { position:absolute; top:10px; left:10px; background:rgba(46,125,50,.85); color:#fff; font-size:.68rem; font-weight:700; padding:3px 10px; border-radius:50px; }
.product-body { padding:16px; }
.product-title { font-size:.92rem; font-weight:700; margin-bottom:5px; color:var(--text); }
.product-desc { font-size:.8rem; color:var(--muted); line-height:1.6; margin-bottom:12px; }
.product-actions { display:flex; gap:8px; align-items:center; }

/* Why card */
.why-card { background:#da8b0b; border-radius:16px; border:1px solid #e8f5e9; transition:var(--ease); }
.why-card:hover { box-shadow:0 12px 32px rgba(46,125,50,.1); transform:translateY(-4px); }
.why-icon { width:52px; height:52px; border-radius:14px; background:rgba(46,125,50,.1); display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:1.2rem; transition:var(--ease); }
.why-card:hover .why-icon { background:var(--primary); color:#fff; }

/* Testimonial card */
.testimonial-card { background:#fff; border-radius:16px; border:1px solid #e9ecef; transition:var(--ease); }
.testimonial-card:hover { box-shadow:0 12px 32px rgba(0,0,0,.08); transform:translateY(-3px); }
.testimonial-text { font-size:.88rem; line-height:1.75; color:#555; font-style:italic; }

/* Counter */
.counter-item h3 { font-size:2.4rem; font-weight:900; color:#fff; margin:0; }
.counter-item p  { color:rgba(255,255,255,.6); font-size:.82rem; margin:4px 0 0; }

/* Inquiry input override (dark background) */
.inquiry-input { background:rgba(255,255,255,.08); border:1.5px solid rgba(255,255,255,.15); color:#fff; border-radius:10px; padding:11px 14px; font-size:.86rem; }
.inquiry-input::placeholder { color:rgba(255,255,255,.45); }
.inquiry-input:focus { background:rgba(255,255,255,.14); border-color:var(--secondary); box-shadow:none; color:#fff; }
.inquiry-input option { background:#1b5e20; color:#fff; }

/* btn-wa / btn-outline-green extras */
.btn-wa        { background:#25d366; color:#fff; border:2px solid transparent; }
.btn-wa:hover  { background:transparent; color:#25d366; border-color:#25d366; }
.btn-outline-green { background:transparent; color:var(--primary); border:2px solid var(--primary); }
.btn-outline-green:hover { background:var(--primary); color:#fff; }

/* Page header util */
.page-header { position:relative; }


/* ════════════════════════════════════════════════════════════
   COLLAPSED NAVBAR OVERRIDES (max-width breakpoints)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .navbar-logo { height: 42px; }
  .navbar-collapse  { margin-top: 0; }
  .navbar-nav .nav-link::after { display: none; }
  .dropdown-menu {
    border: none; box-shadow: none;
    padding: 0 0 0 12px; background: transparent;
    border-top: none;
  }
  .dropdown-item { font-size: .8rem; padding: 8px 10px; }
  .dropdown-item:hover { transform: none; background: var(--light); }

  /* WA CTA button in collapsed navbar — always full width */
  .navbar-nav .nav-item:last-child { margin-top: 10px; }
  .navbar-nav .nav-item:last-child > a.btn-green,
  .navbar-nav .nav-item:last-child > a.btn-wa {
    width: 100%; justify-content: center;
    display: flex; border-radius: var(--r-sm);
  }
}

/* ════════════════════════════════════════════════════════════
   SMALL-SCREEN UTILITY PATCHES (max-width)
   ════════════════════════════════════════════════════════════ */

/* 575 px and below — true mobile */
@media (max-width: 575px) {

  /* Hero: tighter slide padding on phone */
  .hero-slide { padding: 56px 0 80px; }
  .hero-features { gap: 4px; }
  .hero-feature  { font-size: .74rem; }

  /* Category nav: smaller text/icons on phone */
  .hero-cat-btn { padding: 8px 4px; font-size: .58rem; }
  .hero-cat-btn i { font-size: .82rem; }

  /* Hero buttons stack */
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-green,
  .hero-btns .btn-outline-green,
  .hero-btns .btn-wa,
  .hero-btns .btn-call { justify-content: center; }

  /* Category + product images smaller */
  .cat-img-wrap  { height: 155px; }
  .prod-img-wrap { height: 170px; }

  /* Stats: 2-col on very small screens */
  .hero-stats { grid-template-columns: 1fr 1fr; }

  /* Why card compact */
  .why-card { padding: 18px 14px; }
  .why-icon { width: 50px; height: 50px; font-size: 1.25rem; }

  /* CTA buttons */
  .cta-section .btn-wa,
  .cta-section .btn-outline-green,
  .cta-section .btn-call { width: 100%; justify-content: center; }

  /* Footer compact */
  .footer-top { padding: 32px 0 22px; }
  .footer-bottom { text-align: center; }
  .footer-bottom > div { width: 100%; justify-content: center !important; }

  /* Contact form */
  .contact-form-card { padding: 20px 15px; }
  .contact-info-card { padding: 20px 15px; }

  /* Policy / about pages */
  .mv-card { padding: 20px 16px; }
  .counter-box { padding: 18px 12px; }

  /* Accordion tighter */
  .accordion-button { padding: 12px 14px; font-size: .82rem; }
  .accordion-body   { padding: 0 14px 14px; }

  /* FAQ layout: stack on mobile */
  #faq .col-lg-4,
  #faq .col-lg-8 { text-align: left; }
}

/* 320–375 px — very small phones */
@media (max-width: 375px) {
  .hero-badge { font-size: .62rem; padding: 3px 12px; }
  .hero-cat-btn { padding: 7px 3px; font-size: .54rem; }
  .hero-cat-btn i { font-size: .78rem; }
  .hero-cat-btn span { display: none; } /* icon-only on tiny screens */
  .filter-btn { padding: 4px 10px; font-size: .72rem; }
  .marquee-item { padding: 0 16px; font-size: .72rem; }
  .btn-green, .btn-wa, .btn-call, .btn-outline-green { padding: 9px 18px; font-size: .78rem; }
}
