@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;
    width: 100%;
    height: 400px;
    z-index: -1;
}
.jumbotron img{
    width: 100%;
}
.jumbotron-content {
    position: absolute;
    top: 40%;
    left:7%;
    transform: translate(-20%, -20%);
    text-align: left;
    color: white; /* warna teks */
}
.jumbotron-content.transition {
    transition: opacity 0.5s;
}
.jumbotron-content a{
    font-size: 18px;
    width: 370px;
    font-weight: 400;
    text-decoration: none;
    margin-left: 5px;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.10) 0px 3px 6px, rgba(0, 0, 0, 0.13) 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;
    }
}
.headOurser{
    font-size: 50px;
    font-weight: bold;
    animation: h1jum 5s ease-in-out forwards, fadeh1jum 5s ease-in-out forwards;
    opacity: 0;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.10) 0px 3px 6px, rgba(0, 0, 0, 0.13) 0px 3px 6px;
}
.content{
    position: relative;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    margin-top:23pc;
    width: 100%;
    height: auto !important;
    border-radius: 2px;
    padding: 0%;
}
.padding{
    padding-left: 2pc;
    padding-right: 2pc;
}
.lgpt{
    text-align: right;
    margin-top: -5pc;
}
.lgpt img{
    width: 190%;
    background-color:white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px -8px 0px;
    border-radius: 2px;
}
#navtabbg{
    padding:1%;
    border-radius:2px;
}
#tabsnav{
    margin-top: -5pc;
}
.tab-content{
    margin-top: 2pc;
    padding: 1%;
}
.line{
    width: 190px;
    height: 3px;
    border-radius: 2px;
    background-color: #008ABC;
}
.abhead{
    margin-top: -1.5pc;
    color: #008ABC;
    font-size: 40px;
    font-weight: 600;
}
.tectabout{
    margin-top: 1.5pc;
    font-size: 18px;
    width: 1000px;
    text-align: justify;
}
.map{
    padding: 0.7%;
}
.contmap{
    background-image: url('../images/bgmaps.png');
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    text-align: center;
    padding: 2%;
}
.contmap img{
    width: 70%;
}
.contacbg{
    padding: 0.7%;
}
.contbg{
    background-image: url('../images/bgcontact.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 600px;
    text-align: center;
    padding: 2%;
}
.contbg h1{
    font-weight: 600;
    color: #008ABC;
    padding-bottom: 3pc;
    margin-top: 8pc;
}
.contbg p{
    font-weight: 400;
    color: #008ABC;
    font-size: 18px;
    padding-bottom: 2pc;
}
.btn-contact{
    background-color: #43C4E4;
    color: white;
    padding: 7px 30px;
    font-size: 25px;
    font-weight: 400;
    border-radius: 2px;
    text-decoration: none;
    box-shadow: rgba(41, 180, 255, 0.31) 2px 2px 16px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
    transition: background-color 0.3s ease;
}
.btn-contact:hover{
    background-color: #EF4824;
}
.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 30px;
}
.center-content img{
    width: 100px;
}
.cardpart{
    margin-top: 1.5pc;
    height: 120px;
}
.card {
    border: none;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
}
.cardpart {
    opacity: 0;
    transform: translateY(50px) perspective(1000px) rotateX(45deg);
    animation: slideInUp 1.5s cubic-bezier(0.33, 0.66, 0.66, 1.33) forwards;
}

.cardpart:nth-child(odd) {
    animation-delay: 0.2s; /* Menyesuaikan delay untuk kolom ganjil */
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px) perspective(1000px) rotateX(45deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) perspective(1000px) rotateX(0deg);
    }
}

/* 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;
}
.footlist{
    background-color: transparent;
}
.footitem{
    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: none;
        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: 30px;
        box-shadow: rgba(136, 165, 191, 0.28) 6px 2px 16px 0px, rgba(255, 255, 255, 0.2) -6px -2px 16px 0px;
    }
    .jumbotron {
        height: 300px; 
    }
    .jumbotron-content {
        position: absolute;
        left:20%;
        transform: translate(-20%, -20%);
        text-align: left;
    }   
    .jumbotron-content h1 {
        font-size: 40px; /* Sesuaikan ukuran teks untuk layar lebih kecil */
    }
    .jumbotron img{
        width: 900px;
    } 
    .jumbotron-content a {
        width: auto; 
    }
    .padding{
        padding-left: 0.5pc;
        padding-right: 0.5pc;
    }
    .lgpt img{
        display: none;
    }
    #navtabbg{
        padding: 1.5%;
        height: 50px;
    }
    #tabsnav{
        margin-top: -7pc;
    }
    .line{
        width: 100%;
    }
    .abhead{
        margin-top: 0;
        text-align: center;
        padding-top: 1.5pc;
    }
    .tectabout{
        margin-top: 0;
        padding-top: 1.5pc;
       width: 100%;
    }
    /* footer mobile */
    .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 */
    }
    .footlist {
        display: flex;
        flex-direction: row; 
        overflow-x: auto; 
        white-space: nowrap; 
    }
    .footitem{
        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;
    }
    .content{
        height: 143vh;
        margin-top: 18pc;
    }
    .contmap img{
        width:100%;
    }
    .contbg  h1{
        margin-top: 2pc;
        font-size: 20px;
    }
    .contacbg p{
        font-size: 15px;
    }
    .btn-contact {
        font-size: 18px;
    }
    .contbg {
        height: 400px;
    }
    .center-content img {
        width: 100px;
    }
    .card {
        height: 200px; /* Atur tinggi card untuk perangkat seluler */
      }
}

@media (min-width: 768px) {

}

/* 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) {

}