html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

:root {
  --brand: #911d1f;
  --dark: #0c0c0d;
  --light-bg: #f5f6f8;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--dark);
  background: #fff;
  margin: 0 !important;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1500px;
}

.text-brand {
  color: var(--brand) !important;
}

.btn {
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(145, 29, 31, 0.24);
}

.btn-brand {
  background: black;
  border-color: black;
  color: #fff;
}

.btn-brand:hover {
  background: #7b1719;
  border-color: #7b1719;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(145, 29, 31, 0.25);
}

.btn-dark-soft {
  background: #000;
  border-color: #000;
  color: #fff;
}

.btn-dark-soft:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

/* Loader Container */

/* Loader overlay */

#page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Wrapper */

.loader-wrapper {
  display: flex;
  align-items: flex-end;
  /* align dots to bottom of logo */
  gap: 10px;
}

/* Logo */

.loader-logo {
  width: 120px;
  height: auto;
}

/* Dots */

.loading-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
  /* optional fine adjustment */
}

.dot {
  width: 8px;
  height: 8px;
  background: #8c3c4c;
  border-radius: 50%;
  opacity: 0;
  animation: dotAnimation 1.4s infinite;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotAnimation {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.masthead {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #0c0c0d;
  margin-top: 0;
  padding-top: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: -10% 0 0 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-10%);
  opacity: 0;
  transition: transform 1.6s ease, opacity 1.6s ease;
  will-change: transform, opacity;
}

.hero-slide.is-active {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide.is-exit {
  transform: translateY(14%);
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      rgba(12, 12, 13, 0.45) 100%);
}

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.is-sticky {
  position: fixed;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.site-nav .container {
  max-width: 1500px;
}

.site-nav .navbar-brand img {
  max-height: 82px;
}

.site-nav .nav-link {
  color: #000000;
  font-weight: 600;
  font-size: 16px;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  white-space: nowrap;
}

.site-nav .navbar-nav>.nav-item {
  margin-left: 0.2rem;
  margin-right: 0.2rem;
}

/* .site-nav .navbar-nav > .nav-item.nav-dropdown-hover {
  padding-bottom: 0.55rem;
} */

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--brand);
}

.site-nav .dropdown-menu {
  border: 0;
  border-top: 4px solid var(--brand);
  border-radius: 0 0 4px 4px;
  padding: 0.95rem 0.35rem;
  min-width: 330px;
  margin-top: 1rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav .dropdown-item {
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0.8rem 1.1rem 0.8rem 1.2rem;
  color: #111;
  white-space: normal;
  line-height: 1.25;
  border-left: 3px solid transparent;
  border-radius: 4px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}

.site-nav .dropdown-menu li+li {
  margin-top: 0.18rem;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
  background: #f6f6f6;
  color: var(--brand);
  border-left-color: var(--brand);
  padding-left: 1.35rem;
}

.site-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.45rem;
  vertical-align: 0.1em;
  border-top: 0.35em solid currentColor;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  border-bottom: 0;
  transition: transform 0.2s ease;
}

.site-nav .nav-dropdown-hover:hover>.dropdown-toggle::after,
.site-nav .nav-dropdown-hover:focus-within>.dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-icons a {
  color: #0f0e0e;
  font-size: 1.25rem;
  text-decoration: none;
}

.site-nav.is-sticky .nav-link,
.site-nav.is-sticky .nav-icons a {
  color: #0f0e0e;
}

@media (min-width: 992px) {
  .site-nav .nav-dropdown-hover {
    position: relative;
    --dropdown-gap: 1rem;
  }

  .site-nav .nav-dropdown-hover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -0.75rem;
    right: -0.75rem;
    height: var(--dropdown-gap);
  }

  .site-nav .nav-dropdown-hover>.dropdown-menu {
    top: calc(100% + var(--dropdown-gap));
    margin-top: 0;
  }

  .site-nav .nav-dropdown-hover:hover>.dropdown-menu,
  .site-nav .nav-dropdown-hover:focus-within>.dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav .nav-dropdown-hover>.dropdown-menu {
    pointer-events: none;
  }

  .site-nav .nav-dropdown-hover:hover>.dropdown-menu,
  .site-nav .nav-dropdown-hover:focus-within>.dropdown-menu {
    pointer-events: auto;
  }
}

@media (max-width: 991.98px) {
  .site-nav .navbar-nav {
    gap: 0.4rem;
  }

  .site-nav .navbar-nav > .nav-item {
    margin-left: 0;
    margin-right: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .site-nav .navbar-nav > .nav-item > .nav-link {
    padding: 0.9rem 1rem;
    background: transparent;
  }

  .site-nav .nav-item.dropdown > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    white-space: normal;
    background: transparent;
  }

  .site-nav .nav-item.dropdown > .nav-link::after {
    margin-left: 0;
    flex-shrink: 0;
  }

  .site-nav .nav-item.dropdown > .dropdown-toggle.show::after {
    transform: rotate(180deg);
  }

  .site-nav .dropdown-menu {
    min-width: 100%;
    margin-top: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    border-top-width: 1px;
    border-top-color: rgba(193, 39, 45, 0.35);
    border-radius: 0;
    padding: 0.5rem;
    background: linear-gradient(180deg, #fff6f4 0%, #fff 100%);
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav .dropdown-item {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.72rem 0.95rem;
    border-left-width: 2px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
  }

  .site-nav .dropdown-menu li + li {
    margin-top: 0.3rem;
  }

  .site-nav .dropdown-item:hover,
  .site-nav .dropdown-item:focus,
  .site-nav .dropdown-item:active {
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(193, 39, 45, 0.08);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-title {
  font-size: 80px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand);
  letter-spacing: -0.01em;
  max-width: 800px;
  margin-bottom: 1.6rem;
}

.hero-desc {
  max-width: 800px;
  color: #101114;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-actions .btn {
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.3rem;
  min-height: 48px;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.hero-stats {
  margin-top: 2rem;
  /* padding: 1.1rem 1rem; */
  max-width: 800px;
  /* background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28); */
  border-radius: 24px;
  /* backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18); */
}

.hero-stat-item {
  padding: 0.85rem 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats .col-md-3:last-child .hero-stat-item {
  border-right: 0;
}

.hero-stat-item h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 800;
  color: #8e1a21;
  line-height: 1;
}

.hero-stat-item p {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.82);
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-kicker {
  color: var(--brand);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-image-wrap {
  position: relative;
  min-height: 340px;
}

.about-image-main,
.about-image-sub {
  border-radius: 0.75rem;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.about-image-main {
  height: 380px;
}

.about-image-sub {
  height: 220px;
  width: 62%;
  position: absolute;
  left: 0%;
  bottom: -28px;
  border: 6px solid #fff;
}

.quality-band {
  background: linear-gradient(rgba(12, 12, 13, 0.82), rgba(12, 12, 13, 0.82)),
    url("https://www.figma.com/api/mcp/asset/da0305c9-9a46-41e2-802b-cc1e87ad2e5c") center/cover no-repeat;
  color: #fff;
  padding: 70px 0px;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
}

.project-card,
.blog-card,
.service-card {
  border: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 22, 94, 0.08);
  height: 100%;
}

.project-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d7d7dd;
  background: #fff;
  color: #141416;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.project-nav-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(145, 29, 31, 0.22);
}

.projects-slider {
  position: relative;
}

.projects-viewport {
  overflow: hidden;
}

.projects-track {
  display: flex;
  will-change: transform;
  transition: transform 0.45s ease;
}

.project-slide {
  flex: 0 0 auto;
  padding: 0 0.5rem;
}

.project-slide .project-card {
  height: 100%;
}

.project-card .position-relative {
  overflow: hidden;
}

.project-card .position-relative::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 26, 0.18) 0%, rgba(10, 16, 26, 0.08) 36%, rgba(6, 9, 16, 0.82) 100%);
  opacity: 1;
  transition: opacity 0.25s ease;
}

.project-card .project-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 1rem;
  background: rgba(207, 223, 243, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-card .project-card-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.9rem;
}

.project-card .project-card-title {
  display: block;
  max-width: 92%;
  margin: 0;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.4);
}

