/**
* Theme: Industrial/manufacturing site, design system ported from the
* "Sarab" HTML template (Bootstrap 5 + Font Awesome + AOS), re-themed
* with Metroniq's own content. Component classes and color/type
* tokens below are intentionally kept close to the source template so
* the whole system stays internally consistent.
*/

.bi-2x {
  font-size: 2em;
}

.bi-spin {
  display: inline-block;
  animation: bi-spin 1s linear infinite;
}

@keyframes bi-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

:root {
  --primary: #0b2f61;
  --secondary: #065299;
  --dark: #1a1a1a;
  --green: #2d6a4f;
  --cream: #f0f3ff;
  --cream2: #fef0dc;
  --light: #f9f5f0;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: #444;
  background: #fff;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  color: var(--dark);
}
a {
  text-decoration: none;
  transition: all 0.3s;
}
img {
  max-width: 100%;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* ===================== TOP BAR ===================== */
#topbar {
  background: #111;
  padding: 8px 0;
  font-size: 0.82rem;
}
#topbar span {
  color: #aaa;
  margin-right: 16px;
}
#topbar span i {
  color: var(--secondary);
  margin-right: 5px;
}
#topbar .tsoc a {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.75rem;
  margin-left: 5px;
  transition: 0.3s;
}
#topbar .tsoc a:hover {
  background: var(--primary);
  color: #fff;
}
.ttag {
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.navbar-brand {
  width: 260px;
}

/* ===================== NAVBAR ===================== */
#nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition: 0.4s;
}
#nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.14);
}
.blogo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}
.bico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.bname {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
}
.bname span {
  color: var(--primary);
}
.bsub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
}
.navbar-nav .nav-link {
  font-size: 0.87rem;
  font-weight: 500;
  color: #333 !important;
  padding: 26px 13px !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  transition: 0.3s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 55%;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 20px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(11, 47, 97, 0.3);
  margin-left: 6px;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 47, 97, 0.4);
  color: #fff !important;
}

/* Capabilities mega-dropdown (new, adapted for this site) */
.mega-dropdown {
  position: static;
}
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 30px;
  background: #fff;
  border-top: 3px solid var(--primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  z-index: 10;
}
.mega-dropdown.active .mega-menu {
  display: block;
}
.mega-menu .mega-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  color: var(--primary);
}
.mega-menu a {
  display: block;
  padding: 8px 4px;
  color: #555;
  font-size: 0.87rem;
  text-decoration: none;
}
.mega-menu a:hover {
  color: var(--primary);
  padding-left: 8px;
}
.mega-menu a i {
  margin-right: 7px;
  color: var(--secondary);
  width: 14px;
  display: inline-block;
  text-align: center;
}
@media (max-width: 991px) {
  .mega-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    padding: 10px 15px;
    background: #faf9f7;
  }
  .mega-menu .row {
    row-gap: 14px;
  }
}

/* ===================== SECTION COMMONS ===================== */
section {
  padding: 88px 0;
}
.slbl {
  font-family: "Dancing Script", cursive;
  font-size: 1.35rem;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}
.stitle {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}
.stitle span {
  color: var(--primary);
}
.sline {
  width: 58px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto 12px;
}
.sline.lft {
  margin-left: 0;
}
.sdesc {
  color: #777;
  font-size: 0.93rem;
  line-height: 1.8;
}
.btn-red {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: 0 8px 24px rgba(11, 47, 97, 0.35);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(11, 47, 97, 0.45);
  color: #fff;
}
.btnw {
  background: #fff;
  color: var(--dark);
  border: none;
  border-radius: 50px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.btnw:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

/* Inner-page banner (about/contact/solutions) — not present in the source
   single-page template, added to fit this multi-page site */
.pgb {
  background: linear-gradient(135deg, var(--dark) 0%, #0d1f36 100%);
  padding: 70px 0 54px;
  position: relative;
  overflow: hidden;
}
.pgb::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 32px 32px;
}
.pgb .container {
  position: relative;
  z-index: 2;
}
.pgb .slbl {
  color: var(--secondary);
}
.pgb h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 8px;
}
.pgb .pgbc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.pgb .pgbc a {
  color: rgba(255, 255, 255, 0.8);
}
.pgb .pgbc a:hover {
  color: var(--secondary);
}
.pgb .pgbc span {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.3);
}

