/* =============================================
   DYNAMIC TECHNOLOGIES — STYLESHEET v3
   Red #cc1f1f · Gray #2d2d2d · White nav
   ============================================= */

:root {
  --red:          #cc1f1f;
  --red-dark:     #a31717;
  --red-light:    #e04444;
  --gray:         #2d2d2d;
  --gray-mid:     #555555;
  --gray-light:   #888888;
  --bg:           #f6f6f6;
  --white:        #ffffff;
  --border:       #e4e4e4;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.08);
  --shadow:       0 4px 24px rgba(0,0,0,0.11);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.15);
  --radius:       6px;
  --radius-lg:    12px;
  --ease:         all 0.25s ease;
}

/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; font-size: 14.5px; color: var(--gray); background: var(--white); line-height: 1.7; }
a { text-decoration: none; transition: var(--ease); }
img { max-width: 100%; }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--gray); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }


/* ═══════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════ */
.top-bar {
  background: var(--gray);
  padding: 7px 0;
  font-size: 12.5px;
  border-bottom: 2px solid var(--red);
}
.top-bar-link {
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ease);
}
.top-bar-link:hover { color: var(--white); }
.top-bar-link i { color: var(--red); font-size: 11px; }
.top-social a {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  transition: var(--ease);
}
.top-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.top-quote-btn {
  background: var(--red);
  color: #fff !important;
  padding: 5px 16px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: var(--ease);
}
.top-quote-btn:hover { background: var(--red-dark); transform: translateY(-1px); }


/* ═══════════════════════════════════════════════
   MAIN NAVBAR
   ═══════════════════════════════════════════════ */
.main-navbar {
  background: var(--white) !important;
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
  position: sticky; top: 0; z-index: 1000;
}
/* Logo */
.nav-logo { height: 52px; width: auto; }
.nav-logo-text { flex-direction: column; line-height: 1.1; }
.logo-red   { font-size: 20px; font-weight: 800; color: var(--red); letter-spacing: 1px; }
.logo-gray  { font-size: 11px; font-weight: 600; color: var(--gray-mid); letter-spacing: 2px; }

/* Nav links */
.main-navbar .navbar-nav { gap: 2px; }
.main-navbar .nav-link {
  color: var(--gray) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 20px 13px !important;
  letter-spacing: 0.2px;
  position: relative;
  white-space: nowrap;
  transition: var(--ease);
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 13px; right: 13px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--red) !important; }
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { transform: scaleX(1); }
/* Hide bootstrap dropdown arrow */
.main-navbar .nav-link.dropdown-toggle::after { display: none; }
.main-navbar .nav-link .fa-chevron-down { font-size: 9px; opacity: 0.5; margin-left: 3px; }

/* Dropdown */
.main-navbar .dropdown-menu {
  border: none;
  border-top: 2px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 210px;
  animation: fadeDown 0.18s ease;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.main-navbar .dropdown-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  padding: 9px 20px;
  display: flex; align-items: center; gap: 10px;
  transition: var(--ease);
}
.main-navbar .dropdown-item i { color: var(--red); font-size: 12px; width: 14px; flex-shrink: 0; }
.main-navbar .dropdown-item:hover { background: rgba(204,31,31,0.07); color: var(--red); padding-left: 24px; }
.main-navbar .dropdown-divider { border-color: var(--border); margin: 4px 0; }

/* Mega menu */
.dropdown-mega {
  width: 620px;
  padding: 0 !important;
}
.mega-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mega-header h6 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin: 0; }
.mega-view-all { font-size: 12px; font-weight: 600; color: var(--red); }
.mega-view-all:hover { text-decoration: underline; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 8px;
}
.mega-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--gray);
  padding: 9px 12px;
  border-radius: 4px;
  transition: var(--ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega-item i { color: var(--red); font-size: 11px; flex-shrink: 0; }
.mega-item:hover { background: rgba(204,31,31,0.07); color: var(--red); }

/* Hamburger icon */
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; width: 22px; cursor: pointer; }
.hamburger-icon span { display: block; height: 2px; background: var(--gray); border-radius: 2px; transition: var(--ease); }
.navbar-toggler { border: none; padding: 8px; background: transparent; }
.navbar-toggler:focus { box-shadow: none; }

