/* Client Highlights Stats Module Styles */

.client-highlights-stats-section {
  margin: 0 auto 120px;
  background: #ffffff;
  width: 100%;
  max-width: 1324px;
}

.client-highlights-stats-section .client-highlights-stats-wrapper {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.client-highlights-stats-section .company-logo-container {
  margin: 40px;
}

.client-highlights-stats-section .client-highlights-stats-content-column {
  width: 100%;
  max-width: 900px;
}

/* Image placement variants */
.client-highlights-stats-section .client-highlights-stats-wrapper--right {
  grid-template-areas: "content image";
}

.client-highlights-stats-section .client-highlights-stats-wrapper--right .client-highlights-stats-content-column {
  grid-area: content;
}

.client-highlights-stats-section .client-highlights-stats-wrapper--right .client-highlights-stats-image-column {
  grid-area: image;
}

.client-highlights-stats-section .client-highlights-stats-wrapper--left {
  grid-template-areas: "image content";
}

.client-highlights-stats-section .client-highlights-stats-wrapper--left .client-highlights-stats-content-column {
  grid-area: content;
}

.client-highlights-stats-section .client-highlights-stats-wrapper--left .client-highlights-stats-image-column {
  grid-area: image;
}

.client-highlights-stats-section .client-highlights-cta-container {
  margin: 0 24px 24px;
}

.client-highlights-stats-section .company-logo {
  min-height: 40px !important;
  width: auto;
  object-fit: contain;
}

/* Hide mobile logo on desktop */
.client-highlights-stats-section .company-logo-container--mobile {
  display: none;
}

.client-highlights-stats-section .content-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #1F2937;
  margin: 0 0 24px 0;
}

.client-highlights-stats-section .content-description {
  font-size: 18px;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 40px;
}

.client-highlights-stats-section .content-description p {
  margin: 0 0 16px 0;
}

.client-highlights-stats-section .content-description p:last-child {
  margin-bottom: 0;
}

/* Stats Grid */
.client-highlights-stats-section .stats-grid {
  display: flex;
  gap: 12px;
  margin-bottom: 52px;
  justify-content: space-between;
}

.client-highlights-stats-section .stat-card {
  padding: 0 24px 0 32px;
  overflow: hidden;
  align-items: flex-start;
  width: auto;
  min-height: 150px;
}

.client-highlights-stats-section .stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 112px;
  font-weight: 200;
  font-style: normal;
  line-height: 100%;
  color: #3BE1A4;
  position: relative;
  z-index: 1;
  letter-spacing: -2.24px;
}

.client-highlights-stats-section .stat-label {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  line-height: 120%;
  color: #0A0A09;
  text-shadow: 0 0 48px rgba(255, 255, 255, 0.64);
  position: relative;
  z-index: 1;
}

.client-highlights-stats-section .stat-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 120%;
  color: #6C6C68;
  position: relative;
  z-index: 1;
}

.client-highlights-stats-section .client-highlights-cta-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #ffffff;
  color: #0A0A09;
  text-decoration: none;
  border: 2px solid #0A0A09;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  justify-content: center;
  min-width: 200px;
}

.client-highlights-stats-section .client-highlights-cta-button:hover {
  background: #0A0A09;
  color: #ffffff;
}

/* Image Column */
.client-highlights-stats-section .client-highlights-stats-image-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-highlights-stats-section .background-image-container {
  width: 100%;
  position: relative;
}

.client-highlights-stats-section .background-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 28px;
}

.client-highlights-stats-section .stat-card {
  min-width: 216px;
}
.client-highlights-stats-section .stat-card:nth-child(3) {
  min-width: 303px;
}

/* Responsive Design */
/*@media (max-width: 1024px) {*/
/*  .client-highlights-stats-section .client-highlights-stats-wrapper {*/
/*    gap: 20px;*/
/*  }*/

/*  .client-highlights-stats-section .stats-grid {*/
/*    flex-direction: column;*/
/*    gap: 20px;*/
/*  }*/

