/* ==========================================================
   J & S Consultants – Main Stylesheet
   ========================================================== */

:root {
  --navy: #0d2340;
  --navy-2: #13315a;
  --navy-3: #1c4277;
  --orange: #f37021;
  --orange-2: #ff8a3d;
  --red: #e3262d;
  --light: #f4f6fa;
  --muted: #6b7a90;
  --text: #24324a;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 35, 64, .10);
  --shadow-lg: 0 20px 50px rgba(13, 35, 64, .18);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  /* clips on mobile too, without breaking the sticky navbar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .3px;
  line-height: 1.15;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color .3s;
}

a:hover {
  color: var(--navy);
}

img {
  max-width: 100%;
}

::selection {
  background: var(--orange);
  color: #fff;
}

.text-orange {
  color: var(--orange) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.bg-light-2 {
  background: var(--light);
}

.bg-navy {
  background: var(--navy);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-sm {
  padding: 70px 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Buttons ---------- */
.btn-brand,
.btn-outline-brand {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .4s var(--ease);
}

.btn-brand {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
}

.btn-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
  z-index: -1;
}

.btn-brand:hover {
  color: #fff;
  border-color: var(--navy);
}

.btn-brand:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline-brand {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline-brand:hover {
  background: #fff;
  color: var(--navy);
}

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  padding: 8px 0;
}

.topbar a {
  color: rgba(255, 255, 255, .85);
}

.topbar a:hover {
  color: var(--orange);
}

.topbar i {
  color: var(--orange);
  margin-right: 6px;
}

.topbar .social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  margin-left: 6px;
}

.topbar .social a i {
  color: #fff;
  margin: 0;
  font-size: .8rem;
}

.topbar .social a:hover {
  background: var(--orange);
}

/* ---------- Navbar ---------- */
.main-nav {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(13, 35, 64, .06);
  transition: all .4s var(--ease);
  z-index: 1030;
}

.main-nav.scrolled {
  padding: 4px 0;
  box-shadow: 0 8px 30px rgba(13, 35, 64, .12);
}

.main-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav .navbar-brand img {
  height: 62px;
  transition: height .4s var(--ease);
}

.main-nav.scrolled .navbar-brand img {
  height: 50px;
}

.brand-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.55rem;
  color: var(--navy);
  line-height: 1;
}

.brand-text strong span {
  color: var(--red);
}

.brand-text small {
  color: #0d2340;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.main-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--navy);
  padding: 10px 14px !important;
  position: relative;
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--orange);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  transform: scaleX(1);
}

.main-nav .dropdown-toggle::after {
  border: 0;
}

.main-nav .dropdown-menu {
  border: 0;
  border-top: 3px solid var(--orange);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 230px;
}

.main-nav .dropdown-item {
  font-weight: 500;
  padding: 9px 22px;
  color: var(--navy);
  transition: all .3s;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item.active {
  background: var(--light);
  color: var(--orange);
  padding-left: 28px;
}

@media (min-width: 1200px) {
  .main-nav .dropdown:hover>.dropdown-menu {
    display: block;
    animation: dropIn .35s var(--ease);
  }

  .main-nav .dropdown-menu {
    margin-top: 0;
  }

  /* keep two-word items like "Our Team" on one line */
  .main-nav .nav-link {
    white-space: nowrap;
  }
}

/* smaller desktops: a little less space between menu items so all fit */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .main-nav .nav-link {
    padding: 10px 10px !important;
  }

  .main-nav .nav-link::after {
    left: 10px;
    right: 10px;
  }
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
  font-size: 1.8rem;
  color: var(--navy);
}

