/* =====================================================================
   index-page.css — styles used only by index.html (home page).
   Keep Webflow + custom-overrides.css generic; put home-page-only UI here.

   Load order (index.html): … → custom-overrides.css → index-page.css (last wins).
   ===================================================================== */


/* ---------------------------------------------------------------------
   HOME HERO — split layout (replaces former Webflow slider)
   Title uses Poppins at clamp() sizes (not oversized Playfair defaults).
   --------------------------------------------------------------------- */
.page-wrapper .home-hero {
  padding-top: 0 !important;
}

.home-hero {
  width: 100%;
  background: #fff;
  overflow: hidden;
  font-family: "Poppins", "Open Sans", sans-serif;
  color: #0b2340;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  align-items: stretch;
  min-height: min(92vh, 900px);
}

.home-hero-left {
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero-brand {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: #0a2340;
  margin: 0 0 6px;
}

.home-hero-brand span {
  font-weight: 300;
}

.home-hero-kicker {
  letter-spacing: 0.18em;
  color: #555;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 600;
  margin: 0 0 clamp(28px, 4vw, 52px);
  text-transform: uppercase;
}

.home-hero-title {
  font-family: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #06213a;
  margin: 0 0 clamp(20px, 3vw, 36px);
  font-weight: 700;
}

.home-hero-desc {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.75;
  color: #555;
  max-width: 620px;
  margin: 0 0 clamp(28px, 4vw, 44px);
}

.home-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.home-hero-btn {
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-hero-btn:hover {
  transform: translateY(-2px);
}

.home-hero-btn-primary {
  background: #03284a;
  color: #fff;
  border: 2px solid #03284a;
}

.home-hero-btn-primary:hover {
  box-shadow: 0 8px 24px rgba(3, 40, 74, 0.25);
}

.home-hero-btn-secondary {
  border: 2px solid #03284a;
  color: #03284a;
  background: #fff;
}

.home-hero-btn-secondary:hover {
  background: #f4f7fb;
}

.home-hero-right {
  position: relative;
  min-height: 280px;
}

.home-hero-right img {
  width: 100%;
  height: 100%;
  min-height: min(92vh, 900px);
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.home-hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(32px, 4vw, 48px) clamp(24px, 5vw, 60px);
  border-top: 1px solid #ececec;
  background: #fff;
  gap: 0;
}

.home-hero-feature {
  padding: 0 clamp(16px, 2vw, 28px);
  border-right: 1px solid #e5e5e5;
}

.home-hero-feature:last-child {
  border-right: none;
}

.home-hero-feature h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  margin: 0 0 14px;
  color: #08223f;
  font-weight: 600;
}

.home-hero-feature p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
  color: #5d6673;
  margin: 0;
}

@media (max-width: 1100px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-hero-right img {
    min-height: 360px;
    max-height: 520px;
  }

  .home-hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }

  .home-hero-feature {
    border-right: none;
    padding: 0 12px;
  }
}

@media (max-width: 600px) {
  .home-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-features {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
}


/* ---------------------------------------------------------------------
   SERVICES SECTION — "What can we offer"
   Hero image asset: images/ChatGPT Image May 7, 2026, 10_02_30 PM.png
   --------------------------------------------------------------------- */

.service-section-area {
  background: linear-gradient(180deg, #f4faf8 0%, #ecf5f2 45%, #f7fbf9 100%);
  padding: clamp(40px, 6vw, 88px) 0;
}

.service-section-area .service-section-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.service-section-area .service-area-image {
  position: relative !important;
  top: auto !important;
  align-self: start;
  overflow: visible !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.service-section-area .service-area-image .image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6, 33, 58, 0.18);
  background: #06213a;
  aspect-ratio: 2 / 3;
  display: block;
}

.service-section-area .service-explaination-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center bottom;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.service-section-area .service-area-content {
  max-height: none !important;
  overflow: visible !important;
  min-height: 0;
  padding-left: clamp(12px, 2.5vw, 28px);
  padding-right: clamp(12px, 2.5vw, 28px);
}

.service-section-area .block-header-primary {
  margin-bottom: 8px;
}

.service-section-area .block-entry-vertical-line {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #0099ac, #065a66);
}

.service-section-area .entry-title-text {
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  color: #0099ac;
}

.service-section-area .block-title-text {
  color: #06213a;
  font-weight: 600;
  line-height: 1.2;
  font-size: clamp(26px, 3.2vw, 40px);
}

.service-section-area .service-list-wrapper {
  max-height: calc(100vh - 7.5rem);
  max-height: calc(100dvh - 7.5rem);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding: 12px 4px 20px 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 153, 172, 0.4) rgba(0, 153, 172, 0.08);
}

.service-section-area .service-list-wrapper::-webkit-scrollbar {
  width: 7px;
}

.service-section-area .service-list-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 153, 172, 0.06);
  border-radius: 8px;
}

.service-section-area .service-list-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0, 153, 172, 0.35);
  border-radius: 8px;
}

.service-section-area .service-collection-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-section-area .service-explaination-image,
.service-section-area .photo-layer-top,
.service-section-area .service-count,
.service-section-area .service-logo-image,
.service-section-area .service-details {
  transform: none !important;
  transform-style: flat !important;
}

@media (min-width: 992px) {
  .service-section-area .service-wrap {
    grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(32px, 5vw, 72px);
  }

  .service-section-area .service-area-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding-top: clamp(20px, 2vw, 48px);
    padding-bottom: clamp(32px, 4vw, 72px);
  }

  .service-section-area .service-area-content .block-header-primary {
    flex: 0 0 auto;
  }

  .service-section-area .service-list-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 200px) !important;
    max-height: calc(100dvh - 200px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin-top: 0;
    padding: 8px 8px 20px 0;
  }
}

