@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;800&display=swap');

body{
    overflow-x: hidden;
}
/* Splash Screen ----------*/
.splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    transition: opacity 1s ease; /* Add transition for opacity */
    opacity: 1;
}
.loading-gif {
    width: 250px; 
    height: 250px; 
}  
.splash-screen.hide {
    opacity: 0;
    pointer-events: none; /* Disable interaction when hidden */
} 
/* Main content initially hidden */
#mainContent {
    display: none;
    transition: opacity 1s ease; /* Add transition for opacity */
}  
/* Show main content when opacity is 1 */
#mainContent.show {
    display: block;
    opacity: 1;
}
/* Nav---------------- */
.navbar {
    font-family: 'Poppins', sans-serif;
    height: 60px;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    background-color: transparent;
    transition: background-color 1.5s ease;
    padding-right: 2pc;
    padding-top: 1pc; 
    padding-left: 2pc; 
}
.navbar-toggler {
    color: transparent;
    border: none;
}
.navbar-toggler-icon {
    width: 2em;
    height: 2em;
    background-image: none;
}
.navbar-scroll-bg {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.nav-link {
    font-weight: 400;
    margin-left: 5px;
    transition: color 1.3s ease, background 1.5s ease;
    font-size: 15px;
}
.nav-link,
.activee {
    color: white;
}
.activee {
    color: #EF4824;
}
.navbar-nav .nav-link:hover,
.navbar-nav .activee:hover {
    color: #ff4e27;
}
.navbar-scroll .nav-link {
    color: black !important;
}
.navbar-scroll {
    background-color: white;
}
.jumbotron {
    position: fixed;
    overflow: hidden;
    height: 760px;
}
.video-background {
    z-index: -100;
}
.video-background video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.jumbotron-content {
    position: absolute;
    top: 35%;
    left: 20%;
    transform: translate(-20%, -20%);
    text-align: left;
    color: white; /* warna teks */
}
.jumbotron-content.transition {
    transition: opacity 0.5s;
}
.jumbotron-content h1{
    font-size: 60px;
    font-weight: bold;
    text-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    animation: h1jum 5s ease-in-out forwards, fadeh1jum 5s ease-in-out forwards;
    opacity: 0;
}
.jumbotron-content p{
    font-size: 23px;
    width: 370px;
    font-weight: 400;
    text-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    animation: logo 5s ease-in-out forwards, fadelogo 5s ease-in-out forwards;
    opacity: 0;
}
@keyframes h1jum {
    0% {
        transform: translateX(10%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fadeh1jum {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@keyframes logo {
    0% {
        transform: translateY(20%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fadelogo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
.btnjum{
    background-color: #EF4824;
    border-radius: 0%;
    font-size: 20px;
    font-weight: 400;
    color: white;
    animation: logo 6s ease-in-out forwards, fadelogo 6s ease-in-out forwards;
    opacity: 0;
}
.coveabt {
    position: relative;
    overflow: hidden;
    height: 550px; /* Sesuaikan dengan tinggi yang diinginkan */
}
.imgabout {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-out;
}
.coveabt:hover .imgabout {
    transform: translate(-50%, -50%) scale(1.2); /* Ubah nilai scale sesuai dengan keinginan Anda */
}
.col-md-7 h4{
    color: #008ABC;
    font-weight: 400;
    font-size: 18px;
}
.col-md-7 h2{
    color: #212020;
    font-weight: bold;
    font-size: 25px;
    width: 600px;
    line-height: 1.5;
    margin-top: 2pc;
}
.content{
    position: relative;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    margin-top:40pc;
    width: 100%;
    border-radius: 2px;
    padding: 4%;
}
.padding{
    padding-left: 2pc;
    padding-right: 2pc;
}
.col-md-7 p{
    margin-top: 2pc;
    width: 700px;
    line-height: 2;
    text-align: justify;
}
.line{
    width: 40px;
    height: 5px;
    background-color: #008ABC;
    border-radius: 10px;
}
.line2{
    width: 10px;
    height: 6px;
    background-color:#EF4824 ;
    border-radius: 10px;
    margin-top: -5.5px;
    margin-left: 45px;
}
.line4{
    width: 40px;
    height: 6px;
    background-color:#008ABC ;
    border-radius: 10px;
    margin-top: -6.5px;
    float: right;
}
.col-md-2 h4{
    color: #008ABC;
    font-weight: 400;
    font-size: 18px;
}
.h2col{
    color: #212020;
    font-weight: bold;
    font-size: 25px;
    line-height: 1.5;
    margin-top: 0.5pc;
}
.h2col2{
    color: #212020;
    background-color:#EF4824;
    font-weight: bold;
    font-size: 25px;
    line-height: 1.5;
    margin-top: 1pc;
    text-align: center;
    border-radius: 2px;
    color: white;
}
.col-md-2 p{
    margin-top: 1pc;
    width: 400px;
    line-height: 2;
    text-align: justify;
}
.imgmap{
    width: 80%;
    border-radius:1px;
    margin-top: 3pc;
}
.partner{
    margin-left: 8pc;
    margin-top: 1pc;
}
.cardpart{
    height: 120px;
    border: none;
    box-shadow: rgba(136, 165, 191, 0.20) 0px 0px 5px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}
.imcrdpart{
    width: 130px;
}
#myCarousel {
    margin-top: 20px;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
    border-radius: 5px;
    padding: 1pc;
}
#myCarousel2 {
    margin-top: 20px;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
    border-radius: 5px;
    padding: 1pc;
}
#myCarousel3 {
    margin-top: 20px;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
    border-radius: 5px;
    padding: 1pc;
}
.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-start,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}
.carousel-control-prev-icon,.carousel-control-next-icon{
    background-color: #EF4824;
}
.mapscontain{
    background-color: #fbfbfb;
    width: 100%;
    height: 390px;
    margin-top: 3pc;
    padding:10px;
}
.mapimg{
    width: 800px;
    float: right;
}
.floating-card-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    opacity: 0;
    border-radius: 2px;
    transform-origin: bottom right;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    z-index: 1000;
}
.floating-card-container.visible {
    opacity: 1;
}
.floating-card {
    width: 40px; 
    height: 40px; 
    padding: 5%;
    background-color: #fff;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
    overflow: hidden;
}
.floating-card:hover {
    width: 300px; 
    height: 300px; 
}
.imgnews{
    width: 38px;
}
#tnews{
    font-size: 20px;
    font-weight: 400;
    margin-left: 5px;
}
.news-card {
    padding: 15px; 
    box-sizing: border-box; 
    height: 100%; 
    overflow: auto; 
}
.news-card p {
    font-size: 1em;
}
/* footer */
.footer{
    height: auto;
    background-color: #fbfbfb;
    padding: 10px;
}
.footercontert{
    padding: 10px;
}
.imgfooter{
    width:100px;
    padding-bottom: 5px;
}
.liness{
    width: 100%;
    border: 1px solid #dddddd;
    height: 2px;
    background-color: #dddddd;
}
.footlink{
    font-weight: 300;
    font-size: 18px;
    margin-top: 15px;
}
.footlink:hover{
    background:none;
    color: black;
}
.inffoter p{
    margin-top: 1pc;
    font-size: 16px;
    font-weight: 300;
}
.coppyrig{
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    padding-top: 20px;
    color: #3E3F40;
}
.list-group{
    background-color: transparent;
}
.list-group-item{
    background-color: transparent;
    border: none;
    font-weight: 300;
    margin-top: -0.5pc;
    font-size: 16px;
}
.operasional h5{
    font-size: 18px;
    font-weight: 500;
    margin-top: 4pc;
    border-left: 4px solid #008ABC;
    padding-left: 10px;
}
.operasional p{
    font-weight: 300;
    font-size: 16px;
    width: 500px;
    margin-top: 1pc;
    width: 410px;
}
.inffoter h5{
    font-size: 18px;
    font-weight: 500;
    margin-top: 3.8pc;
    border-left: 4px solid #008ABC;
    padding-left: 10px;
}
.location h5{
    font-size: 18px;
    font-weight: 500;
    margin-top: 3.8pc;
    border-left: 4px solid #008ABC;
    padding-left: 10px;
}
.mapsloca{
    width: 100%;
    height: 200px;
    margin-top: 1pc;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}
.aktif:nth-child(1) {
    color: #EF4824;
    font-weight: 500; /* Ganti warna sesuai kebutuhan */
}
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
    background-color: #EF4824;
    padding: 10px;
    border: none;
    border-radius: 2px;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
    cursor: pointer;
    animation: fadeInUp 0.5s ease-out;
}
#scrollToTopBtn i {
    font-size: 18px;
}
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Gaya khusus untuk layar dengan lebar kurang dari atau sama dengan 768px */
@media only screen and (max-width: 768px) {
    nav{
        width: 100%;
        box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
        height: 70px !important;
        padding-top: 1 !important;
        padding-right: 0 !important;
        padding-left: 0 !important; 
        z-index: -1;
    }
    .navbar-brand{
        padding-left: 13px;
    }
    .navbar-scroll {
        height: 70px;
        background-color: white;
    }
    .navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
    }
    .nav-link{
        text-align: center;
        color: black !important;
    }
    .activee{
        background-color: #EF4824 !important;
        color: white !important;
    }
    .imgabout{
        width: 100%;
    }
    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
        background: white;
        padding: 10px;
        border-radius: 2px;
        margin-top: 10px;
        box-shadow: rgba(136, 165, 191, 0.28) 6px 2px 16px 0px, rgba(255, 255, 255, 0.2) -6px -2px 16px 0px;
    }
    .jumbotron {
        height: 700px; 
    }
        
    .jumbotron-content h1 {
        font-size: 40px; /* Sesuaikan ukuran teks untuk layar lebih kecil */
    }
        
    .jumbotron-content p {
        width: auto; /* Biarkan lebar teks menyesuaikan */
    }
    .content{
        width: 100%;
        height: 2300px;
        margin-top: 33pc;
    }
    .padding{
        padding-left: 0.5pc;
        padding-right: 0.5pc;
    }
    .col-md-7 h2{
        width: 100%;
    }
    .imgabout{
        margin-top: 1.5pc;
    }
    .col-md-7 p{
        margin-top: 2pc;
        width: 100%;
    }
    .col-md-4{
        width: 100%;
    }
    .imgmap{
        width: 100%;
    }
    .col-md-3 h4{
        width: 100%;
    }
    .col-md-3 h2{
        width: 100%;
    }
    .col-md-3 p{
        width: 100%;
    }
    .partner{
        margin-left: -10px;
    }
    .carousel-inner .carousel-item>div {
        display: none;
    }
    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }
    .imcrdpart{
        width: 40%;
    }
    .mapimg{
        width: 100%;
    }
    .col-md-2 p{
        width: 100%;
    }
    .mapscontain{
        height: 577px;
    }
    .footlink{
        margin-top: -5px;
    }
    .footer{
        height: 900px;
    }
    .operasional p{
        width: 100%;
    }
    .inffoter p{
        width: 100%;
    }
    .location{
        width: 100%;
    }
    .footmbile{
        width: 100%; 
        display: flex;
        flex-direction: column;
    }
    .gambar {
        text-align: center; /* Pusatkan gambar */
    }
    
    .list-group {
        display: flex;
        flex-direction: row; 
        overflow-x: auto; 
        white-space: nowrap; 
    }
    
    .list-group-item {
        flex: 1; 
        font-size: 18px;
        margin-top: 1pc;
    }
    .operasional h5{
        margin-top: 2pc;
    }
    .inffoter h5{
        margin-top: 2pc;
    }
    .location h5{
        margin-top: 2pc;
    }
    .coppyrig{
        text-align: center;
        font-size: 14px;
    }
    .h2col2{
        font-size: 21px;
    }
}

@media (min-width: 768px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next,
    .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(25%) !important;
    }

    .carousel-inner .carousel-item-left.active,
    .carousel-item-prev:not(.carousel-item-end),
    .active.carousel-item-start,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }

    .carousel-item-next.carousel-item-start,
    .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    .carousel-inner .carousel-item-prev,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }
}

/* Gaya khusus untuk layar dengan lebar kurang dari atau sama dengan 600px */
@media only screen and (max-width: 600px) {
    .content{
        padding: 1.5pc;
    }
}

/* Gaya khusus untuk layar dengan lebar kurang dari atau sama dengan 400px */
@media only screen and (max-width: 400px) {

}

/* Gaya khusus untuk layar dengan lebar kurang dari atau sama dengan 320px */
@media only screen and (max-width: 320px) {

}

/* @media (max-width: 991px) {

}