@media (max-width: 1199.98px) {
  .navbar-toggler {
    position: relative;
    z-index: 2;
  }

  /* Hamburger button */
  .navbar-toggler {
    width: 46px;
    height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--light);
    font-size: 1.6rem;
    transition: background .3s, color .3s;
  }

  .navbar-toggler:hover,
  .navbar-toggler:focus {
    background: var(--navy);
    color: #fff;
  }

  /* Off-canvas drawer that slides in from the left */
  .main-nav .navbar-collapse,
  .main-nav .navbar-collapse.collapsing {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s, box-shadow .4s;
  }

  .navbar-toggler[aria-expanded="true"]~.navbar-collapse {
    transform: none;
    visibility: visible;
    box-shadow: 0 0 0 100vmax rgba(13, 35, 64, .55);
    transition: transform .4s var(--ease), visibility 0s, box-shadow .4s;
  }

  /* Drawer header: logo + close (X) */
  .drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: var(--navy);
    border-bottom: 3px solid var(--orange);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .drawer-brand img {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 10px;
    background: #fff;
    padding: 2px;
  }

  .drawer-brand span {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: .5px;
    color: #fff;
    white-space: nowrap;
  }

  .drawer-brand span em {
    font-style: normal;
    color: var(--orange);
  }

  .drawer-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.1rem;
    transition: background .3s, transform .4s var(--ease);
  }

  .drawer-close:hover,
  .drawer-close:focus-visible {
    background: var(--orange);
    transform: rotate(90deg);
  }

  /* Menu links as full-width rows */
  .main-nav .navbar-collapse .navbar-nav {
    width: 100%;
    margin-left: 0 !important;
    padding: 10px 12px;
    flex: 1 0 auto;
  }

  .main-nav .navbar-collapse .nav-item {
    border-bottom: 1px solid #eef1f6;
  }

  .main-nav .navbar-collapse .nav-item:last-child {
    border-bottom: 0;
  }

  .main-nav .navbar-collapse .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px !important;
    margin: 3px 0;
    border-radius: 10px;
    transition: background .3s, color .3s, padding .3s;
  }

  .main-nav .navbar-collapse .nav-link > .bi:first-child {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--light);
    color: var(--navy);
    font-size: 1rem;
    transition: background .3s, color .3s;
  }

  .main-nav .navbar-collapse .nav-link .bi-chevron-down {
    margin-left: auto;
    transition: transform .3s;
  }

  .main-nav .navbar-collapse .nav-link.show .bi-chevron-down {
    transform: rotate(180deg);
  }

  .main-nav .navbar-collapse .nav-link:hover,
  .main-nav .navbar-collapse .nav-link.active,
  .main-nav .navbar-collapse .nav-link.show {
    background: #fff4ec;
    color: var(--orange);
  }

  .main-nav .navbar-collapse .nav-link:hover > .bi:first-child,
  .main-nav .navbar-collapse .nav-link.active > .bi:first-child,
  .main-nav .navbar-collapse .nav-link.show > .bi:first-child {
    background: var(--orange);
    color: #fff;
  }

  /* Sub-menu inside the drawer */
  .main-nav .navbar-collapse .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--orange);
    border-radius: 0;
    margin: 0 0 8px 29px;
    padding: 2px 0;
    min-width: 0;
    background: transparent;
  }

  .main-nav .navbar-collapse .dropdown-item {
    padding: 9px 16px;
    font-size: .95rem;
    border-radius: 0 8px 8px 0;
  }

  .main-nav .navbar-collapse .dropdown-item:hover,
  .main-nav .navbar-collapse .dropdown-item.active {
    padding-left: 22px;
  }

  /* Drawer footer: quick contact */
  .drawer-foot {
    padding: 18px;
    background: var(--light);
    border-top: 1px solid #e3e8f0;
  }

  .drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .drawer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 10px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    transition: transform .3s var(--ease), box-shadow .3s;
  }

  .drawer-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }

  .drawer-call {
    background: var(--orange);
  }

  .drawer-wa {
    background: #25d366;
  }

  .drawer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: .9rem;
    color: var(--muted);
    word-break: break-word;
  }

  .drawer-info i {
    color: var(--orange);
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .brand-text small {
    display: none;
  }

  /* stop the page scrolling behind the open drawer */
  body.menu-open {
    overflow: hidden;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 110px 0 140px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  right: -200px;
  top: -200px;
  background: radial-gradient(circle, rgba(243, 112, 33, .35), transparent 65%);
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes gridMove {
  to {
    background-position: 40px 40px;
  }
}

@keyframes pulseGlow {
  50% {
    transform: scale(1.15);
    opacity: .7;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 112, 33, .15);
  border: 1px solid rgba(243, 112, 33, .5);
  color: var(--orange-2);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  margin: 22px 0;
  text-transform: uppercase;
}

.hero h1 .typed {
  color: var(--orange);
  border-right: 3px solid var(--orange);
  padding-right: 4px;
  animation: caret .8s step-end infinite;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

.hero p.lead {
  color: rgba(255, 255, 255, .8);
  font-size: 1.2rem;
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.hero-badges div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.hero-badges i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--orange);
  font-size: 1.2rem;
}

.hero-visual {
  position: relative;
  height: 520px;
}

.hero-visual .hv {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
  border: 5px solid rgba(255, 255, 255, .95);
}

.hero-visual .hv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual .hv-1 {
  width: 58%;
  height: 78%;
  right: 0;
  top: 0;
  animation: float 7s ease-in-out infinite;
}

.hero-visual .hv-2 {
  width: 50%;
  height: 45%;
  left: 0;
  top: 12%;
  animation: float 7s ease-in-out infinite 1.5s;
}

.hero-visual .hv-3 {
  width: 46%;
  height: 38%;
  left: 12%;
  bottom: 0;
  animation: float 7s ease-in-out infinite 3s;
}

.hero-visual .hv-badge {
  position: absolute;
  right: 8%;
  bottom: 4%;
  z-index: 3;
  background: var(--orange);
  color: #fff;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 15px 40px rgba(243, 112, 33, .5);
  text-align: center;
  animation: float 5s ease-in-out infinite .5s;
}

.hv-badge strong {
  font-family: var(--font-head);
  font-size: 2.6rem;
  display: block;
  line-height: 1;
}

.hv-badge span {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes float {
  50% {
    transform: translateY(-16px);
  }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

@media (max-width: 991.98px) {
  .hero {
    padding: 70px 0 110px;
    text-align: center;
  }

  .hero p.lead {
    margin: 0 auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    height: 400px;
    margin-top: 50px;
  }
}

@media (max-width: 575.98px) {
  .hero-visual {
    height: 300px;
  }

  .hv-badge strong {
    font-size: 1.8rem;
  }
}

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 110px 0 90px;
  color: #fff;
  text-align: center;
  background: linear-gradient(120deg, rgba(13, 35, 64, .95), rgba(13, 35, 64, .78)), url('../images/crane-sunset.jpg') center/cover;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-transform: uppercase;
}

.page-banner .breadcrumb {
  justify-content: center;
  margin: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, .8);
}

.page-banner .breadcrumb-item.active {
  color: var(--orange);
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .5);
}

/* ---------- Section titles ---------- */
.section-title {
  margin-bottom: 55px;
}

.section-title .sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 1rem;
}

