
/* Case Study */

.case-study-slider:not(.owl-loaded) {
  overflow: hidden;
  max-height: 500px;
}

.case-study-slider:not(.owl-loaded) .item~.item {
  display: none;
}

.case-study-slider .owl-stage-outer {
  overflow: hidden;
}

.case-study-slider .owl-stage {
  display: flex;
}

.case-study-slider .owl-item {
  flex-shrink: 0;
  overflow: hidden;
}

.case-study-wrapper {
  margin: 20px 0 40px;
}

.portfolio-wrapper {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  max-height: 456px;
}

.portfolio-img {
  width: 50%;
  display: flex;
}

.portfolio-img figure {
  width: 100%;
  margin: 0;
  display: flex;
}

.portfolio-img figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.portfolio-content {
  width: 50%;
  background-color: #F8F7F4;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.port-top-content .heading3 {
  font-size: 30px;
  font-weight: 800;
  line-height: 136%;
  margin: 0;
  color:#000;
}

.case-study-wrapper .port-top-content .subhead {
  font-size: 18px;
  font-weight: 400;
  line-height: 136%;
  margin: 5px 0 0;
  color: #000;
}

.port-stats {
  display: flex;
  gap: 12px;
}

.port-stat-card {
  border: 1px solid #BFBFBF;
  border-radius: 16px;
  padding: 14px;
  width: 50%;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.port-stat-card .stat-value {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}


.port-stat-card .stat-arrow svg {
  width: 20px;
  height: 20px;
}

.port-stat-card .stat-label {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
}

.port-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}


.port-nav-arrows {
  display: flex;
  gap: 10px;
}

.port-nav-arrows button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.port-nav-arrows button:hover {
  border-color: #000;
  background-color: #f0f0f0;
}