.project-card .project-card-cta {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.98);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  opacity: 1;
  backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.project-card-cta:hover,
.project-card-cta:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}



.projects-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, minmax(120px, auto));
  grid-template-areas:
    "l1 c1 r1"
    "l2 c1 r2"
    "l3 c2 r3";
  gap: 0.85rem;
}

.projects-mosaic-card {
  position: relative;
  border-radius: 8px;
  padding: 1.25rem 1.1rem;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f4f7fb;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 8px 18px rgba(6, 16, 32, 0.14);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, background-size .6s ease;
}

.projects-mosaic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 37, 63, 0.42) 0%, rgba(9, 20, 36, 0.74) 100%),
    linear-gradient(0deg, rgba(5, 12, 24, 0.18), rgba(5, 12, 24, 0.18));
  z-index: 0;
}

.projects-mosaic-card>* {
  position: relative;
  z-index: 1;
}

.projects-mosaic-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.3rem;
  line-height: 1.22;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform .35s ease;
}

.projects-mosaic-card p {
 margin-bottom: 0;
  color: rgba(235, 242, 252, 0.85);
  font-size: 0.78rem;
  opacity: 0;
  transform: translateY(15px);
  transition: all .35s ease;
}

.projects-mosaic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(6, 16, 32, 0.25);
  background-size: 110%;
}

/* Dark overlay on hover */
.projects-mosaic-card:hover::before {
  background:
    linear-gradient(180deg, rgba(10, 20, 35, 0.55) 0%, rgba(6, 12, 22, 0.9) 100%);
}

/* Text animation */

.projects-mosaic-card:hover h3 {
  transform: translateY(0);
}

.projects-mosaic-card:hover p {
  opacity: 1;
  transform: translateY(0);
}
.projects-mosaic-card--featured {
  min-height: 300px;
}

.projects-mosaic-card--prep {
  background-image: url("../images/memary-hero/1.webp");
}

.projects-mosaic-card--steel {
  background-image: url("../images/memary-hero/2.webp");
}

.projects-mosaic-card--earth {
  background-image: url("../images/memary-hero/3.webp");
}

.projects-mosaic-card--piping {
  background-image: url("../images/memary-hero/4.webp");
}

.projects-mosaic-card--struct {
  background-image: url("../images/memary-hero/5.webp");
}

.projects-mosaic-card--repair {
  background-image: url("../images/memary-hero/6.webp");
}

.projects-mosaic-card--concrete {
  background-image: url("../images/memary-hero/7.webp");
}

.projects-mosaic-card--machinery {
  background-image: url("../images/memary-hero/1.webp");
}

.current-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.completed-projects-section {
  background:
    radial-gradient(circle at top right, rgba(145, 29, 31, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f7f8 0%, #f1f2f4 100%);
}

.completed-projects-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.completed-projects-stat {
  min-width: 210px;
  padding: 1.6rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #911d1f 0%, #651416 100%);
  box-shadow: 0 18px 40px rgba(145, 29, 31, 0.22);
  color: #fff;
  text-align: center;
}

.completed-projects-stat__value {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 800;
}

.completed-projects-stat__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.completed-projects-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}


.completed-project-card__media {
  position: relative;
  height: 100%;
  background: #1a1a1d;
}

.completed-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.completed-project-card__overlay {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.62) 0%, rgba(6, 10, 18, 0.14) 78%, rgba(6, 10, 18, 0) 100%);
}

.completed-project-card__front-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0) 0%, rgba(6, 10, 18, 0.78) 58%, rgba(6, 10, 18, 0.92) 100%);
  color: #fff;
}

.completed-project-card__title--front {
  color: #fff;
  margin-bottom: 0.45rem;
}

.completed-project-card__hint {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.completed-project-card__content {
  padding: 1.5rem;
  height: 100%;
  overflow-y: auto;
}

.completed-project-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #eef5ef;
  color: #245d2b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.completed-project-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.completed-project-card__number--back {
  background: rgba(145, 29, 31, 0.1);
  border: 1px solid rgba(145, 29, 31, 0.14);
  color: #911d1f;
  backdrop-filter: none;
}

.completed-project-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.completed-project-card__title {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.3;
  font-weight: 800;
  color: #101216;
  margin-bottom: 1rem;
}

.completed-project-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.completed-project-card__meta-item {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #f5f6f8;
}

.completed-project-card__meta-label {
  display: block;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8f1b22;
  margin-bottom: 0.35rem;
}

.completed-project-card__meta-value {
  display: block;
  color: #16181d;
  font-weight: 600;
  line-height: 1.5;
}

.completed-project-card__scope {
  padding-top: 1rem;
  border-top: 1px solid #ececef;
}

.completed-project-card__scope h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: #0f1115;
}

.completed-project-card__scope ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #40434a;
}

.completed-project-card__scope li {
  line-height: 1.75;
}

.completed-project-card__scope li + li {
  margin-top: 0.4rem;
}

.area-l1 {
  grid-area: l1;
}

.area-l2 {
  grid-area: l2;
}

.area-l3 {
  grid-area: l3;
}

.area-c1 {
  grid-area: c1;
}

.area-c2 {
  grid-area: c2;
}

.area-r1 {
  grid-area: r1;
}

.area-r2 {
  grid-area: r2;
}

.area-r3 {
  grid-area: r3;
}

.projects-dots {
  display: flex;
  justify-content: center;
  align-items: center;
}

.projects-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  margin: 0 5px;
  background-color: #b9bbc4;
  opacity: 1;
}

.projects-dots .active {
  background-color: var(--brand);
}

.service-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d7d7dd;
  background: #fff;
  color: #141416;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.service-nav-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(145, 29, 31, 0.22);
}

.services-expander {
  display: flex;
  gap: 1rem;
}

.service-panel {
  position: relative;
  flex: 1 1 0;
  min-height: 460px;
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 22px rgba(10, 22, 94, 0.08);
}