.section-title .sub::before,
.section-title.text-center .sub::after {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--orange);
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 10px;
  text-transform: uppercase;
}

.section-title h2 span {
  color: var(--orange);
}

.section-title p {
  color: var(--muted);
  max-width: 680px;
}

.section-title.text-center p {
  margin: 0 auto;
}

.section-title.light h2 {
  color: #fff;
}

.section-title.light p {
  color: rgba(255, 255, 255, .7);
}

/* ---------- Feature strip ---------- */
.feature-strip {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.feature-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform .4s var(--ease);
  border-bottom: 4px solid transparent;
}

.feature-box:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--orange);
}

.feature-box .ic {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.feature-box h5 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.feature-box p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

/* ---------- About ---------- */
.about-img-wrap {
  position: relative;
  padding: 0 40px 40px 0;
}

.about-img-wrap .main-img {
  border-radius: 20px;
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap .sub-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap .exp-badge {
  position: absolute;
  left: -15px;
  top: 30px;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--orange);
}

.exp-badge strong {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--orange);
  line-height: 1;
  display: block;
}

.exp-badge span {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  left: -30px;
  bottom: 10px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(var(--orange) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: .5;
  z-index: -1;
}

@media (max-width: 575.98px) {
  .about-img-wrap {
    padding: 0 0 30px;
  }

  .about-img-wrap .main-img {
    height: 320px;
  }

  .about-img-wrap .sub-img {
    height: 150px;
  }

  .about-img-wrap .exp-badge {
    left: 10px;
    top: 10px;
    padding: 14px 18px;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-weight: 500;
}

.check-list li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(243, 112, 33, .12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.director-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--light);
  border-left: 4px solid var(--orange);
  margin-top: 28px;
}

.director-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}

.director-card h6 {
  margin: 0;
  font-size: 1.3rem;
}

.director-card small {
  color: var(--muted);
}

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px 30px;
  height: 100%;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .45s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card .num {
  position: absolute;
  right: 22px;
  top: 12px;
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(13, 35, 64, .06);
  transition: color .4s;
}

.service-card .ic {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 22px;
  background: rgba(243, 112, 33, .1);
  color: var(--orange);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .45s var(--ease);
}

.service-card h4 {
  font-size: 1.5rem;
  transition: color .4s;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 18px;
  transition: color .4s;
}

.service-card .more {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card .more i {
  transition: transform .3s;
  display: inline-block;
}

.service-card:hover .more i {
  transform: translateX(6px);
}

.service-card:hover h4,
.service-card:hover .more {
  color: #fff;
}

.service-card:hover p {
  color: rgba(255, 255, 255, .75);
}

.service-card:hover .num {
  color: rgba(255, 255, 255, .08);
}

.service-card:hover .ic {
  background: var(--orange);
  color: #fff;
  transform: rotateY(360deg);
}

/* ---------- Counter ---------- */
.counter-section {
  background: linear-gradient(120deg, rgba(13, 35, 64, .95), rgba(19, 49, 90, .9)), url('../images/hero-building.jpg') center/cover fixed;
  color: #fff;
  padding: 80px 0;
}

.counter-box {
  text-align: center;
  padding: 20px;
}

.counter-box i {
  font-size: 2.6rem;
  color: var(--orange);
}

.counter-box h3 {
  color: #fff;
  font-size: 3.4rem;
  margin: 10px 0 0;
}

.counter-box p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .9rem;
}

@media (max-width: 991.98px) {
  .counter-section {
    background-attachment: scroll;
  }
}