/* ===================== HERO ===================== */
#hero {
  background: var(--cream);
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}
.hero-slide-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-slider .carousel-inner {
  position: relative;
  min-height: 380px;
}
.hero-slider .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
}
.hero-slider .carousel-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-slider .carousel-indicators {
  position: static;
  display: flex;
  justify-content: center;
  margin: 6px 0 0;
}
.hero-slider .carousel-indicators button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(11, 47, 97, 0.2);
  border: none;
  padding: 0;
  opacity: 1;
  margin: 0 5px;
  transition: 0.3s;
}
.hero-slider .carousel-indicators button.active {
  background: var(--primary);
  width: 26px;
  border-radius: 4px;
}
@media (max-width: 767.98px) {
  .hero-slider .carousel-inner {
    min-height: 460px;
  }
}
.hbgtxt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22vw;
  font-weight: 900;
  font-family: "Playfair Display", serif;
  color: rgba(0, 0, 0, 0.04);
  pointer-events: none;
  white-space: nowrap;
}
.hs {
  position: absolute;
  border-radius: 50%;
}
.hs1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(11, 47, 97, 0.07), transparent 70%);
  top: -90px;
  right: -80px;
  animation: fsh 8s ease-in-out infinite;
}
.hs2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 102, 200, 0.09), transparent 70%);
  bottom: -50px;
  left: 8%;
  animation: fsh 10s ease-in-out infinite reverse;
}
@keyframes fsh {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-28px); }
}
.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 30px;
  padding: 6px 16px 6px 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 22px;
}
.hbadge .hbi {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
}
.hbadge span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--dark);
}
.htitle {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
}
.htitle .hl {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.htitle .hl::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 7px;
  background: rgba(11, 47, 97, 0.14);
  border-radius: 4px;
  z-index: -1;
}
.hdesc {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 30px;
}
.hstats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hstat .snum {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--dark);
  display: block;
  line-height: 1;
}
.hstat .snum em {
  color: var(--primary);
  font-style: normal;
}
.hstat small {
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sdiv {
  width: 1px;
  background: #ddd;
  height: 38px;
  align-self: center;
}
.fcoi {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.fcoi.r { background: rgba(11, 47, 97, 0.11); color: var(--primary); }
.fcoi.y { background: rgba(0, 102, 200, 0.14); color: var(--secondary); }
.fcoi.g { background: rgba(45, 106, 79, 0.11); color: var(--green); }

/* ===================== MARQUEE ===================== */
.mqsec {
  background: var(--primary);
  padding: 13px 0;
  overflow: hidden;
}
.mqtrack {
  display: flex;
  gap: 38px;
  white-space: nowrap;
  animation: mqrun 26s linear infinite;
}
.mqitem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
}
.mqitem i {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.55rem;
}
@keyframes mqrun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== CATEGORY ===================== */
#category {
  background: var(--cream);
}
.catcard {
  background: #fff;
  border-radius: 15px;
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
}
.catcard:hover,
.catcard.active {
  transform: translateY(-7px);
  box-shadow: 0 14px 38px rgba(11, 47, 97, 0.14);
  border-color: var(--primary);
}
.catimg {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  transition: 0.4s;
}
.catcard:hover .catimg {
  transform: scale(1.1) rotate(-4deg);
}
.catnm {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
}
.catct {
  font-size: 0.73rem;
  color: #bbb;
}

/* ===================== ABOUT ===================== */
#about {
  background: #fff;
}
.astack {
  position: relative;
}
.amain {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.amain img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.asm {
  position: absolute;
  bottom: -26px;
  right: -26px;
  width: 170px;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
}
.asm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aexp {
  position: absolute;
  top: 28px;
  left: -16px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(11, 47, 97, 0.4);
}
.aexp .anum {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.aexp small {
  font-size: 0.7rem;
  opacity: 0.9;
}
.fti {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
}
.ftico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: 0.3s;
}
.ftico.r { background: rgba(11, 47, 97, 0.1); color: var(--primary); }
.ftico.y { background: rgba(0, 102, 200, 0.11); color: var(--secondary); }
.ftico.g { background: rgba(45, 106, 79, 0.1); color: var(--green); }
.fti:hover .ftico {
  transform: scale(1.1);
}
.fti h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  font-family: "Poppins", sans-serif;
}
.fti p {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
  line-height: 1.6;
}

