.casestudy-theme {
  .section-title {
    h2 {
      color: var(--secondary-color);
      text-transform: capitalize;
      padding-bottom: 24px;
      margin: 0px;
    }
  }
}
.hero-section {
  padding: 80px 0;
  padding-top: 150px;
  position: relative;
  .tag {
    span {
      background: var(--primary-bg-light);
      color: var(--primary-color);
      padding: 8px 16px;
      border-radius: 30px;
    }
  }
  h1 {
    margin-top: 30px;
    font-weight: 700;
  }
  .text-primary-custom {
    color: var(--primary-color);
  }
  &::after {
    content: "";
    height: 100%;
    width: 70%;
    left: 50%;
    top: 5%;
    position: absolute;
    background: radial-gradient(
      circle,
      var(--primary-bg) 0%,
      rgba(0, 0, 0, 0) 50%
    );
    transform: translateX(-35%);
    z-index: -1;
  }
  .banner-image {
    text-align: center;
    position: relative;
    .image-block {
      position: absolute;
      background-color: var(--white);
      border-radius: 5px;
      img {
        transition: all 0.5s;
        padding: 10px;
      }
      &:nth-child(1) {
        right: 0px;
        top: 35%;
      }
      &:nth-child(2) {
        left: 5%;
        top: 10%;
      }
      &:nth-child(3) {
        left: 0px;
        bottom: 10%;
      }
      &:hover {
        img {
          transform: scale(1.1);
        }
      }
    }
  }
}

@media (max-width: 1599px) {
  .hero-section {
    .banner-image {
      .image-block {
        &:nth-child(1) {
          right: -5%;
        }
        &:nth-child(2) {
          left: 0;
        }
        &:nth-child(3) {
          width: 200px;
          left: -5%;
        }
      }
    }
  }
}
@media (max-width: 1399px) {
  .hero-section {
    .banner-image {
      .image-block {
        &:nth-child(1) {
          width: 200px;
        }
        &:nth-child(2) {
          left: -3%;
        }
        &:nth-child(3) {
          width: 200px;
          left: -5%;
        }
      }
    }
  }
}
@media (max-width: 1199px) {
  .hero-section {
    .banner-image {
      .image-block {
        &:nth-child(1) {
          width: 170px;
        }
        &:nth-child(2) {
          left: 0;
        }
        &:nth-child(3) {
          width: 170px;
          left: 0;
        }
      }
    }
  }
}
@media (max-width: 450px) {
  .hero-section {
    .banner-image {
      .image-block {
        &:nth-child(1),
        &:nth-child(3) {
          width: 140px;
        }
      }
    }
  }
}
@media (max-width: 500px) {
  .hero-section {
    .banner-image {
      .image-block {
        &:nth-child(1),
        &:nth-child(3) {
          width: 100px;
        }
        &:nth-child(2) {
          width: 50%;
        }
      }
    }
  }
}
.summary-section-main {
  .wrapper {
    background: var(--primary-bg-light);
    padding: 32px 24px;
    text-align: left;
    margin: 0px;
  }
}

.about-the-client-main {
  .cards-main {
    margin-top: 40px;

    .card {
      border: none;
      .card-body-wrapper {
        padding: 32px;
        transition: all 0.3s ease-in-out;
        border: 1px solid var(--secondary-light);
        border-radius: 20px;
        .h1 {
          color: var(--primary-color);
          margin: 0px;
        }
        p {
          margin: 0px;
        }
        &:hover {
          border-color: var(--white);
          box-shadow: 0px 5px 25px -10px var(--primary-bg);
        }
      }
    }
  }
}
.tab-main {
  .tab-main-wrapper {
    padding-bottom: 48px;
    .buildBusinessSection {
      border: 1px solid var(--secondary-light);
      border-radius: 16px;
    }

    .nav-tabs {
      border: none;
      overflow-x: scroll;
      &::-webkit-scrollbar {
        display: none;
      }
      .nav-item {
        &:first-child {
          .nav-link {
            border-top-left-radius: 16px;
          }
        }
        &:last-child {
          .nav-link {
            border-top-right-radius: 16px;
          }
        }
      }
      .nav-link {
        color: var(--secondary-color);
        border: 1px solid var(--secondary-light);
        border-top: 0px;
        border-radius: 0px;
        height: 100%;
        padding: 20px 60px;
      }
      .nav-link.active {
        border-color: var(--white);
      }
    }
    #myTabContent {
      padding: 48px;
      .text-wrapper {
        margin-bottom: 40px;
        .h4 {
          font-weight: 700;
        }
      }
    }
  }
}
.problem-statement-main {
  .problem-card-body {
    display: flex;
    gap: 20px;
    .problem-image img {
      height: 48px;
      width: 48px;
    }
    .description {
      p {
        font-size: 18px;
      }
    }
  }
  .row:has(.col-xl-3) {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }
}
.problem-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--secondary-light);
  transition: all 0.3 s ease-in-out;
  &:hover {
    background-color: var(--primary-bg-light);
    border-color: var(--primary-bg-light);
  }
}

