/*---------------------------------- footer ----------------------------------*/

.footer {
  margin: 0 !important;
  padding: 0 24px;
  background-color: var(--nav-color);
  width: 100vw;
  height: auto;
  display: flex;
  flex-direction: column;
  border-top: #000 2px solid;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  align-items: flex-start;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  padding: 0;
  margin-left: 30px;
  gap: 12px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--text-color);

}
.footer-top {
  flex: 1;
  min-width: 250px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section p {
  margin: 5px 0;
  font-size: 14px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: none;
}

.social-icon {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  color: var(--text-color);
}

.social-icon a {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  color: #fff;
}
.copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  border-top: 2px solid rgba(255, 252, 252, 0.5);
  margin-top: 20px;
}

@media screen and (min-width: 1024px) {
  .footer-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-start;
  }

  .footer-top {
    flex: 0 0 280px;
    margin-right: 48px;
  }

  .footer-section {
    flex: 1;
    min-width: 200px;
  }
}



@media screen and (max-width: 1023px) 
and (min-width: 768px) {
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    text-align: center;
  }
 
  .footer-top {
    flex: 1;
    min-width: 250px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .footer-section:nth-child(2) {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
 
  .footer-section:nth-child(3) {
    flex: 1;
    min-width: 250px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .footer-section:nth-child(4) {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
    margin: 0;
  }

  .social-icon {
    justify-content: center;
  }

  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
}



@media screen and (max-width: 767px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-section {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding-bottom: 0;
  }
  
  .footer-top {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    height: 50%;
  }

  div .footer-top {
    max-height: 70px;
    min-height: 50px;
    height: 80%;

  }

  .contacts {
    max-height: 70px;
    min-height: 50px;
    height: 80%;
  }

  .footer-logo {
    justify-content: center;
    margin: 0 auto;
  }

  .social-icon {
    justify-content: center;
  }

  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .footer-section p {
    font-size: 13px;
  }

  .follow-us {
    max-height: 70px;
    min-height: 50px;
    height: 80%;
  }
  .social-icon i {
    font-size: 20px;
  }

  .copyright {
    font-size: 11px;
    padding-top: 16px;
  }
}