/* ===================== CAPABILITIES GRID (was: menu) ===================== */
#menu {
  background: var(--light);
}
.filtbtn {
  border: 2px solid #e5e5e5;
  background: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
  margin: 3px;
  font-family: "Poppins", sans-serif;
}
.filtbtn.active,
.filtbtn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 5px 18px rgba(11, 47, 97, 0.24);
}
.mwrap {
  transition: 0.35s;
}
.mwrap.gone {
  display: none !important;
}
.mcard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
  display: block;
  color: inherit;
  height: 100%;
}
.mcard:hover {
  transform: translateY(-9px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.13);
  color: inherit;
}
.mimg {
  position: relative;
  overflow: hidden;
  height: 190px;
  background: var(--cream2);
}
.mimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.mcard:hover .mimg img {
  transform: scale(1.09);
}
.mbdg {
  position: absolute;
  top: 13px;
  left: 13px;
  background: var(--primary);
  color: #fff;
  border-radius: 7px;
  padding: 3px 11px;
  font-size: 0.7rem;
  font-weight: 700;
}
.mbody {
  padding: 18px;
}
.mcat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.mtit {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: "Playfair Display", serif;
  color: var(--dark);
}
.mdesc {
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 13px;
  line-height: 1.5;
}
.mfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mmore {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}
.madd {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 11px rgba(11, 47, 97, 0.28);
  flex-shrink: 0;
}
.mcard:hover .madd {
  transform: scale(1.12) translateX(3px);
}

/* ===================== STATS BANNER (was: special offer) ===================== */
#special {
  background: linear-gradient(135deg, #050f1f 0%, #0a1f3d 100%);
  position: relative;
  overflow: hidden;
}
.spbg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 40px 40px;
}
.sptag {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  border-radius: 6px;
  padding: 4px 15px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.sptitle {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}
.sptitle span {
  color: var(--secondary);
}
.spdesc {
  color: rgba(255, 255, 255, 0.62);
  margin: 18px 0;
  font-size: 0.93rem;
  line-height: 1.8;
}
.cdwrap {
  display: flex;
  gap: 14px;
  margin: 26px 0;
  flex-wrap: wrap;
}
.cditem {
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  padding: 13px 18px;
  min-width: 100px;
}
.cdnum {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1;
}
.cdlbl {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 3px;
  display: block;
}
.spimgw {
  position: relative;
  text-align: center;
}
.spglow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 200, 0.24), transparent 70%);
}
.spimgw img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  border-radius: 14px;
  filter: drop-shadow(0 28px 56px rgba(0, 102, 200, 0.28));
}
.sppbdg {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background: var(--primary);
  color: #fff;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 47, 97, 0.5);
}
.sppbdg .np {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.15;
}

/* ===================== GALLERY ===================== */
#gallery {
  background: var(--light);
}
.ggrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 215px;
  gap: 13px;
}
.gitem {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gitem.big {
  grid-row: span 2;
}
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.gitem:hover img {
  transform: scale(1.08);
}
.gover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76), transparent 60%);
  opacity: 0;
  transition: 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.gitem:hover .gover {
  opacity: 1;
}
.gover span {
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}
.gover i {
  color: var(--secondary);
  margin-right: 5px;
}

/* ===================== OUR PROCESS (was: history/timeline) ===================== */
#history {
  background: var(--cream);
}
.timeline {
  position: relative;
  padding: 18px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  top: 0;
  bottom: 0;
}
.tli {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  margin-bottom: 50px;
  align-items: start;
}
.tl-left {
  padding-right: 32px;
  text-align: right;
}
.tl-center {
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.tl-right {
  padding-left: 32px;
  text-align: left;
}
.tli:nth-child(odd) .tl-right {
  visibility: hidden;
}
.tli:nth-child(even) .tl-left {
  visibility: hidden;
}
.tldot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(11, 47, 97, 0.3);
  flex-shrink: 0;
}
.tlyear {
  font-family: "Dancing Script", cursive;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 3px;
}
.tl-left h5,
.tl-right h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 7px;
  font-family: "Playfair Display", serif;
  color: var(--dark);
}
.tl-left p,
.tl-right p {
  font-size: 0.83rem;
  color: #888;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 767px) {
  .timeline::before { left: 16px; }
  .tli { grid-template-columns: 32px 1fr; gap: 0; }
  .tl-left { display: none; }
  .tl-right {
    display: block !important;
    visibility: visible !important;
    padding-left: 18px;
    text-align: left;
  }
  .tl-center { padding-top: 5px; }
  .tli:nth-child(odd) .tl-right { visibility: visible !important; }
}

