* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.spacer {
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.scroll-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
.left-content {
    padding: 0 10%;
}
.left-content .btn.btn-primary {
  margin: 15px 0 !important;
}

.title-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.title-section.is-active {
    opacity: 1;
}
.title-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.right-visual {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.image-wrapper {
    width: 80%;
    height: 60vh;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.scroll-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    border-radius: 15px;
}

.scroll-image.active {
    opacity: 1;
}

@media(max-width: 1024px) {
  .scroll-image {
      height: 49%;
  }
  .spacer {
    height: 1vh;
  }
}

@media (max-width: 768px) {
    .scroll-container {
        grid-template-columns: 1fr; 
    }
    
    .right-visual {
        display: none; 
    }
    
    .title-section {
        height: auto;
        padding: 3rem 1.5rem;
        opacity: 1;
    }
}