.acf-layout-tab-section .heading {
  font-weight: 700;
  font-size: clamp(2.25rem, 1.9714rem + 1.1429vw, 3rem);
  line-height: 120%;
  letter-spacing: 0%;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.acf-layout-tab-section .heading-2 {
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1571rem + 0.381vw, 1.5rem);
  line-height: 130%;
  letter-spacing: 0%;
  color: #1a1a1a;
}

.acf-layout-tab-section .content {
  font-weight: 400;
  font-size: clamp(0.875rem, 0.8286rem + 0.1905vw, 1rem);
  line-height: 160%;
  letter-spacing: 0%;
  color: #4a4a4a;
  padding-top: 10px;
}

.acf-layout-tab-section .content p {
  margin-bottom: 16px;
}

.acf-layout-tab-section .content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.acf-layout-tab-section .content ul li {
  margin-bottom: 10px;
  font-size: clamp(0.875rem, 0.8286rem + 0.1905vw, 1rem);
  line-height: 1.5;
  color: #4a4a4a;
}

.acf-layout-tab-section .img-wrapper {
  position: relative;
  height: 482px;
  border-radius: 22px;
  overflow: hidden;
  background-color: #ef4129;
}

.acf-layout-tab-section .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.2;
}

.acf-layout-tab-section .img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ef4129;
  opacity: 0.2;
  pointer-events: none;
}

.tab-sec-wrap {
  background: #ffeeea;
  border-radius: 20px;
  padding: 90px 80px 70px 80px;
}

.tab-buttons-pill {
  display: flex;
  background: #ffffff;
  border-radius: 100px;
  padding: 6px;
  gap: 4px;
  width: 100%;
}

.tab-btn {
  flex: 1;
  text-align: center;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 28px;
  font-weight: 700;
  font-size: clamp(0.875rem, 0.8286rem + 0.1905vw, 1rem);
  color: #ef4129;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #ef4129;
  color: #ffffff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

@media (min-width: 992px) and (max-width: 1439px) {
  .acf-layout-tab-section .heading {
    font-size: 34px;
  }
  .acf-layout-tab-section .heading-2 {
    font-size: 22px;
  }
  .acf-layout-tab-section .content {
    font-size: 15px;
  }
}

/* Tablet & Mobile Layouts */
@media (max-width: 991px) {
  .tab-sec-wrap {
    padding: 60px 40px 50px 40px;
  }
  .acf-layout-tab-section .img-wrapper {
    height: 380px;
  }
}

@media (max-width: 767px) {
  .tab-sec-wrap {
    padding: 40px 20px 30px 20px;
  }
  .tab-buttons-pill {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 8px;
  }
  .tab-btn {
    flex: 1 1 auto;
    padding: 10px 20px;
  }
  .acf-layout-tab-section .img-wrapper {
    height: 300px;
  }
}
