/* Scroll section wrapper */
.scroll-section {
    display: flex;
    justify-content: center; /* horizontal centering only */
   min-height:100vh;
    box-sizing: border-box;
}


/* Two-column layout */
.two-col {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Column text */
.col-text {
    flex: 1;
}

/* Column image */
.col-img {
    flex: 1;
}

/* Text fade-in base */
.fade-text {
    opacity: 0;
    transform: translateY(0px);
}

/* Images */
.parallax-img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    display: block;
    will-change: transform;
    opacity:1;
}

/* Reverse layout section */
.reverse .two-col {
    flex-direction: row-reverse;
}

/* Responsive */
@media(max-width:768px){
    .two-col {
        flex-direction: column;
        text-align: center;
    }
    .reverse .two-col {
        flex-direction: column;
    }
}

.mask-reveal {
    position: relative;
    overflow: hidden;       /* hides the mask outside */
    display: inline-block;
}

.mask-reveal-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #53c302;       /* mask color */
    transform: translateX(0);
    z-index: 2;
}

.mask-reveal-content {
    opacity: 0;
    position: relative;
    z-index: 1;
}

.horizontal-scroll-section {
  position: relative;
  width: 100%;
  padding: 100px 0; /* optional top/bottom padding */
}

.horizontal-scroll-container {
  max-width: 1140px; /* your container width */
  margin: 0 auto;
  overflow: hidden; /* hide overflow of panels */
}

.horizontal-scroll-wrapper {
  display: flex;
  gap: 30px; /* spacing between panels */
}

.panel {
  flex: 0 0 auto; /* width determined by content */
  width: 100%;    /* example fixed width */
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;

}



