/* ============================================
   GENSET BAZAR — MAIN STYLESHEET
   ============================================ */

:root {
  --blue-dark:   #0d2b6e;
  --blue-mid:    #1a4ba0;
  --blue-light:  #2d6bce;
  --green:       #27ae60;
  --green-light: #2ecc71;
  --accent:      #f0a500;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --gray-100:    #eef1f6;
  --gray-300:    #c9d2e0;
  --gray-500:    #7a8899;
  --gray-800:    #2c3a4d;
  --text-dark:   #1a2535;
  --text-body:   #445566;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.16);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

/* RESET */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
  font-family: 'Barlow', sans-serif; 
  color: var(--text-dark); 
  background: var(--white); 
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { 
  background: var(--gray-300); 
  border-radius: 10px; 
  border: 3px solid var(--gray-100); 
}
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* CONTAINER */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  pointer-events: all;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none; /* Final removal from layout */
}

html.hide-preloader #preloader {
  display: none !important;
}

.loader-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  text-align: center;
  animation: pulseLoader 1.5s infinite ease-in-out;
}

.loader-icon img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.loader-content::before {
  content: ''; position: absolute; inset: 0;
  border: 4px solid var(--gray-100);
  border-top-color: var(--blue-mid);
  border-right-color: var(--blue-mid);
  border-radius: 50%;
  animation: spinLoader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes pulseLoader {
  0%, 100% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}
@media (max-width: 768px) {
  .navbar { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.navbar.scrolled { 
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.nav-container {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px; height: 72px;
}
.nav-logo img { height: 52px; width: auto; object-fit: contain; }

/* Desktop nav links — normal flex child of nav-container */
.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--gray-800); transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-mid); background: var(--gray-100);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle .fa {
  font-size: .65rem; margin-left: 4px;
  transition: transform var(--transition);
}
.dropdown:hover .dropdown-toggle .fa { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px) scaleY(0.95);
  transform-origin: top center;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100);
  display: flex; min-width: 420px;
  opacity: 0; visibility: hidden;
  transition: all var(--transition); pointer-events: none;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0) scaleY(1);
  pointer-events: auto;
}
.dropdown-col { flex: 1; padding: 20px; }
.dropdown-col:first-child { border-right: 1px solid var(--gray-100); }
.dropdown-heading {
  font-family: 'Barlow Condensed', sans-serif; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--blue-mid);
  font-weight: 700; margin-bottom: 8px;
}
.dropdown-col a {
  display: block; padding: 6px 8px; border-radius: 4px;
  font-size: .88rem; color: var(--text-body); transition: all var(--transition);
}
.dropdown-col a:hover {
  background: var(--gray-100); color: var(--blue-dark); padding-left: 14px;
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* Enquiry Button */
.btn-enquiry {
  background: var(--green); color: var(--white);
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .88rem; letter-spacing: .04em;
  text-transform: uppercase; transition: all var(--transition); white-space: nowrap;
}
.btn-enquiry:hover {
  background: var(--green-light); transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  border-radius: 6px; transition: background var(--transition);
}
.hamburger:hover { background: var(--gray-100); }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); border-radius: 2px;
  transition: all .35s ease;
}
/* Hamburger X animation */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAVBAR ===== */
@media (max-width: 768px) {
  .nav-container { height: 64px; padding: 0 16px; gap: 0; }
  .nav-logo img { height: 44px; }

  /* Mobile menu: animates from the right */
  .nav-links {
    display: flex;
    position: absolute;
    top: 64px; left: auto; right: 0;
    height: calc(100vh - 64px);
    width: 100%; max-width: 360px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 8px;
    overflow-y: auto;
    border-left: 1px solid rgba(0,0,0,0.05);
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
  }
  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 14px 18px;
    font-size: 1.15rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition);
  }
  .nav-link:hover, .nav-link.active {
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.04);
    color: var(--blue-mid);
    transform: translateX(4px);
  }

  /* Mobile dropdown */
  .dropdown { width: 100%; }
  .dropdown-toggle {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1; visibility: visible;
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.04);
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    flex-direction: column;
    min-width: unset; width: 100%;
    display: none;
    pointer-events: auto;
    margin: 8px 0; padding: 8px 0;
  }
  .dropdown.open .dropdown-menu { display: flex; animation: slideDown 0.3s ease; }
  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .dropdown-col {
    flex: unset; padding: 12px 20px;
    border-right: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .dropdown-col:last-child { border-bottom: none; }
  .dropdown-heading { font-size: .85rem; margin-bottom: 8px; color: var(--blue-dark); opacity: 0.7; }
  .dropdown-col a { padding: 8px 0; font-size: 1rem; color: var(--text-dark); border-radius: 4px; }
  .dropdown-col a:hover { background: rgba(0,0,0,0.03); padding-left: 8px; }

  /* Show hamburger, hide enquiry button */
  .hamburger { display: flex; }
  .btn-enquiry { display: none; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-mid); color: var(--white);
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
  transition: all var(--transition); border: 2px solid var(--blue-mid);
  position: relative; overflow: hidden; z-index: 1;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease; z-index: -1;
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover::before { left: 100%; }
.btn-outline {
  display: inline-block; background: transparent; color: var(--white);
  padding: 12px 28px; border-radius: var(--radius-sm); border: 2px solid rgba(255,255,255,.7);
  font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
  transition: all var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 12px 28px; border-radius: var(--radius-sm); border: 2px solid rgba(255,255,255,.7);
  font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
  transition: all var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); }

