/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --primary:        #1e40af;
  --primary-dark:   #1e3a8a;
  --primary-light:  #3b82f6;
  --accent:         #f59e0b;
  --white:          #ffffff;
  --surface:        #f0f4ff;
  --gray:           #64748b;
  --dark:           #0f172a;
  --nav-height:     88px;
}

/* ============================================================
   GLOBAL
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
  padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#mainNav.scrolled {
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
#mainNav .navbar-brand { display: flex; align-items: center; padding: 6px 0; }
.brand-logo-img {
  height: 70px;
  width: auto;
  display: block;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}
.brand-logo-img:hover { opacity: 0.9; }

.nav-link-custom {
  font-weight: 500; font-size: 14px;
  color: #1e293b !important;
  padding: 8px 13px !important;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link-custom:hover, .nav-link-custom.active { color: var(--primary) !important; }
#mainNav.scrolled .nav-link-custom:hover,
#mainNav.scrolled .nav-link-custom.active { color: var(--primary-dark) !important; }
.nav-link-custom::after {
  content: ''; position: absolute; bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link-custom:hover::after, .nav-link-custom.active::after { width: 55%; }
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 9px 22px !important;
  font-weight: 600;
  transition: background 0.2s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon { font-size: 20px; color: var(--primary); }

/* Mobile nav menu */
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: #fff;
    margin-top: 10px;
    padding: 14px 16px 18px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  }
  #mainNav .navbar-nav {
    gap: 6px !important;
    align-items: stretch !important;
    width: 100%;
  }
  #mainNav .nav-item { width: 100%; }
  #mainNav .nav-item.ms-2 { margin-left: 0 !important; margin-top: 4px; }
  #mainNav .nav-link-custom {
    display: block;
    text-align: center;
    padding: 12px 16px !important;
  }
  #mainNav .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   PAGE HEADER (inner pages)
