/* ============================================================
   BuildTech Machinery – style.css
   Theme: Industrial / Engineering – Clean & Modern
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --primary:      #0D3B66;   /* Deep Navy */
  --primary-dark: #082B4E;
  --primary-light:#1558A0;
  --accent:       #F4A200;   /* Industrial Amber */
  --accent-dark:  #D08B00;
  --steel:        #4A5568;
  --steel-light:  #718096;
  --bg-light:     #F7F8FA;
  --bg-section:   #EEF1F6;
  --white:        #FFFFFF;
  --text-dark:    #1A202C;
  --text-muted:   #6B7280;
  --border:       #E2E8F0;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.07);
  --shadow-md:    0 8px 30px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.14);
  --radius:       6px;
  --radius-lg:    12px;
  --transition:   all .28s cubic-bezier(.4,0,.2,1);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-ui:      'Inter', sans-serif;
}

/* ── Reset / Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

/* ── Top Bar ─────────────────────────────────────────────── */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-family: var(--font-ui);
  font-size: 12.5px;
  padding: 7px 0;
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: var(--accent); }
.top-bar .divider { opacity: .4; margin: 0 10px; }

/* ── Navbar ──────────────────────────────────────────────── */
.main-navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.10);
  padding: 0;
  transition: var(--transition);
  z-index: 1050;
}
.main-navbar.sticky-top { position: sticky; top: 0; }
.main-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.16);
}

.navbar-brand { padding: 14px 0; }
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.brand-text {
  line-height: 1.1;
}
.brand-text .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .04em;
  display: block;
}
.brand-text .tagline {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--steel-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
}

/* Nav Links */
.main-navbar .nav-link {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 24px 16px !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--accent);
  transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--primary) !important;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  left: 0; right: 0;
}

.btn-enquire {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark) !important;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px !important;
  border-radius: var(--radius);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  margin: auto 0 auto 12px;
  white-space: nowrap;
}
.btn-enquire::after { display: none !important; }
.btn-enquire:hover {
  background: linear-gradient(135deg, #ffb922, var(--accent));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244,162,0,.35);
}

/* ── Mega Menu ───────────────────────────────────────────── */
.mega-menu-wrapper {
  position: static !important;
}
.mega-dropdown {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  width: 100% !important;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 32px 40px;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 9999;
}
.mega-dropdown.show,
.mega-menu-wrapper:hover .mega-dropdown,
.mega-menu-wrapper.active .mega-dropdown {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

.mega-col-title {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mega-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-bottom: 4px;
  cursor: pointer;
}
.mega-category:hover {
  background: var(--bg-light);
}
.mega-category-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  flex-shrink: 0;
}
.mega-category-info .title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
}
.mega-category-info .sub {
  font-size: 11.5px;
  color: var(--text-muted);
}
.mega-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-sub-list li a {
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  transition: var(--transition);
}
.mega-sub-list li a::before {
  content: '›';
  color: var(--accent);
  font-size: 14px;
}
.mega-sub-list li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.mega-services-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  height: 100%;
}
.mega-services-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.mega-services-card .icon {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}
.mega-services-card h6 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.mega-services-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Section Utilities ───────────────────────────────────── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

.section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }

.section-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 580px;
}

/* ── Hero Slider ─────────────────────────────────────────── */
#heroCarousel {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-slide .bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.5);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.carousel-item.active .bg-layer {
  transform: scale(1);
}
.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,43,78,.82) 0%, rgba(13,59,102,.35) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 60px 0;
}
.hero-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.hero-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero-title em {
  color: var(--accent);
  font-style: normal;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 30px;
  max-width: 520px;
}

/* Carousel indicators */
.carousel-indicators [data-bs-target] {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.4);
  border: none;
}
.carousel-indicators .active {
  background: var(--accent);
  width: 50px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.hero-stat .lbl {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Marquee Strip ───────────────────────────────────────── */
.marquee-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.marquee-item i { color: var(--accent); }

/* ── About Section ───────────────────────────────────────── */
.about-img-wrap {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.about-badge .txt {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.about-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--steel);
  margin-bottom: 10px;
}
.about-check-list li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Product Cards ───────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.product-card-img {
  height: 210px;
  overflow: hidden;
  position: relative;
  background: var(--bg-section);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.07);
}
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 30px;
}
.product-card-body {
  padding: 20px 20px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.product-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.product-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Why Choose Us ───────────────────────────────────────── */
.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  height: 100%;
  text-align: center;
}
.why-card:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-dark);
  margin: 0 auto 16px;
}
.why-card h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 13px;
  color: rgba(255,255,255,.68);
  margin: 0;
}

/* ── Featured Products (Tabs) ────────────────────────────── */
.featured-tabs .nav-tabs {
  border: none;
  gap: 8px;
  margin-bottom: 32px;
}
.featured-tabs .nav-tabs .nav-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 20px;
  background: var(--white);
  transition: var(--transition);
}
.featured-tabs .nav-tabs .nav-link.active,
.featured-tabs .nav-tabs .nav-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ── Process Section ─────────────────────────────────────── */
.process-step {
  text-align: center;
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 35px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
}
.process-step:last-child::after { display: none; }