/* ===== HERO ===== */
.hero { position: relative; z-index: 1; height: calc(100vh - 180px); min-height: 540px; overflow: hidden; margin-top: 72px; }

@media (max-width: 768px) {
  .hero { margin-top: 64px; height: calc(100vh - 140px); min-height: 450px; z-index: 0; }
  .hero-content { padding: 0 24px !important; text-align: center; }
  .hero-content h1 { font-size: 2rem !important; }
  .hero-content p { font-size: 0.95rem !important; }
  .hero-btns { justify-content: center; }
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; 
  transform: scale(1.05);
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1), transform 1.2s cubic-bezier(.4,0,.2,1);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,43,110,.88) 0%, rgba(13,43,110,.5) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 620px; padding: 0 48px;
  top: 50%; transform: translateY(-50%);
}
@keyframes fadeUpChild { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }

.hero-slide.active .hero-tag { animation: fadeUpChild .6s cubic-bezier(.4,0,.2,1) forwards 0.1s; opacity: 0; }
.hero-slide.active h1 { animation: fadeUpChild .6s cubic-bezier(.4,0,.2,1) forwards 0.2s; opacity: 0; }
.hero-slide.active p { animation: fadeUpChild .6s cubic-bezier(.4,0,.2,1) forwards 0.3s; opacity: 0; }
.hero-slide.active .hero-btns { animation: fadeUpChild .6s cubic-bezier(.4,0,.2,1) forwards 0.4s; opacity: 0; }
.hero-tag {
  display: inline-block; background: rgba(39, 174, 96, 0.25); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 100px; margin-bottom: 16px;
}
.hero-content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800;
  color: var(--white); line-height: 1.1; margin-bottom: 16px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-controls {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px; z-index: 10;
}
.hero-dots {
  display: flex; gap: 10px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);
  background: transparent; cursor: pointer; transition: all .4s cubic-bezier(.4,0,.2,1);
}
.dot.active { background: var(--white); border-color: var(--white); width: 32px; border-radius: 6px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--blue-dark); color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.stat-item { padding: 20px 40px; text-align: center; }
.stat-num {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; color: var(--green); font-size: .8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px;
}
.section-header h2 {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800; 
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-body); max-width: 600px; margin: 0 auto; font-size: 1.1rem; opacity: 0.85; }