.case-study-wrapper .common-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.case-study-wrapper .common-carousel-nav button {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid #636362;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}


.case-study-wrapper .nav-svg-wrap {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.case-study-wrapper .arrow-real,
.case-study-wrapper .arrow-copy {
  position: absolute;
  transition: transform 0.3s ease-in-out;
}

/* Default Positions */
.arrow-btn.prev-btn .arrow-real,
.arrow-btn.next-btn .arrow-real {
  transform: translateX(0);
}

.arrow-btn.prev-btn .arrow-copy {
  transform: translateX(150%);
}

.arrow-btn.next-btn .arrow-copy {
  transform: translateX(-150%);
}

/* Hover Transitions */
.arrow-btn.prev-btn:hover .arrow-real {
  transform: translateX(-150%);
}

.arrow-btn.prev-btn:hover .arrow-copy {
  transform: translateX(0);
  transition-delay: 0.1s;
}

.arrow-btn.next-btn:hover .arrow-real {
  transform: translateX(150%);
}

.arrow-btn.next-btn:hover .arrow-copy {
  transform: translateX(0);
  transition-delay: 0.1s;
}

/* Common btn */
.port-bottom-content a.swap-text-button {
  font-size: 14px;
  font-weight: 600;
  color: white;
  border-radius: 3rem;
  cursor: pointer;
  padding: 14px 28px;
  margin: 0;
  line-height: 1.26;
  border: none;
  background-color: #1A69FD;
  border-top: 2px solid #5E96FE;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.lets-ai .hero-content {
  max-width: 1330px;
}

.port-bottom-content a.swap-text-button.second-icon svg {
  max-height: 14px;
}

.port-bottom-content a.swap-text-button.lg-btn .text-hover {
  transform: translateX(-14px);
}

.port-bottom-content a.swap-text-button.second-icon .button__icon-wrapper svg {
  height: 100%;
}

.port-bottom-content a.swap-text-button.blue-swap-btn {
  border-top: 2px solid #0E47B3;
}

.port-bottom-content .text-original {
  display: flex;
  overflow: hidden;
}

.port-bottom-content a.swap-text-button:hover .text-original span {
  transform: translateY(1.3em);
}

.port-bottom-content a.swap-text-button .text-original span:nth-child(1) {
  transition: 0.2s;
}

.port-bottom-content a.swap-text-button .text-hover {
  display: flex;
  position: absolute;
  overflow: hidden;
}

.port-bottom-content a.swap-text-button .text-hover span {
  transform: translateY(-100%);
}

.port-bottom-content a.swap-text-button:hover .text-hover span {
  transform: translateY(0);
}

.port-bottom-content a.swap-text-button .text-hover span {
  transition: 0.2s;
}

.port-bottom-content .button__icon-wrapper {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  background-color: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.button__icon-svg,
.button__icon-svg--copy {
  position: absolute;
  transition: transform 0.3s ease-in-out;
}

.button__icon-svg {
  transform: translate(0, 0);
}

.button__icon-svg--copy {
  transform: translate(-150%, 150%);
}

/* Hover Animations */
.port-bottom-content a.swap-text-button:hover .button__icon-svg {
  transform: translate(150%, -150%);
}

.port-bottom-content a.swap-text-button:hover .button__icon-svg--copy {
  transform: translate(0, 0);
  transition-delay: 0.1s;
}

@media (max-width: 1728px) {

  .portfolio-wrapper {
    max-height: 400px;
  }

  .portfolio-content {
    padding: 24px;
  }

  .case-study-wrapper .portfolio-content .heading3 {
    font-size: 18px;
  }

  .case-study-wrapper .portfolio-content .subhead {
    font-size: 14px;
    margin-top: 2px;
  }

  .port-stat-card {
    padding: 8px;
    gap: 24px;
  }

  .port-stat-card .stat-value {
    font-size: 28px;
  }

  .port-stat-card .stat-arrow svg {
    width: 18px;
    height: 18px;
  }

  .port-stat-card .stat-label {
    font-size: 12px;
  }

  .case-study-wrapper a.swap-text-button {
    font-size: 12px;
  }

  .case-study-wrapper .common-carousel-nav button {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 1550px) {

  .portfolio-wrapper {
    max-height: 350px;
  }

  .case-study-wrapper a.swap-text-button {
    padding: 12px 28px;
  }

}

@media (max-width: 1440px) {

  .portfolio-content {
    padding: 18px;
  }

  .blog_wrapper .portfolio-content .heading3 {
    font-size: 16px;
  }

  .blog_wrapper .portfolio-content .subhead {
    font-size: 12px;
  }

  .port-stat-card {
    padding: 6px;
    gap: 18px;
  }

  .port-stat-card .stat-value {
    font-size: 24px;
  }

  .port-stat-card .stat-arrow svg {
    width: 16px;
    height: 16px;
  }

  .port-stat-card .stat-label {
    font-size: 10px;
  }

  .case-study-wrapper a.swap-text-button {
    font-size: 10px;
  }

  .case-study-wrapper .common-carousel-nav button {
    width: 32px;
    height: 32px;
  }

}

@media (max-width: 1366px) {
  .portfolio-wrapper {
    max-height: 300px;
  }

  .case-study-wrapper a.swap-text-button {
    padding: 8px 16px;
    gap: 6px;
  }
}

@media (max-width: 767px) {
  .portfolio-wrapper {
    max-height: 100%;
    flex-direction: column;
  }

  .portfolio-img,
  .portfolio-content {
    width: 100%;
  }

  .portfolio-img {
    max-height: 260px;
  }

  .portfolio-content {
    padding: 16px;
    gap: 24px;
  }

  .blog_wrapper .portfolio-content .heading3 {
    font-size: 14px;
  }

  .port-stat-card .stat-value {
    font-size: 20px;
  }

  .port-stat-card {
    border-radius: 12px;
  }

  .port-stat-card .stat-arrow svg {
    width: 12px;
    height: 12px;
  }
}

/* Common btn ends*/

/* Case Study */