/*  .client-highlights-stats-section .stat-card {*/
/*    width: 100%;*/
/*    height: auto;*/
/*  }*/

/*  .client-highlights-stats-section .stat-number {*/
/*    font-size: 58px;*/
/*  }*/

/*  .client-highlights-stats-section .stat-label {*/
/*    font-size: 16px;*/
/*  }*/
/*}*/

@media (max-width: 1024px) {
  .client-highlights-stats-section .client-highlights-stats-content-column {
    max-width: 70%;
  }

  .client-highlights-stats-section .stat-number {
    font-size: 60px;
  }

  .client-highlights-stats-section .stat-label {
    font-size: 14px;
  }

  .client-highlights-stats-section .stat-description {
    font-size: 14px;
  }
  .client-highlights-stats-section .stat-card {
    min-width: 180px;
    padding-right: 0;
  }
  .client-highlights-stats-section .stat-card:nth-child(3) {
    min-width: auto;
  }
  .client-highlights-stats-section .stats-grid {
    gap: 0;
  }

@media (max-width: 768px) {
  .client-highlights-stats-section .client-highlights-stats-section {
    margin: 0 auto 40px;
  }

  /* Hide content column logo on mobile */
  .client-highlights-stats-section .client-highlights-stats-content-column .company-logo-container {
    display: none;
  }

  /* Show and position mobile logo */
  .client-highlights-stats-section .company-logo-container--mobile {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    margin: 0;
    text-align: center;
  }

  .client-highlights-stats-section .client-highlights-cta-container {
    margin: 0;
  }

  .client-highlights-stats-section .client-highlights-stats-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  /* Move image column to the top */
  .client-highlights-stats-section .client-highlights-stats-image-column {
    order: -1;
    position: relative;
    width: 100%;
  }

  .client-highlights-stats-section .client-highlights-stats-content-column {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  /* Make background image container responsive */
  .client-highlights-stats-section .background-image-container {
    min-width: 100% !important;
    max-width: 100%;
    width: 100%;
  }

  /* Add dark overlay on mobile */
  .client-highlights-stats-section .background-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
    border-radius: 16px;
    z-index: 1;
  }

  .client-highlights-stats-section .background-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 16px;
  }

  .client-highlights-stats-section .content-title {
    font-size: 28px;
  }

  .client-highlights-stats-section .stats-grid {
    flex-direction: column;
    gap: 20px;
    margin: 0 0 40px 0;
  }

  .client-highlights-stats-section .stat-card {
    width: 100%;
    height: auto;
    padding: 0 20px 0 20px;
    min-height: 50px;
  }

  .client-highlights-stats-section {
    margin-bottom: 88px;
    background-color: #F0F0EC;
    border-radius: 28px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .client-highlights-stats-section .client-highlights-cta-button {
    outline: 8px solid #fff;
    margin-bottom: -10px;
    position: relative;
  }
  .client-highlights-stats-section .client-highlights-cta-button::before,
  .client-highlights-stats-section .client-highlights-cta-button::after {
    background-repeat: no-repeat;
    background-size: 18px 10px;
    content: "";
    display: inline-block;
    height: 48px;
    position: absolute;
    width: 36px;
    z-index: 1;
  }
  .client-highlights-stats-section .client-highlights-cta-button::before {
    background-image: url(https://www.iadvize.com/hubfs/iadvize25/sprites/cta-corner-bottom-left-sm-wd@2x.png);
    bottom: -2px;
    width: 14px;
    height: 10px;
    left: -14px;
  }
  .client-highlights-stats-section .client-highlights-cta-button::after {
    background-image: url(https://www.iadvize.com/hubfs/iadvize25/sprites/cta-corner-bottom-right-sm-wd@2x.png);
    bottom: -2px;
    height: 10px;
    right: -14px;
    width: 10px;
    background-size: 18px 10px;
    background-position: right;
  }
}