/* ===== PRODUCTS ===== */
.products-section { background: var(--off-white); }
.product-tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 40px; background: var(--gray-100); padding: 6px; border-radius: 10px; width: fit-content; margin-left: auto; margin-right: auto; }
.tab-btn {
  padding: 10px 24px; border: none; background: transparent; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 700; color: var(--gray-500);
  border-radius: 7px; transition: all var(--transition);
}
.tab-btn.active { background: var(--blue-mid); color: var(--white); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Brand Grid */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.brand-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.brand-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.brand-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brand-card:hover .brand-img-wrap img { transform: scale(1.06); }
.brand-info { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.brand-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--blue-dark); }
.brand-info p { font-size: .82rem; color: var(--gray-500); margin: 4px 0 12px; }
.brand-link { margin-top: auto; color: var(--blue-mid); font-weight: 700; font-size: .85rem; display: flex; align-items: center; gap: 6px; }
.brand-link .fa { transition: transform var(--transition); }
.brand-card:hover .brand-link .fa { transform: translateX(4px); }

/* Panels */
.panels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel-showcase { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.panel-showcase img { width: 100%; height: 360px; object-fit: cover; }
.panels-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 12px; }
.panels-info p { color: var(--text-body); margin-bottom: 20px; }
.panel-list { margin-bottom: 28px; }
.panel-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); color: var(--text-body); font-size: .9rem; }
.panel-list li .fa { color: var(--green); font-size: .8rem; }

/* Parts */
.parts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.part-card { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; display: block; }
.part-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.part-card:hover img { transform: scale(1.08); }
.part-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,43,110,.85) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 14px;
}
.part-overlay span { color: var(--white); font-weight: 700; font-size: .88rem; }

/* ===== WHY US ===== */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  padding: 32px 24px; border-radius: var(--radius-md);
  border: 1px solid var(--gray-100); text-align: center;
  transition: all var(--transition);
}
.why-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--white); font-size: 1.3rem;
}
.why-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 8px; }
.why-card p { font-size: .88rem; color: var(--text-body); line-height: 1.6; }

/* ===== SECTORS ===== */
.sectors-section { 
  background: var(--blue-dark) !important; 
  background-image: none !important;
}
.sectors-section .section-tag { color: var(--green-light); }
.sectors-section h2 { 
  color: var(--accent); 
  background: none;
  -webkit-text-fill-color: var(--accent);
}
.sectors-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sector-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.9);
  padding: 10px 20px; border-radius: 100px; border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: .88rem; font-weight: 600; transition: all var(--transition);
}
.sector-tag:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.sector-tag .fa { color: var(--accent); }

/* ===== GENSET TYPES ===== */
.types-section { background: var(--off-white); }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.type-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.type-card img { width: 100%; height: 220px; object-fit: cover; }
.type-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--blue-dark); padding: 16px 20px 4px; }
.type-card p { font-size: .88rem; color: var(--text-body); padding: 0 20px 20px; }

/* ===== FAQ ===== */
.faq-section { background: var(--off-white); }
.faq-grid { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.faq-item summary {
  padding: 20px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background var(--transition);
}
.faq-item summary:hover { background: var(--gray-50); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1rem;
  color: var(--green);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--gray-100); }
.faq-content { padding: 24px; color: var(--text-body); font-size: 1.05rem; line-height: 1.7; }
.faq-content p { margin-bottom: 12px; }
.faq-content p:last-child { margin-bottom: 0; }
.faq-list { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.faq-list li { margin-bottom: 6px; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 80px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--blue-dark); }
.cta-btns .btn-primary:hover { background: #e09400; }

/* ===== FOOTER ===== */
.footer { background: var(--gray-800); color: rgba(255,255,255,.8); }
.footer-top { max-width: 1240px; margin: 0 auto; padding: 60px 24px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; /*filter: brightness(0) invert(1);*/ }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--green); color: var(--white); }
.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 800;
  color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
  border-bottom: 2px solid var(--green); padding-bottom: 8px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.7); transition: all var(--transition); }