.service-panel.is-active {
  flex: 2.1 1 0;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.service-panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-panel-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(0deg, #8e1a22 0%, rgb(255 255 255 / 1%) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 122px;
}

.service-panel-overlay h6 {
  line-height: 1.25;
  min-height: 1.6em;
}

.service-panel-overlay p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-panel.is-active .service-panel-overlay p {
  max-height: 9rem;
  opacity: 1;
}

.service-panel-cta {
  margin-top: 0.9rem;
  align-self: flex-start;
  padding: 0.65rem 1.05rem;
  border-radius: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.service-panel.is-active .service-panel-cta {
  opacity: 1;
  max-height: 3.2rem;
  transform: translateY(0);
  pointer-events: auto;
}

.service-panel-cta {
  margin-top: 0.85rem;
  align-self: flex-start;
  padding: 0.62rem 1rem;
  border-radius: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.service-panel.is-active .service-panel-cta {
  opacity: 1;
  max-height: 3.2rem;
  transform: translateY(0);
  pointer-events: auto;
}

.project-img,
.blog-img,
.service-img {
  height: 426px;
  object-fit: cover;
  width: 100%;
}

.tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 0.4rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card .card-img-overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: end;
}



.clients-title {
  position: relative;
  z-index: 2;
}

.clients-watermark {
  position: absolute;
  left: 12px;
  top: -41px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px #d9d9dc;
  text-transform: uppercase;
  z-index: 1;
  pointer-events: none;
}

.clients-grid-wrap {
  position: relative;
  z-index: 2;
  border: 1px solid #cdced2;
  border-radius: 12px;
  overflow: hidden;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.client-cell {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border-right: 1px solid #d8d9dd;
  border-bottom: 1px solid #d8d9dd;
}

.client-cell:nth-child(6n) {
  border-right: 0;
}

.client-cell:nth-child(n + 7) {
  border-bottom: 0;
}

.client-logo {
  max-width: 170px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.05);
}

.bgsto {
  background: #ffffff1a;
  padding: 60px 0px;
  /* add a blur effect behind the element */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.text-secondary {
  font-weight: 500;
}

.certifications {
  background: #f2f2f3;
  position: relative;
  overflow: hidden;
}

.certifications::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cert-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23911d1f" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23cert-pattern)"/></svg>');
  pointer-events: none;
}

.certifications-watermark {
  position: absolute;
  left: 12px;
  top: -24px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px #d9d9dc;
  text-transform: uppercase;
  z-index: 1;
  pointer-events: none;
}



.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(18, 22, 42, 0.15);
}



.cert-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #101216;
  margin-bottom: 0.75rem;
}

.cert-desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

.cert-benefits {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 22px rgba(18, 22, 42, 0.08);
}

.cert-benefits h3 {
  color: #101216;
  font-size: 2rem;
  font-weight: 800;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 1rem;
}

.benefit-item h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #101216;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

.cert-cta {
  background: linear-gradient(135deg, var(--brand) 0%, #7b1719 100%);
  color: #fff;
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 12px 32px rgba(145, 29, 31, 0.2);
}

.cert-cta h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cert-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.cert-cta .btn {
  background: #fff;
  color: var(--brand);
  border: 2px solid #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cert-cta .btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.footer-main {
  position: relative;
  color: #e9eef7;
  background:
    rgb(255, 255, 255);
  border-top: 8px solid #981b28;
  overflow: hidden;
}

.footer-top {
  padding-top: 3rem;
  padding-bottom: 2.4rem;
}

.footer-logo {
  max-height: 82px;
}

.footer-about {
  color: rgba(0, 0, 0, 0.92);
  line-height: 1.6;
  margin: 1.25rem 0 1.1rem;
  max-width: 430px;
}

.footer-subtitle {
  color: #000000;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.footer-subscribe {
  display: flex;
  align-items: stretch;
}

.footer-subscribe .form-control {
  border: 0;
  border-radius: 10px 0 0 10px;
  background: #e5e5e5;
  color: #0c1016;
  padding: 0.82rem 0.9rem;
}

.footer-subscribe .form-control::placeholder {
  color: #5a6678;
}

.footer-subscribe .btn {
  border-radius: 0 10px 10px 0;
  min-width: 118px;
  min-height: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-title,
.footer-title-lite {
  color: #000000;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-title {
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: rgba(0, 0, 0, 0.95);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.footer-links a:hover {
  color: rgb(143 27 35);
}

.footer-links.with-arrow a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(143 27 35);
  padding-bottom: 0.35rem;
}

.footer-links.with-arrow a::after {
  content: "\203A";
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 0.6rem;
}

.footer-social {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #8f1b23;
  text-decoration: none;
  font-size: 1.45rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  color: rgba(0, 0, 0, 0.95);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.footer-contact i {
  font-size: 1.55rem;
  line-height: 1.1;
}

.footer-bottom {
  background: #981b28;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
}

.footer-policy-links {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.footer-policy-links a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.blogs-section {
  background: #f2f2f3;
  overflow: hidden;
}

.blogs-head-row {
  position: relative;
  z-index: 2;
}

.blogs-watermark {
  position: absolute;
  left: 12px;
  top: -24px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px #d9d9dc;
  text-transform: uppercase;
  z-index: 1;
  pointer-events: none;
}

.blog-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #1f2229;
  background: transparent;
  color: #17191f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.blog-nav-btn:hover {
  background: #17191f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(23, 25, 31, 0.25);
}

.blog-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.blog-card-modern {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(18, 22, 42, 0.08);
}

.blog-img-modern {
  height: 320px;
  border-radius: 12px 12px 0 0;
}

.blog-card-body {
  padding: 1.35rem 1.35rem 1.6rem;
}

.blog-kicker {
  color: #3d4049;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.blog-title {
  color: #101216;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 700;
}

.blogs-section a {
  text-decoration: none;
}

.blogs-section h3,
.blogs-section .blog-title,
.blogs-section .blog-kicker,
.blogs-section small {
  text-decoration: none !important;
}

.blog-detail-hero {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  background: url("https://www.figma.com/api/mcp/asset/7103a821-f643-4614-aad1-bd2db11439a4") center/cover no-repeat;
}

.blog-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(82, 0, 1, 0.78) 15%, rgba(145, 29, 31, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
}

.blog-detail-hero .container {
  position: relative;
  z-index: 1;
}

.blog-detail-hero__title {
  color: #fff;
  font-size: clamp(1.9rem, 4.1vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  max-width: 700px;
  margin: 0;
}

.blog-detail-main {
  background: #fff;
}

.blog-detail-cover {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 560px;
}

.blog-detail-meta {
color: #911a22;
    font-size: 17px;
    font-weight: 700;
}

.blog-detail-meta__sep {
  color: #000000;
}

.blog-detail-article p {
  color: #4a4a4d;
  line-height: 1.78;
  font-size: 0.98rem;
  text-align: justify;
  margin-bottom: 1rem;
}

.blog-detail-quote {
  background: #f2f2f2;
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
  position: relative;
  margin: 1.5rem 0;
}

.blog-detail-quote p {
  margin-bottom: 0;
  padding: 0 2rem;
}

.blog-detail-quote .quote-start,
.blog-detail-quote .quote-end {
  color: #911d1f;
  font-size: 2rem;
  position: absolute;
}

.blog-detail-quote .quote-start {
  left: 1rem;
  top: 0.7rem;
}

.blog-detail-quote .quote-end {
  right: 1rem;
  bottom: 0.65rem;
  transform: rotate(180deg);
}

.blog-detail-author {
  margin: 1.6rem 0 1rem;
}

.blog-detail-author__avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #d9d9db;
  flex-shrink: 0;
}

.blog-detail-author__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
}

.blog-detail-share .btn {
  border: 0;
  color: #fff;
  font-size: 0.78rem;
  padding: 0.38rem 0.85rem;
  border-radius: 5px;
}

.share-facebook {
  background: #3b5998;
}

.share-twitter {
  background: #1da1f2;
}

.share-linkedin {
  background: #0077b5;
}

.share-whatsapp {
  background: #25d366;
}

.blog-detail-sidebar {
  position: sticky;
  top: 110px;
}

.blog-detail-widget {
  margin-bottom: 1.5rem;
}

.blog-detail-widget__title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #dedee2;
  text-align: start;
}

.blog-detail-latest-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-detail-latest-item {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.blog-detail-latest-item img {
  width: 96px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-detail-latest-item h4 {
  font-size: 0.84rem;
  color: #111;
  line-height: 1.4;
  margin: 0 0 0.2rem;
  font-weight: 600;
}

.blog-detail-latest-item span {
  font-size: 0.72rem;
  color: #666;
}

.blog-detail-ig {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.blog-detail-ig img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.blog-detail-ig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(10, 10, 20, 0.65) 100%);
}

.blog-detail-ig i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.25rem;
  z-index: 1;
}

.blog-detail-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #911d1f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.blog-detail-subscribe .form-control {
  background: #f2f2f2;
  border: 1px solid #e2e2e5;
  min-height: 44px;
  font-size: 0.84rem;
}