/* ---------- Process ---------- */
.process-wrap {
  position: relative;
}

.process-wrap::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 20px);
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 8px;
}

.process-step .circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px;
  position: relative;
  background: #fff;
  border: 3px solid var(--orange);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: var(--shadow);
  transition: all .45s var(--ease);
}

.process-step:hover .circle {
  background: var(--orange);
  color: #fff;
  transform: scale(1.08);
}

.process-step .circle span {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
}

.process-step h5 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.process-step p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .process-wrap::before {
    display: none;
  }
}

/* ---------- Packages ---------- */
.package-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all .45s var(--ease);
}

.package-card:hover {
  transform: translateY(-10px);
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.package-card.featured {
  background: var(--navy);
  color: #fff;
}

.package-card.featured h4,
.package-card.featured .price {
  color: #fff;
}

.package-card .ribbon {
  position: absolute;
  top: 18px;
  right: -38px;
  transform: rotate(45deg);
  background: var(--orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 44px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.package-card .ic {
  font-size: 2.6rem;
  color: var(--orange);
}

.package-card h4 {
  font-size: 1.45rem;
  margin: 10px 0 14px;
  text-transform: uppercase;
}

.package-card .price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.package-card .price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--orange);
}

.package-card p {
  font-size: .95rem;
  opacity: .8;
  margin: 14px 0 22px;
}

/* ---------- Our Projects (projects page) ---------- */
.prj-stats {
  margin-bottom: 34px;
}

.prj-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 20px;
  background: #fff;
  border-radius: 14px;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 6px 22px rgba(13, 35, 64, .06);
}

.prj-stat > i {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 1.35rem;
}

.prj-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--navy);
}

.prj-stat small {
  color: var(--muted);
  font-weight: 600;
  font-size: .85rem;
}

.prj-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(13, 35, 64, .07);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.prj-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.prj-media {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.prj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.prj-card:hover .prj-media img {
  transform: scale(1.08);
}

/* no photo: navy blueprint panel with a big icon */
.prj-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 80% 110%, rgba(243, 112, 33, .45), transparent 55%),
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}

.prj-placeholder i {
  font-size: 3.6rem;
  color: rgba(255, 255, 255, .9);
  transition: transform .6s var(--ease), color .4s;
}

.prj-card:hover .prj-placeholder i {
  transform: scale(1.12) rotate(-6deg);
  color: var(--orange);
}

.prj-status,
.prj-type {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.prj-status {
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.prj-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.prj-status.completed {
  background: #16a34a;
}

.prj-status.running {
  background: var(--orange);
}

.prj-status.running::before {
  animation: prjPulse 1.4s ease-in-out infinite;
}

@keyframes prjPulse {
  50% {
    opacity: .25;
    transform: scale(1.6);
  }
}

.prj-type {
  right: 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
}

.prj-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.prj-body h5 {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.prj-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  margin-bottom: 16px;
}

.prj-loc i {
  color: var(--orange);
}

.prj-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed #dde3ec;
}

.prj-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--light);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 600;
}

.prj-meta i {
  color: var(--orange);
}

/* ---------- Packages (services page) ---------- */
.pkg-section {
  position: relative;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(13, 35, 64, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 35, 64, .045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.pkg-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e3e8f0;
  box-shadow: 0 6px 22px rgba(13, 35, 64, .06);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}

/* orange line that grows on hover */
.pkg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.pkg-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.pkg-card:hover::before {
  transform: scaleX(1);
}

.pkg-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pkg-ic {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff1e7;
  color: var(--orange);
  font-size: 1.75rem;
  transition: background .4s, color .4s, transform .5s var(--ease);
}

.pkg-card:hover .pkg-ic {
  background: var(--orange);
  color: #fff;
  transform: rotate(-8deg) scale(1.05);
}

.pkg-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.5px #d5dce7;
  transition: -webkit-text-stroke-color .4s;
}

.pkg-card:hover .pkg-num {
  -webkit-text-stroke-color: var(--orange);
}

.pkg-card h4 {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.pkg-card p {
  color: var(--muted);
  font-size: .98rem;
  margin-bottom: 22px;
}

.pkg-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--light);
  border-left: 4px solid var(--orange);
  margin-bottom: 20px;
}

.pkg-price .amt {
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.pkg-price .unit {
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange);
  background: #fff1e7;
  padding: 3px 10px;
  border-radius: 50px;
}

.pkg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 2px solid var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  transition: all .35s var(--ease);
}

.pkg-btn i {
  transition: transform .35s var(--ease);
}

.pkg-btn:hover,
.pkg-card:hover .pkg-btn {
  background: var(--navy);
  color: #fff;
}

.pkg-btn:hover i {
  transform: translateX(5px);
}

/* featured (popular) package */
.pkg-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, #16325a 100%);
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(13, 35, 64, .28);
}