.footer-col ul a:hover { color: var(--green-light); padding-left: 4px; }
.footer-contact p { font-size: .85rem; margin-bottom: 10px; display: flex; gap: 10px; line-height: 1.5; }
.footer-contact .fa { color: var(--green); margin-top: 3px; min-width: 14px; }
.footer-contact a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-contact a:hover { color: var(--green-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 20px; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: pulse 2s infinite; transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.7); }
}

/* ===== INNER PAGES ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 100px 24px 60px; text-align: center; margin-top: 72px;
}

@media (max-width: 768px) {
  .page-hero { margin-top: 64px; padding: 60px 20px 40px; }
}
.page-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: var(--white); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: var(--green-light); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* Product Table */
.product-detail-section { padding: 60px 0; }
.product-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 60px; }
.product-intro img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 360px; object-fit: cover; }
.product-intro-text h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 16px; }
.product-intro-text p { color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }
.spec-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gray-100); padding: 8px 16px; border-radius: 100px; font-size: .85rem; font-weight: 700; color: var(--blue-mid); margin: 4px; }
.spec-badge .fa { color: var(--green); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
thead { background: var(--blue-dark); color: var(--white); }
thead th { padding: 12px 16px; text-align: left; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .06em; font-size: .9rem; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--off-white); }
tbody tr:hover { background: rgba(45,107,206,.06); }
tbody td { padding: 11px 16px; border-bottom: 1px solid var(--gray-100); color: var(--text-body); white-space: nowrap; }
tbody td:first-child { font-weight: 700; color: var(--blue-dark); }

/* Enquiry Form */
.enquiry-section { background: var(--off-white); padding: 60px 0; }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.enquiry-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 12px; }
.enquiry-info p { color: var(--text-body); margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-mid); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.contact-item h5 { font-weight: 700; color: var(--blue-dark); margin-bottom: 2px; font-size: .9rem; }
.contact-item p, .contact-item a { font-size: .88rem; color: var(--text-body); }
.contact-item a:hover { color: var(--blue-mid); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: 'Barlow', sans-serif; font-size: .9rem; color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(45,107,206,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: var(--blue-mid); color: var(--white); border: none; cursor: pointer;
  padding: 13px; border-radius: var(--radius-sm); font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  transition: all var(--transition);
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* About Page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.about-img img { border-radius: var(--radius-lg); width: 100%; height: 420px; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-text h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 16px; }
.about-text p { color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.ab-feat { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--blue-dark); }
.ab-feat .fa { color: var(--green); }
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 28px; border-radius: var(--radius-md); border: 1px solid var(--gray-100); transition: all var(--transition); }
.value-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-md); }
.value-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 8px; }
.value-card p { font-size: .88rem; color: var(--text-body); }


/* ===== ABOUT PAGE SPECIFIC GRIDS ===== */
.about-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.integrity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 800px; margin: 0 auto; }