/* CTA button in nav */
.btn-nav-quote {
  background: var(--red);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--ease);
  border: 2px solid var(--red);
}
.btn-nav-quote:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(204,31,31,0.35); }


/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn-primary-dt {
  background: var(--red); color: #fff !important;
  border: 2px solid var(--red);
  padding: 11px 28px; border-radius: 4px;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.4px;
  display: inline-flex; align-items: center;
  transition: var(--ease);
}
.btn-primary-dt:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(204,31,31,0.3); }
.btn-outline-dt {
  border: 2px solid var(--gray); color: var(--gray) !important;
  padding: 9px 26px; border-radius: 4px;
  font-weight: 600; font-size: 13px; background: transparent;
  display: inline-flex; align-items: center;
  transition: var(--ease);
}
.btn-outline-dt:hover { background: var(--gray); color: #fff !important; }
.btn-white-dt {
  background: #fff; color: var(--red) !important;
  padding: 11px 28px; border-radius: 4px;
  font-weight: 700; border: 2px solid #fff;
  display: inline-flex; align-items: center;
  transition: var(--ease);
}
.btn-white-dt:hover { background: transparent; color: #fff !important; }
.btn-outline-white-dt {
  border: 2px solid rgba(255,255,255,0.6); color: #fff !important;
  padding: 9px 26px; border-radius: 4px;
  font-weight: 600; background: transparent;
  display: inline-flex; align-items: center;
  transition: var(--ease);
}
.btn-outline-white-dt:hover { border-color: #fff; background: rgba(255,255,255,0.1); }


/* ═══════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════ */
.hero-slider { position: relative; }
.hero-swiper { height: 88vh; min-height: 480px; max-height: 780px; }
.swiper-slide { position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 7s ease; }
.swiper-slide-active .slide-bg { transform: scale(1.06); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(30,30,30,0.88) 0%, rgba(30,30,30,0.5) 55%, rgba(30,30,30,0.15) 100%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); background: rgba(204,31,31,0.15); border-left: 3px solid var(--red); padding: 4px 12px; display: inline-block; margin-bottom: 16px; }
.slide-title { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.slide-subtitle { font-size: clamp(0.95rem, 1.8vw, 1.2rem); color: rgba(255,255,255,0.85); max-width: 540px; margin-bottom: 28px; }
.swiper-button-next,.swiper-button-prev { width: 44px; height: 44px; background: rgba(204,31,31,0.85); color: #fff; border-radius: 0; }
.swiper-button-next::after,.swiper-button-prev::after { font-size: 14px; font-weight: 900; }
.swiper-button-next:hover,.swiper-button-prev:hover { background: var(--red); }
.swiper-pagination-bullet { background: rgba(255,255,255,0.5); width: 8px; height: 8px; }
.swiper-pagination-bullet-active { background: var(--red); width: 24px; border-radius: 4px; }


/* ═══════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════ */
.stats-bar { background: var(--red); }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 20px 10px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }


/* ═══════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════ */
.section-pad { padding: 80px 0; }
.bg-light-dt { background: var(--bg); }
.bg-dark-dt  { background: #1a1a1a; }
.text-primary-dt { color: var(--red) !important; }

.section-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--red); background: rgba(204,31,31,0.08);
  padding: 5px 14px; border-radius: 2px;
  border-left: 3px solid var(--red);
  margin-bottom: 12px;
}
.section-tag-light {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08);
  padding: 5px 14px; border-radius: 2px;
  border-left: 3px solid var(--red);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--gray); margin-bottom: 14px; line-height: 1.25; }
.section-subtitle { color: var(--gray-light); font-size: 15px; max-width: 580px; margin: 0 auto; }