.pkg-card.featured::before {
  transform: scaleX(1);
}

.pkg-card.featured::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 112, 33, .35), transparent 70%);
  pointer-events: none;
}

.pkg-card.featured h4,
.pkg-card.featured .pkg-price .amt {
  color: #fff;
}

.pkg-card.featured p {
  color: rgba(255, 255, 255, .72);
}

.pkg-card.featured .pkg-ic {
  background: var(--orange);
  color: #fff;
}

.pkg-card.featured .pkg-num {
  -webkit-text-stroke-color: rgba(255, 255, 255, .25);
}

.pkg-card.featured .pkg-price {
  background: rgba(255, 255, 255, .08);
}

.pkg-card.featured .pkg-price .unit {
  background: rgba(243, 112, 33, .2);
}

.pkg-card.featured .pkg-btn,
.pkg-card.featured:hover .pkg-btn {
  position: relative;
  z-index: 1;
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pkg-card.featured .pkg-btn:hover {
  background: var(--orange-dark, #d95d12);
  border-color: var(--orange-dark, #d95d12);
}

.pkg-badge {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(243, 112, 33, .4);
}

.pkg-badge i {
  font-size: .7rem;
}

@media (max-width: 575.98px) {
  .pkg-card {
    padding: 26px 22px 22px;
  }

  .pkg-num {
    font-size: 2.5rem;
  }

  .pkg-price .amt {
    font-size: 2rem;
  }
}

/* ---------- Why choose ---------- */
.why-section {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.why-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.why-item .ic {
  flex: 0 0 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px dashed var(--orange);
  color: var(--orange);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s;
}

.why-item:hover .ic {
  background: var(--orange);
  color: #fff;
  border-style: solid;
  transform: rotate(360deg);
}

.why-item h5 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.why-item p {
  color: rgba(255, 255, 255, .7);
  margin: 0;
  font-size: .95rem;
}

.why-img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .4);
}

/* ---------- Projects / Gallery ---------- */
.filter-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
}

.filter-btns button {
  border: 2px solid var(--light);
  background: var(--light);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 24px;
  border-radius: 50px;
  transition: all .3s;
}

.filter-btns button:hover,
.filter-btns button.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.grid-item {
  transition: opacity .4s, transform .4s;
}

.grid-item.hide {
  display: none;
}

.grid-item.show-anim {
  animation: zoomIn .5s var(--ease);
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(.9);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gallery-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--light);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .8s var(--ease);
}

.gallery-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  background: linear-gradient(to top, rgba(13, 35, 64, .92), rgba(13, 35, 64, .2) 60%, transparent);
  opacity: 0;
  transition: opacity .45s;
}

.gallery-card .overlay .zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.5);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform .45s var(--ease);
}

.gallery-card .overlay h6 {
  color: #fff;
  margin: 0;
  font-size: 1.2rem;
  transform: translateY(15px);
  transition: transform .45s;
}

.gallery-card .overlay small {
  color: var(--orange-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .78rem;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card:hover .overlay {
  opacity: 1;
}

.gallery-card:hover .overlay .zoom {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-card:hover .overlay h6 {
  transform: none;
}

.project-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: all .45s var(--ease);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card .thumb {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .8s var(--ease);
}

.project-card:hover .thumb img {
  transform: scale(1.1);
}

.project-card .thumb .cat {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--orange);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 50px;
}

.project-card .body {
  padding: 24px;
}

.project-card h5 {
  font-size: 1.35rem;
}

.project-card .meta {
  color: var(--muted);
  font-size: .9rem;
}

.project-card .meta i {
  color: var(--orange);
}

/* ---------- Clients marquee ---------- */
.marquee {
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--light), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--light), transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

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

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.client-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 26px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  font-weight: 600;
  color: var(--navy);
}

.client-chip i {
  color: var(--orange);
  font-size: 1.5rem;
}

/* ---------- Team ---------- */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 32px 22px 26px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all .45s var(--ease);
}

.team-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card .avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h5 {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.team-card .role {
  color: var(--orange);
  font-weight: 600;
  font-size: .95rem;
}

.team-card .qual {
  color: var(--muted);
  font-size: .88rem;
  margin-top: 8px;
  line-height: 1.4;
}

.team-card .exp {
  display: inline-block;
  margin-top: 12px;
  background: var(--light);
  color: var(--navy);
  border-radius: 50px;
  padding: 3px 14px;
  font-size: .82rem;
  font-weight: 600;
}

/* ---------- Vision / Mission ---------- */
.vm-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px 34px;
  height: 100%;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--orange);
  transition: transform .4s var(--ease);
}

.vm-card:hover {
  transform: translateY(-6px);
}

.vm-card .ic {
  font-size: 2.6rem;
  color: var(--orange);
}

.vm-card h3 {
  font-size: 1.9rem;
  text-transform: uppercase;
  margin: 12px 0;
}

