/*Header*/

.line-footer, .navigation-mobile,.footer-text-mobile,.coppyright, .btn-close{
  display: none;
}
.list-menu-lang {
  display: grid;
}

header {
  padding-top: 3.2%;
  display: flex;
  justify-content: space-between;
}

.logo{
  width: 10%;
}
.logo img{
  width: 100%;
  position: relative;
  z-index: 1000000;
}


 .header-1, .header-2{
  padding: 2% 0 0 0;
  display: flex;
  position: relative;
  z-index: 1000000;
  justify-content: space-between;
}
.header-1 {
  width: 50%;
  position: relative;
  float: right;
}
.header-2 {
    width: 84.5%;
  position: relative;
  float: right;
  margin-right: -2%;
  margin-top: 1%;
}
.navigation {
  position: relative;
  z-index: 1000000;
  width: 62%;
  margin-top: -1.5%;
  margin-right: -3%;
}
.box-img-nav img{
  width: 50%;
}

.navigation li{
  list-style-type: none;
}
.navigation li a{
  font-size: clamp(11px, 1.1vw, 22px);
  color: #283948;
}
.navigation li a.color{
  color: white;
}

.dropdown-language, .dropdown{
  display: flex;
  gap: 5%;
  justify-content: space-between;
}
.header-deks{
border-bottom: 1px solid #F8F8F8;
  width: 59.5%;
  margin: 0 auto;
    margin-top: 0px;
    margin-left: auto;
  margin-top: 0px;
  margin-left: auto;
  margin-top: 0px;
  margin-left: auto;
  margin-top: 0px;
  margin-left: auto;
  margin-top: 3.2%;
  margin-left: 32.5%;
}
.dropdown-language-img img{
transition: 0.3s ease-in-out;
width: 170%;
}

.list-menu-a{
  opacity: 0.5;
  transition: 0.3s ease-in-out;
}
.list-menu-a:hover {
  opacity: 1;
}
.dropdown-language-img, .dropdown-img{
  width: 15%;
}
 .dropdown-img img{
  margin-top: 50%;
  margin-left: 60%;
  height: fit-content;
  transition: 0.3s ease-in-out;
  width: 100%;
}

.menu, .menu-2, .menu-3, .menu-4, .menu-5, .menu-6, .menu-7, .menu-8{
  width: 100%;
}
.menu-2{
margin-left: -21.5%;
  margin-top: 8%;
}
.menu-3{
   margin-left: -22%;
  margin-top: 7%;
}

.menu-4 {
  margin-left: -50%;
  margin-top: 7%;
}
.menu-5{
margin-left: 2.5%;
}

.menu-6{
margin-left: -7.5%;
}
.menu-7{
  margin-left: -50%;
  margin-top: 7%;
}
.menu-8{
  margin-left: -50%;
  margin-top: 7%;
}

.dropdown img.icon-active{
rotate: -180deg;
margin-top: 90%;
}
.dropdown-language img.icon-active{
  rotate: -180deg;
  margin-top: 150%;
}
.search-icon{
  margin-top: 25%;
  width: 35%;
  display: none;
  height: fit-content;
}
.search-icon-white{
  margin-top: -35%;
  width: 35%;
  height: fit-content;
  display: none;
  transition: 0.3s ease-in-out;
}

.search-icon-white.active, .search-icon.active{
  display:none;
}
.menu-list-about li, .menu-list-group li, .menu-list li, .menu-list-language li{
  list-style-type: none;
  padding: 1em 0em 0.1em 0;
}
.menu-list-about li a, .menu-list-group li a, .menu-list li a, .menu-list-language li a{
  color: white;
}
.menu-content{
  padding: 5% 0 2%;
  top: 0;
  right: 0;
  background-color:#283948;
  justify-content: center;
  position: absolute;
  z-index: 100000;
  width: 100%;
  transform: translateY(-125%);
  transition: 0.3s ease-in-out;
}
.menu-content.show{
  transform: translateY(0%);
}
.menu-box{
float: right;
  width: 66.5%;
}
.menu-list{
    display: grid;
  grid-template-columns: repeat(4, 25%);
  grid-template-rows: repeat(2, auto);
  width: 100%;
  margin: 1% 0 0 -1.2%;
}
.menu-list-about{
  display: grid;
  grid-template-columns: repeat(3, 33.3%);
  width: 75%;
  margin: 1% 0 0 -1.2%;
}
.menu-list-group{
  display: flex;
  width: 60%;
  margin: 1% 0 0 -1.2%;
  justify-content: space-between;
}
.menu-list-language{
  display: flex;
  width: 50%;
  justify-content: space-between;
  margin: 1% 0 0 -1.2%;
}

.menu-list-about li a, .menu-list-group li a, .menu-list-language li a, .menu-list li a {
  position: relative; /* Memastikan posisi relatif untuk elemen induk */
}

.menu-list-about li a::before, .menu-list-group li a::before, .menu-list-language li a::before, .menu-list li a::before {
  content: ''; /* Menambahkan pseudo-element */
  position: absolute; /* Menjadikan posisi absolut untuk kontrol tepi */
  bottom: -5px; /* Meletakkan pseudo-element di bagian bawah */
  left: 0; /* Meletakkan pseudo-element di ujung kiri */
  width: 0; 
  height: 2px; 
  background-color: #ED4F18; 
  transition: width 0.3s ease-in-out;
}

