/* ============================================
   wrapp.css — Only required styles for:
   1. section-home-header (3D Grid)
   2. section-home-service (Spiral / Markets)
   ============================================ */

/* ── Fonts ── */
@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist-Regular.eot');
  src: url('fonts/Geist-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/Geist-Regular.woff2') format('woff2'),
    url('fonts/Geist-Regular.woff') format('woff'),
    url('fonts/Geist-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist-Light';
  src: url('fonts/Geist-Light.eot');
  src: url('fonts/Geist-Light.eot?#iefix') format('embedded-opentype'),
    url('fonts/Geist-Light.woff2') format('woff2'),
    url('fonts/Geist-Light.woff') format('woff'),
    url('fonts/Geist-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ── Base overrides ── */
html {
  font-size: 16px !important;
}

p {
  text-transform: none;
}

/* ── Section 1: section-home-header overrides ── */
.section-home-header {
  /* background: transparent !important; */
  padding-top: 100px;
}

.section-home-header ._3d-block img {
  height: 100% !important;
  width: 100% !important;
  object-fit: fill !important;
}

/* 3D image overlay gradient */
._3d-image-item a:before {
  content: '';
  position: absolute;
  bottom: -10px;
  border-radius: 1.25rem;
  left: 0;
  width: 300px;
  height: 200px;
  background-image: linear-gradient(180deg, transparent 0 30%, #000 70% 100%);
  width: 100%;
  transition: all 0.4s;
}

/* h3 label on 3D cards */
._3d-block ._3d-image-item span,
._3d-block ._3d-image-item h3 {
  font-size: 26px;
  font-weight: 400;
  font-family: "Sofia Sans Condensed", sans-serif;
  color: #fff;
  width: 100%;
  text-align: center;
  display: inline-block;
  position: absolute;
  bottom: 0;
  height: 100px;
  left: 0;
  right: 0;
  margin: auto;
  padding: 15px 0;
  border-radius: 0 0 1.25rem 1.25rem;
  line-height: 28px;
  font-weight: 700;
}

/* ── Section 2: section-home-service overrides ── */
.section-home-service {
  /* background: #000 !important; */
  border-radius: 0;
}

.heading-style-h2.service-heading {
  font-size: 62px;
  letter-spacing: 0;
  line-height: 0.8;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 800;
  font-family: "Sofia Sans Condensed", sans-serif;
  text-align: center;
}

.text-size-regular.white-text-center {
  font-size: 16px;
  line-height: 24px;
  color: #ffffff !important;
  font-weight: 400;
  font-family: 'Geist-Light';
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

/* Spiral content block — transparent bg (card-content-block handles styling) */
.spiral-content-block {
  background-color: transparent;
}

/* Card overrides */
.card-content-block {
  border-radius: 1.25rem;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  height: auto;
  padding: 2rem;

  border: 2px solid #719d93;
  width: calc(100% - 5px);
  height: calc(100% - 5px);
  left: 3px;
  top: 3px;
  position: relative;
  transition: background 0.3s;
}

/* Animated border glow — disabled */
.animated-border-box-glow {
  display: none;
}

/* Service title inside card */
.service-title {
  font-size: 30px;
  letter-spacing: 0;
  line-height: 29px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 800;
  font-family: "Sofia Sans Condensed", sans-serif;
  text-align: left;
  margin-bottom: 10px;
}

.service-title img {
  width: 50px;
  display: table;
  margin-bottom: 15px;
}

.service-title br {
  display: none;
}

/* Card description */
.card-description {
  font-size: 11px;
  line-height: 15px !important;
  color: #ffffff !important;
  font-weight: 400;
  font-family: 'Geist-Light';
  text-align: left;
  text-transform: none;
  letter-spacing: 0 !important;
}

/* dot */
.dot {
  background-color: transparent;
  border-radius: 100px;
  width: 10px;
  height: 10px;
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-home-service {
    padding-bottom: 17rem;
  }

  .heading-style-h2.service-heading {
    font-size: 32px;
    line-height: 1.1;
  }

  ._3d-image-item {
    height: 13rem;
  }

  ._3d-block ._3d-image-item span,
  ._3d-block ._3d-image-item h3 {
    font-size: 14px;
    line-height: 15px;
    height: auto;
  }

  .card-content-block {
    padding: 12px;
  }

  .service-title {
    font-size: 24px;
    line-height: 24px;
  }

  .card-description {
    white-space: inherit;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    min-height: 90px;
  }
}