/* ==========================================================================
   Sticky Columns Section (Case Studies) CSS - Custom Agency
   ========================================================================== */

.sticky-cols {
  width: 100%;
  min-height: 0;
  background-color: var(--base-100);
  padding: 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .sticky-cols {
    min-height: 100vh;
  }
}

.sticky-cols-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
}

.sticky-cols .col {
  position: absolute;
  width: 50%;
  height: 100%;
  will-change: transform;
}

.sticky-cols .col h1 {
  color: var(--base-400);
  width: 60%;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.sticky-cols .col p {
  color: var(--base-400);
  width: auto;
  font-size: 12px;
  font-weight: 500;
}

.sticky-cols .col-1 {
  top: 0;
  left: 0;
}

.sticky-cols .col-2 {
  top: 0;
  left: 0;
  transform: translateX(100%);
}

.sticky-cols .col-3 {
  top: 0;
  left: 0;
  transform: translateX(100%) translateY(100%);
  padding: 0.5rem;
}

.sticky-cols .col-4 {
  top: 0;
  left: 0;
  transform: translateX(100%) translateY(100%);
}

.sticky-cols .col-content,
.sticky-cols .col-img {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
}

.sticky-cols .col .col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-cols .col-content-wrapper,
.sticky-cols .col-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--base-200);
  border-radius: 3rem;
  overflow: hidden;
}

.sticky-cols .col-content-wrapper {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sticky-cols .col-content-wrapper-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--base-200);
  border-radius: 3rem;
  opacity: 0;
  pointer-events: none;
}

.sticky-cols .col-img-1,
.sticky-cols .col-img-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sticky-cols .col-img-2 {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.col-content-para {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.col-number-badge {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.col-number-badge h3 {
  border: 1px solid rgba(177, 166, 150, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.col-number-badge h3.active {
  color: #aaa091;
}

.col-number-badge h3.inactive {
  color: #524e4b;
}

@media (max-width: 768px) {
  .sticky-cols .col h1 {
    width: 100% !important;
    font-size: clamp(0.95rem, 3.5vw, 1.3rem) !important;
    line-height: 1.2 !important;
  }
  .sticky-cols .col-content-wrapper,
  .sticky-cols .col-content-wrapper-2 {
    padding: 1rem !important;
    border-radius: 1.5rem !important;
  }
  .sticky-cols .col p {
    font-size: 10px !important;
  }
}
