/* Footer Part */
.footer-top {
  background-color: #fdfdfd;
  background-image: url("./../assets/photo/footer\ background.png");
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0px;
  border-top: 2px solid var(--primary);
}

.footer-bottom {
  background-color: var(--primary);
  padding: 10px 0;
}

.footer-rights {
  text-align: center;
  color: var(--white);
  font-size: 14px;
}

.footer-top-layout {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.first-col-footer {
  display: block;
  width: 30%;
  text-align: center;
}

.first-col-footer p {
  text-align-last: right;
  text-align: justify;
}

.first-col-footer img {
  width: 50%;
  margin: auto;
}

.footer-title {
  font-weight: bold;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  font-size: 18px;
}

.footer-links {
  color: var(--black);
  width: fit-content;
  transition: all 0.5s ease;
  display: flex;
  gap: 5px;
}

.footer-links:hover {
  color: var(--primary);
}

.footer-links i {
  color: var(--primary);
}

.second-col-footer,
.third-col-footer,
.fourth-col-footer {
  width: 20%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.licence-layout {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.licence-layout img {
  border: 2px solid var(--primary);
  padding: 5px;
  border-radius: 4px;
  height: 80px;
}

/* Footer Media Query  */
@media (max-width: 992px) {
  .footer-rights {
    font-size: 12px;
  }

  .footer-title {
    font-size: 16px;
  }

  .footer-top {
    padding: 30px 0px;
  }

  .first-col-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
  }

  .first-col-footer p {
    text-align-last: center;
  }

  .second-col-footer,
  .third-col-footer,
  .fourth-col-footer {
    width: 30%;
  }
}

/* Footer Media Query  */
@media (max-width: 587px) {
  .first-col-footer img {
    width: 80%;
    margin: auto;
  }

  .second-col-footer,
  .third-col-footer {
    width: 48%;
  }

  .fourth-col-footer {
    margin-top: 30px;
    width: 100%;
  }

  .licence {
    text-align: center;
  }
}