.footer-custom {
  background-color: #07075B;
  color: #FFFFFF;
  padding: 60px 20px 40px;
  font-size: 14px;
  background-image: url('../img/new-background-footer.png');
  background-repeat: repeat;
  background-size: contain;
}
/* 
@font-face {
  font-family: 'REM';
  src: url('../fonts/REM/REM-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
} */

.footer-custom a {
  position: relative;
  font-family: 'REM', sans-serif;
  color: #B3B3D3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-custom a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #B3B3D3;
  transition: width 0.3s ease;
}

.footer-custom a:hover::after {
  width: 100%;
}


.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo-block {
    flex: 0 0 288px;
    text-align: center;
    align-self: center;
}
.footer-logo-img {
    max-width: 288px;
}
.footer-slogan {
    font-family: 'Dosis', sans-serif;
    color: #FFFFFF;
    font-size: 16px;
    margin-top: 10px;
}

.footer-columns-group {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
  min-width: 160px;
}

/* @font-face {
  font-family: 'Dosis';
  src: url('../fonts/Dosis/Dosis-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
} */

.footer-column h4 {
  font-family: 'Dosis', sans-serif;
  color: #FFFFFF;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 24px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column ul li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo-block {
    text-align: center;
    flex: none;
  }

  .footer-logo-block img {
    width: 172px;
  }

  .footer-columns-group {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-column {
    min-width: unset;
  }

  .footer-column h4 {
    font-size: 20px;
  }

  .footer-custom a {
    font-size: 14px;
  }
}