.cta-section-main {
  .cta-wrapper {
    background-image: url("../images/casestudy/lpg-gas-agency/cta-bg.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    padding: 50px;
    border-radius: 20px;
  }
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 165, 181, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.implementation-highlights-main {
  .row:has(.col-xl-3) {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }
}
.config-card-shadow-main {
  .card-shadow-wrapper {
    border: 1px solid var(--secondary-color);
    background: var(--white);
    padding: 32px;
    position: relative;

    .card-shadow {
      position: absolute;
      height: 100%;
      width: 100%;
      left: 0px;
      top: 0px;
      background: var(--white);
    }
    .card-shadow-1 {
      transform: rotate(2deg);
      z-index: -1;
      border: 1px solid rgba(51, 51, 51, 0.8);
    }
    .card-shadow-2 {
      transform: rotate(4deg);
      z-index: -2;
      border: 1px solid rgba(51, 51, 51, 0.6);
    }
    .card-shadow-3 {
      transform: rotate(6deg);
      z-index: -3;
      border: 1px solid rgba(51, 51, 51, 0.4);
    }
  }
  .section-title {
    padding: 0px;
  }
}
.config-text-with-stat-main {
  background: var(--primary-bg-light);
  .config-text-wrapper {
    h2 {
      font-weight: 800;
      margin-bottom: 24px;
    }
  }
  .stat-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
  }
  .chart {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
  }
}
@media (min-width: 2500px) {
  .hero-section {
    &::after {
      display: none;
    }
  }
}
@media (max-width: 1500px) {
  .hero-section {
    padding-top: 150px;
  }
  .problem-statement-main {
    .problem-card-body {
      display: flex;
      gap: 10px;
      .problem-image img {
        height: 38px;
        width: 38px;
      }
    }
  }
}
@media (max-width: 1200px) {
  .problem-card {
    margin-bottom: 20px;
  }
  .config-text-with-stat-main {
    .chart {
      font-size: 3.5rem;
    }
  }
  .about-the-client-main {
    .cards-main {
      .card {
        .card-body-wrapper {
          padding: 20px;
        }
      }
    }
  }
}
@media (max-width: 991px) {
  .hero-section {
    padding-top: 100px;
    .banner-image {
      margin-top: 30px;
    }
  }
  .about-the-client-main {
    .cards-main {
      margin-top: 40px;
      .card {
        .card-body-wrapper {
          .h1 {
            font-size: 28px;
          }
        }
      }
    }
  }
  .casestudy-theme {
    div#features-items .accordion-body {
      max-height: none;
      overflow-y: visible;
    }
  }
  .config-card-shadow-main {
    .card-shadow-wrapper {
      margin: 50px;
    }
  }
  .problem-statement-main {
    .row:has(.col-xl-3) {
      overflow: unset;
      flex-wrap: wrap;
    }
  }
}
@media (max-width: 767px) {
  .hero-section {
    &::after {
      display: none;
    }
  }
  .about-the-client-main {
    .cards-main {
      margin-top: 20px;
    }
  }
  .casestudy-theme {
    .section-title {
      h2 {
        padding-bottom: 14px;
      }
    }
  }
}
@media (max-width: 500px) {
  .config-text-with-stat-main {
    .stat-wrapper {
      padding: 15px;
    }
    .chart {
      font-size: 2rem;
    }
  }
  .config-card-shadow-main {
    .card-shadow-wrapper {
      margin: 30px;
      padding: 20px;
    }
  }
}
.dynamic-text {
  margin-right: 8px;
  margin-left: 0px;

  .item:nth-child(2) {
    color: var(--secondary-color);
  }
}

@media (max-width: 1024px) {
  .text-container .item {
    line-height: 50px;
  }
}

@media (max-width: 991px) {
  .text-container {
    height: 45px;
    .item {
      line-height: 40px;
    }
  }
}

@media (max-width: 768px) {
  .text-container {
    height: 40px;
    .item {
      height: 40px;
    }
  }
}
@media (max-width: 500px) {
  .text-container {
    height: 35px;
    .item {
      height: 35px;
      line-height: 35px;
    }
  }
}
@media (max-width: 370px) {
  .hero-section {
    h1 {
      font-size: 23px;
    }
  }
  .text-container {
    height: 30px;
    .item {
      height: 30px;
      line-height: 30px;
    }
  }
}
