/* =========================================================
   SGIPL — Global Variables
   ========================================================= */
:root {
  /* Primary — Navy/Slate Blue */
  --color-primary: #2D3A4B;
  --color-primary-dark: #1F2937;
  --color-primary-light: #4A5A70;

  /* Accent — Orange */
  --color-accent: #E07B39;
  --color-accent-dark: #C4652A;
  --color-accent-light: #F0A868;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #F7F8FA;
  --color-gray-light: #E5E7EB;
  --color-gray: #6B7280;
  --color-text: #333F50;
  --color-dark: #1A2230;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding-y: 80px;
  --section-padding-y-mobile: 48px;
  --section-gap: 24px;
  --container-padding-x: 24px;
  --grid-gap: 32px;
}

* { box-sizing: border-box; }

html { overflow-anchor: none; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
}

h1, h2, h3, h4, h5, h6, .heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
}

a { text-decoration: none; }

section { padding: var(--section-padding-y) 0; }
@media (max-width: 768px) {
  section { padding: var(--section-padding-y-mobile) 0; }
}

/* =========================================================
   Header — Floating pill nav
   ========================================================= */
.header-pill #primary-menu > li {
    white-space: nowrap;
}

.header-wrapper {
  background: transparent;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  transition: transform 0.35s ease;
}

.header-wrapper.header-hidden {
  transform: translateY(-100%);
}

.header-pill {
  background: var(--color-white);
  border-radius: 60px;
  padding: 10px 16px 10px 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.logo-img {
  height: 65px;
  width: auto;
}

.header-pill .navbar-nav .nav-link {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 10px 16px;
  position: relative;
}

.header-pill .navbar-nav .nav-link:hover,
.header-pill .navbar-nav .nav-link.active {
  color: var(--color-accent);
}

.header-pill .navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--color-accent);
}

.header-call {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-call-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header-call-text small {
  font-size: 11px;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.header-call-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}

.header-call--mobile {
  padding: 12px 8px 0;
}
.header-call--mobile .header-call-text small { color: #9AA3B2; }
.header-call--mobile .header-call-number { color: var(--color-white); }

.navbar-toggler {
  border: 1px solid var(--color-gray-light);
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
  color: var(--color-primary);
  background: none;
  padding: 6px 10px;
  min-width: 42px;
  min-height: 38px;
}
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 767px) {
  .header-wrapper {
    position: static;
    padding: 14px 0;
    transform: none !important;
  }

  .header-pill {
    padding: 0px;
    gap: 10px;
    border-radius: 0;
    box-shadow: none;
  }

  .logo-img {
    height: 60px;
  }

  .navbar-toggler {
    min-width: 38px;
    min-height: 34px;
    font-size: 32px;
    padding: 4px 8px;
  }
}

/* Products mega-menu */
.mega-dropdown { position: static; }

.mega-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-top: 0;
  border-top: 3px solid var(--color-accent);
}

@media (min-width: 992px) {
  .mega-menu {
    left: 0;
    right: 0;
    width: 100%;
  }
}

.mega-menu .dropdown-item {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 12px;
  border-radius: 4px;
  white-space: normal;
}

.mega-menu .dropdown-item:hover,
.mega-menu .dropdown-item:focus {
  background: var(--color-off-white);
  color: var(--color-accent);
}

/* =========================================================
   Mobile offcanvas nav
   ========================================================= */
.mobile-nav {
  background: var(--color-primary-dark);
  width: 300px;
}

.mobile-nav .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .logo-img--mobile {
  height: 40px;
  filter: brightness(0) invert(1);
}

.mobile-nav .nav-link {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  color: var(--color-accent-light);
}

.mobile-submenu {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 8px;
}

.mobile-submenu .nav-link {
  font-size: 14px;
  font-weight: 400;
  padding: 10px 8px;
}

/* =========================================================
   Stats band
   ========================================================= */
.stats-band {
  background: var(--color-primary-dark);
  padding: 56px 0;
}

.stats-bar {
  display: flex;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1 1 0;
  min-width: 140px;
  text-align: center;
  padding: 8px 16px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 767px) {
  .stats-band { padding: 40px 0; }
  .stat-item { flex: 1 1 50%; padding: 14px 8px; }
  .stat-number { font-size: 34px; }
}