/* ===================== CERTIFICATIONS (was: hours) ===================== */
#hours {
  background: linear-gradient(135deg, var(--primary) 50%, var(--secondary));
  position: relative;
  overflow: hidden;
}
.hrsbg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 28px 28px;
}
.hrscard {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 28px;
}
.hrsrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.hrsrow:last-child {
  border: none;
}
.hrsday {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
}
.hrstime {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.hdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.hdot.on {
  background: #4ade80;
  box-shadow: 0 0 7px #4ade80;
}
.hrscta {
  background: var(--primary);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(11, 47, 97, 0.4);
}
.hrscta h4 {
  color: #fff;
  margin-bottom: 8px;
}
.hrscta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  margin-bottom: 20px;
}

/* ===================== REQUEST A QUOTE (was: reservation) / CONTACT FORM ===================== */
#reservation, #contact-section {
  background: var(--light);
}
#contact-section {
  background: #fff;
}
.resico {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: rgba(11, 47, 97, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.flbl {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
  display: block;
}
.fctrl {
  width: 100%;
  border: 2px solid #eee;
  border-radius: 9px;
  padding: 11px 15px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: 0.3s;
  color: var(--dark);
  background: #fff;
  appearance: auto;
}
.fctrl:focus {
  border-color: var(--primary);
}
.fcard-form {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}
.sucmsg {
  text-align: center;
  padding: 16px;
  background: rgba(45, 106, 79, 0.07);
  border-radius: 11px;
  margin-bottom: 20px;
}
.sucmsg i {
  color: var(--green);
  font-size: 1.4rem;
  margin-right: 8px;
}
.sucmsg strong {
  color: var(--green);
}
.errmsg {
  padding: 16px;
  background: rgba(11, 47, 97, 0.07);
  border-radius: 11px;
  margin-bottom: 20px;
  color: #c01e12;
}
.errmsg ul {
  margin: 0;
  padding-left: 18px;
}

/* ===================== CONTACT PANEL ===================== */
.ctdark {
  background: var(--dark);
  border-radius: 18px;
  padding: 38px;
  height: 100%;
}
.ctdark h3, .ctdark h4 {
  color: #fff;
  margin-bottom: 7px;
}
.ctdark .ctsub {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  margin-bottom: 26px;
}
.ctitem {
  display: flex;
  gap: 13px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.cticon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(0, 102, 200, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ctinfo strong {
  display: block;
  color: #aaa;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1px;
  font-family: "Poppins", sans-serif;
}
.ctinfo span {
  color: #fff;
  font-size: 0.87rem;
}
.ctsocrow {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.ctsocrow a {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  transition: 0.3s;
}
.ctsocrow a:hover {
  background: var(--primary);
  color: #fff;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--dark);
  padding: 68px 0 0;
}
.flogo {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 4px;
}
.flogo img {
  display: block;
  width: 220px;
}
.fdesc {
  color: #777;
  font-size: 0.86rem;
  line-height: 1.8;
  margin-top: 9px;
}
.fsoc {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.fsoc a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 0.88rem;
  transition: 0.3s;
}
.fsoc a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.ftit {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
  font-family: "Poppins", sans-serif;
}
.flinks li {
  list-style: none;
  margin-bottom: 8px;
}
.flinks a {
  color: #777;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: 0.3s;
}
.flinks a:hover {
  color: var(--secondary);
  padding-left: 5px;
}
.flinks a i {
  color: var(--secondary);
  font-size: 0.62rem;
}
.fci {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 14px;
}
.fciico {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(0, 102, 200, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.82rem;
  flex-shrink: 0;
}
.fciinfo {
  color: #777;
  font-size: 0.83rem;
  line-height: 1.6;
}
.fciinfo strong {
  color: #bbb;
  display: block;
  font-size: 0.77rem;
}
.fbot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  margin-top: 46px;
}
.fbot p {
  color: #555;
  font-size: 0.8rem;
  margin: 0;
}
.fbot span {
  color: var(--secondary);
}

/* ===================== CAPABILITY CONTENT BOX (new, replaces old inline-styled boxes) ===================== */
.cap-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}
.cap-box:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.capabilities-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
}
.capabilities-p {
  color: #777;
  line-height: 1.8;
}

/* Generic content styling for the capability service pages (added:
   these pages are hand-written per-capability with plain Bootstrap
   markup, so the rules below give bare h3/h4/ul/img a consistent,
   on-brand look without requiring each page to be rebuilt). */
.main .section h3 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--dark);
  margin-bottom: 12px;
}
.main .section .text-center h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 14px auto 0;
}
.main .section h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--dark);
}
.main .section img {
  border-radius: 14px;
}
.main .section p {
  color: #777;
  line-height: 1.75;
}
.main .section ul.cap-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.main .section ul.cap-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: #555;
  line-height: 1.6;
}
.main .section ul.cap-list li::before {
  content: "\f26a";
  font-family: bootstrap-icons;
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--secondary);
  font-weight: 400;
}