@media (max-width: 991px) {
  .service-section-area .service-area-image {
    position: static;
    top: 0;
    height: auto;
  }

  .service-section-area .service-area-image .image-wrapper {
    aspect-ratio: 2 / 3;
    max-width: 440px;
    margin-inline: auto;
  }

  .service-section-area .service-list-wrapper {
    max-height: none !important;
    overflow-y: visible !important;
    padding: 8px 0 24px;
  }
}


/* ---------------------------------------------------------------------
   SERVICE CARDS — index list styling (flat cards, READ MORE row)
   --------------------------------------------------------------------- */

.service-section-area .service-single-item {
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(6, 33, 58, 0.06);
  border: 1px solid rgba(0, 153, 172, 0.1);
  padding: 0;
  overflow: hidden;
}

.service-section-area .service-single-item:hover {
  transform: none;
  box-shadow: 0 8px 28px rgba(0, 153, 172, 0.12);
  border-color: rgba(0, 153, 172, 0.28);
}

.service-section-area .single-item-wrap {
  column-gap: clamp(16px, 3vw, 32px);
  row-gap: 12px;
  padding: clamp(14px, 2vw, 20px) clamp(12px, 2vw, 18px);
  border-top-color: rgba(0, 153, 172, 0.08) !important;
  border-bottom-color: rgba(0, 153, 172, 0.08) !important;
  align-items: center;
}

.service-section-area .service-logo {
  flex-shrink: 0;
  column-gap: 14px;
}

.service-section-area .service-count {
  font-family: Oswald, "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0099ac !important;
  min-width: 2.25em;
}

.service-section-area .service-logo-image {
  width: 48px !important;
  height: 48px !important;
  max-width: none;
  object-fit: contain;
  padding: 8px;
  background: linear-gradient(145deg, #f8fdfd, #fff);
  border-radius: 12px;
  border: 1px solid rgba(0, 153, 172, 0.18);
  box-sizing: border-box;
}

.service-section-area .service-details {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
  flex: 1;
  min-width: 0;
}

.service-section-area .service-link-wrap {
  text-decoration: none;
}

.service-section-area .service-title {
  color: #0a2340 !important;
  font-size: clamp(17px, 1.45vw, 22px) !important;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.service-section-area .service-single-item:hover .service-title {
  color: #0099ac !important;
}

.service-section-area .text-wrapper {
  margin-top: 6px;
}

.service-section-area .service-details-text {
  color: #4a5568 !important;
  line-height: 1.65;
  max-width: none !important;
  font-size: clamp(14px, 1.1vw, 16px);
}

.service-section-area .servicdetails-button {
  margin-top: 12px;
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 8px 4px 8px 0;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-section-area .servicdetails-button:hover {
  background-color: rgba(0, 153, 172, 0.08);
}

.service-section-area .service-button-line {
  display: none;
}

.service-section-area .service-button-text {
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em;
  color: #0099ac !important;
  transition: color 0.2s ease;
}

.service-section-area .servicdetails-button:hover .service-button-text {
  color: #067d8c !important;
}

.service-section-area .button-right-arrow {
  width: auto !important;
  min-width: 1rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.service-section-area .button-arrow-half {
  font-size: 11px;
  color: #0099ac;
}


/* ---------------------------------------------------------------------
   INFRASTRUCTURE / UTILITY WORKFORCE STRIP — home page only
   --------------------------------------------------------------------- */

.infra-section {
  padding: clamp(56px, 8vw, 90px) clamp(5%, 7vw, 7%);
  background: #f7f9fc;
  font-family: "Poppins", "Open Sans", sans-serif;
  color: #0b2340;
}

.infra-container {
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.infra-tag {
  display: inline-block;
  background: #dcecff;
  color: #06213a;
  padding: 10px 18px;
  margin-top: 10px;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.infra-left h2 {
  font-size: clamp(28px, 3.2vw, 56px);
  line-height: 1.1;
  color: #06213a;
  margin: 0 0 22px;
  font-family: "Poppins", "Open Sans", sans-serif;
  font-weight: 700;
}

.infra-left p {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.85;
  color: #5d6673;
  margin: 0 0 28px;
  max-width: 36em;
}

.infra-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.infra-points div {
  background: #06213a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
}

.infra-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 36px;
}

.infra-btn {
  padding: 16px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.infra-btn:hover {
  transform: translateY(-2px);
}

.infra-btn-primary {
  background: #03284a;
  color: #fff;
  border: 2px solid #03284a;
}

.infra-btn-primary:hover {
  box-shadow: 0 8px 24px rgba(3, 40, 74, 0.22);
}

.infra-btn-outline {
  border: 2px solid #03284a;
  color: #03284a;
  background: #fff;
}

.infra-btn-outline:hover {
  background: #f0f4f8;
}

.infra-right .infra-img-primary {
  width: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  max-height: min(560px, 62vh);
  min-height: 260px;
}

/* Full-width infra collage — sits above OUR MOTIVE */
.home-infra-collage-banner {
  background: linear-gradient(180deg, #eef6f4 0%, #f7fbfa 100%);
  padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 40px);
  border-top: 1px solid rgba(0, 153, 172, 0.1);
  border-bottom: 1px solid rgba(0, 153, 172, 0.08);
}

.home-infra-collage-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.home-infra-collage-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(6, 33, 58, 0.14);
}

@media (max-width: 1100px) {
  .infra-container {
    grid-template-columns: 1fr;
  }

  .infra-right .infra-img-primary {
    max-height: 420px;
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .infra-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .infra-btn {
    width: 100%;
  }
}