/* =========================================================
   About / Stats
   ========================================================= */
.about-section {
  position: relative;
  background-color: var(--color-off-white);
  background-image: radial-gradient(circle, rgba(45, 58, 75, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 14px;
}

.eyebrow-line {
  width: 26px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
  flex-shrink: 0;
}

.about-heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px;
  color: var(--color-primary-dark);
}

.about-visual {
  position: relative;
  height: 100%;
}

.about-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(26, 34, 48, 0.18);
}

.about-visual-badge {
  position: absolute;
  left: -20px;
  bottom: 32px;
  max-width: 280px;
  background: var(--color-white);
  border-left: 4px solid var(--color-accent);
  border-radius: 6px;
  padding: 20px 28px;
  box-shadow: 0 15px 30px rgba(26, 34, 48, 0.18);
}

.about-visual-number {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.about-stat-count,
.about-stat-unit {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.15;
  color: var(--color-primary-dark);
}

.about-visual-desc {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.5;
  margin: 0;
}

.about-text {
  color: var(--color-gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 580px;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin: 8px 0 32px;
  max-width: 620px;
}

.about-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-text);
}

.about-check-item i {
  color: var(--color-accent);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-outline-sgipl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-outline-sgipl:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

@media (max-width: 991px) {
  .about-visual-img { height: 320px; min-height: 0; }
  .about-heading { font-size: 28px; }
  .about-stat-count, .about-stat-unit { font-size: 26px; }
}

@media (max-width: 576px) {
  .about-checklist { grid-template-columns: 1fr; }
  .about-visual-badge {
    position: static;
    margin-top: 30px;
    margin-left: 16px;
    max-width: none;
    width: fit-content;
  }
}

/* =========================================================
   Expertise / Industries
   ========================================================= */
.expertise-section {
  position: relative;
  background: var(--color-dark);
  overflow: hidden;
}

.expertise-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(224, 123, 57, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.expertise-section .container {
  position: relative;
  z-index: 1;
}

.expertise-header {
  max-width: 640px;
  margin-bottom: 48px;
}

.expertise-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 16px;
}

.expertise-heading {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 16px;
}

.expertise-subtext {
  font-size: 16px;
  line-height: 1.7;
  color: #A7B4C8;
  margin: 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
}

.expertise-cell {
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 60%);
  transition: background 0.3s ease;
}

.expertise-cell:nth-child(3n) { border-right: none; }
.expertise-cell:nth-child(n+4) { border-bottom: none; }

.expertise-cell:hover { background: rgba(255, 255, 255, 0.05); }

.expertise-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.expertise-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 21px;
  color: var(--color-white);
  margin: 0;
}

.expertise-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.expertise-list li {
  font-size: 14px;
  color: #9FB3D1;
  padding: 4px 0;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .expertise-cell:hover .expertise-list {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (hover: none), (pointer: coarse) {
  .expertise-list {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 991px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-cell:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, 0.1); }
  .expertise-cell:nth-child(2n) { border-right: none; }
  .expertise-cell:nth-child(n+4) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .expertise-cell:nth-child(5), .expertise-cell:nth-child(6) { border-bottom: none; }
  .expertise-heading { font-size: 32px; }
}

@media (max-width: 576px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-cell { border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .expertise-cell:last-child { border-bottom: none; }
  .expertise-heading { font-size: 28px; }
}

/* =========================================================
   Products preview (carousel)
   ========================================================= */
.products-section {
  background: var(--color-off-white);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 44px;
}

.products-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark);
  max-width: 600px;
  margin: 0;
}

.products-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.products-subtext {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-gray);
  max-width: 240px;
  text-align: right;
  margin: 0;
}

.products-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.products-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gray-light);
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.products-nav-btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.products-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.products-track::-webkit-scrollbar { display: none; }

.product-card {
  flex: 0 0 auto;
  width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(26, 34, 48, 0.05);
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(26, 34, 48, 0.08);
  color: inherit;
}