============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e40af 55%, #2563eb 100%);
  padding: 70px 0 65px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero .ph-title {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff; margin-bottom: 12px;
  position: relative; z-index: 1;
}
.page-hero .ph-desc {
  color: rgba(255,255,255,0.78);
  font-size: 16px; max-width: 560px;
  position: relative; z-index: 1;
}
.breadcrumb-nav {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.breadcrumb-nav a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav span { opacity: 0.5; }

/* ============================================================
   HERO (home)
============================================================ */
.hero-section {
  min-height: 100vh;
  padding-top: var(--nav-height);
  overflow: hidden;
  position: relative;
}
body.home-page { padding-top: 0; }
#heroCarousel, .carousel-inner, .carousel-item { height: 100%; }
.hero-slide {
  min-height: calc(100vh - var(--nav-height));
  height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
}
.hs-1, .hs-2, .hs-3 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hs-1 {
  background-image:
    linear-gradient(100deg, rgba(9,14,28,0.95) 0%, rgba(30,58,138,0.86) 45%, rgba(29,78,216,0.55) 100%),
    url('../assets/hero-cnc-machining-center.webp');
}
.hs-2 {
  background-image:
    linear-gradient(100deg, rgba(10,17,52,0.95) 0%, rgba(30,64,175,0.86) 45%, rgba(37,99,235,0.58) 100%),
    url('../assets/hero-manufacturing-production-hall.webp');
}
.hs-3 {
  background-image:
    linear-gradient(100deg, rgba(6,11,34,0.94) 0%, rgba(30,58,138,0.84) 45%, rgba(59,130,246,0.52) 100%),
    url('../assets/hero-quality-inspection.webp');
}
.hero-dots-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  pointer-events: none;
}
.hr1 { width: 500px; height: 500px; top: -120px; right: -120px; }
.hr2 { width: 750px; height: 750px; top: -250px; right: -250px; }
.hr3 { width: 320px; height: 320px; bottom: -80px; left: -80px; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  padding: 6px 18px; border-radius: 50px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title {
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  color: #fff; line-height: 1.15; margin-bottom: 20px;
}
.hero-title .ht-grad {
  background: linear-gradient(135deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 16px; line-height: 1.8;
  max-width: 520px; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.h-btn-primary {
  background: #fff; color: var(--primary-dark);
  font-weight: 600; font-size: 15px;
  padding: 13px 32px; border-radius: 8px;
  border: 2px solid #fff;
  transition: all 0.3s ease; display: inline-block;
}
.h-btn-primary:hover { background: transparent; color: #fff; }
.h-btn-outline {
  background: transparent; color: #fff;
  font-weight: 600; font-size: 15px;
  padding: 13px 32px; border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: all 0.3s ease; display: inline-block;
}
.h-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.hero-feature-cards { position: relative; height: 400px; }
.hfc {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px; padding: 22px 28px;
  color: #fff; max-width: 220px;
}
.hfc-1 { bottom: 80px; left: 0; animation: floatY 3.2s ease-in-out infinite; }
.hfc-2 { top: 60px; right: 10px; animation: floatY 3.2s ease-in-out infinite 1.6s; }
.hfc .hfc-ico { font-size: 28px; color: #93c5fd; margin-bottom: 10px; }
.hfc .hfc-label { font-size: 14px; font-weight: 600; line-height: 1.4; }
.hfc .hfc-sub { font-size: 12px; opacity: 0.7; margin-top: 4px; }
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.carousel-indicators { bottom: 30px; }
.carousel-indicators button {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.4); border: none; margin: 0 4px;
  transition: all 0.3s;
}
.carousel-indicators button.active { width: 52px; background: #fff; }
.carousel-control-prev, .carousel-control-next {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%; opacity: 1;
  top: 50%; transform: translateY(-50%);
}
.carousel-control-prev { left: 24px; }
.carousel-control-next { right: 24px; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 18px; height: 18px; }

/* ============================================================
   UTILITY / SECTION COMMONS
============================================================ */
.sec { padding: 90px 0; }
.sec-sm { padding: 65px 0; }
.sec-badge {
  display: inline-block;
  background: rgba(30,64,175,0.08);
  color: var(--primary);
  padding: 5px 16px; border-radius: 50px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  color: var(--primary-dark); margin-bottom: 10px;
}
.sec-sub { color: var(--gray); font-size: 15.5px; line-height: 1.7; }
.rule {
  width: 56px; height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 2px; margin: 14px 0 22px;
}
.rule.center { margin: 14px auto 22px; }
.bg-surf { background: var(--surface); }

/* ============================================================
   CAPABILITIES BAR (no numbers)
============================================================ */
.cap-bar {
  background: linear-gradient(135deg, var(--primary-dark), #1d4ed8);
  position: relative; overflow: hidden;
}
.cap-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
.cap-cell { text-align: center; padding: 36px 16px; position: relative; }
.cap-cell + .cap-cell::before {
  content: '';
  position: absolute; left: 0; top: 22%; height: 56%;
  width: 1px; background: rgba(255,255,255,0.12);
}
.cap-ico {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px; color: var(--accent);
}
.cap-lbl {
  color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: 0.4px; line-height: 1.4;
}

/* ============================================================
   HOME SHOWCASE (image grid + story)
============================================================ */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px; height: 420px;
}
.showcase-grid img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 14px;
}
.showcase-story {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px;
  height: 100%;
}
.showcase-quote {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 18px;
  color: var(--primary-dark);
  line-height: 1.5; margin-bottom: 16px;
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}

/* ============================================================
   GLOBAL PRESENCE MAP
============================================================ */
.global-map-wrap {
  position: relative;
  background: linear-gradient(160deg, #e8f0fe 0%, #f0f4ff 40%, #fef3e2 100%);
  border-radius: 24px;
  padding: 50px 30px;
  min-height: 420px;
  overflow: hidden;
}
.global-map-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cellipse cx='400' cy='200' rx='360' ry='170' fill='none' stroke='%23cbd5e1' stroke-width='1' opacity='0.5'/%3E%3Cpath d='M120,180 Q200,120 280,160 T440,140 T600,170 T680,150' fill='none' stroke='%2394a3b8' stroke-width='0.8' opacity='0.4'/%3E%3Cpath d='M100,240 Q250,280 400,250 T700,230' fill='none' stroke='%2394a3b8' stroke-width='0.8' opacity='0.4'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.6;
}
.map-pill {
  position: absolute;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 12px; font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.global-map-wrap.map-pills-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: auto;
  padding: 28px 20px;
}
.global-map-wrap.map-pills-flex::before { display: none; }
.global-map-wrap.map-pills-flex .map-pill {
  position: static;
  display: inline-block;
  margin: 0;
  white-space: normal;
  text-align: center;
}
.mp-1 { top: 18%; left: 12%; }
.mp-2 { top: 22%; left: 42%; }
.mp-3 { top: 15%; right: 18%; }
.mp-4 { top: 48%; left: 8%; }
.mp-5 { top: 55%; left: 38%; }
.mp-6 { top: 42%; right: 12%; }
.mp-7 { bottom: 22%; left: 22%; }
.mp-8 { bottom: 18%; right: 28%; }

/* Global presence — region cards */
.region-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 16px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.region-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(30,64,175,0.10);
  border-color: transparent;
}
.region-ico {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 25px; color: var(--primary);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  transition: all 0.3s ease;
}
.region-card:hover .region-ico {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.region-card h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 16px;
  color: var(--primary-dark); margin-bottom: 4px;
}
.region-card p { font-size: 13px; color: var(--gray); margin: 0; }
.export-pills {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 10px; margin-top: 40px;
}
.export-pills .ep-lbl {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); margin-right: 4px;
}
.export-pills .map-pill {
  position: static;
  white-space: nowrap;
}

/* ============================================================
   ABOUT
============================================================ */
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  height: auto;
  min-height: 260px;
  max-height: 510px;
  object-fit: cover;
  border-radius: 22px;
}
.about-feat {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid #f1f5f9;
}
.about-feat:last-child { border-bottom: none; }
.af-ico {
  width: 44px; height: 44px; min-width: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px;
}
.af-title { font-weight: 600; font-size: 15px; color: #0f172a; margin-bottom: 3px; }
.af-desc { color: var(--gray); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* Dark "who we are" section */
.dark-about-sec {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative; overflow: hidden;
}
.dark-about-sec::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.03);
}
.dark-about-img {
  width: 100%; max-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.dark-about-sec .sec-title { color: #fff; }
.dark-about-sec .sec-sub { color: rgba(255,255,255,0.72); }

/* Polygon pattern background */
.poly-bg {
  background-color: #f8fafc;
  background-image:
    linear-gradient(30deg, #e2e8f0 12%, transparent 12.5%, transparent 87%, #e2e8f0 87.5%, #e2e8f0),
    linear-gradient(150deg, #e2e8f0 12%, transparent 12.5%, transparent 87%, #e2e8f0 87.5%, #e2e8f0),
    linear-gradient(30deg, #e2e8f0 12%, transparent 12.5%, transparent 87%, #e2e8f0 87.5%, #e2e8f0),
    linear-gradient(150deg, #e2e8f0 12%, transparent 12.5%, transparent 87%, #e2e8f0 87.5%, #e2e8f0);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

/* Two-column vision layout */
.vm-two-col h3 {
  font-weight: 700; font-size: 18px;
  color: var(--primary-dark); margin-bottom: 12px;
}
.vm-two-col p, .vm-two-col li {
  color: var(--gray); font-size: 15px; line-height: 1.75;
}
.vm-two-col ol {
  padding-left: 20px; margin: 0;
}
.vm-two-col ol li { margin-bottom: 8px; }
.ehs-list {
  max-width: 720px; margin: 0 auto;
  list-style: none; padding: 0;
}
.ehs-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px; line-height: 1.7; color: #334155;
}
.ehs-list li:last-child { border-bottom: none; }
.ehs-num {
  width: 32px; height: 32px; min-width: 32px;
  background: var(--primary);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}

/* ============================================================
   PRODUCTS
============================================================ */
.prod-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 26px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative; overflow: hidden;
}
.prod-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 3;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.prod-media {
  margin: -32px -26px 0;
  height: 188px; overflow: hidden;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  position: relative;
}
.prod-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.prod-card:hover .prod-media img { transform: scale(1.07); }
.prod-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0) 55%, rgba(15,23,42,0.55) 100%);
}
.prod-card .prod-ico {
  margin-top: -34px; position: relative; z-index: 2;
  border: 4px solid #fff; background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,0.20);
}
/* Full-width product photo band */
.prod-band { background: #0b1120; line-height: 0; }
.prod-band img {
  width: 100%; height: clamp(260px, 42vw, 560px);
  object-fit: cover; display: block;
}
/* Component capability infographic */
.infographic-wrap {
  border-radius: 18px; overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15,23,42,0.16);
  max-width: 1080px; margin: 0 auto;
}
.infographic-wrap img { width: 100%; height: auto; display: block; }
.prod-card:hover { transform: translateY(-8px); box-shadow: 0 28px 55px rgba(30,64,175,0.11); border-color: transparent; }
.prod-card:hover::before { transform: scaleX(1); }
.prod-ico {
  width: 66px; height: 66px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.prod-card:hover .prod-ico { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.prod-card h4 { font-weight: 600; font-size: 17px; color: var(--primary-dark); margin-bottom: 10px; }
.prod-card p { color: var(--gray); font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.prod-more { color: var(--primary); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 7px; transition: gap 0.2s; }
.prod-card:hover .prod-more { gap: 12px; }
.prod-detail-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s;
}
.prod-detail-card:hover { box-shadow: 0 20px 50px rgba(30,64,175,0.1); }
.prod-detail-img { height: 200px; object-fit: cover; width: 100%; }
.prod-detail-body { padding: 28px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.prod-tag {
  background: var(--surface);
  color: var(--primary);
  font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
}

/* ============================================================
   WHY AXTRATECH
============================================================ */
.why-sec {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e40af 100%);
  position: relative; overflow: hidden;
}
.why-sec::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 560px; height: 560px; border-radius: 50%;
  border: 90px solid rgba(255,255,255,0.03);
}
.why-sec::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 70px solid rgba(255,255,255,0.03);
}
.why-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 30px 26px;
  height: 100%;
  transition: background 0.3s, transform 0.3s;
  position: relative; z-index: 1;
}
.why-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-6px); }
.why-ico {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #93c5fd;
  margin-bottom: 18px;
}
.why-card h4 { font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.68); font-size: 14px; line-height: 1.65; margin: 0; }
.why-sec-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #93c5fd;
  padding: 5px 16px; border-radius: 50px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============================================================
   VISION / MISSION CARDS