.goal-box {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
  border-radius: 18px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.goal-box i.bi-quote {
  position: absolute;
  font-size: 9rem;
  opacity: .15;
  left: 20px;
  top: -30px;
}

.goal-box h3 {
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.goal-box p {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.3;
  margin: 0;
  font-weight: 600;
}

/* ---------- Lab tests ---------- */
.test-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
  overflow: hidden;
  transition: all .4s var(--ease);
}

.test-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.test-card .head {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: #fff;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-card .head i {
  font-size: 1.9rem;
  color: var(--orange);
}

.test-card .head h5 {
  color: #fff;
  margin: 0;
  font-size: 1.35rem;
}

.test-card .head .count {
  margin-left: auto;
  background: var(--orange);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  padding: 2px 12px;
}

.test-card ul {
  list-style: none;
  padding: 20px 26px;
  margin: 0;
  columns: 1;
}

.test-card ul li {
  padding: 7px 0;
  border-bottom: 1px dashed #e3e8ef;
  font-size: .97rem;
  display: flex;
  gap: 10px;
}

.test-card ul li:last-child {
  border: 0;
}

.test-card ul li i {
  color: var(--orange);
}

.equip-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--navy);
  height: 100%;
  transition: all .3s;
}

.equip-chip i {
  color: var(--orange);
  font-size: 1.3rem;
}

.equip-chip:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-4px);
}

/* ---------- Training ---------- */
.module-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--navy);
  height: 100%;
  transition: all .35s;
  border-left: 4px solid var(--orange);
}

.module-item:hover {
  transform: translateX(6px);
}

.module-item span {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(243, 112, 33, .12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
}

.duration-card {
  background: #fff;
  border-radius: 18px;
  padding: 34px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all .4s var(--ease);
}

.duration-card:hover {
  border-color: var(--orange);
  transform: translateY(-8px);
}

.duration-card strong {
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--orange);
  line-height: 1;
  display: block;
}

.duration-card span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--orange), var(--red));
  color: #fff;
  border-radius: 22px;
  padding: 55px 50px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .1);
  animation: spin 25s linear infinite;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  text-transform: uppercase;
}

.cta p {
  color: rgba(255, 255, 255, .9);
  margin: 0;
}

.cta .btn-light {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  color: var(--navy);
}

.cta .btn-light:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

@media (max-width: 767.98px) {
  .cta {
    padding: 40px 26px;
    text-align: center;
  }
}

/* ---------- Contact ---------- */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  height: 100%;
  text-align: center;
  transition: all .4s var(--ease);
  border-bottom: 4px solid transparent;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--orange);
}

.contact-info-card .ic {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}

.contact-info-card h5 {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.contact-info-card p {
  color: var(--muted);
  margin: 0;
  font-size: .97rem;
}

.contact-info-card p a {
  color: var(--muted);
}

.contact-info-card p a:hover {
  color: var(--orange);
}

.contact-form {
  background: #fff;
  border-radius: 18px;
  padding: 42px;
  box-shadow: var(--shadow-lg);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e6ebf2;
  border-radius: 10px;
  padding: 13px 16px;
  background: var(--light);
  transition: all .3s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(243, 112, 33, .12);
  background: #fff;
}

.contact-form label {
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
  margin-bottom: 6px;
}

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 575.98px) {
  .contact-form {
    padding: 28px 20px;
  }
}

/* ---------- Certificates ---------- */
.cert-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  height: 100%;
  border-left: 4px solid var(--navy);
  transition: all .35s;
}

.cert-card:hover {
  border-left-color: var(--orange);
  transform: translateY(-5px);
}

.cert-card i {
  font-size: 2.3rem;
  color: var(--orange);
}

.cert-card h6 {
  margin: 0;
  font-size: 1.2rem;
}