.product-card-media {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-card-index {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(26, 34, 48, 0.75);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 6px;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-spec {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  padding-top: 14px;
  border-top: 1px dashed var(--color-gray-light);
}

@media (max-width: 991px) {
  .product-card { width: calc((100% - 24px) / 2); }
}

@media (max-width: 767px) {
  .products-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .products-header-right { width: 100%; justify-content: space-between; }
  .products-subtext { text-align: left; }
  .products-heading { font-size: 28px; }
  .product-card { width: 78vw; }
}

/* =========================================================
   Projects (dark bento grid)
   ========================================================= */
.projects-section {
  background: var(--color-dark);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.projects-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin: 0;
}

.projects-subtext {
  font-size: 16px;
  line-height: 1.7;
  color: #A7B4C8;
  max-width: 380px;
  margin: 0;
  padding-top: 6px;
}

.projects-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 20px;
}

.bento-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.bento-item--large {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.bento-item:hover img {
  transform: scale(1.08);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px;
  background: linear-gradient(to top, rgba(5, 7, 13, 0.85) 0%, rgba(5, 7, 13, 0.15) 55%, rgba(5, 7, 13, 0) 75%);
}

.bento-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-white);
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  opacity: 0;
  transform: translateY(6px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.bento-item:hover .bento-title { transform: translateY(0); opacity: 1; }
.bento-item:hover .bento-tag { transform: translateY(0); opacity: 1; }

@media (max-width: 991px) {
  .projects-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .bento-item--large { grid-column: 1 / span 2; grid-row: 1; }
}

@media (max-width: 576px) {
  .projects-header { flex-direction: column; gap: 16px; }
  .projects-heading { font-size: 30px; }
  .projects-bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-item--large { grid-column: 1; grid-row: auto; height: 260px; }
}

/* =========================================================
   Our Journey (animated timeline)
   ========================================================= */
.journey-section {
  background: var(--color-off-white);
}

.journey-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.journey-eyebrow {
  justify-content: center;
}

.journey-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark);
  margin: 0;
}

.journey-timeline {
  position: relative;
}

.journey-line {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--color-gray-light);
  z-index: 0;
  overflow: hidden;
}

.journey-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transition: width 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.journey-timeline.in-view .journey-line-fill {
  width: 100%;
}

.journey-items {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.journey-item {
  flex: 1;
  min-width: 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.journey-timeline.in-view .journey-item {
  opacity: 1;
  transform: translateY(0);
}

.journey-timeline.in-view .journey-item:nth-child(1) { transition-delay: 0.05s; }
.journey-timeline.in-view .journey-item:nth-child(2) { transition-delay: 0.2s; }
.journey-timeline.in-view .journey-item:nth-child(3) { transition-delay: 0.35s; }
.journey-timeline.in-view .journey-item:nth-child(4) { transition-delay: 0.5s; }
.journey-timeline.in-view .journey-item:nth-child(5) { transition-delay: 0.65s; }

.journey-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-off-white);
  border: 3px solid var(--color-accent);
  margin-bottom: 24px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-item:hover .journey-dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 7px rgba(224, 123, 57, 0.16);
}

.journey-content {
  padding: 18px 18px 18px 0;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.journey-item:hover .journey-content {
  transform: translateY(-6px);
  background: var(--color-white);
  box-shadow: 0 16px 30px rgba(26, 34, 48, 0.1);
  padding: 18px;
}

.journey-year {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.journey-content p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767px) {
  .journey-heading { font-size: 28px; }

  .journey-line {
    top: 0;
    left: 8px;
    bottom: 0;
    right: auto;
    width: 2px;
    height: auto;
  }

  .journey-line-fill {
    width: 100%;
    height: 0%;
    transition: height 1.6s cubic-bezier(0.65, 0, 0.35, 1);
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light));
  }

  .journey-timeline.in-view .journey-line-fill { height: 100%; }

  .journey-items {
    flex-direction: column;
    gap: 36px;
  }

  .journey-item {
    display: flex;
    gap: 20px;
    transform: translateX(-20px);
  }

  .journey-timeline.in-view .journey-item { transform: translateX(0); }

  .journey-dot { margin-bottom: 0; flex-shrink: 0; margin-top: 4px; }
  .journey-content { padding: 0; }
  .journey-item:hover .journey-content { padding: 12px; }
}