/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
.about-img-wrap { position: relative; display: inline-block; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--red); color: #fff; border-radius: var(--radius); padding: 16px 20px; text-align: center; box-shadow: 0 8px 28px rgba(204,31,31,0.4); }
.badge-number { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.badge-text { font-size: 11px; font-weight: 600; opacity: 0.9; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.feature-item i { color: var(--red); }


/* ═══════════════════════════════════════════════
   PRODUCT CATEGORY CARDS
   ═══════════════════════════════════════════════ */
.product-cat-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); color: var(--gray); height: 100%; border: 1px solid var(--border); }
.product-cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--red); color: var(--red); }
.cat-img-wrap { position: relative; height: 170px; overflow: hidden; background: var(--bg); }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-cat-card:hover .cat-img-wrap img { transform: scale(1.07); }
.cat-icon-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; color: var(--red); }
.cat-info { padding: 12px 14px 14px; }
.cat-name { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.cat-link { font-size: 11px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }


/* ═══════════════════════════════════════════════
   MARKET CARDS
   ═══════════════════════════════════════════════ */
.market-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); color: var(--gray); height: 100%; border: 1px solid var(--border); }
.market-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.market-img { height: 190px; overflow: hidden; }
.market-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.market-card:hover .market-img img { transform: scale(1.06); }
.market-body { padding: 22px; }
.market-icon { font-size: 1.8rem; color: var(--red); margin-bottom: 10px; display: block; }
.market-title { font-size: 16px; font-weight: 700; color: var(--gray); margin-bottom: 8px; }
.market-desc { color: var(--gray-light); font-size: 13px; margin-bottom: 12px; }
.market-link { font-size: 12px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }


/* ═══════════════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════════════ */
.service-card { display: block; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 30px 22px; text-align: center; transition: var(--ease); color: rgba(255,255,255,0.85); height: 100%; }
.service-card:hover { background: var(--red); border-color: var(--red); transform: translateY(-5px); color: #fff; }
.service-icon { font-size: 2.2rem; color: var(--red); margin-bottom: 16px; transition: var(--ease); }
.service-card:hover .service-icon { color: rgba(255,255,255,0.9); }
.service-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.service-desc { font-size: 12.5px; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.service-link { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; }
.service-card-front { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 22px; text-align: center; transition: var(--ease); color: var(--gray); height: 100%; box-shadow: var(--shadow-sm); }
.service-card-front:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon-front { font-size: 2.2rem; color: var(--red); margin-bottom: 16px; }


/* ═══════════════════════════════════════════════
   VALUE / WHY US
   ═══════════════════════════════════════════════ */
.value-card { padding: 22px 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: var(--ease); border-top: 3px solid transparent; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--red); }
.value-icon { font-size: 1.9rem; color: var(--red); margin-bottom: 10px; }
.value-title { font-size: 13.5px; font-weight: 700; margin-bottom: 5px; }
.value-desc { font-size: 12px; color: var(--gray-light); }


/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section { background: linear-gradient(105deg, #1a1a1a 0%, #2d2d2d 100%); padding: 56px 0; }
.cta-title { font-size: 1.75rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-text { color: rgba(255,255,255,0.65); font-size: 15px; margin: 0; }


/* ═══════════════════════════════════════════════
   PAGE BANNER
   ═══════════════════════════════════════════════ */
.page-banner { position: relative; background: var(--gray); background-size: cover; background-position: center; padding: 72px 0; text-align: center; overflow: hidden; }
.banner-overlay { position: absolute; inset: 0; background: rgba(20,20,20,0.78); }
.banner-content { position: relative; z-index: 2; }
.banner-title { font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 8px; }
.banner-subtitle { color: rgba(255,255,255,0.7); font-size: 15px; margin-bottom: 14px; }
.breadcrumb { background: transparent; }
.breadcrumb-item a { color: rgba(255,255,255,0.55); }
.breadcrumb-item.active { color: var(--red); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.3); }


/* ═══════════════════════════════════════════════
   CONTENT
   ═══════════════════════════════════════════════ */
.content-body h2 { font-size: 1.5rem; border-left: 4px solid var(--red); padding-left: 12px; margin: 28px 0 12px; }
.content-body p { margin-bottom: 14px; }
.content-body ul li { margin-bottom: 6px; }


/* ═══════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════ */
.product-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); color: var(--gray); height: 100%; border: 1px solid var(--border); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.product-img-wrap { height: 190px; background: var(--bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.4s; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-placeholder { font-size: 2.8rem; color: var(--red); }
.product-card-body { padding: 14px; border-top: 2px solid transparent; transition: var(--ease); }
.product-card:hover .product-card-body { border-top-color: var(--red); }
.product-name { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.product-short-desc { font-size: 12px; color: var(--gray-light); margin-bottom: 6px; }
.product-link { font-size: 11px; color: var(--red); font-weight: 700; text-transform: uppercase; }
.product-category-tag { display: inline-block; background: rgba(204,31,31,0.1); color: var(--red); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 2px; margin-bottom: 8px; text-transform: uppercase; }
.product-detail-title { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 800; margin-bottom: 12px; }
.product-detail-short-desc { color: var(--gray-light); font-size: 14.5px; border-left: 4px solid var(--red); padding-left: 12px; }
.product-thumbs .thumb { width: 68px; height: 68px; border: 2px solid var(--border); border-radius: 4px; cursor: pointer; overflow: hidden; transition: var(--ease); }
.product-thumbs .thumb.active,.product-thumbs .thumb:hover { border-color: var(--red); }
.product-tabs .nav-link { color: var(--gray); font-weight: 600; font-size: 13px; }
.product-tabs .nav-link.active { color: var(--red); }


/* ═══════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════ */
.sidebar-widget { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.widget-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-list li { border-bottom: 1px solid var(--border); }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list li a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; color: var(--gray); font-size: 13px; font-weight: 500; transition: var(--ease); }
.sidebar-cat-list li a:hover,.sidebar-cat-list li.active a { color: var(--red); padding-left: 4px; }
.sidebar-cta { background: var(--gray); border-radius: var(--radius); padding: 22px; text-align: center; }
.sidebar-cta h5 { color: #fff; font-size: 15px; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 13px; margin-bottom: 14px; }


/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.ci-icon { width: 42px; height: 42px; background: rgba(204,31,31,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 15px; flex-shrink: 0; }
.ci-content h6 { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.ci-content p,.ci-content a { font-size: 13.5px; color: var(--gray-mid); margin: 0; }
.ci-content a:hover { color: var(--red); }
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form .form-control { border-radius: 4px; border-color: var(--border); padding: 11px 14px; font-size: 13.5px; }
.contact-form .form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(204,31,31,0.1); }


/* ═══════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════ */
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); text-align: center; height: 100%; border: 1px solid var(--border); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.team-img { height: 190px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-img-placeholder { height: 190px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--red); background: var(--bg); }
.team-info { padding: 18px 14px; }
.team-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-designation { font-size: 11.5px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.team-bio { font-size: 12.5px; color: var(--gray-light); margin-top: 8px; }
.team-social { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.team-social a { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); color: var(--gray-mid); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.team-social a:hover { background: var(--red); color: #fff; }


/* ═══════════════════════════════════════════════
   CERTIFICATES
   ═══════════════════════════════════════════════ */
.cert-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); height: 100%; transition: var(--ease); }
.cert-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-img { height: 140px; overflow: hidden; }
.cert-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.cert-icon-wrap { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--red); background: var(--bg); }
.cert-body { padding: 18px; }
.cert-title { font-size: 13.5px; font-weight: 700; margin-bottom: 5px; }
.cert-issuer,.cert-desc,.cert-valid { font-size: 12.5px; color: var(--gray-light); margin-bottom: 4px; }


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer { background: #1a1a1a; }
.footer-top { padding: 56px 0 40px; }
.footer-logo-wrap img { max-height: 44px; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 14px; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.8; }
.footer-title { font-size: 11.5px; font-weight: 800; color: #fff; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1.5px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--red); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links li a { color: rgba(255,255,255,0.5); font-size: 13px; transition: var(--ease); display: flex; align-items: center; gap: 6px; }
.footer-links li a::before { content: '›'; color: var(--red); font-size: 16px; line-height: 1; }
.footer-links li a:hover { color: var(--red); padding-left: 3px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.fc-icon { width: 32px; height: 32px; background: rgba(204,31,31,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 12px; flex-shrink: 0; }
.footer-contact-list span,.footer-contact-list a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-contact-list a:hover { color: var(--red); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 3px; transition: var(--ease); }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-quote-btn { background: var(--red); color: #fff !important; padding: 10px 22px; border-radius: 4px; font-size: 13px; font-weight: 700; transition: var(--ease); }
.footer-quote-btn:hover { background: var(--red-dark); }
.footer-bottom { background: rgba(0,0,0,0.35); padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 12.5px; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.35); font-size: 12.5px; transition: var(--ease); }
.footer-bottom a:hover { color: var(--red); }


/* ═══════════════════════════════════════════════
   FLOATING BUTTONS
   ═══════════════════════════════════════════════ */
.whatsapp-float { position: fixed; bottom: 78px; right: 18px; z-index: 999; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; box-shadow: 0 4px 18px rgba(37,211,102,0.5); animation: pulse 2s ease 3; }
.whatsapp-float:hover { background: #1da956; color: #fff; transform: scale(1.1); }
@keyframes pulse { 0%,100% { box-shadow:0 4px 18px rgba(37,211,102,0.5); } 50% { box-shadow:0 4px 26px rgba(37,211,102,0.8); } }
.back-to-top { position: fixed; bottom: 18px; right: 18px; z-index: 998; width: 42px; height: 42px; background: var(--red); color: #fff; border: none; border-radius: 4px; display: none; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; box-shadow: var(--shadow); transition: var(--ease); }
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--red-dark); }


/* ═══════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ═══════════════════════════════════════════════ */
.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 997; background: var(--gray); display: flex; padding: 8px 0 4px; box-shadow: 0 -2px 16px rgba(0,0,0,0.3); }
.mobile-bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; color: rgba(255,255,255,0.6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; transition: var(--ease); }
.mobile-bottom-nav a i { font-size: 17px; }
.mobile-bottom-nav a.active,.mobile-bottom-nav a:hover { color: var(--red); }
.mobile-quote-btn { color: var(--red) !important; }
@media (max-width: 1199px) { body { padding-bottom: 56px; } }


/* ═══════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════ */
.no-img-sm { width: 50px; height: 44px; background: var(--bg); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--gray-light); }
.pagination .page-link { color: var(--gray); border-color: var(--border); }
.pagination .page-item.active .page-link { background: var(--red); border-color: var(--red); }
.pagination .page-link:hover { color: var(--red); }
.bg-primary-dt { background: var(--red) !important; }
.empty-state { color: var(--gray-light); }


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .main-navbar .nav-link { padding: 13px 16px !important; }
  .main-navbar .nav-link::after { display: none; }
  .dropdown-mega { width: 100% !important; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-swiper { height: 72vh; }
  .section-pad { padding: 56px 0; }
}
@media (max-width: 767px) {
  .hero-swiper { height: 62vh; min-height: 380px; }
  .contact-form-wrap { padding: 22px 16px; }
  .stat-number { font-size: 1.5rem; }
  .about-badge { position: static; margin-top: 14px; display: inline-flex; gap: 10px; align-items: center; }
  .badge-number { font-size: 1.4rem; }
  .section-pad { padding: 44px 0; }
}


/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE — COMPREHENSIVE FIX
   Breakpoints: xs<576 sm<768 md<992 lg<1200
   ═══════════════════════════════════════════════ */

/* ── Small devices (phones, up to 576px) ─────── */
@media (max-width: 575px) {

  /* Top bar - hide on very small screens */
  .top-bar { padding: 5px 0; font-size: 11px; }
  .top-bar .container-xl { padding: 0 12px; }

  /* Navbar */
  .main-navbar .navbar-brand { margin-right: 0; }
  .nav-logo { height: 40px !important; }
  .main-navbar { border-bottom: 2px solid var(--red); }
  .main-navbar .collapse.navbar-collapse {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 8px 0 16px;
    max-height: 75vh;
    overflow-y: auto;
  }
  .main-navbar .nav-link {
    padding: 10px 16px !important;
    font-size: 13px !important;
    border-bottom: 1px solid #f5f5f5;
  }
  .nav-cta { padding: 12px 16px 0; }
  .btn-nav-quote { width: 100%; justify-content: center; padding: 11px; }

  /* Hero */
  .hero-swiper { height: 55vh !important; min-height: 320px !important; }
  .slide-content { align-items: flex-end; padding-bottom: 60px; }
  .slide-content .container { padding: 0 20px; }
  .slide-title {
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }
  .slide-subtitle {
    font-size: 13px !important;
    line-height: 1.5;
    margin-bottom: 14px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .slide-content .btn { padding: 10px 20px !important; font-size: 12px !important; }
  .swiper-button-next,
  .swiper-button-prev { display: none !important; }
  .swiper-pagination { bottom: 8px !important; }
  .swiper-pagination-bullet { width: 6px !important; height: 6px !important; }

  /* Stats bar */
  .stats-bar { padding: 0; }
  .stat-item {
    padding: 14px 6px !important;
    border-right: 1px solid rgba(255,255,255,0.15) !important;
    border-bottom: none;
  }
  .stat-number { font-size: 1.35rem !important; }
  .stat-label { font-size: 10px !important; letter-spacing: 0.3px; }

  /* Sections */
  .section-pad { padding: 36px 0 !important; }
  .section-title { font-size: 1.35rem !important; margin-bottom: 10px !important; }
  .section-subtitle { font-size: 13px !important; }
  .section-tag { font-size: 10px !important; padding: 4px 12px !important; }

  /* About section */
  .about-section { }
  .about-img-wrap { display: block; width: 100%; margin-bottom: 24px; }
  .about-img-wrap img { border-radius: 10px !important; max-height: 220px; object-fit: cover; width: 100%; }
  .about-badge {
    position: static !important;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    border-radius: 8px;
    padding: 10px 16px;
    margin-top: 10px;
    width: fit-content;
  }
  .badge-number { font-size: 1.3rem !important; }
  .badge-text { font-size: 12px !important; }
  .about-features .row { gap: 8px !important; }
  .feature-item { font-size: 12.5px; }
  .about-section .d-flex.gap-3 { gap: 10px !important; }
  .about-section .btn { padding: 10px 18px !important; font-size: 12px !important; }

  /* Product category cards */
  .products-section .row.g-4 { gap: 12px 0 !important; }
  .cat-img-wrap { height: 130px !important; }
  .cat-name { font-size: 11.5px !important; }
  .cat-link { font-size: 10px !important; }
  .cat-info { padding: 10px 10px 12px !important; }

  /* Market cards */
  .market-img { height: 150px !important; }
  .market-body { padding: 16px !important; }
  .market-title { font-size: 14px !important; }
  .market-desc { font-size: 12.5px !important; margin-bottom: 8px !important; }
  .market-icon { font-size: 1.5rem !important; margin-bottom: 8px !important; }

  /* Service cards */
  .service-card { padding: 22px 16px !important; }
  .service-icon { font-size: 1.8rem !important; margin-bottom: 12px !important; }
  .service-title { font-size: 13.5px !important; }
  .service-desc { font-size: 12px !important; }

  /* Why us / Value cards */
  .value-card { padding: 16px 10px !important; }
  .value-icon { font-size: 1.6rem !important; margin-bottom: 8px !important; }
  .value-title { font-size: 12.5px !important; }

  /* CTA section */
  .cta-section { padding: 36px 0 !important; }
  .cta-title { font-size: 1.3rem !important; margin-bottom: 8px !important; }
  .cta-text { font-size: 13px !important; }
  .cta-section .d-flex,
  .cta-section .text-lg-end {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    text-align: center !important;
  }
  .btn-white-dt, .btn-outline-white-dt {
    width: 100%;
    justify-content: center;
    padding: 12px 20px !important;
  }

  /* Mobile bottom nav */
  .mobile-bottom-nav a { font-size: 9px !important; }
  .mobile-bottom-nav a i { font-size: 16px !important; }

  /* Page banners */
  .page-banner { padding: 48px 0 !important; }
  .banner-title { font-size: 1.5rem !important; }
  .banner-subtitle { font-size: 13px !important; }

  /* Products page */
  .product-img-wrap { height: 150px !important; }
  .product-name { font-size: 12px !important; }

  /* Product category page sidebar */
  .sidebar-widget { padding: 16px !important; }

  /* Contact page */
  .contact-form-wrap { padding: 20px 14px !important; }
  .contact-form .form-control { font-size: 14px; padding: 10px 12px; }
  .contact-info-item { gap: 10px; margin-bottom: 14px; }
  .ci-icon { width: 36px; height: 36px; font-size: 13px; }

  /* Footer */
  .footer-top { padding: 36px 0 28px !important; }
  .footer-logo-wrap img { max-height: 36px !important; }
  .footer-desc { font-size: 12.5px !important; }
  .footer-title { font-size: 11px !important; margin-bottom: 12px !important; }
  .footer-links li { margin-bottom: 7px !important; }
  .footer-links li a { font-size: 12.5px !important; }
  .footer-contact-list li { gap: 8px; margin-bottom: 10px !important; }
  .fc-icon { width: 28px; height: 28px; font-size: 11px; }
  .footer-contact-list span,
  .footer-contact-list a { font-size: 12px !important; }
  .footer-bottom { padding: 12px 0 !important; }
  .footer-bottom p,
  .footer-bottom a { font-size: 11.5px !important; }
  .footer-quote-btn { font-size: 12px !important; padding: 8px 16px !important; }

  /* WhatsApp float */
  .whatsapp-float { width: 46px !important; height: 46px !important; font-size: 22px !important; bottom: 68px !important; right: 14px !important; }
  .back-to-top { width: 38px !important; height: 38px !important; bottom: 68px; right: 65px; }
}

/* ── Medium devices (tablets, 576px–767px) ────── */
@media (min-width: 576px) and (max-width: 767px) {

  .hero-swiper { height: 58vh !important; min-height: 340px !important; }
  .slide-title { font-size: 2rem !important; }
  .slide-subtitle { font-size: 14px !important; }

  .stat-number { font-size: 1.5rem !important; }
  .stat-label { font-size: 11px !important; }

  .section-pad { padding: 44px 0 !important; }
  .section-title { font-size: 1.55rem !important; }

  .about-img-wrap img { max-height: 280px; object-fit: cover; width: 100%; border-radius: 10px !important; }
  .about-badge { position: static !important; display: inline-flex; gap: 10px; align-items: center; margin-top: 12px; }

  .cat-img-wrap { height: 150px !important; }

  .cta-title { font-size: 1.4rem !important; }
  .cta-section .text-lg-end { text-align: left !important; margin-top: 16px; }
}

/* ── Tablet landscape (768px–991px) ────────────── */
@media (min-width: 768px) and (max-width: 991px) {

  .hero-swiper { height: 65vh !important; min-height: 400px !important; }
  .slide-title { font-size: 2.4rem !important; }

  .section-pad { padding: 56px 0 !important; }

  .about-img-wrap { display: block; }
  .about-badge { position: absolute; bottom: -16px; right: -10px; }

  .cat-img-wrap { height: 160px !important; }

  .market-img { height: 170px !important; }
}

/* ── Large tablet / small desktop (992px–1199px) ── */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-swiper { height: 72vh !important; }
  .slide-title { font-size: 2.8rem !important; }
  .cat-img-wrap { height: 170px !important; }
  .dropdown-mega { width: 520px !important; }
  .mega-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── Fix: mobile navbar dropdown background ─────── */
@media (max-width: 1199px) {
  .main-navbar .dropdown-menu {
    background: #f8f8f8 !important;
    border-top: 2px solid var(--red) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: static !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 4px 0 8px 12px !important;
  }
  .main-navbar .dropdown-item { color: var(--gray) !important; padding: 8px 16px !important; font-size: 13px; }
  .main-navbar .dropdown-item:hover { background: rgba(204,31,31,.06) !important; color: var(--red) !important; }
}

/* ── Fix: body padding for mobile bottom nav ─────── */
@media (max-width: 1199px) {
  body { padding-bottom: 58px; }
}
@media (min-width: 1200px) {
  body { padding-bottom: 0; }
  .mobile-bottom-nav { display: none !important; }
}

/* ── General touch improvements ─────────────────── */
@media (hover: none) {
  /* Remove hover-only transforms on touch devices */
  .product-cat-card:hover,
  .market-card:hover,
  .service-card:hover,
  .value-card:hover { transform: none !important; }

  /* Make touch targets larger */
  .nav-link { min-height: 44px; display: flex; align-items: center; }
  .btn { min-height: 44px; }
}

/* ── Fix: hero content vertical centering on mobile ─ */
@media (max-width: 767px) {
  .slide-content {
    align-items: center !important;
    padding: 20px 0 80px !important;
  }
  .slide-content .col-lg-8 { text-align: left; }
  .slide-overlay {
    background: linear-gradient(to right, rgba(20,20,20,.92) 0%, rgba(20,20,20,.6) 70%, rgba(20,20,20,.2) 100%) !important;
  }
}

/* ── Fix: stats bar 2x2 grid on mobile ──────────── */
@media (max-width: 575px) {
  .stats-bar .row { display: grid !important; grid-template-columns: 1fr 1fr !important; }
  .stats-bar .col-6 { width: 100% !important; max-width: 100% !important; }
  .stat-item { border-right: 1px solid rgba(255,255,255,.15) !important; border-bottom: 1px solid rgba(255,255,255,.15) !important; }
  .stats-bar .col-6:nth-child(2) .stat-item { border-right: none !important; }
  .stats-bar .col-6:nth-child(3) .stat-item,
  .stats-bar .col-6:nth-child(4) .stat-item { border-bottom: none !important; }
  .stats-bar .col-6:nth-child(4) .stat-item { border-right: none !important; }
}

/* ── Fix: product grid 2 cols on mobile ─────────── */
@media (max-width: 575px) {
  .products-section .col-6 { padding: 0 6px !important; }
  .products-section .row { margin: 0 -6px !important; }
}

/* ── Fix: CTA row layout on mobile ──────────────── */
@media (max-width: 767px) {
  .cta-section .row { flex-direction: column; text-align: center; }
  .cta-section .col-lg-4 { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 20px; }
  .btn-white-dt, .btn-outline-white-dt { width: 100%; max-width: 280px; justify-content: center; margin: 0 !important; }
}

/* ── Fix: about image height on mobile ───────────── */
@media (max-width: 767px) {
  .col-lg-6 .about-img-wrap {
    max-width: 100%;
    margin-bottom: 0;
  }
  .about-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    border-radius: 10px !important;
  }
}

/* ── Fix: footer columns on mobile ──────────────── */
@media (max-width: 575px) {
  .site-footer .col-lg-2,
  .site-footer .col-lg-3 { margin-bottom: 8px; }
  .footer-social { flex-wrap: wrap; gap: 6px !important; }
  .footer-social a { width: 30px !important; height: 30px !important; font-size: 12px !important; }
}

/* ── Fix: Mega menu on mobile ────────────────────── */
@media (max-width: 1199px) {
  .mega-header { padding: 10px 14px !important; }
  .mega-grid { grid-template-columns: repeat(2,1fr) !important; padding: 6px !important; }
  .mega-item { font-size: 12px !important; padding: 7px 10px !important; }
}

/* Hide top-bar Request Quote button on desktop - Get a Quote button in navbar handles it */
@media (min-width: 992px) {
    .top-quote-btn {
        display: none !important;
    }
}