.process-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .process-num {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}
.process-step h5 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Testimonials ────────────────────────────────────────── */
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.testi-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testi-card .quote-icon {
  font-size: 40px;
  color: var(--bg-section);
  position: absolute;
  top: 20px;
  right: 22px;
  line-height: 1;
}
.testi-card .stars {
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 12px;
}
.testi-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author .name {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
}
.testi-author .role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(244,162,0,.08);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.cta-section .section-title { color: var(--white); }
.cta-section p { color: rgba(255,255,255,.75); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: var(--radius);
  border: none;
  letter-spacing: .04em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(13,59,102,.3);
  transform: translateY(-2px);
}

.btn-accent-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: var(--radius);
  border: none;
  letter-spacing: .04em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-accent-custom:hover {
  background: linear-gradient(135deg, #ffb922, var(--accent));
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(244,162,0,.35);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: var(--radius);
  letter-spacing: .04em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-custom:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  color: var(--white);
}

/* ── Footer ──────────────────────────────────────────────── */
.main-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
}
.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  margin: 12px 0 20px;
  line-height: 1.7;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
}
.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links a::before {
  content: '›';
  color: var(--accent);
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 18px 0;
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.page-hero .breadcrumb-item a:hover { color: var(--accent); }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── Products Page ───────────────────────────────────────── */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cat-group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}
.cat-group-btn:hover,
.cat-group-btn.active {
  background: var(--bg-light);
  color: var(--primary);
}
.cat-group-btn i { transition: transform .22s ease; }
.cat-group-btn.active i { transform: rotate(180deg); }

.cat-sub-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.cat-sub-list li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 28px;
  font-size: 12.5px;
  color: var(--steel);
  transition: var(--transition);
}
.cat-sub-list li a::before {
  content: '•';
  color: var(--accent);
  font-size: 10px;
}
.cat-sub-list li a:hover,
.cat-sub-list li a.active-link {
  color: var(--primary);
  background: rgba(13,59,102,.05);
}

/* Product grid filter tab */
.filter-tabs .nav-link {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--steel);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 30px;
  background: var(--white);
  transition: var(--transition);
}
.filter-tabs .nav-link.active,
.filter-tabs .nav-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ── Product Detail ──────────────────────────────────────── */
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.product-gallery-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.product-thumb-list {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.product-thumb:hover,
.product-thumb.active {
  border-color: var(--primary);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-table { border-collapse: collapse; width: 100%; }
.spec-table th,
.spec-table td {
  font-family: var(--font-ui);
  font-size: 13px;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.spec-table th {
  background: var(--bg-section);
  font-weight: 600;
  color: var(--text-dark);
  width: 35%;
}
.spec-table td { color: var(--steel); }
.spec-table tr:hover td { background: var(--bg-light); }

/* ── Services Page ───────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: rgba(255,255,255,.25);
  position: relative;
  overflow: hidden;
}
.service-card-img .icon-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: rgba(255,255,255,.85);
}
.service-card-body { padding: 22px; }
.service-card-body h5 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Contact Page ────────────────────────────────────────── */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  margin-bottom: 16px;
}
.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-card h6 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 14px;
  color: var(--text-dark);
  margin: 0;
  font-weight: 500;
}

/* Form Styling */
.form-control, .form-select {
  font-family: var(--font-ui);
  font-size: 13.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,59,102,.12);
}
.form-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-section);
  padding: 40px 0;
}
.stat-item {
  text-align: center;
  padding: 0 20px;
}
.stat-item .num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.stat-item .num span {
  color: var(--accent);
}
.stat-item .lbl {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
  display: block;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ── Misc ────────────────────────────────────────────────── */
.bg-light-custom { background: var(--bg-light); }
.bg-section-custom { background: var(--bg-section); }
.text-accent { color: var(--accent) !important; }
.text-primary-custom { color: var(--primary) !important; }

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(13,59,102,.08);
  color: var(--primary);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  margin: 3px;
}

/* ── Scroll-to-top ───────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#scrollTop:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ── Mobile Responsive ───────────────────────────────────── */
@media (max-width: 991.98px) {
  .main-navbar .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--bg-section);
  }
  .main-navbar .nav-link::after { display: none; }
  .mega-dropdown {
    position: static !important;
    box-shadow: none;
    border: none;
    border-top: 2px solid var(--accent);
    padding: 16px;
    border-radius: 0;
  }
  .btn-enquire { margin: 12px 0 4px; }
  .about-badge { display: none; }
  .process-step::after { display: none; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 24px; }
  .section-pad { padding: 56px 0; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 32px; }
  .hero-slide { min-height: 460px; }
  .top-bar .d-flex { flex-wrap: wrap; gap: 4px; }
  .stat-divider { display: none; }
  .stat-item { padding: 12px; }
}