/* =========================================================
   Manufacturing units
   ========================================================= */
.units-section {
  position: relative;
  background-color: var(--color-off-white);
  background-image: radial-gradient(circle, rgba(45, 58, 75, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.units-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 56px;
}

.units-heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin: 0;
}

.units-subtext {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray);
  max-width: 320px;
  margin: 0;
  padding-top: 6px;
}

.units-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.units-grid::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--color-gray-light);
}

.unit-badge {
  display: inline-block;
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  padding: 7px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.unit-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

.unit-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-gray);
  margin-bottom: 28px;
}

.unit-text a {
  color: #3E6FA8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.unit-text a:hover {
  color: var(--color-accent);
}

.unit-stats {
  display: flex;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-gray-light);
}

.unit-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.unit-stat-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--color-gray);
}

@media (max-width: 767px) {
  .units-header { flex-direction: column; gap: 16px; }
  .units-heading { font-size: 28px; }
  .units-grid { grid-template-columns: 1fr; gap: 48px; }
  .units-grid::before { left: 0; right: 0; top: 50%; bottom: auto; width: 100%; height: 1px; }
}

/* =========================================================
   Certifications (dark)
   ========================================================= */
.certifications-section {
  background: var(--color-dark);
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.certifications-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin: 16px 0 18px;
}

.certifications-text {
  font-size: 15px;
  line-height: 1.75;
  color: #A7B4C8;
  max-width: 480px;
  margin: 0;
}

.cert-checklist {
  margin-top: 28px;
}

.cert-check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-check-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cert-check-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(224, 123, 57, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.cert-check-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.cert-check-item p {
  font-size: 13.5px;
  color: #9FB3D1;
  line-height: 1.55;
  margin: 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
}

.cert-cell {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 60%);
  transition: background 0.3s ease;
}

.cert-cell:nth-child(2n) { border-right: none; }
.cert-cell:nth-child(n+3) { border-bottom: none; }

.cert-cell:hover { background: rgba(255, 255, 255, 0.05); }

.cert-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--color-accent-light);
  font-size: 22px;
}

.cert-cell h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 6px;
}

.cert-cell p {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #9FB3D1;
  margin: 0;
}

@media (max-width: 991px) {
  .certifications-grid { grid-template-columns: 1fr; gap: 40px; }
  .certifications-heading { font-size: 30px; }
}

@media (max-width: 576px) {
  .cert-cell { padding: 28px 16px; }
}

/* =========================================================
   Our Clients (marquee)
   ========================================================= */
.clients-section {
  background: var(--color-white);
  overflow: hidden;
}

.clients-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.clients-eyebrow {
  justify-content: center;
}

.clients-heading {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin: 0;
}

.clients-marquee {
  display: flex;
  flex-direction: column;
  gap: 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: clients-scroll-left 55s linear infinite;
}

