/* Homepage */

.hero-section-wrapper {
  width: 100%;
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.hero-content-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-content-div {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 540px;
  width: 100%;
  padding: 40px 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--container-width);
}

.container.center {
  align-items: center;
  text-align: center;
}

.center-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.reduced-width {
  max-width: 380px;
}

/* Partners */
.partner-content-wrapper {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.partner-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, #fff, transparent 45%, transparent 55%, #fff);
  min-height: 100px;
}

.partner-carousel-wrapper {
  overflow: hidden;
  min-height: 100px;
  display: flex;
  align-items: center;
}

.partner-track {
  display: flex;
  width: max-content;
  animation: partnerScroll 25s linear infinite;
}

.partner-logo-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 40px;
  flex-shrink: 0;
}

.partner-img {
  max-height: 72px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
}

@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About */
.wrapper.home-about {
  padding-bottom: calc(var(--section-pad) + 40px);
}

.image-2 {
  width: 50%;
  object-fit: cover;
}

.div-block-2 {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 460px;
}

/* Services */
.wrapper.dark-grey-bg {
  background-color: var(--dark-grey);
}

#services .container.center {
  margin-bottom: 8px;
}

.home-services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  align-items: stretch;
}

.home-services-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  color: inherit;
  overflow: visible;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
}

.home-services-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 237, 0, 0.45);
  background: rgba(255, 237, 0, 0.05);
}

/* Homepage Hero typography visibility fixes */
.hero-grid .h1 {
  color: var(--black) !important;
}

.hero-grid .h1 .heading-hilighter {
  color: var(--black) !important;
}

.hero-grid .hero-para {
  color: var(--body-text) !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


a.home-services-card {
  cursor: pointer;
}

.home-services-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-number {
  font-size: 0.75em;
  font-weight: 600;
  color: var(--bright-yellow);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.service-card-txt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1em;
  line-height: 1.65;
  margin-top: 8px;
  flex: 1;
}

.service-link {
  color: var(--bright-yellow);
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.home-services-card .card-body .h3.white {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.25em;
}

/* Portfolio */
.portfolio-marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  user-select: none;
}

.portfolio-marquee-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, #fff, transparent 18%, transparent 82%, #fff);
}

.portfolio-marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
  --marquee-offset: -50%;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--marquee-offset, -50%)); }
}

.work-slide {
  flex: 0 0 auto;
  width: min(480px, 42vw);
}

.work-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Why Signify */
.home-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 48px;
}

.div-block-7 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.image-4 {
  width: 56px;
  height: 56px;
}

@media screen and (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content-wrapper {
    justify-content: center;
    padding: 32px 24px;
  }

  .hero-content-div {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .hero-para {
    max-width: 100%;
  }

  .image-2 {
    width: 100%;
  }

  .home-services-grid-wrapper {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .home-work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-slide {
    width: min(360px, 75vw);
  }

  .work-slide img {
    height: 260px;
  }
}

@media screen and (max-width: 767px) {
  .home-work-grid {
    grid-template-columns: 1fr;
  }

  .work-slide img {
    height: 220px;
  }
}
