/* CSS DIATAS HEAD */
.nav-bar-links ul li a.color-active {
    font-weight: bold;
    color: red; /* Change the active link color as desired */
}

/* Default styles for larger screens */
.theme_banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px; /* You can adjust the height as needed */
    background-color: #f0f0f0; /* Optional background color */
}

.img-box2 img {
    max-width: 100%;
    height: auto;
}

.content a img {
    position: relative;
    width: 100%;
}

.warranty img{
    width: 130px;
    transition: all .6s ease-in-out;
    -webkit-animation:spin 16s linear infinite;
    -moz-animation:spin 16s linear infinite;
    animation:spin 16s linear infinite;
}

.warranty-img img{
    width: 175px;
    transition: all .6s ease-in-out;
    /*! -webkit-animation:spin 16s linear infinite; */
    /*! -moz-animation:spin 16s linear infinite; */
    animation:spin 16s linear infinite;
}

@keyframes spin { 
    100% { 
        -webkit-transform: rotate(-360deg); 
        transform:rotate(-360deg); 
    } 
}
.warranty:hover img, .warranty-img:hover img{
    transition: all .6s ease-in-out;
    -webkit-animation:spinreverse 16s linear infinite;
    -moz-animation:spinreverse 16s linear infinite;
    animation:spinreverse 16s linear infinite;
}

@keyframes spinreverse { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

/* Media query for smaller screens (mobile devices) */
@media (max-width: 767px) {
    .row {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .col-md-2 {
        flex: 0 0 calc(25% - 10px); /* 2 gambar dalam satu baris, dengan jarak 10px */
        max-width: calc(25% - 10px);
        margin: 5px;
    }

    .item-img {
        text-align: center;
    }

    .theme_banner {
        height: 100px; /* Adjust height as needed for mobile view */
/*                    padding: 5px; /* Add some padding for better spacing */*/
    }

    .img-box2 {
        position: relative;
        overflow: hidden;
        height: 200px; /* Adjust the height as desired for zoom effect */
    }

    .img-box2 img {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .loading {
        position: fixed;
        background-color: #FFF;
        left: 0;
        top: 0;
        z-index: 99999;
        width: 100%;
        height: 100%;
        -webkit-transition: unset;
        -o-transition: unset;
        transition: unset;
    }
    .loading .loading-box img {
        position: absolute;
        top: 40%;
        left: 50%;
        width: 80%;
    }

    .content a img {
        position: relative;
        width: 50%;
    }
    
    .py-100{
        padding: 64px 0;
    }
    
    .py-100-70{
        padding: 100px 0 70px 0;
    }
}

/* CSS VIDEO */
.sec-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Menggunakan 100vh untuk tinggi sesuai dengan tinggi viewport */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover; /* Mengatur agar video mengisi seluruh area */
}

@media (max-width: 768px) {
    /* Ketika lebar viewport kurang dari atau sama dengan 768px */
    .sec-hero {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 30vh; /* Sesuaikan dengan kebutuhan Anda */
    }
    
    .video-overlay {
        height: auto; /* Mengubah tinggi menjadi fleksibel */
    }
}

@media (max-width: 5200px) {
   .content-button-desktop {
        margin-top: 45em;
        margin-left: 25em;
    } 
}

.content-button-desktop {
    margin-top: 26em;
    margin-left: 19em;
}

.content-button-desktop img {
    width: 30%;
}

.content-button-mobile {
    margin-top: 3em;
    margin-left: 8.5em;
}

.content-button-mobile img {
    width: 49%;
}

#mobile {
    display: none;
}

#desktop {
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    #mobile {
        display: inline-block;
    }
    
    #desktop {
        display: none;
    }
}

.footer-area{
    background:#ff6b22;
    padding-top: 2em;
    padding-bottom: 2em
}
.footer-area .footer-logo{
    margin-bottom:40px
}
.footer-area .footer-pera p{
    color:#868c98;
    padding-right:125px;
    font-size:16px;
    margin-bottom:20px;
    line-height:1.8
}
@media only screen and (min-width: 1200px) and (max-width: 1600px){
    .footer-area .footer-pera p{
        padding-right:138px
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px){
    .footer-area .footer-pera p{
        padding-right:95px
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px){
    .footer-area .footer-pera p{
        padding-right:13px
    }
}
@media only screen and (min-width: 576px) and (max-width: 767px){
    .footer-area .footer-pera p{
        padding-right:80px
    }
}
@media (max-width: 767px){
    .footer-area .footer-pera p{
        padding-right:30px
    }
}
.footer-area .footer-pera.footer-pera2 p{
    padding:0
}
.footer-area .footer-tittle h4{
    color:#fff;
    font-size:20px;
    margin-bottom:29px;
    font-weight:500;
    text-transform:capitalize
}
.footer-area .footer-tittle ul li{
    color:#012f5f;
    margin-bottom:15px
}
.footer-area .footer-tittle ul li a{
    color:#868c98;
    font-weight:300
}.footer-area .footer-tittle ul li a:hover{
    color:#ff656a;
    padding-left:5px
}
.footer-area .footer-form{
    margin-top:40px
}
.footer-area .footer-form form{
    position:relative
}
.footer-area .footer-form form input{
    width:100%;
    height:43px;
    padding:10px 20px;
    border:1px solid #fff
}
.footer-area .footer-form form .form-icon button{
    position:absolute;
    top:0;
    right:0;
    background:none;
    border:0;
    cursor:pointer;
    padding:13px 22px;
    background:#ff656a;
    line-height:1
}
.footer-area .info.error{
    color:#ff656a
}
.footer-area .footer-social a i{
    color:#222222;
    margin-right:12px;
    font-size:19px;
    -webkit-transition:all .4s ease-out 0s;
    -moz-transition:all .4s ease-out 0s;
    -ms-transition:all .4s ease-out 0s;
    -o-transition:all .4s ease-out 0s;
    transition:all .4s ease-out 0s
}
.footer-area .footer-social a i:hover{
    color:#ff656a;
    box-shadow:0 -3px 0 0 rgba(24,24,24,0.15) inset,0 3px 10px rgba(0,0,0,0.3);
    -webkit-transform:translateY(-3px);
    -moz-transform:translateY(-3px);
    -ms-transform:translateY(-3px);
    transform:translateY(-3px)
}
.footer-bottom-area{
    background:#ff6b22
}
.footer-bottom-area .footer-border{
    border-top:1px solid #d3e5fd;
    padding:40px 0px 23px
}
@media (max-width: 767px){
    .footer-bottom-area .footer-border{
        padding:35px 0px 20px
    }
}
.footer-bottom-area .footer-copy-right p{
    color:#888888;
    font-weight:300;
    font-size:16px;
    line-height:2;
    margin-bottom:12px
}
.footer-bottom-area .footer-copy-right p i{
    color:#ff656a
}
.footer-bottom-area .footer-copy-right p a{
    color:#ff656a
}