.bg {
  background-image: url("../asset/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
}


.content-img {
    display: flex;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    aspect-ratio: 5/2;
    width: 100%;
    border-radius: 60px;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Keep green-page hover logic */
.content-img:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow:
        0 -20px 50px rgba(128, 120, 197, 0.5),
        0 -40px 100px rgba(128, 120, 197, 0.3),
        0 0 40px rgba(128, 120, 197, 0.6),
        0 0 80px rgba(128, 120, 197, 0.3);
    z-index: 10;
}

/* Keep green-page overlay structure */
.content-img .tulisan {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;

    padding: 1rem 1.6rem 6%;

    width: 40%;
    height: 100%;

    background: rgba(224, 219, 255, 0.85);

    color: #6357AB;
    z-index: 3;
}

.content-img .tulisan h4 {
    margin: 0;
    color: #6357AB;
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(1rem, 2vw, 1.8rem);
    line-height: 1.15;
    letter-spacing: 0;
    position: absolute;
    inset: 0;                  
    display: flex;
    flex-direction: column;     
    justify-content: center;  
    text-align: left;    
    padding: 1rem;      
    width: 40%;
    height: 100%;
    font-size: 4vw  
}

.content-img .tulisan p {
    margin-top: 0.4rem;
    color: #6357AB;
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(0.7rem, 1vw, 1rem);
    letter-spacing: 0;
}

/* Keep green-page image behavior */
.img-wrapper {
    overflow: hidden;
    border-radius: 60px;
    width: 100%;
    height: 100%;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {

    .content-img {
        border-radius: 20px;
    }

    .img-wrapper {
        border-radius: 20px;
    }

    .content-img .tulisan {
        width: 40%;
        padding: 1rem;
    }

    .content-img .tulisan h4 {
        font-size: 3vw;
    }

    .content-img .tulisan p {
        font-size: 2vw;
    }
}