============================================================ */
.vm-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 42px 34px;
  height: 100%;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.vm-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(30,64,175,0.1); }
.vm-bg-num {
  position: absolute; top: -15px; right: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 6.5rem; font-weight: 900;
  color: rgba(30,64,175,0.045); line-height: 1;
}
.vm-ico {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 27px; color: #fff; margin-bottom: 22px;
}
.vm-card h3 { font-weight: 700; font-size: 20px; color: var(--primary-dark); margin-bottom: 14px; }
.vm-card p, .vm-card li { color: var(--gray); font-size: 15px; line-height: 1.75; }
.vm-card ul { list-style: none; padding: 0; margin: 0; }
.vm-card ul li { padding: 5px 0; display: flex; gap: 10px; }
.vm-card ul li::before { content: '→'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   TIMELINE
============================================================ */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  transform: translateX(-50%);
}
.tl-item {
  display: flex; justify-content: flex-end;
  padding-right: calc(50% + 44px);
  margin-bottom: 44px; position: relative;
}
.tl-item.tl-r { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 44px); }
.tl-dot {
  position: absolute; left: 50%; top: 22px;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--primary); border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(30,64,175,0.25);
}
.tl-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px; padding: 22px 26px;
  max-width: 390px; width: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tl-box:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,64,175,0.1); }