@media (max-width: 1024px) {
  .about-cards-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .about-cards-grid { grid-template-columns: 1fr; }
  .integrity-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FULL RESPONSIVE — MOBILE FIRST FIX
   ============================================ */

/* ===== TABLET (max 1024px) ===== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .panels-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr 1fr; }
  .value-cards { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ===== MOBILE (max 768px) ===== */
@media (max-width: 768px) {

  /* HERO */
  .hero { margin-top: 64px; min-height: unset; height: calc(100vh - 140px); }
  .hero-content {
    padding: 0 20px;
    max-width: 100%;
  }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: .95rem; }
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  /* STATS BAR */
  .stats-bar { flex-wrap: wrap; }
  .stat-item { width: 50%; padding: 16px 12px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 1.6rem; }

  /* SECTION */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.8rem; }

  /* PRODUCT TABS */
  .product-tabs {
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
  }
  .tab-btn { flex: 1; padding: 10px 12px; font-size: .9rem; }

  /* BRAND GRID */
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-info h3 { font-size: 1rem; }
  .brand-info p { font-size: .75rem; }

  /* PANELS */
  .panels-grid { grid-template-columns: 1fr; gap: 24px; }
  .panel-showcase img { height: 220px; }

  /* PARTS */
  .parts-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* WHY US */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 24px 20px; }

  /* SECTORS */
  .sectors-wrap { gap: 8px; }
  .sector-tag { font-size: .8rem; padding: 8px 14px; }

  /* GENSET TYPES */
  .types-grid { grid-template-columns: 1fr; gap: 16px; }
  .type-card img { height: 180px; }

  /* CTA */
  .cta-section { padding: 48px 20px; }
  .cta-inner h2 { font-size: 1.8rem; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns a { text-align: center; }

  /* FOOTER */
  .footer-top {
    grid-template-columns: 1fr;
    padding: 40px 20px 28px;
    gap: 24px;
  }
  .footer-logo { height: 40px; }

  /* PAGE HERO */
  .page-hero { margin-top: 64px; padding: 60px 20px 36px; }
  .page-hero h1 { font-size: 2rem; }

  /* PRODUCT DETAIL */
  .product-intro { grid-template-columns: 1fr; gap: 24px; }
  .product-intro img { height: 220px; }
  .product-intro-text h2 { font-size: 1.6rem; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-img img { height: 240px; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .value-cards { grid-template-columns: 1fr; }

  /* CONTACT */
  .enquiry-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }

  /* BLOGS */
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; }
  .blog-featured-body { padding: 24px 20px; }
  .blog-grid { grid-template-columns: 1fr; }

  /* TABLE scroll */
  .table-wrap { border-radius: 8px; }
  table { font-size: .78rem; }
  thead th { padding: 10px 12px; }
  tbody td { padding: 9px 12px; }
}

