/* Importing Google font - Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer {
  width: 100%;
  background: linear-gradient(to right, #00093c, #2d0b00);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  border-radius: 18px 18px 0 0;
  margin-top: auto;
}

.footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 70px;
  padding: 60px 60px 25px 60px;
  width: 90%;
  margin: auto;
  max-width: 2000px;
}

.footer-company-logo {
  height: 27px;
  margin-left: -5px;
}

.footer-row .footer-col h4 {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.footer-row .footer-col h4::before {
  content: '';
  height: 110%;
  width: 0;
  background-color: #3180ff;
  border-radius: 10px 15px 0 10px;
  position: absolute;
  top: 0;
  left: -5px;
  transition: 0.2s ease-in-out;
  z-index: -1;
}

.footer-row .footer-col:hover h4::before {
  width: calc(100% + 15px);
}

/* Links col */
.footer-col .links {
  margin-top: 20px;
}

.footer-col .links li {
  list-style: none;
  margin-bottom: 10px;
}

.footer a {
  text-decoration: none;
  color: #bfbfbf;
}

.footer a:hover {
  color: #fff;
}

.contact-links a {
  display: block;
  margin-top: 15px;
}

.footer-col p {
  margin: 20px 0;
  color: #bfbfbf;
  max-width: 300px;
  text-align: justify;
}

/* Newsletter col */
.footer-col form {
  display: flex;
  gap: 5px;
  margin: 20px 0;
}

.footer-col input {
  height: 40px;
  border-radius: 6px;
  background: none;
  width: 100%;
  outline: none;
  border: 1px solid #7489C6;
  caret-color: #fff;
  color: #fff;
  padding-left: 10px;
}

.footer-col input::placeholder {
  color: #ccc;
}

.footer-col form button {
  background: #fff;
  outline: none;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}

.footer-col form button:hover {
  background: #cecccc;
}

/* Social Icons */
.footer .social-icons {
  margin: 20px 0;
}

.footer .social-icons .fab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #000;
  background-color: #fff;
  margin-right: 15px;
  cursor: pointer;
}

.footer .social-icons .fab:hover {
  background-color: #cecccc;
}

/* Horizontal Line */
.footer hr {
  width: 90%;
  border: 0;
  border-bottom: 1px solid #aaa;
  max-width: 2000px;
  margin: auto;
}



/* Copyright Section */
.footer .copyright {
  text-align: center;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .footer {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 18px 18px 0 0;
  }

  .footer p {
    font-size: 12px;
  }

  .footer a {
    font-size: 14px;
  }

  .footer-company-logo {
    height: 15px;
    margin: 0;
  }

  .footer .footer-row {
    padding: 25px 20px;
    gap: 16px;
  }

  .footer-col form {
    display: block;
  }

  .footer-col form :where(input, button) {
    width: 100%;
  }

  .footer-col form button {
    margin: 10px 0 0 0;
  }

  .footer .copyright {
    font-weight: normal;
    font-size: 12px;
    padding: 10px 20px;
  }
}