.tl-yr { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--primary); font-size: 18px; margin-bottom: 7px; }
.tl-txt { color: var(--gray); font-size: 14px; line-height: 1.65; margin: 0; }

/* ============================================================
   CERTIFICATIONS
============================================================ */
.cert-tile {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 11px; padding: 28px 18px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.cert-tile:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(30,64,175,0.1);
}
.cert-tile i { font-size: 34px; color: var(--primary); }
.cert-tile span { font-weight: 600; font-size: 13px; color: var(--primary-dark); }

/* ============================================================
   INDUSTRY MARQUEE
============================================================ */
.marquee-wrap { overflow: hidden; position: relative; }
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeAnim 22s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeAnim {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cl-item {
  padding: 18px 36px;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.3s;
  display: flex; align-items: center;
}
.cl-item:hover { filter: grayscale(0%) opacity(1); }
.cl-pill {
  background: #f1f5f9;
  border-radius: 9px;
  padding: 12px 26px;
  font-weight: 600; font-size: 14px;
  color: #475569; white-space: nowrap;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-info-panel {
  background: linear-gradient(135deg, var(--primary-dark), #1e40af);
  border-radius: 22px; padding: 42px 36px;
  color: #fff; height: 100%;
}
.ci-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ci-item:last-child { border-bottom: none; }
.ci-ico {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ci-txt h6 { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.ci-txt p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; line-height: 1.55; }
.contact-form-panel {
  background: #fff;
  border-radius: 22px; padding: 42px 36px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 45px rgba(0,0,0,0.06);
}
.cf-label { display: block; font-weight: 500; font-size: 14px; color: #374151; margin-bottom: 7px; }
.cf-input {
  width: 100%; border: 2px solid #e2e8f0;
  border-radius: 10px; padding: 12px 16px;
  font-size: 14px; font-family: 'Inter', sans-serif;
  color: #1e293b; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,64,175,0.08); }
.cf-input::placeholder { color: #94a3b8; }
.cf-submit {
  width: 100%; border: none;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 14px 36px; border-radius: 10px;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: opacity 0.2s, transform 0.2s;
}
.cf-submit:hover { opacity: 0.92; transform: translateY(-1px); }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: #07091a; }
.footer-top { padding: 72px 0 44px; }
.f-brand-logo-img {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 18px;
  border-radius: 10px;
}
.f-brand-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; max-width: 280px; }
.f-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 14px;
  margin-right: 8px; transition: all 0.2s;
}
.f-social a:hover { background: var(--primary); color: #fff; }
.f-head { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; color: #fff; margin-bottom: 20px; }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 10px; }
.f-links a {
  color: rgba(255,255,255,0.55); font-size: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.2s;
}
.f-links a:hover { color: #60a5fa; }
.f-links a::before { content: '›'; color: var(--primary-light); font-size: 16px; }
.f-contact-item {
  display: flex; align-items: flex-start; gap: 11px;
  color: rgba(255,255,255,0.55); font-size: 14px;
  margin-bottom: 14px; line-height: 1.5;
}
.f-contact-item i { color: #60a5fa; margin-top: 2px; flex-shrink: 0; }
.footer-icon-bar {
  background: var(--primary-dark);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-icon-bar .fic {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  margin: 0 auto;
  transition: background 0.2s, transform 0.2s;
}
.footer-icon-bar .fic:hover { background: var(--primary-light); transform: translateY(-4px); }
.footer-icon-bar .fic-lbl {
  display: block; text-align: center;
  font-size: 10px; color: rgba(255,255,255,0.55);
  margin-top: 8px; font-weight: 500;
}
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 13px; margin: 0; }

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), #2563eb);
  border-radius: 20px;
  padding: 48px 40px;
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-banner h3 { font-weight: 700; font-size: 1.6rem; margin-bottom: 10px; }
.cta-banner p { opacity: 0.8; margin-bottom: 0; font-size: 15px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary-dark);
  font-weight: 600; padding: 12px 28px;
  border-radius: 8px; transition: all 0.2s;
}
.cta-btn:hover { background: var(--accent); color: #fff; }

/* ============================================================
   SCROLL-TO-TOP
============================================================ */
.scroll-top-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer;
  box-shadow: 0 6px 24px rgba(30,64,175,0.4);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 998;
}
.scroll-top-btn.show { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--primary-dark); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991.98px) {
  .timeline::before { left: 18px; }
  .tl-item, .tl-item.tl-r { justify-content: flex-start; padding-left: 54px; padding-right: 0; }
  .tl-dot { left: 18px; }
  .tl-box { max-width: 100%; }
  .hero-feature-cards { display: none; }
  .cap-cell + .cap-cell::before { display: none; }
  .showcase-grid { height: 340px; }
  .global-map-wrap:not(.map-pills-flex) .map-pill { font-size: 10px; padding: 6px 12px; }

  /* Mobile nav menu */
  #mainNav .navbar-collapse {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px 16px;
    margin-top: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
  }
  #mainNav .navbar-nav {
    gap: 4px !important;
    align-items: stretch !important;
    width: 100%;
  }
  #mainNav .nav-item { width: 100%; }
  #mainNav .nav-link-custom {
    display: block;
    text-align: center;
    padding: 12px 16px !important;
  }
  #mainNav .nav-item.ms-2 { margin-left: 0 !important; margin-top: 6px; }
  #mainNav .nav-cta { display: block; text-align: center; width: 100%; }
}

@media (max-width: 767.98px) {
  :root { --nav-height: 76px; }

  .sec { padding: 56px 0; }
  .sec-sm { padding: 48px 0; }
  .page-hero { padding: 44px 0 40px; }
  .page-hero .ph-title { font-size: 1.85rem; }
  .page-hero .ph-desc { font-size: 15px; }

  .hero-section { min-height: auto; }
  .hero-slide {
    min-height: calc(100svh - var(--nav-height));
    padding: 32px 0 72px;
  }
  .hero-title { font-size: 1.85rem; line-height: 1.2; }
  .hero-desc { font-size: 15px; margin-bottom: 24px; }
  .hero-badge { font-size: 11px; padding: 5px 14px; margin-bottom: 16px; }
  .hero-ring { display: none; }
  .carousel-control-prev, .carousel-control-next { display: none; }
  .carousel-indicators { bottom: 16px; }

  .cap-cell { padding: 22px 10px; }
  .cap-ico { width: 42px; height: 42px; font-size: 17px; }
  .cap-lbl { font-size: 11px; }

  .showcase-grid {
    height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .showcase-grid img { height: 130px; }
  .showcase-story { padding: 24px 20px; height: auto; }
  .showcase-quote { font-size: 16px; }

  .about-img { min-height: 220px; max-height: 320px; }
  .dark-about-img { max-width: 280px; margin: 0 auto; }

  .vm-card { padding: 28px 22px; }
  .prod-card { padding: 24px 20px; }
  .why-card { padding: 24px 20px; }

  .contact-form-panel { padding: 28px 20px; }
  .contact-info-panel { padding: 28px 22px; }

  .cta-banner {
    padding: 32px 24px;
    text-align: center;
  }
  .cta-banner h3 { font-size: 1.35rem; }
  .cta-banner .text-lg-end { text-align: center !important; margin-top: 8px; }
  .cta-btn { width: 100%; justify-content: center; }

  .footer-top { padding: 48px 0 28px; }
  .f-brand-desc { max-width: 100%; }
  .footer-icon-bar { padding: 20px 0; }
  .footer-icon-bar .fic { width: 44px; height: 44px; font-size: 17px; }

  .ehs-list li { font-size: 14px; }
  .vm-two-col h3 { font-size: 16px; }
}

@media (max-width: 575.98px) {
  :root { --nav-height: 76px; }

  .brand-logo-img { height: 60px; }
  .f-brand-logo-img { height: 88px; }

  .hero-title { font-size: 1.65rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .h-btn-primary, .h-btn-outline {
    text-align: center;
    width: 100%;
    padding: 12px 20px;
  }

  .sec-title { font-size: 1.55rem; }
  .showcase-grid img { height: 110px; }

  .cl-item { padding: 12px 20px; }
  .cl-pill { font-size: 12px; padding: 10px 18px; }

  .scroll-top-btn {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 16px;
  }

  #mainNav .container { padding-left: 14px; padding-right: 14px; }
}