.cert-card small {
  color: var(--muted);
  word-break: break-word;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a1b32;
  color: rgba(255, 255, 255, .72);
  padding-top: 85px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.footer .container {
  position: relative;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 66px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.footer-logo strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
  display: block;
}

.footer-logo small {
  color: var(--orange);
  font-size: .75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer h5 {
  color: #fff;
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 26px;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 3px;
  background: var(--orange);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 11px;
}

.footer ul li a {
  color: rgba(255, 255, 255, .72);
  transition: all .3s;
}

.footer ul li a::before {
  content: '\F285';
  font-family: 'bootstrap-icons';
  font-size: .7rem;
  margin-right: 8px;
  color: var(--orange);
}

.footer ul li a:hover {
  color: var(--orange);
  padding-left: 6px;
}

.footer .contact-li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer .contact-li i {
  color: var(--orange);
  font-size: 1.15rem;
  margin-top: 2px;
}

.footer .contact-li a {
  color: rgba(255, 255, 255, .72);
}

.footer .contact-li a:hover {
  color: var(--orange);
}

.footer .social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: all .3s;
}

.footer .social a:hover {
  background: var(--orange);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 55px;
  padding: 22px 0;
  font-size: .92rem;
}

.footer-bottom a {
  color: var(--orange);
}

/* ---------- Floating buttons ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
  transition: all .4s var(--ease);
}

.back-to-top {
  bottom: 22px;
  background: var(--orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 575.98px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }
}

/* Side call / WhatsApp tabs (right edge) */
.side-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.side-contact a {
  height: 54px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.45rem;
  border-radius: 8px 0 0 8px;
  flex-direction: row-reverse;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  transition: filter .3s;
}

.side-contact a i {
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.side-contact a span {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .5px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .4s var(--ease), opacity .3s, margin .4s var(--ease);
}

.side-contact a:hover,
.side-contact a:focus-visible {
  color: #fff;
  filter: brightness(1.08);
}

.side-contact a:hover span,
.side-contact a:focus-visible span {
  max-width: 180px;
  opacity: 1;
  margin-right: 10px;
}

.side-contact .sc-call {
  background: #c8102e;
}

.side-contact .sc-whatsapp {
  background: #25d366;
}

@media (max-width: 575.98px) {
  .side-contact a {
    height: 46px;
    padding: 0 11px;
    font-size: 1.25rem;
  }
}

/* Brand colours for social / contact icons */
.social a[aria-label="WhatsApp"] {
  background: #25d366 !important;
}

.social a[aria-label="Call"] {
  background: #c8102e !important;
}

.social a[aria-label="Email"] {
  background: #ea4335 !important;
}

.social a[aria-label="Location"] {
  background: #4285f4 !important;
}

.social a,
.social a i {
  color: #fff !important;
}

.social a:hover {
  filter: brightness(1.12);
}

/* ---------- Misc ---------- */
.img-rounded-shadow {
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.green-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  height: 100%;
  transition: all .4s var(--ease);
}

.green-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.green-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.green-card:hover img {
  transform: scale(1.08);
}

.green-card .img-box {
  overflow: hidden;
}

.green-card .body {
  padding: 28px;
}

.green-card h4 {
  font-size: 1.6rem;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.row .client-chip {
  white-space: normal;
  height: 100%;
}

.hv-badge strong span,
.exp-badge strong span {
  font-size: inherit;
  text-transform: none;
  letter-spacing: 0;
}

.gallery-card.wide {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
}

.gallery-card.wide img {
  object-fit: contain;
  object-position: center;
}

/* Prevent horizontal scroll from slide-in animations & wide gutters */
section,
footer {
  overflow-x: hidden; /* fallback for older mobile browsers without "clip" */
  overflow-x: clip;
}

/* On phones/tablets, slide-ins come from below instead of the side,
   so nothing starts outside the screen and widens the page */
@media (max-width: 991.98px) {
  [data-aos="fade-left"]:not(.aos-animate),
  [data-aos="fade-right"]:not(.aos-animate) {
    transform: translate3d(0, 40px, 0);
  }
}

@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

/* ---------- Card borders (all pages) ---------- */
:root {
  --card-border: #dde3ec;
}

/* plain cards: full border, orange on hover */
.service-card,
.project-card,
.team-card,
.test-card,
.green-card {
  border: 1px solid var(--card-border);
}

.service-card:hover,
.project-card:hover,
.team-card:hover,
.test-card:hover,
.green-card:hover {
  border-color: rgba(243, 112, 33, .55);
}

/* cards with a hover accent on the bottom edge */
.feature-box,
.contact-info-card {
  border-top: 1px solid var(--card-border);
  border-left: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  border-bottom: 4px solid var(--card-border);
}

.feature-box:hover,
.contact-info-card:hover {
  border-bottom-color: var(--orange);
}

/* cards that already have an accent edge: border the other sides */
.vm-card {
  border-left: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.module-item,
.cert-card {
  border-top: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

/* cards whose transparent border turns orange on hover */
.package-card:not(.featured),
.duration-card {
  border-color: var(--card-border);
}

.package-card:not(.featured):hover,
.duration-card:hover {
  border-color: var(--orange);
}
/* ==========================================================
   Responsive refinements
   ========================================================== */
@media (max-width: 991.98px) {
  .section {
    padding: 80px 0;
  }

}

/* touch screens have no hover, so the side tabs stay icon-only */
@media (hover: none) {
  .side-contact a span {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 64px 0;
  }

  .section-sm {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .page-banner {
    padding: 80px 0 64px;
  }
}

@media (max-width: 575.98px) {
  /* reserve room so the typing effect doesn't push the page up and down */
  .hero h1 {
    min-height: 4.7em;
  }

  .hero-badges {
    gap: 14px;
  }

  .btn-brand,
  .btn-outline-brand {
    padding: 12px 24px;
  }
}

/* ==========================================================
   Animations
   ========================================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 2000;
  background: linear-gradient(90deg, var(--orange), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* Section-title accent lines draw in */
.js-anim .section-title .sub::before,
.js-anim .section-title .sub::after {
  transform: scaleX(0);
  transition: transform .8s var(--ease) .2s;
}

.js-anim .section-title .sub::before {
  transform-origin: right;
}

.js-anim .section-title .sub::after {
  transform-origin: left;
}

.js-anim .section-title.in-view .sub::before,
.js-anim .section-title.in-view .sub::after {
  transform: scaleX(1);
}

/* Image curtain reveal */
.js-anim .reveal-img {
  clip-path: inset(0 100% 0 0 round 18px);
  transition: clip-path 1.1s var(--ease);
}

.js-anim .reveal-img.in-view {
  clip-path: inset(0 0 0 0 round 18px);
}

/* Page banner: title underline + slow light sweep */
.page-banner h1 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.page-banner h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 3px;
  margin-left: -35px;
  border-radius: 3px;
  background: var(--orange);
  animation: growLine 1s var(--ease) .5s both;
}

@keyframes growLine {
  from {
    transform: scaleX(0);
  }
}

.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .08), transparent);
  transform: skewX(-20deg);
  animation: sweep 7s ease-in-out infinite;
}

@keyframes sweep {
  0%, 60% {
    left: -40%;
  }

  100% {
    left: 130%;
  }
}

/* Button shine on hover */
.btn-brand::after,
.btn-outline-brand::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
}

.btn-brand:hover::after,
.btn-outline-brand:hover::after {
  animation: shine .8s ease;
}

@keyframes shine {
  to {
    left: 130%;
  }
}

.btn .bi-arrow-right {
  display: inline-block;
  transition: transform .3s var(--ease);
}

.btn:hover .bi-arrow-right {
  transform: translateX(5px);
}

/* Icon micro-interactions on card hover */
.feature-box .ic,
.contact-info-card .ic,
.vm-card .ic,
.package-card .ic,
.counter-box i {
  transition: transform .5s var(--ease);
}

.feature-box:hover .ic,
.contact-info-card:hover .ic {
  transform: rotate(-8deg) scale(1.1);
}

.vm-card:hover .ic,
.package-card:hover .ic {
  display: inline-block;
  transform: translateY(-6px) scale(1.1);
}

.counter-box:hover i {
  display: inline-block;
  animation: bounceIc .7s var(--ease);
}

@keyframes bounceIc {
  40% {
    transform: translateY(-10px);
  }

  70% {
    transform: translateY(2px);
  }
}

/* Image zoom inside cards on hover */
.project-card .thumb img,
.green-card img {
  will-change: transform;
}

/* Side tabs: ringing phone + WhatsApp pulse */
.side-contact .sc-call i {
  animation: ring 2.4s ease-in-out infinite;
}

@keyframes ring {
  0%, 60%, 100% {
    transform: rotate(0);
  }

  65%, 75%, 85% {
    transform: rotate(-15deg);
  }

  70%, 80%, 90% {
    transform: rotate(15deg);
  }
}

.side-contact .sc-whatsapp {
  position: relative;
}

.side-contact .sc-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  z-index: -1;
  animation: pulseRing 2.2s ease-out infinite;
}