/* ===== SMALL MOBILE (max 420px) ===== */
@media (max-width: 420px) {
  .hero-content h1 { font-size: 1.8rem; }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-item { width: 50%; }
  .about-features { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
}

/* ============================================
   CSS IMPROVEMENTS — PREMIUM UPGRADE
   ============================================ */

/* ===== CUSTOM TEXT SELECTION ===== */
::selection { background: var(--blue-mid); color: var(--white); }

/* ===== SMOOTH PAGE LOAD FADE ===== */
.hero-content { animation: bodyFadeIn .8s ease; }
@keyframes bodyFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== IMPROVED FOCUS RINGS (Accessibility) ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== HERO — KEN BURNS ZOOM EFFECT ===== */
.hero-slide.active {
  animation: kenBurns 8s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { background-size: 110%; background-position: center center; }
  to   { background-size: 120%; background-position: center 55%; }
}

/* ===== HERO — PER-SLIDE CONTENT ANIMATION ===== */
.hero-slide.active .hero-tag {
  animation: slideInDown .6s ease both;
}
.hero-slide.active .hero-content h1 {
  animation: slideInUp .7s .15s ease both;
}
.hero-slide.active .hero-content p {
  animation: slideInUp .7s .3s ease both;
}
.hero-slide.active .hero-btns {
  animation: slideInUp .7s .45s ease both;
}
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== HERO — PREV/NEXT ARROW BUTTONS ===== */
.hero-arrow {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-arrow:hover {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.1);
}
@media (max-width: 480px) {
  .hero-arrow { width: 36px; height: 36px; font-size: .85rem; }
  .hero-controls { gap: 16px; bottom: 24px; }
}

/* ===== HERO DOTS — IMPROVED ===== */
.dot {
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.dot:hover:not(.active) {
  background: rgba(255,255,255,.5);
  transform: scale(1.2);
}

/* ===== BRAND CARD — ACCENT TOP BORDER ON HOVER ===== */
.brand-card {
  border-top: 3px solid transparent;
  transition: all var(--transition), border-color var(--transition);
}
.brand-card:hover {
  border-top-color: var(--blue-mid);
}

/* ===== BRAND CARD — IMAGE OVERLAY SHINE ===== */
.brand-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.brand-img-wrap { position: relative; }

/* ===== WHY CARD — ICON GLOW ON HOVER ===== */
.why-card:hover .why-icon {
  box-shadow: 0 0 0 8px rgba(26,75,160,.12);
  transform: scale(1.08);
}
.why-icon {
  transition: all var(--transition);
}

/* ===== SECTOR TAGS — SHIMMER EFFECT ===== */
.sector-tag {
  position: relative; overflow: hidden;
}
.sector-tag::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transition: left .6s ease;
  pointer-events: none;
}
.sector-tag:hover::before { left: 140%; }

/* ===== CTA SECTION — EXTRA DECORATIVE CIRCLES ===== */
.cta-section::after {
  content: ''; position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

/* ===== STATS BAR — ACCENT UNDERLINE ===== */
.stat-num {
  position: relative; display: inline-block;
}
.stat-num::after {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent);
  margin: 4px auto 0;
  border-radius: 2px;
}

/* ===== FAQ — OPEN STATE HIGHLIGHT ===== */
.faq-item[open] {
  border-left: 3px solid var(--green);
}
.faq-item[open] summary {
  color: var(--blue-mid);
}

/* ===== FOOTER SOCIAL — SCALE EFFECT ===== */
.social-links a:hover {
  transform: translateY(-3px) scale(1.12);
}
.social-links a {
  transition: all var(--transition);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
  position: fixed; bottom: 96px; right: 28px; z-index: 998;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-mid); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
}
.scroll-top.visible {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===== TABLE — IMPROVED HEADER ===== */
thead {
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
}

/* ===== BUTTONS — RIPPLE READY & GLOW ===== */
.btn-primary:active { transform: translateY(0) scale(.97); }
.btn-outline:active { transform: scale(.97); }
.btn-enquiry:active { transform: scale(.97); }

/* ===== NAV LINK — ANIMATED UNDERLINE ===== */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 14px; right: 14px;
  height: 2px; border-radius: 2px;
  background: var(--blue-mid);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ===== SECTION — SUBTLE DIVIDER BETWEEN SECTIONS ===== */
.section + .section {
  border-top: 1px solid var(--gray-100);
}

/* ===== PAGE HERO — ANIMATED GRADIENT ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, var(--blue-light) 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
/* ===== DECORATIVE BACKGROUND BLOBS ===== */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
  animation: blobFloat 20s infinite alternate;
}
.hero::before {
  background: var(--blue-light);
  top: -100px; right: -100px;
}
.hero::after {
  background: var(--accent);
  bottom: -100px; left: -100px;
  animation-delay: -10s;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, 50px) scale(1.1); }
}

/* ===== SECTION BACKGROUND TEXTURE ===== */
.section {
  position: relative;
}
.section:nth-child(even) {
  background-image: radial-gradient(var(--gray-300) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  background-color: var(--off-white);
}

/* ===== PREMIUM CARD IMPROVEMENTS ===== */
.brand-card, .why-card, .type-card {
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.brand-card:hover, .why-card:hover, .type-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== PARTNERS MARQUEE SECTION ===== */
.partners-marquee-section {
  padding: 60px 0;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid var(--gray-100);
}
.marquee-title {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-500);
  margin-bottom: 40px;
}
.marquee {
  display: flex;
  width: 100%;
}
.marquee-content {
  display: flex;
  gap: 80px;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-content img {
  height: 45px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.5;
  transition: all var(--transition);
}
.marquee-content img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 2)); }
}
@media (max-width: 768px) {
  .marquee-content { gap: 40px; }
  .marquee-content img { height: 35px; }
}