.clients-track--right {
  animation-name: clients-scroll-right;
  animation-duration: 60s;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clients-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes clients-scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.client-logo {
  flex: 0 0 auto;
  width: 150px;
  height: 84px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(26, 34, 48, 0.1);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
}

@media (max-width: 767px) {
  .clients-heading { font-size: 26px; }
  .client-logo { width: 120px; height: 68px; padding: 12px; }
}

/* =========================================================
   Contact / Get a Quote
   ========================================================= */
.contact-section {
  position: relative;
  background-color: var(--color-off-white);
  background-image: radial-gradient(circle, rgba(45, 58, 75, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.contact-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-gray);
  max-width: 460px;
  margin-bottom: 36px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.contact-info-icon--accent {
  color: var(--color-accent);
  border-color: rgba(224, 123, 57, 0.3);
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--color-gray);
  margin: 0;
  line-height: 1.6;
}

.contact-info-item p a {
  color: var(--color-gray);
  transition: color 0.2s ease;
}

.contact-info-item p a:hover {
  color: var(--color-accent);
}

.contact-info-divider {
  color: var(--color-gray-light);
  margin: 0 2px;
}

.contact-socials {
  display: flex;
  gap: 10px;
}

.contact-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-socials a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.contact-form-card {
  position: relative;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(26, 34, 48, 0.12);
  padding: 48px;
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--color-off-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(224, 123, 57, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #A2ABBB;
}

.btn-send-enquiry {
  width: 100%;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 16px;
  border-radius: 8px;
  margin-top: 4px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-send-enquiry:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(224, 123, 57, 0.3);
}

@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-heading { font-size: 28px; }
  .contact-form-card { padding: 32px 24px; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-primary-dark); }

.footer-main {
  color: #C9CFD8;
  padding: 64px 0 40px;
}

.footer-main h5 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-main p { color: #C9CFD8; font-size: 14px; line-height: 1.7; }

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-social a {
  color: var(--color-white);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #C9CFD8; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--color-accent); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact a { color: #C9CFD8; }
.footer-contact a:hover { color: var(--color-accent); }
.footer-contact i { color: var(--color-accent); }

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}
.footer-newsletter .form-control::placeholder { color: #8A93A3; }
.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-accent);
  box-shadow: none;
  color: var(--color-white);
}
.footer-newsletter .form-label { color: #C9CFD8; }

.btn-accent {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-white);
}
.btn-accent:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: var(--color-white); }

.footer-bottom {
  background: var(--color-dark);
  padding: 16px 0;
  font-size: 13px;
  color: #9AA3B2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================================
   Floating actions (WhatsApp + Call)
   ========================================================= */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1035;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(26, 34, 48, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
  color: var(--color-white);
}

.floating-btn--whatsapp { background: #25D366; }
.floating-btn--call { background: var(--color-accent); }

.floating-btn--whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: floating-btn-pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes floating-btn-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

.floating-label {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-btn:hover .floating-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .floating-btn--whatsapp::before { animation: none; }
}

@media (max-width: 767px) {
  .floating-actions { right: 16px; bottom: 16px; gap: 12px; }
  .floating-btn { width: 48px; height: 48px; font-size: 20px; }
  .floating-label { display: none; }
}

/* Mobile Menu Dropdown Distinct Background Fix */
@media (max-width: 991px) {
  .offcanvas-body .mobile-menu .dropdown-menu.show {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 8px !important;
    background-color: rgba(255, 255, 255, 0.07) !important; /* Yahan aap apne hisab se color change kar sakte hain */
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px;
    box-shadow: none;
    transform: none !important;
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 0;
  }
  
  .offcanvas-body .mobile-menu .dropdown-menu .nav-link {
    padding-left: 20px !important;
    color: #fff !important; /* Sub-menu items ka color */
  }
  
  .offcanvas-body .mobile-menu .dropdown-menu .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}


/* =========================================================
   Home Video Start
   ========================================================= */
 .video-wrapper {
  width: 100%;
  margin: 0 auto;
  background: #000;    /* video ke aas-paas gap ho to black background dikhega */
}

.responsive-video {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   JSW STEEL Start
   ========================================================= */
.jsw-auth-section {
    width: 100%;
    padding: 50px 20px;
    background: #f8fafc;
}

.jsw-auth-container {
    max-width: 1100px;
    margin: 0 auto;
}

.jsw-auth-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 35px 45px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.jsw-auth-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #E07B39;
}

.jsw-auth-content {
    flex: 1;
}

.jsw-auth-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1f2937;
}

.jsw-auth-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    color: #172033;
}

.jsw-auth-title span {
    color: #1f398d;
}

.jsw-auth-text {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
}

.jsw-auth-logo {
    flex: 0 0 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 7px 7px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
}

.jsw-auth-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .jsw-auth-section {
        padding: 30px 15px;
    }

    .jsw-auth-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 30px 25px;
    }

    .jsw-auth-title {
        font-size: 24px;
    }

    .jsw-auth-text {
        font-size: 15px;
    }

    .jsw-auth-logo {
        width: 100%;
        flex: auto;
        min-height: 85px;
    }

    .jsw-auth-logo img {
        max-width: 125px;
    }
}
/* =========================================================
   JSW STEEL End
   ========================================================= */





