/* hero */
.hero {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    /* Full viewport height */
    position: relative;
    /* Position relative untuk konten absolut di dalamnya */
    display: flex;
    /* Menggunakan Flexbox */
    align-items: center;
    /* Vertikal center */
    justify-content: center;
    /* Horizontal center */
    text-align: center;
    /* Center align text */
    overflow: hidden;
}

.video-background,
.overlay {
    box-sizing: border-box;
}

.hero p {
    text-align: center !important;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the entire area */
    z-index: -2;
    /* Behind other content */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Black with 50% transparency */
    z-index: -1;
    /* Behind the content but above the video */
}

.content h1 {
    font-size: 72px !important;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    -webkit-text-stroke-color: #397600;
}

.content p {
    font-size: 32px;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    color: rgba(233, 233, 233, 0.7);
}

.content .text {
    padding-top: 25vh;
}
.content .text h1 {
    opacity: 0; /* Mulai dari transparan */
    transform: scale(0);
}

/* Content */
.content {
    position: relative;
    z-index: 1;
    color: white;
    -webkit-text-stroke: 0.5px #4d5d53;
    /* padding: 50px; */
    height: 100vh;
}

.custom-icon i {
    position: relative;
    color: white;
    /* Warna panah */
    font-size: 3rem;
    /* Mengubah ukuran ikon, sesuaikan sesuai kebutuhan */
    border-radius: 50%;
    /* Pastikan lingkaran tetap */
    padding: 0.25rem;
    margin-top: 5rem;
    /* Menambah padding agar lebih rapi */
}

.content .icon {
    margin-top: auto;
    margin-bottom: 5vh;
}

.card-style {
    background: #f5f5f5;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    align-content: center;
    justify-content: center;
    text-align: center;
}

.card-style h5 {
    font-weight: -5;
}

.product-homes .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-homes .card-text {
    flex-grow: 1;
}

.product-homes .card a {
    margin-top: auto;
}

/* parallax */
.parallax {
    background: url("../Img/bg1.jpeg") no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 20rem;
    align-content: center;
    justify-content: center;
}

.parallax::before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    /* Black overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


@media (max-width: 768px) {
    .content h1 {
        font-size: 58px !important;
        font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
        -webkit-text-stroke-color: #397600;
    }

    .content p {
        font-size: 22px !important;
        font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
        color: rgba(233, 233, 233, 0.7);
    }


    .content .text {
        padding-top: 35vh;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 32px !important;
        font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
        -webkit-text-stroke-color: #397600;
    }

    .content p {
        font-size: 16px !important;
        font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
        color: rgba(233, 233, 233, 0.7);
    }

    .content .text {
        padding-top: 40vh;
    }
}