/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ===== STATS COUNTER REFINEMENT ===== */
.stat-num {
  font-variant-numeric: tabular-nums;
  min-width: 60px;
  display: inline-block;
}

/* ============================================================
   NEW PREMIUM MOBILE REDESIGN & OPTIMIZATION (Menu & Hero)
   ============================================================ */

@media (max-width: 768px) {
  /* --- MOBILE NAVBAR --- */
  .navbar {
    height: 64px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  .nav-container {
    height: 64px;
    padding: 0 20px;
    justify-content: space-between;
  }
  .nav-logo img { height: 38px; }

  /* Full Screen Mobile Menu / Drawer */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: auto; right: 0; 
    width: 100%; max-width: 360px; height: 100vh;
    background: rgba(13, 43, 110, 0.98); /* Deep Blue */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 30px 40px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.8rem;
    color: #fff !important;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    text-align: left;
    background: none !important;
  }
  .nav-link.active { color: var(--accent) !important; }
  
  /* Mobile Dropdown Adjustments */
  .dropdown-menu {
    position: static;
    background: rgba(255,255,255,0.05);
    width: 100%;
    margin-top: 10px;
    padding: 0 15px;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown-col { border: none !important; padding: 10px 0; }
  .dropdown-col a { color: rgba(255,255,255,0.8); font-size: 1.1rem; padding: 10px 0; }

  /* Hamburger to X */
  .hamburger {
    z-index: 10001;
    position: relative;
  }
  .hamburger span { background: var(--blue-dark); }
  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: #fff; }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: #fff; }

  /* --- MOBILE HERO REDESIGN --- */
  .hero {
    margin-top: 0; /* Let it sit under fixed nav or handled by padding */
    padding-top: 64px;
    height: 90vh; /* Better for mobile content */
    text-align: center;
  }
  .hero-content {
    top: 45%;
    transform: translateY(-50%);
    max-width: 100%;
    padding: 0 25px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-btns .btn-primary, 
  .hero-btns .btn-outline {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }
  
  .hero-controls { bottom: 20px; gap: 12px; }
  .hero-controls .prev-btn, .hero-controls .next-btn { 
    width: 36px; height: 36px; font-size: 0.8rem; 
  }
  .dot { width: 8px; height: 8px; }
  .dot.active { width: 20px; }

  .hero-overlay {
    background: radial-gradient(circle at center, rgba(13,43,110,0.7) 0%, rgba(13,43,110,0.95) 100%);
  }

  /* Hero Section Mobile Fixes */
  .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    width: 100% !important;
    animation: none !important; /* Disable zoom-in */
  }
  .hero-slide.active {
    animation: none !important; /* Ensure kenBurns is off */
    opacity: 1 !important;
  }

  /* --- ADDITIONAL MOBILE POLISH --- */
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.75rem; padding: 0 10px; }
  
  /* Stats Bar - 2x2 Layout on Mobile */
  .stats-bar { padding: 10px 0; background: var(--blue-dark); }
  .stat-item { 
    flex: 0 0 50%; 
    padding: 15px 5px; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border: none;
  }
  .stat-num { font-size: 1.4rem; color: var(--accent); }
  .stat-label { font-size: 0.7rem; }
  .stat-divider { display: none; }

  /* Product Brand Grid - Always 2 columns */
  .brand-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .brand-card { padding: 12px; }
  .brand-img-wrap { height: 60px; margin-bottom: 8px; }
  .brand-card h4 { font-size: 0.85rem; }
  
  /* Why Us Cards */
  .why-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .why-card { padding: 24px; }

  /* Contact Items */
  .contact-item { gap: 12px; }
  .contact-icon { width: 36px; height: 36px; font-size: 0.85rem; }

} /* END MAX-WIDTH: 768px */

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem !important; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; text-align: center; }
  .stat-item { flex: 0 0 50%; }
}