/* Numbered process-step cards (e.g. "01 Design Overview") */
.cap-step {
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.cap-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}
.cap-step .cap-step-num {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 6px;
}
.cap-step h4 {
  margin-bottom: 8px;
}

/* Surface finish / method grid cards — replaces the old
   style="border:2px solid #999" boxes used across several
   capability pages */
.finish-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}
.finish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}
.finish-card img {
  width: 100% !important;
  /* max-width: 110px; */
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 16px !important;
  padding: 0px;
  display: block;
  border-radius: 12px;
  /* background: var(--cream); */
}
.finish-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.finish-card p {
  color: #777;
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}

/* ===================== UTILITIES ===================== */
#btt {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(11, 47, 97, 0.38);
  opacity: 0;
  transform: translateY(18px);
  transition: 0.4s;
}
#btt.show {
  opacity: 1;
  transform: translateY(0);
}
#btt:hover {
  transform: translateY(-4px) !important;
}

/* ===================== GALLERY LIGHTBOX POPUP ===================== */
#galPop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.96);
  align-items: center;
  justify-content: center;
  padding: 18px;
}
#galPop.open {
  display: flex;
  animation: fadeov 0.28s ease;
}
@keyframes fadeov {
  from { opacity: 0; }
  to { opacity: 1; }
}
.gpbox {
  max-width: 880px;
  width: 100%;
  position: relative;
  text-align: center;
}
.gpbox img {
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 14px;
}
.gpclose {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.gpclose:hover {
  background: var(--primary);
}
.gpcap {
  color: #fff;
  margin-top: 18px;
}
.gpcap h5 {
  font-size: 1.25rem;
  margin-bottom: 5px;
  color: #fff;
}
.gpcap p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}
.gpnav {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 14px;
}
.gpnav button {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 50px;
  padding: 7px 20px;
  cursor: pointer;
  font-size: 0.83rem;
  font-family: "Poppins", sans-serif;
  transition: 0.3s;
}
.gpnav button:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .hcircle { width: 320px; height: 320px; }
  .fc1, .fc2, .fc3 { transform: scale(0.82); transform-origin: center; }
  .ggrid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .gitem.big { grid-row: span 1; }
  .asm { display: none; }
}
@media (max-width: 767px) {
  section { padding: 55px 0; }
  #topbar .top-contact span:last-child { display: none; }
  .hcircle { width: 260px; height: 260px; }
  .fcard.fc1, .fcard.fc2, .fcard.fc3 { display: none !important; }
  .hstats { display: none !important; }
  .ggrid { grid-template-columns: 1fr 1fr; }
  .cdwrap { gap: 8px; }
  .cditem { min-width: 56px; padding: 9px; }
  .fcard-form { padding: 22px 18px; }
}
@media (max-width: 480px) {
  .hcircle { width: 220px; height: 220px; }
  .htitle { font-size: 2.4rem; }
  .stitle { font-size: 1.8rem; }
}
