
footer {
  position: relative;
}

/* ============ Footer CTA ============ */

footer .footer-cta {
  position: relative;
  background: var(--primary-color);
  overflow: hidden;
  padding: 25px 0 0px;
}

footer .footer-cta-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 25%;
}

footer .footer-cta-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 140px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  z-index: 1;
}

footer .footer-cta-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

footer .footer-cta-content {
  position: relative;
  z-index: 2;
}

footer .footer-cta-title {
  color: var(--text-light);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

footer .footer-cta-desc {
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
}

footer .footer-cta-desc .accent {
  color: var(--accent-color);
}

footer .footer-cta-btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-light);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 38px;
  border-radius: 8px;
  margin-bottom: 45px;
  transition: 0.3s ease-in;
}

footer .footer-cta-btn:hover {
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

footer .footer-cta-info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  position: relative;
  z-index: 2;
}

footer .footer-cta-info-item {
  gap: 15px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

footer .footer-cta-info-item:last-child {
  grid-column: span 2;
  padding-bottom: 0;
  border-bottom: 0;
}

footer .footer-cta-info-item .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .footer-cta-info-item .icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

footer .footer-cta-info-item .icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-light);
}

footer .footer-cta-info-item .text .title {
  color: var(--text-light);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 3px;
  line-height: 1.3;
}

footer .footer-cta-info-item .text .desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ============ Footer Bottom Bar ============ */

footer .footer-bottom-bar {
  background: #fff;
  padding: 25px 0;
}

footer .footer-bottom-bar .d-flex {
  gap: 10px;
  row-gap: 15px;
}

footer .footer-certificates {
  gap: 25px;
}

footer .footer-certificate-item {
  height: 75px;
  width: 200px;
  object-fit: contain;
}

footer .footer-bottom-link {
  gap: 10px;
  color: var(--primary-color);
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
  white-space: nowrap;
  transition: 0.3s ease-in;
}

footer .footer-bottom-link svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  transition: 0.3s ease-in;
}

footer .footer-bottom-link:hover {
  color: var(--accent-color);
}

footer .footer-bottom-link:hover svg {
  color: var(--accent-color);
  transform: translateX(5px);
}

footer .footer-social-container {
  gap: 10px;
}

footer .footer-bottom-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in;
}

footer .footer-bottom-social-link svg {
  width: 18px;
  height: 18px;
  color: var(--text-light);
}

footer .footer-bottom-social-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

/* ============ Footer Copyright Bar ============ */

footer .footer-copyright-bar {
  background: #060420;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-copyright-bar .copyright {
  font-size: 15px;
  color: var(--text-light);
}


/* ============ Responsive ============ */

@media (max-width: 991px) {

  footer .footer-cta {
    display: flex;
    flex-direction: column;
    padding: 50px 0 0;
  }

  footer .footer-cta-image {
    position: static;
    order: 2;
    width: 100%;
    height: 280px;
    margin-top: 40px;
  }

  footer .footer-cta-image::before {
    display: none;
  }

  footer .footer-cta .container {
    order: 1;
  }

  footer .footer-cta-content {
    max-width: 100%;
  }

  footer .footer-cta-title {
    font-size: 28px;
  }
}

@media (max-width: 991px) {
  footer .footer-cta-info-list {
    margin-top: 30px;
  }
}

@media (max-width: 575px) {

  footer .footer-bottom-bar .d-flex {
    justify-content: center;
    text-align: center;
  }

  footer .footer-copyright-bar .d-flex {
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
}
