@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Titillium+Web&display=swap');

body {
    font-family: "Titillium Web", sans-serif;
    background-color: #f8f9fa;
    padding-top: 56px;
}

.navbar {
    background-color: #ffffff !important;
    transition: top 0.3s;
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: bold;
}

.active {
    background-color: #f3f3f3;
    border-radius: 10px;
}

.navbar-nav .nav-link {
    color: #343a40 !important;
    margin-right: 10px;
}

.navbar-hide {
    top: -70px;
    /* Sesuaikan dengan tinggi navbar Anda */
}

.navbar-show {
    top: 0;
}

.hero-bg-1 {
    background-image: url('../img/Bg/hero1.jpeg');
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* Ganti dengan path gambar yang sesuai */
}

.hero-bg-2 {
    background-image: url('../img/Bg/hero2.jpeg');
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* Ganti dengan path gambar yang sesuai */
}

.hero-bg-3 {
    background-image: url('../img/Bg/hero3.jpeg');
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* Ganti dengan path gambar yang sesuai */
}

.hero-bg-1,
.hero-bg-2,
.hero-bg-3 {
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    color: #ffffff;
    text-align: center;
    padding: 200px 0;
    height: 720px;
}


.texthero {
    height: 15rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
}

.texthero.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
}

.services {
    height: 28rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
}

.services.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.about {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
}

.techpart {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: 0.5s;
}

.techpart:hover {
    -webkit-filter: grayscale(100%);
    filter: grayscale(0%);
}

.about p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.runningtext {
    color: red;
}

.swiper {
    width: 100%;
    height: 80%;
}


.swiper-slide {
    text-align: center;
    font-size: 18px;
    /* background: red; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 80%;
    object-fit: contain;
}

.project-slide {
    text-align: center;
    font-size: 18px;
    /* background: red; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-button {
    background-color: #ffffff;
    border-width: 0;
    color: #343434;
    padding: 10px;
    width: 100px;
    border-radius: 10px;
}

.filter-button:hover {
    background-color: #f55a5a;
    color: #f3f3f3;
}

.filter-button.clicked {

    background-color: #f55a5a;
    color: #f3f3f3;
}

.card:hover .card-description,
.btn-project {
    opacity: 1;
}

.project-link {
    position: relative;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .overlay {
    opacity: 1;
}

.read-more {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .read-more {
    opacity: 1;
}

.read-more p {
    font-size: 14px;
    /* Warna latar belakang */
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.card:hover::after {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

}


.project {
    background-color: #f9faff;
}



.modal-contact {
    background-color: #f0f4f7;
    border-radius: 25px;
}

.form-contact {
    background-color: #ffffff;
    border-radius: 25px;
}

.btn-play {
    height: 100px;
    width: 100px;
    font-size: 50px;
    border-radius: 50px;
    border: none;
    background-color: #19A7CE;
    color: white;
    transition: 0.5s;
}

.btn-play:hover {
    height: 100px;
    width: 100px;
    font-size: 50px;
    border-radius: 50px;
    border: none;
    background-color: #0e7e9c;
    color: white;
}

.second-customer {
    display: none;
    transition: 0.5s;
}

.embed-responsive-item {
    width: 100%;
    height: auto;
}

.btn-submit {
    background-color: #ff6363;
    color: white;
}

.btn-submit:hover {
    background-color: #d84c4c;
    color: white;
}


.footer {
    background-color: #183640;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    bottom: 0;
    width: 100%;
}

.maps {
    width: 10%;
    height: 200px;
}

@media (max-width: 767px) {
    .navbar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        flex: 1 1 auto;
        text-align: center;
        margin: 5px 0;
    }

    .nav-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero {
        padding: 0;
        margin-top: 100px;
    }

    .hero-bg-1, .hero-bg-2, .hero-bg-3 {
        padding: 100px 0;
        height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .texthero {
        margin-top: 100px;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .services, .abouts {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn-seemore {
        display: none;
    }

    .btn-group {
        width: 80%;
    }
    .youtube{
        width: 100%;
        height: auto;
    }
    .map {
        width: 90%;
        height: auto;
    }
}