.blog-detail-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #666;
}

.blog-detail-checkbox input {
  margin-top: 0.15rem;
}

.blog-detail-main.blog-detail-main--enhanced {
  background:
    radial-gradient(circle at top left, rgba(145, 29, 31, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f4f3 0%, #ffffff 100%);
}

.blog-detail-main--enhanced .blog-detail-article.blog-detail-article--enhanced {
  padding: clamp(1.2rem, 2vw, 2rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(145, 29, 31, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(18, 24, 32, 0.08);
}

.blog-detail-main--enhanced .blog-detail-cover {
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.blog-detail-main--enhanced .blog-detail-quote {
  background: linear-gradient(135deg, #fff8f7 0%, #f3efef 100%);
  border-left: 4px solid #911d1f;
}

.blog-detail-main--enhanced .blog-detail-author {
  padding: 1.2rem;
  background: #faf7f6;
  border: 1px solid rgba(145, 29, 31, 0.08);
  border-radius: 20px;
}

.blog-detail-main--enhanced .blog-detail-share {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(17, 18, 22, 0.08);
}

.blog-detail-sidebar.blog-detail-sidebar--enhanced {
  display: grid;
  gap: 1rem;
}

.blog-detail-widget.blog-detail-widget--enhanced {
  margin-bottom: 0;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(145, 29, 31, 0.08);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(18, 24, 32, 0.06);
}

.blog-detail-main--enhanced .blog-detail-latest-item {
  padding: 0.6rem;
  border-radius: 16px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-detail-main--enhanced .blog-detail-latest-item:hover,
.blog-detail-main--enhanced .blog-detail-latest-item:focus {
  background: #faf3f1;
  transform: translateY(-2px);
}

.blogs-slider {
  position: relative;
}

.blogs-viewport {
  overflow: hidden;
}

.blogs-track {
  display: flex;
  will-change: transform;
  transition: transform 0.45s ease;
}

.blog-slide {
  flex: 0 0 auto;
  padding: 0 0.5rem;
}

@media (max-width: 1199.98px) {

  .project-img,
  .blog-img,
  .service-img {
    height: 350px;
  }

  .project-card .position-relative::after,
  .project-card .project-card-cta {
    opacity: 1;
  }

  .project-card .project-card-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .project-card .project-card-title {
    max-width: 100%;
    font-size: 1.15rem;
  }

  .project-card .project-card-cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }

  .project-card .project-card-badge {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.9rem;
    font-size: 1rem;
  }

  .footer-top {
    padding-top: 2.4rem;
  }

  .footer-logo {
    max-height: 68px;
  }

  .footer-title,
  .footer-title-lite {
    font-size: 1.4rem;
  }

  .footer-links a,
  .footer-contact li {
    font-size: 0.95rem;
  }

  .footer-subtitle {
    font-size: 1.15rem;
  }

  .blog-title {
    font-size: 1.45rem;
  }

  .blog-detail-sidebar {
    position: static;
  }

  .blog-detail-shell.blog-detail-shell--enhanced {
    --bs-gutter-x: 1.35rem;
    align-items: start;
  }

  .blog-detail-main--enhanced .blog-detail-article.blog-detail-article--enhanced {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .blog-detail-widget.blog-detail-widget--enhanced {
    padding: 1.05rem;
    border-radius: 20px;
  }

  .blog-detail-main--enhanced .blog-detail-widget__title {
    font-size: 1.15rem;
  }

  .blog-detail-main--enhanced .blog-detail-latest-item {
    gap: 0.65rem;
    padding: 0.45rem;
  }

  .blog-detail-main--enhanced .blog-detail-latest-item img {
    width: 82px;
    height: 72px;
  }

  .blog-detail-main--enhanced .blog-detail-latest-item h4,
  .blog-detail-main--enhanced .blog-detail-latest-item h6 {
    font-size: 0.8rem;
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    position: relative;
    background: #fff;
  }

  .site-nav .navbar-collapse {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem;
  }

  .site-nav .nav-link {
    font-size: 1rem;
  }

  .site-nav .navbar-brand img {
    max-height: 62px;
  }

  .hero-inner {
    min-height: 72vh;
    padding-top: 40px;
  }

  .masthead {
    min-height: 72vh;
  }

  .hero-slide {
    background-position: 68% center;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions .btn {
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
  }

  .hero-stats {
    margin-top: 1.5rem;
    padding: 0.9rem 0.75rem;
  }

  .hero-stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stats .col-6:nth-last-child(-n+2) .hero-stat-item {
    border-bottom: 0;
  }

  .hero-stat-item h3 {
    font-size: 1.7rem;
  }

  .hero-stat-item p {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .about-image-sub {
    position: static;
    width: 100%;
    margin-top: 0.9rem;
    height: 180px;
    border-width: 0;
  }

  .about-image-wrap {
    min-height: auto;
  }

  .project-img,
  .blog-img,
  .service-img {
    height: 350px;
  }

  .projects-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "c1 c1"
      "l1 r1"
      "l2 r2"
      "c2 c2"
      "l3 r3";
    grid-template-rows: auto;
  }

  .projects-mosaic-card,
  .projects-mosaic-card--featured {
    min-height: 150px;
  }

  .services-expander {
    flex-direction: column;
    overflow: hidden;
  }

  .service-panel {
    display: none;
    min-height: 320px;
  }

  .service-panel.is-active {
    display: block;
  }

  .service-panel,
  .service-panel.is-active {
    flex: 1 1 auto;
    min-height: 320px;
    transform: none;
  }

  .service-panel-overlay p {
    max-height: 0;
    opacity: 0;
  }

  .service-panel.is-active .service-panel-overlay p {
    max-height: 9rem;
    opacity: 1;
  }

  .clients-watermark {
    top: -14px;
    left: 8px;
  }

  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-cell:nth-child(6n) {
    border-right: 1px solid #d8d9dd;
  }

  .client-cell:nth-child(3n) {
    border-right: 0;
  }

  .client-cell:nth-child(n + 7) {
    border-bottom: 1px solid #d8d9dd;
  }

  .client-cell:nth-child(n + 10) {
    border-bottom: 0;
  }

  .blogs-watermark {
    top: -14px;
    left: 8px;
  }

  .blog-img-modern {
    height: 250px;
  }

  .blog-detail-cover {
    max-height: 420px;
  }

  .footer-title,
  .footer-title-lite {
    font-size: 1.45rem;
  }

  .footer-links a,
  .footer-contact li {
    font-size: 1rem;
  }

  .footer-subtitle {
    font-size: 1.25rem;
  }

  .footer-social {
    margin-top: 1.2rem;
  }
}

@media (max-width: 767.98px) {

  #projects .d-flex.align-items-center.justify-content-between,
  #services .d-flex.align-items-center.justify-content-between,
  #blogs .d-flex.align-items-center.justify-content-between {
    flex-wrap: wrap;
  }

  .project-nav-btn,
  .service-nav-btn,
  .blog-nav-btn {
    width: 38px;
    height: 38px;
  }

  .blogs-watermark,
  .clients-watermark {
    font-size: clamp(2.3rem, 14vw, 3.8rem);
  }

  .project-slide {
    padding: 0 0.35rem;
  }

  .blog-slide {
    padding: 0 0.35rem;
  }

  .blog-detail-hero {
    min-height: 210px;
  }

  .blog-detail-quote p {
    padding: 0 1.2rem;
  }

  .blog-detail-widget__title {
    text-align: left;
  }

  .projects-mosaic-grid {
    grid-template-columns: 1fr;
  }

  .projects-mosaic-card h3 {
    font-size: 1.1rem;
  }

  .footer-policy-links {
    gap: 1.2rem;
  }

  .footer-bottom .container {
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero-actions .btn {
    min-width: 100%;
  }

  .section-title {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-cell {
    min-height: 120px;
    padding: 0.9rem;
  }

  .client-cell:nth-child(3n) {
    border-right: 1px solid #d8d9dd;
  }

  .client-cell:nth-child(2n) {
    border-right: 0;
  }

  .client-cell:nth-child(n + 10) {
    border-bottom: 1px solid #d8d9dd;
  }

  .client-cell:nth-child(n + 11) {
    border-bottom: 0;
  }

  .client-logo {
    max-width: 120px;
    max-height: 40px;
  }

  .blog-img-modern {
    height: 210px;
  }

  .blog-title {
    font-size: 1.15rem;
  }

  .blog-detail-hero__title {
    font-size: 1.45rem;
  }

  .blog-detail-article p {
    font-size: 0.92rem;
  }

  .blog-detail-latest-item img {
    width: 84px;
    height: 68px;
  }

  .footer-top {
    padding-top: 2.2rem;
  }

  .footer-subscribe {
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-subscribe .form-control,
  .footer-subscribe .btn {
    border-radius: 8px;
  }

  .footer-policy-links {
    gap: 1rem;
  }
}

@media (min-width: 750px) and (max-width: 1199.98px) {
  .services-expander {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    overflow: hidden;
  }

  .service-panel {
    display: none;
  }

  .service-panel.is-visible,
  .service-panel.is-active {
    display: block;
    flex: initial;
    min-height: 360px;
    transform: none;
  }

  .service-panel-overlay p,
  .service-panel.is-active .service-panel-overlay p {
    max-height: 12rem;
    opacity: 1;
  }

  .service-panel-cta,
  .service-panel.is-active .service-panel-cta {
    opacity: 1;
    max-height: 3.2rem;
    transform: translateY(0);
    pointer-events: auto;
  }
}




/* About Us */


.about-page {
  background: #f7f7f8;
  color: #0c0c0d;
}

.about-nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.07);
}

.about-nav .navbar-brand img {
  max-height: 68px;
}

.about-nav .nav-link {
  color: #0f0e0e;
  font-size: 16px;
  font-weight: 600;
}

.about-nav .nav-link.active,
.about-nav .nav-link:hover {
  color: #911d1f;
}

.about-hero {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: center;
  background-image: url("../images/about/bg.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(82, 0, 1, 0.84) 12%, rgba(145, 29, 31, 0.56) 52%, rgba(255, 255, 255, 0.01) 100%);
}

.about-hero .container {
  z-index: 1;
}

.about-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.about-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

.about-breadcrumb {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.about-intro,
.cert-section,
.about-blogs {
  background: #f7f7f8;
}

.about-watermark {
  position: absolute;
  top: 0;
  left: 0;
  font-size: clamp(3rem, 10vw, 6.3rem);
  font-weight: 800;
  color: rgba(12, 12, 13, 0.06);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}

.about-intro .section-kicker,
.cert-section .section-kicker {
  margin-top: 1.8rem;
}

.about-heading {
  max-width: 860px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.about-text {
  max-width: 1100px;
  font-size: 16px;
  line-height: 1.9;
  color: #232323;
  text-align: justify;
  font-weight:500;
}

.about-main-image-wrap {
  margin-top: 1.2rem;
}

.about-main-image {
  width: 100%;
  border-radius: 10px;
  max-height: 520px;
  object-fit: cover;
}

.about-stats-band {
  background:
    linear-gradient(135deg, rgba(145, 29, 31, 0.96), rgba(69, 14, 15, 0.94)), center/cover no-repeat;
  padding: 72px 0;
}

.about-stats-card {
  max-width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  padding: 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.about-stats-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(145, 29, 31, 0.08), rgba(145, 29, 31, 0));
  pointer-events: none;
}

.about-stat-item {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border-right: 1px solid rgba(145, 29, 31, 0.14);
}

.about-stats-card .col-lg-3:last-child .about-stat-item {
  border-right: 0;
}

.about-stats-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #911d1f;
  line-height: 1.1;
  margin: 0;
}

.about-stats-card p {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d4d4d;
  margin: 0.5rem 0 0;
}

.about-mv {
  background: #911d1f;
}

.mv-card {
  background: #fff;
  border-left: 5px solid #000;
  border-radius: 10px;
  box-shadow: 0 -2px 22px rgba(0, 0, 0, 0.13);
  padding: 3.75rem;
}

.mv-card h3 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.mv-card p {
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.36;
  text-align: justify;
}

.mv-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.cert-watermark {
  top: -1.5rem;
}

.quality-system {
  position: relative;
  background-image: url("https://www.figma.com/api/mcp/asset/810bd79e-34dc-4e4b-aa97-14ce3d198e9c");
  background-position: center;
  background-size: cover;
}

.quality-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.quality-system .container {
  z-index: 1;
}

.quality-title {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
}

.quality-text {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.quality-numbers h4 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0;
}

.quality-numbers p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  margin-bottom: 0;
}

.cert-badge {
  width: 100%;
  max-width: 170px;
  display: block;
  margin: 0 auto;
}

.blogs-watermark {
  top: -0.9rem;
}

.blog-title-main {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-top: 2.2rem;
}

.blog-card-modern {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(10, 22, 94, 0.08);
}

.blog-card-modern img {
  border-radius: 10px 10px 0 0;
  height: 230px;
  object-fit: cover;
}

.blog-card-modern small {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.85;
}

.blog-card-modern h6 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.services-grid-section {
  background: #f7f7f8;
}

.service-card-lite {
  background: #e9e9ea;
  border-radius: 10px;
  padding: 2.1rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.service-card-lite__icon {
  width: 74px;
  height: 74px;
  border-radius: 11px;
  background: #9b1522;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.service-link{
  color:#fff;
  text-decoration:none;
}

/* Optional: keep it white on hover and focus */
.service-link:hover,
.service-link:focus{
  color:#fff;
  text-decoration:none;
}
.service-card-lite__title {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  color: #090a0d;
}

.service-card-lite__text {
  font-size: 16px;
  line-height: 1.45;
  color: #3c3c3f;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.service-card-lite__link {
  color: #9b1522;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.service-card-lite__link i {
  margin-left: 0.3rem;
}

.service-card-lite__link:hover {
  color: #7e0f19;
}

.services-cta-banner {
  position: relative;
  padding:3.5rem 0;
  background-image: url("../images/about/servicebg.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.services-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgb(2 4 10 / 44%);
}

.services-cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 962px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.services-cta-banner__title {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.3rem;
}

.services-cta-banner__text {
  font-size: clamp(1rem, 1.35vw, 1.5rem);
  line-height: 1.7;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 935px;
}

.services-cta-banner__btn {
  padding: 0.75rem 1.3rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 0.55rem;
}

.services-faq-section {
  background: #f1f1f2;
}

.services-faq-media {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  grid-template-rows: 215px 1fr;
  gap: 1rem;
  height: 100%;
}

.services-faq-media__small {
  border-radius: 12px;
  overflow: hidden;
}

.services-faq-media__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-faq-media__card {
  background: #e2e2e4;
  border-radius: 12px;
  padding: 1.6rem;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-faq-media__card h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.services-faq-media__card p {
  margin-bottom: 1.2rem;
  color: #4a4a4d;
  line-height: 1.65;
  font-size: 1rem;
}

.services-faq-media__btn {
  align-self: flex-start;
  border-radius: 0.6rem;
  padding: 0.72rem 1.15rem;
}

.services-faq-media__large {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 470px;
}

.services-faq-media__large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-faq-media__large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 45, 74, 0.35), rgba(12, 28, 52, 0.45));
}

.services-faq-media__tag {
  position: absolute;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.22em;
}

.services-faq-content {
  padding-left: 0.8rem;
}

.services-faq-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.services-faq-subtitle {
  color: #494c51;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.services-faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid #bfc0c3;
  background: transparent;
}

.services-faq-accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  color: #101114;
  font-size: 20px;
  font-weight: 500;
  padding: 1.25rem 0.75rem;
}

.services-faq-accordion .accordion-button:not(.collapsed) {
  color: #101114;
}

.services-faq-accordion .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
}

.services-faq-accordion .accordion-body {
  color: #4d4f54;
  font-size: 1rem;
  line-height: 1.7;
  padding: 0 0.75rem 1.1rem;
}

.civil-service-links {
  background: linear-gradient(180deg, #f5f5f6 0%, #efeff1 100%);
  border-top: 1px solid #e1e1e3;
}

.civil-service-links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  text-align: center;
  padding: 0.6rem 0.4rem;
  border-radius: 14px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.civil-service-links__icon {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #bb2030 0%, #9b1522 60%, #7c0f1a 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.civil-service-links__icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(155, 21, 34, 0.16);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.civil-service-links__label {
  margin-top: 1rem;
  color: #9b1522;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  position: relative;
  transition: color 0.25s ease;
}

.civil-service-links__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.28rem;
  width: 0;
  height: 2px;
  background: #9b1522;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.civil-service-links__item:hover .civil-service-links__icon {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 26px rgba(155, 21, 34, 0.28);
}

.civil-service-links__item:hover .civil-service-links__icon::after,
.civil-service-links__item:focus-visible .civil-service-links__icon::after {
  opacity: 1;
  transform: scale(1);
}

.civil-service-links__item:hover .civil-service-links__label,
.civil-service-links__item:focus-visible .civil-service-links__label {
  color: #7f101b;
}

.civil-service-links__item:hover .civil-service-links__label::after,
.civil-service-links__item:focus-visible .civil-service-links__label::after {
  width: 78%;
}

.civil-service-links__item:hover,
.civil-service-links__item:focus-visible {
  transform: translateY(-2px);
}

.civil-service-links__item:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(155, 21, 34, 0.2);
}

.contact-info-cards {
  background: #f1f1f2;
}

.contact-info-card {
  background: #e7e7e8;
  border-radius: 12px;
  padding: 2.3rem 1.4rem;
  text-align: center;
}

.contact-info-card__icon {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  margin: 0 auto 1rem;
  background: #9b1522;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.contact-info-card__title {
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: #0f1013;
}

.contact-info-card__text {
  font-size: 16px;
  color: #8c959f;
  margin-bottom: 0;
  line-height: 1.45;
}



.contact-touch-section {
  background: #f1f1f2;
}

.contact-touch-panel {
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
}


/* .contact-touch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.contact-touch-content {
  padding: 0.1rem 1.9rem 0;
}

.contact-touch-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 0.95rem;
  color: #14161b;
  line-height: 1.1;
}

.contact-touch-subtitle {
  font-size: 16px;
  color: #85909b;
  margin-bottom: 1.55rem;
  line-height: 1.65;
}

.contact-touch-form .form-control {
  border: 0;
  background: #e5e5e7;
  color: #1c1f24;
  border-radius: 12px;
  min-height: 62px;
  font-size: 1rem;
  padding: 0.95rem 1rem;
}

.contact-touch-form textarea.form-control {
  min-height: 127px;
  resize: vertical;
}

.contact-touch-form .form-control::placeholder {
  color: #8d97a3;
}

.contact-touch-btn {
  padding: 0.84rem 1.6rem;
  font-size: 16px;
  border-radius: 0.8rem;
  font-weight: 700;
}

.contact-touch-map {
  margin-top: 1.3rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 26, 48, 0.1);
}

.contact-touch-map iframe {
  display: block;
  width: 100%;
  height: 448px;
  border: 0;
}

.legal-hero {
  position: relative;
  padding: 7.5rem 0 4.5rem;
  background:
    linear-gradient(120deg, rgba(145, 29, 31, 0.96) 0%, rgba(91, 14, 15, 0.92) 52%, rgba(12, 12, 13, 0.88) 100%);
  color: #fff;
  overflow: hidden;
}

.legal-hero::before,
.legal-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.legal-hero::before {
  width: 340px;
  height: 340px;
  top: -110px;
  right: -80px;
  background: rgba(255, 255, 255, 0.08);
}

.legal-hero::after {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -85px;
  background: rgba(255, 255, 255, 0.06);
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-title {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
}

.legal-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.9;
}

.legal-breadcrumb {
  margin-top: 1.35rem;
}

.legal-section {
  background:
    radial-gradient(circle at top right, rgba(145, 29, 31, 0.06), transparent 26%),
    linear-gradient(180deg, #f7f7f8 0%, #f1f2f4 100%);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.legal-sidebar-card,
.legal-content-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(15, 18, 26, 0.08);
}

.legal-sidebar-card {
  padding: 2rem;
  position: sticky;
  top: 110px;
}

.legal-sidebar-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.legal-sidebar-card p {
  color: #4d5158;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-card-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #20242b;
  line-height: 1.6;
}

.legal-contact-list li + li {
  margin-top: 0.8rem;
}

.legal-contact-list i {
  color: var(--brand);
}

.legal-content-card {
  padding: 2rem;
}

.legal-content-card--wide {
  padding: 2.2rem;
}

.legal-copy-block + .legal-copy-block {
  margin-top: 1.5rem;
}

.legal-copy-block h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #101216;
}

.legal-copy-block p {
  margin-bottom: 0;
  color: #4a4f56;
  line-height: 1.85;
}

.legal-copy-block a {
  color: var(--brand);
  text-decoration: none;
}

.legal-copy-block a:hover {
  text-decoration: underline;
}

.legal-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.legal-accordion .accordion-item {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 18, 26, 0.06);
}

.legal-accordion .accordion-item + .accordion-item {
  margin-top: 1rem;
}

.legal-accordion .accordion-button {
  padding: 1.35rem 1.4rem;
  background: #fff;
  color: #111317;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: none;
}

.legal-accordion .accordion-button:not(.collapsed) {
  color: var(--brand);
  background: #fff7f7;
}

.legal-accordion .accordion-body {
  padding: 0 1.4rem 1.35rem;
  color: #4b4f56;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .legal-grid,
  .legal-terms-grid {
    grid-template-columns: 1fr;
  }

  .legal-sidebar-card {
    position: static;
  }

  .completed-projects-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .completed-projects-stat {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .completed-projects-list {
    grid-template-columns: 1fr;
  }

  .completed-project-card__meta {
    grid-template-columns: 1fr;
  }

  .flip-card {
    min-height: 0;
    perspective: none;
  }

  .flip-card-inner {
    min-height: 0;
    transform: none !important;
    display: block;
  }

  .flip-card-front,
  .flip-card-back {
    position: relative;
    inset: auto;
    transform: none;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .flip-card-front {
    display: none;
  }

  .flip-card-back {
    min-height: 0;
  }

  .about-hero {
    min-height: 320px;
  }

  .about-stats-card {
    margin-top: 1rem;
  }

  .about-stats-band {
    padding: 48px 0;
  }

  .about-stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(145, 29, 31, 0.14);
  }

  .about-stats-card .col-6:nth-last-child(-n+2) .about-stat-item {
    border-bottom: 0;
  }

  .mv-card p {
    font-size: 16px;
  }

  .blog-card-modern img {
    height: 210px;
  }

  .service-card-lite {
    min-height: 320px;
    padding: 1.6rem 1.5rem 1.5rem;
  }

  .service-card-lite__icon {
    width: 62px;
    height: 62px;
    font-size: 1.6rem;
  }

  .service-card-lite__title {
    font-size: 23px;
  }

  .service-card-lite__text,
  .service-card-lite__link {
    font-size: 0.98rem;
  }

  .services-cta-banner {
    padding: 4.8rem 0;
  }

  .services-cta-banner__text {
    margin-bottom: 1.5rem;
  }

  .services-faq-media {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .services-faq-media__small,
  .services-faq-media__card,
  .services-faq-media__large {
    grid-column: auto;
    grid-row: auto;
  }

  .services-faq-media__small {
    display: none;
  }

  .services-faq-media__large {
    min-height: 360px;
    order: 1;
  }

  .services-faq-media__card {
    order: 2;
  }

  .services-faq-content {
    padding-left: 0;
  }

  .services-faq-subtitle {
    margin-bottom: 1.1rem;
  }

  .services-faq-accordion .accordion-button {
    padding: 1rem 0.25rem;
  }

  .services-faq-accordion .accordion-body {
    padding: 0 0.25rem 1rem;
  }

  .civil-service-links__icon {
    width: 108px;
    height: 108px;
    font-size: 2.35rem;
  }

  .civil-service-links__label {
    font-size: 0.95rem;
  }

  .contact-info-card {
    padding: 1.8rem 1.1rem;
  }

  .contact-info-card__icon {
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
  }

  .contact-info-card__text {
    font-size: 1rem;
  }



  .contact-touch-content {
    padding: 1rem 1.2rem 0;
  }

  .contact-touch-title {
    font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  }

  .contact-touch-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .contact-touch-form .form-control {
    min-height: 50px;
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
  }

  .contact-touch-form textarea.form-control {
    min-height: 150px;
  }

  .contact-touch-btn {
    padding: 0.65rem 1.2rem;
    font-size: 1.05rem;
    border-radius: 0.55rem;
  }

  .contact-touch-map iframe {
    height: 256px;
  }
}

@media (max-width: 576px) {
  .legal-hero {
    padding: 6.5rem 0 3.5rem;
  }

  .legal-sidebar-card,
  .legal-content-card,
  .legal-content-card--wide {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .legal-accordion .accordion-button {
    padding: 1.1rem 1rem;
    font-size: 1rem;
  }

  .legal-accordion .accordion-body {
    padding: 0 1rem 1.1rem;
  }

  .completed-project-card {
    border-radius: 18px;
  }

  .flip-card-front,
  .flip-card-back {
    border-radius: 18px;
  }

  .completed-project-card__content {
    padding: 1.1rem;
  }

  .completed-project-card__number {
    min-width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .completed-project-card__badge {
    font-size: 0.72rem;
  }

  .completed-project-card__overlay {
    padding: 0.95rem;
  }

  .about-breadcrumb {
    font-size: 11px;
  }

  .about-stats-card h3 {
    font-size: 24px;
  }

  .service-card-lite {
    min-height: 0;
    padding: 1.3rem 1.1rem 1.2rem;
  }

  .service-card-lite__title {
    font-size: 1.2rem;
  }

  .service-card-lite__text,
  .service-card-lite__link {
    font-size: 0.95rem;
  }

  .services-cta-banner {
    padding: 3.8rem 0;
  }

  .services-cta-banner__btn {
    width: 100%;
    max-width: 240px;
  }

  .services-faq-media__large {
    min-height: 280px;
  }

  .services-faq-media__card {
    padding: 1.2rem 1rem;
  }

  .services-faq-media__btn {
    width: 100%;
    justify-content: center;
  }

  .civil-service-links__icon {
    width: 92px;
    height: 92px;
    font-size: 2rem;
  }

  .civil-service-links__label {
    font-size: 0.86rem;
    margin-top: 0.75rem;
  }

  .contact-info-card {
    padding: 1.4rem 0.9rem;
  }

  .contact-info-card__title {
    font-size: 1.35rem;
  }



  .contact-touch-content {
    padding: 0.95rem;
  }

  .contact-touch-title {
    font-size: 1.45rem;
  }

  .contact-touch-map iframe {
    height: 224px;
  }
}


/* career */

.career-modern-section{
padding:90px 0;
background:#f7f8fc;
}

/* Layout */

.career-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

/* Left Content */

.career-heading{
font-size:38px;
font-weight:700;
color:#0a1635;
margin-bottom:15px;
}

.career-desc{
font-size:16px;
color:#6b7280;
margin-bottom:30px;
}

/* Benefits */

.career-benefits{
display:flex;
flex-direction:column;
gap:20px;
}

.career-benefit{
display:flex;
gap:15px;
align-items:flex-start;
}

.career-benefit i{
font-size:24px;
color:#8f1b22;
}

.career-benefit h4{
font-size:18px;
margin-bottom:5px;
font-weight:600;
}

.career-benefit p{
font-size:14px;
color:#6b7280;
}

/* Form Card */

.career-form-card{
background:#fff;
padding:40px;
border-radius:14px;
box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.form-title{
font-size:24px;
font-weight:700;
margin-bottom:25px;
}

/* Form Grid */

.form-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

.form-group input,
.form-group select,
.form-group textarea{
width:100%;
padding:12px 14px;
border:1px solid #e4e6ef;
border-radius:6px;
font-size:14px;
}

.form-group textarea{
resize:none;
}

.form-group.full{
grid-column:1 / -1;
}

/* Button */

.career-submit{
margin-top:20px;
background:#8f1b22;
color:#fff;
border:none;
padding:12px 28px;
border-radius:6px;
font-weight:600;
cursor:pointer;
}

.career-submit:hover{
background:#6f1419;
}

/* Responsive */

@media (max-width:992px){

.career-wrapper{
grid-template-columns:1fr;
}

}


/* Completed Projects */
 .project-detail-hero {
    position: relative;
    min-height: 540px;
    padding: 140px 0 90px;
    color: #fff;
    background:
      linear-gradient(90deg, rgba(8, 13, 20, 0.88) 0%, rgba(8, 13, 20, 0.72) 42%, rgba(8, 13, 20, 0.22) 100%);
    
    overflow: hidden;
  }

  .project-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
  }

  .project-detail-hero h1 {
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    line-height: 1.05;
    font-weight: 800;
    max-width: 820px;
    margin-bottom: 1rem;
  }

  .project-detail-hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .project-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .project-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .project-detail-btn:hover {
    transform: translateY(-2px);
  }

  .project-detail-btn--solid {
    background: #fff;
    color: #111827;
  }

  .project-detail-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .project-detail-main {
    margin-top: 70px;
    position: relative;
    z-index: 2;
  }

  .project-detail-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  }

  .project-detail-content {
    padding: 2rem;
  }

  .project-detail-lead {
    color: #445067;
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 1.6rem;
  }

  .project-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .project-detail-meta-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #f6f8fb;
    border: 1px solid #ebeff5;
  }

  .project-detail-meta-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b95a7;
    margin-bottom: 0.45rem;
  }

  .project-detail-meta-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.5;
  }

  .project-detail-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
  }

  .project-detail-scope {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .project-detail-scope li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.9rem;
    color: #4a5568;
    line-height: 1.75;
  }

  .project-detail-scope li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #9d1f24, #6b1115);
    box-shadow: 0 0 0 5px rgba(157, 31, 36, 0.08);
  }

  .project-detail-side {
    padding: 2rem;
    height: 100%;
    background: linear-gradient(180deg, #121826 0%, #1a2435 100%);
    color: #fff;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
  }

  .project-detail-side::after {
    content: "";
    position: absolute;
    inset: auto -60px -70px auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
  }

  .project-detail-side h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
  }

  .project-detail-side p,
  .project-detail-side li {
    color: rgba(255, 255, 255, 0.82);
    position: relative;
    z-index: 1;
  }

  .project-detail-highlight-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
  }

  .project-detail-highlight-list li {
    padding: 0.95rem 0 0.95rem 1.7rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.65;
  }

  .project-detail-highlight-list li::before {
    content: "\F26E";
    font-family: bootstrap-icons;
    position: absolute;
    left: 0;
    top: 1rem;
    color: #9df0b4;
  }

  .project-detail-stat {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
  }

  .project-detail-stat span {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 0.4rem;
  }

  .project-detail-stat strong {
    display: block;
    font-size: 1.05rem;
    color: #fff;
  }

  .project-detail-side-btn {
    position: relative;
    z-index: 1;
    width: 100%;
    justify-content: center;
    margin-top: 0.4rem;
    text-decoration: none;
  }

  .project-profile-section {
    background: linear-gradient(180deg, #f6f7f9 0%, #ffffff 100%);
  }

  .project-profile-card {
    background: #fff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    height: 100%;
  }

  .project-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.8rem 0 2rem;
  }

  .project-profile-item {
    padding: 1.15rem 1.2rem;
    border-radius: 20px;
    background: #f7f8fa;
    border: 1px solid #e8eaee;
  }

  .project-profile-item span {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a93a2;
    margin-bottom: 0.45rem;
  }

  .project-profile-item strong {
    display: block;
    font-size: 1rem;
    color: #101828;
    line-height: 1.6;
  }

  .project-detail-gallery {
    margin-top: 2rem;
  }

  .project-detail-gallery-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .project-detail-gallery-nav {
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }

  .project-detail-gallery-btn {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid #d9dde5;
    background: #fff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .project-detail-gallery-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  .project-detail-gallery-slider {
    position: relative;
  }

  .project-detail-gallery-viewport {
    overflow: hidden;
    border-radius: 22px;
  }

  .project-detail-gallery-track {
    display: flex;
    will-change: transform;
  }

  .project-detail-gallery-slide {
    flex: 0 0 auto;
    padding: 0 0.75rem;
  }

  .project-detail-gallery-card {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    background: #fff;
  }

  .project-detail-gallery-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
  }

  .project-detail-gallery-card .copy {
    padding: 1.1rem 1.2rem;
  }

  .project-detail-gallery-card h4 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
  }

  .project-detail-gallery-card p {
    margin: 0;
    color: #5d6778;
    line-height: 1.7;
  }

  .project-detail-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .project-detail-gallery-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: #cfd5df;
    transition: transform 0.25s ease, background-color 0.25s ease;
  }

  .project-detail-gallery-dots button.active {
    background: #911d1f;
    transform: scale(1.2);
  }

  @media (max-width: 991px) {
    .project-detail-main {
      margin-top: -40px;
    }

    .project-detail-content,
    .project-detail-side {
      padding: 1.4rem;
    }

    .project-detail-meta {
      grid-template-columns: 1fr;
    }

    .project-profile-card,
    .project-detail-side {
      padding: 1.4rem;
    }

    .project-profile-grid {
      grid-template-columns: 1fr;
    }

    .project-detail-gallery-head {
      align-items: flex-start;
      flex-direction: column;
    }
  }
