/* @font-face {
    font-family: afacad;
    src: url({{ asset('asset/font/Afacad-Regular.ttf') }});
}

@font-face {
    font-family: afacadBold;
    src: url({{ asset('asset/font/Afacad-Bold.ttf') }});
} */

@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.font-theme {
    /* font-family: afacad; */
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}


.font-theme-bold {
    /* font-family: afacadBold; */
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #033650;color:white}

.dropdown2 {
    position: relative;
    display: inline-block;
}

.dropdown-content2 {
    display: none;
    position: absolute;
    top: 0;
    right: -210px;
    background-color: #f1f1f1;
    min-width: 210px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content2 a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content2 a:hover {background-color: #ddd;}

.dropdown2:hover .dropdown-content2 {display: block;}

/* .dropdown2:hover .dropbtn2 {background-color: #033650;color:white} */

.dropdown3 {
    position: relative;
    display: inline-block;
}

.dropdown-content3 {
    display: none;
    position: absolute;
    top: 0;
    right: -210px;
    background-color: #f1f1f1;
    min-width: 210px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content3 a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content3 a:hover {background-color: #ddd;}

.dropdown3:hover .dropdown-content3 {display: block;}

/* .hover-item {
    transition: 0.3s;
    cursor: pointer;
}

.hover-item:hover {
    transform: translate(0, -10px);
} */

.card{
    border-radius: 15px;
    border-style: none;
}

.modal{
    border-radius: 15px;
    border-style: none;
}

.point-title{
    /* font-family: afacadBold; */
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
}

.main-title{
    /* font-family: afacadBold; */
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    color:#be3235;
    margin-top: 20px;
}

.btn-main{
    background-color: #033650;
    color: #f1f1f1;
}

.btn-sec{
    background-color: #be3235;
    color: #f1f1f1;
}

.btn-sec:hover{
    color: #f1f1f1 !important;
    background-color: #033650;
}


.text-main{
    color: #033650;
}

.justify{
    text-align: justify;
    text-justify: inter-word;
}

.bg-main{
    background-color: #033650;
}

.bg-sec{
    background-color: #be3235;
}

.size-100{
    height:100%;
}

@media all and (min-width: 768px) {
    .div-right-border{
        border-right: 2px solid white;
    }
}
.divider{
    height: 5px;
    background-color:#bbcfd9;
    width:50px;
    border-radius:50px;
    margin-top: -10px;
    margin-bottom: 15px;
}

.divider-secondary{
    height: 5px;
    background-color:#be3234f5;
    width:50px;
    border-radius:50px;
    margin-bottom: 15px;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

#to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #033650;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

.news-thumbnail{
    background-size:cover;
    background-position: center;
    height: 160px;
}

/* HTML: <div class="loader"></div> */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Sesuaikan warna latar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 1px;
    background-color: #004661; /* Warna biru sesuai gambar */
    border-radius: 50%;
    animation: pulse 0.8s infinite ease-in-out both;
}

.dots span:nth-child(1) { animation-delay: -0.32s; }
.dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes pulse {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* Gaya Dasar Logo (Desktop/Default) */
.bottom-logo {
  position: absolute;
  bottom: 5vh; /* Menggunakan vh agar jarak proporsional dengan tinggi layar */
  left: 50%;
  transform: translateX(-50%); /* Memastikan logo benar-benar di tengah */
  text-align: center;
  width: 100%;
}

.bottom-logo img {
  width: 90px; /* Ukuran untuk layar besar */
  max-width: 80%; /* Agar tidak meluap jika layar sangat kecil */
  height: auto;
  opacity: 0.9;
  transition: width 0.3s ease; /* Transisi halus saat ukuran layar berubah */
}

/* --- Pengaturan Khusus Mobile (Layar di bawah 768px) --- */
@media (max-width: 768px) {
  .bottom-logo {
    bottom: 30px; /* Jarak sedikit lebih rapat di mobile */
  }

  .bottom-logo img {
    width: 100px; /* Ukuran logo lebih kecil untuk HP */
  }
}

/* --- Pengaturan Khusus Layar Sangat Kecil (Layar di bawah 480px) --- */
@media (max-width: 480px) {
  .bottom-logo img {
    width: 80px; /* Ukuran paling optimal untuk HP kecil */
  }

  .dots span {
    width: 8px;  /* Mengecilkan titik sedikit agar serasi */
    height: 8px;
  }
}

a{
    text-decoration: none;
}

footer {
    background-image: url('../asset/tulip_bawah.png');
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 200px;
    background-color: #033650;
}

.title_bar{
    background-color: #edf7fc62;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    min-height: 200px;
}

.title_bar_cust{
    background-color: #033650;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    min-height: 200px;
}

@media all and (min-width: 768px) {
    .title_bar{
        background-size: contain;
        background-position: right;
        background-repeat: no-repeat;
        background-image:url('../asset/tulip_atas.png');
    }
}

@media all and (max-width: 767px) {
    .title_bar{
        background-size: auto 130px;
        background-position: top right;
        background-repeat: no-repeat;
        background-image:url('../asset/tulip_atas.png');
    }
}

.top-ribbon{
    height:27px ;
    background-color: #033650;
}

.top-ribbon-content{
    text-align:end;
    position: fixed;
}

.nav-height{
    top:-1px;
    height:70px;
}

.absolute{
    position: absolute;
}

.size13{
    font-size: 13px
}

.overlay {
    height: 150%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: #033650;
    overflow-x: hidden;
    overflow: hidden;
    transition: 0.2s;
}

.overlay-content {
    position: relative;
    top: 15%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
    }
}