@keyframes pulseRing {
  from {
    transform: scale(1);
    opacity: .55;
  }

  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Mobile menu: links slide in one after another */
@media (max-width: 1199.98px) {
  .navbar-toggler[aria-expanded="true"]~.navbar-collapse .nav-item {
    animation: navIn .45s var(--ease) both;
  }

  .navbar-toggler[aria-expanded="true"]~.navbar-collapse .nav-item:nth-child(2) { animation-delay: .05s; }
  .navbar-toggler[aria-expanded="true"]~.navbar-collapse .nav-item:nth-child(3) { animation-delay: .1s; }
  .navbar-toggler[aria-expanded="true"]~.navbar-collapse .nav-item:nth-child(4) { animation-delay: .15s; }
  .navbar-toggler[aria-expanded="true"]~.navbar-collapse .nav-item:nth-child(5) { animation-delay: .2s; }
  .navbar-toggler[aria-expanded="true"]~.navbar-collapse .nav-item:nth-child(6) { animation-delay: .25s; }
  .navbar-toggler[aria-expanded="true"]~.navbar-collapse .nav-item:nth-child(7) { animation-delay: .3s; }
  .navbar-toggler[aria-expanded="true"]~.navbar-collapse .nav-item:nth-child(8) { animation-delay: .35s; }
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal-img {
    clip-path: none;
  }

  .js-anim .section-title .sub::before,
  .js-anim .section-title .sub::after {
    transform: none;
  }

  .scroll-progress {
    display: none;
  }
}
