footer {
  background: url(../images/footer-background.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-top: 0 !important;
  padding-top: 10rem;
  color: white;
}

footer .footer-link{
  padding-left: 0;
  padding-right: 0;
  color: white;
  align-self:center;
  text-decoration: none;
}

footer .footer-menu{
  max-width: 66.666667%;
}

#img-iso {
  height: 5rem;
}

.logo-support{
  max-width: 8rem;
}

.break{
  border: 1px solid white;
} 

#separator-footer{
  background: white;
  height: 5rem;
  margin-bottom: -5rem;
  overflow-y: hidden;
}

#section-info-company{
  margin-bottom: -15rem;
}

.social-media i{
  color: #be1414;
}

.div-support{
  height: 6.5rem;
  max-height: 7rem;
}

#section-footer .logo-ksei img {
  width: 85px; /* Ukuran seragam dengan Kominfo */
  height: auto;
}


@media screen and (max-width: 576px){

  footer{
    background-size: cover !important;
    background-position-x: center!important; 
  }

  footer .footer-menu{
    max-width: 100% !important;
  }

  .footer-location h3{
    text-align: center!important;
  }
}
  
@media screen and (min-width: 1900px) {
  footer .footer-link{
    font-size: 1.5rem;
  }

  .footer-company{
    font-size: 1.2rem;
  }

  #img-iso{
    height: 7rem;
  }

  #kominfo iframe{
    width: 8rem!important;
    height: 8rem!important;
  }

  #siteseal img{
    width: 15rem;
  }
}

@media screen and ( max-width: 991px ){
  #separator-footer{
    height: 2.5rem;
    margin-bottom: -2.5rem;
  }

  #section-info-company{
    margin-bottom: -2.5rem;
  }
}

@media screen and ( max-width: 767px ){
  #separator-footer{
    height: 2rem;
    margin-bottom: -2rem;
  }
  #section-info-company{
    margin-bottom: -2rem;
    padding-left: 20px;
  }
}


/* Aturan untuk tampilan desktop */
@media (min-width: 769px) {
  #section-footer img {
      width: 100px; 
      height: auto; 
  }

  /* Ukuran gambar untuk bagian "Terdaftar di" dan "Didukung Oleh" */
 
  #section-footer #img-iso,
  #section-footer img[src*="sectigo"] {
    width: 70px; 
    height: auto; 
  }

  #section-footer .terdaftar-logo img {
    width: 45px; 
    height: auto; 
  }

  #section-footer .logo-aludi img {
    width: 50px; 
    height: auto; 
  }

  #section-footer .logo-gencarkan img {
    width: 140px; 
    height: auto; 
  }

  #section-footer .logo-ksei img {
    width: 85px; /* Ukuran seragam dengan Kominfo */
    height: auto;
    margin-top: 13px;
}


  /* Mengurangi jarak antara "Berizin dan Diawasi oleh" dan "Terdaftar di" */
  #section-footer .d-lg-flex {
      gap: 80px;
  }

  /* Mengurangi jarak antar gambar dalam div-support */
  #section-footer .div-support .d-flex {
      gap: 20px; 
  }

  /* Mengurangi jarak antar gambar di bagian "Didukung Oleh" */
  #section-footer .d-lg-flex .d-flex {
      gap: 20px; 
  }
}

/* Aturan untuk tampilan mobile */
@media (max-width: 768px) {
  #section-footer img {
      max-width: 70px; 
      height: auto; 
  }

  #section-footer .terdaftar-logo img {
    max-width: 40px; 
    height: auto; 
  }

    #section-footer .logo-aludi img {
      width: 45px; 
      height: auto; 
    }

    #section-footer .logo-gencarkan img {
      max-width: 120px; 
      height: auto; 
      margin-top: -40px;
    }

    #section-footer .logo-ksei img {
      width: 55px; /* Ukuran seragam dengan Kominfo */
      height: auto;
      margin-top: 20px;
  }

  #section-footer .d-lg-flex {
      flex-direction: column; 
      gap: 20px; 
  }

  /* Mengurangi jarak antar gambar di mobile */
  #section-footer .d-flex {
      gap: 10px; 
  }
}