:root {
    --purple: #781178;
    --dark: #080808;
}

.hero-section-about-me {
    background: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.5) 100%),
        url('../img/himatif/bg-3.webp');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    height: 100vh;
    /* Sesuaikan dengan kebutuhan */
}

.hero-section-member {
    background: linear-gradient(to left, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.5) 100%),
        url('../img/himatif/bg-3.webp');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    height: 100vh;
    /* Sesuaikan dengan kebutuhan */
}

.text-purple {
    color: var(--purple);
}

.main-container-about-me {
    background: linear-gradient(to bottom right, #000000, #3a073a);
}

.img-section-about-us img {
    width: 400px;
}

@media (max-width: 768px) {
    .hero-section-about-me {
        background: linear-gradient(to top, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0.5) 100%),
            url('../img/menyala_916.jpg');
        background-size: cover;
        background-position: center;
    }

}

.caption-display {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 14px;
    color: #f5f5f5;
}


.items-member {
    overflow: hidden;
}

.items-member:hover img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.items-member img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 320px; /* Default height (desktop) */
    object-fit: cover;
    object-position: center center;
}

/* Jika lebar layar <= 767px (Bootstrap's `sm` breakpoint) */
@media (max-width: 767.98px) {
    .items-member img {
        height: 480px !important; /* Height untuk mobile */
    }
}