.menu-list-about li a:hover::before, .menu-list-group li a:hover::before, .menu-list-language li a:hover::before, .menu-list li a:hover::before {
  width: 100%; 
}
.menu p{
padding-top: 5%;
  padding-bottom: 3%;
}
.menu li p{
  cursor: default;
}

/*Footer*/
footer {
  padding: 2.5% 0;
  background-color: #283948;
}

.footer-navigation {
  margin-top: 3%;
  display: flex;
  
}

.footer-left-content {
  width: 100%;
}

.footer-left-content .logo-footer {
  width: 30%;
  margin-bottom: 5%;
}

.footer-right-content{
  width: 100%;
}
.footer-right-content .box-nav {
  width: 100%;
  display: flex;
  gap: 14%;
}

.box-nav {
  width: 100%;
  
}

.nav-1,
.nav-2,
.nav-3,
.nav-4 {
  line-height: 2;
}


.footer-text {
  margin: 4% 0 0 0;
  display: flex;
 justify-content: space-around;
}


.hr-footer {
  margin-top: 1%;
  margin-left: -1.5%;
  width: 39%;
  height: 0.1vw;
  background-color: white;

}

.icon-search {
  width: 35%;
}
@media(min-width:640px) and (max-width: 1024px){

  .logo{
    width: 9.6%;
  }
  .header-2{
    margin-right: 1%;
  }
   .navigation li a{
    font-size: clamp(8px, 1.3vw, 14px);
  }
  .dropdown-img{
  width: 15%;
}
  .dropdown-language-img {
    width: 25%;
    margin-left: 12%;
  }
.dropdown-language-img img, .dropdown-img img {
    margin-top: 8%;
    width: 100%;
  }
  
  .dropdown img.icon-active {
  rotate: -180deg;
  margin-top: 50%;
}
.header-deks {
  border-bottom: 1px solid #F8F8F8;
  width: 61.5%;
  margin-top: 4.2%;
  margin-left: 30.5%;
}
.dropdown-language img.icon-active {
  rotate: -180deg;
  margin-top: 50%;
}
.menu-box {
  float: right;
  width: 68.5%;
}
  .header-deks{
    height: 0.2px;
  }
  .menu-list-about li a::before, .menu-list-group li a::before, .menu-list-language li a::before, .menu-list li a::before{
    height: 0.5px;
  }
}
@media(min-width: 360px) and (max-width: 640px){
 .menu-content, .footer-navigation, .navigation{
    display: none;
  }
  .line-footer, .footer-text-mobile, .coppyright{
    display: block;
  }
  .logo{
    margin: 5% 0;
    width: 24%;
    z-index: 1000;
  }
  .btn-close{
    margin-top: 8%;
    width: 9%;
    height: 6%;
    display: block;
    position: relative;
    z-index: 1000;
  }
  .navigation-mobile {
    background-color: rgba(40, 57, 72, 0.4);
    backdrop-filter: blur(4px); /* Ubah nilai blur sesuai kebutuhan */
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    transform: translateX(125%);
    transition: transform 0.3s ease-in-out;
  }
  .navigation-mobile.show {
    background-color: rgba(40, 57, 72, 0.4);
    backdrop-filter: blur(4px); /* Ubah nilai blur sesuai kebutuhan */
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: block;
    transform: translateX(0%);
  }
  
  .navigation-mobile ul{
    padding: 17.5% 0 0 4%;
    list-style-type: none;
    float: right;
    width: 100%;
    background-color: #283948;
    position: relative;
    z-index: -100;
  }
  .navigation-mobile li{
    margin: 5% 0 -1% 5%;
  }

  .cat-header,.cat-header-2{
    display: flex;
    justify-content: space-between;
    width: 85%;
  }
  .cat-header-2 img,.cat-header img{
    margin-top: 2.5%;
    width: 4%;
    height: fit-content;
  }
  .cat-header-2 img.active,.cat-header img.active{
    transform: rotate(180deg);
  }
  .navigation-mobile a{
    text-decoration: none;
    color: #ffffff;
    font-size: clamp(12px, 3.3vw, 21px); 
  }
  
  .cat-header a, .cat-header-2 a{
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(15px, 4.1vw, 26px); 
    font-family: 'Figtree', sans-serif;
  }
  .line-header{
    margin: 5% 5%;
    width: 84%;
    background-color: #f8f8f8;
    opacity: 100%;
  }
  .line-footer{
    margin: 5% 0;
    width: 100%;
    background-color: #f8f8f8;
    opacity: 100%;
  }
  .language-mobile{
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin-left: 5%;
    margin-top: 15%;
    margin-bottom: 60%;
  }
  .language-mobile p{
    color: white;
    font-size: clamp(15px, 4.1vw, 26px); 
  }
  .language-country-mobile{
    display: flex;
    justify-content: space-between;
  }
  .language-country-mobile img{
    width: 33%;
    margin-left: 15%;
    height: 50%;
    margin-top: 7%;
  }

  .dropdown-mobile-5, .dropdown-mobile-4, .dropdown-mobile-3, .dropdown-mobile-2, .dropdown-mobile {
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease 0.2s;
    max-height: 0;
    overflow: hidden;
    margin-top: -6%;
  }
  
  .dropdown-mobile-5.show, .dropdown-mobile-4.show, .dropdown-mobile-3.show, .dropdown-mobile-2.show, .dropdown-mobile.show {
    opacity: 1;
    max-height: 1000px;
    padding-bottom:2%;
    margin-top: -6%;
  }
  
} 