.footer-bg {
  background-color: #000;
  color: #d0d5dd;
  position: relative;
  padding-bottom: 40px;
  z-index: 10;
}

.footer {
  position: relative;
  padding: 100px 0 50px 0;
}

.footer .base-layout-2 {
  transform: translateY(80px);
}

.footer .footer-top {
  position: absolute;
  top: auto; 
  bottom: 0; 
  transform: translateY(calc(-170%));
  width: auto;
  border: 1px solid #2e90fa;
  border-radius: 24px;
  background: url("../svg/bg-footer.svg"),
    linear-gradient(139.75deg, #0086c9 0%, #004263 125.99%);
  display: flex;
  justify-content: space-between;
  max-width: 1440px;
  left: 0;
  right: 0;
  padding: 0 67px;
  z-index: 9999; 
}

.footer-top {
  display: flex;
}

.footer-top-left {
  padding: 93px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
}

.footer-top-title {
  font-size: 54px;
  line-height: 64.5px;
}

.footer-top-right {
  padding: 76px 0;
  display: flex;
  justify-content: center;
  width: 40%;
  flex-direction: column;
  gap: 30px;
}

.footer-top-text {
  font-size: 16.5px;
  line-height: 27px;
}

/* ===== FORM ===== */
.form-inline {
  display: flex;
  gap: 16px;
}

.footer-input {
  border-radius: 75px;
  height: 54px;
  font-size: 13.5px;
  padding: 20px;
  border: none;
  outline: none;
}

.footer-input,
.footer-btn {
  flex: 1;
}

.footer-input,
.footer-input:focus,
.footer-input:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.footer-btn {
  border-radius: 75px;
  height: 54px;
  background-color: #01112d;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
}

.footer-btn:hover {
  background-color: #033065;
}

.footer-btn a {
  font-size: 13.5px;
  line-height: 22.5px;
  text-decoration: none;
  color: #fff;
}

/* ===== FOOTER CONTENT ===== */
.footer .base-layout-2{
	padding: 0;
}

.footer-global {
  padding: 80px 0;
  display: flex;
  gap: 15px;
}

.footer-left {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-logo {
  width: 261px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-left-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.footer-left-item:hover .footer-left-text {
  color: #ffffff;
}

.footer-left-item:hover img {
  filter: brightness(200%);
}

.footer-left-icon {
  width: 20px;
  height: 20px;
}

.footer-left-text {
  font-size: 14px;
  line-height: 20px;
}

.footer-right {
  width: 60%;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footer-right-row {
  display: flex;
  gap: 16px;
}

.footer-right-item {
  flex: 1;
}

.footer-right-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #f4f0ff;
}

.footer-right-item ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-right-item ul li {
  font-size: 14px;
  line-height: 20px;
}

.footer-right-item li a {
  color: #efedfd99;
  text-decoration: none;
}

.footer-right-item ul li:hover a,
.footer-bottom-list li:hover a {
  color: #2e90fa !important;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-hr {
  width: 100%;
  height: 1px;
  background-color: #667085;
  border: none;
}

.footer-bottom__container {
  display: flex;
  justify-content: space-between;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom-list {
  display: flex;
  gap: 16px;
}

.footer-bottom-list li a {
  color: #d0d5dd;
  text-decoration: none;
  font-size: 10px;
  line-height: 13.5px;
}

.footer-bottom-right {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-bottom-right__text {
  font-size: 13.5px;
  color: #d0d5dd;
}

.footer-bottom-right__text:hover {
  color: #ffffff;
}

.footer-bottom-right__social {
  display: flex;
  gap: 8px;
}

.footer-bottom-right__social-item {
  width: 24px;
  height: 24px;
}

.footer-bottom-right__social-item:hover img {
  opacity: 0.7;
  transform: scale(1.05);
  transition: all 0.2s ease;
}
@media screen and (max-width: 1200px) {
 .footer .footer-top {
    left: 80px;
    right: 80px;
    transform: translateY(calc(-136%));
  }
}
@media screen and (max-width: 1024px) {
  .footer {
    padding: 180px 0 50px 0;
  }
  
  .footer .footer-top {
    left: 0;
    right: 0;
    transform: translateY(calc(-162%)); 
  }

  .footer-bottom {
    margin-top: 100px;
  }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 900px) {
  .footer .footer-top {
    flex-direction: column;
    padding: 0 23px;
     transform: translateY(calc(-218%)); 
  }
  
  .footer-top-left {
    padding: 91px 0 29px 0;
  }
  
  .footer-top-right {
    padding: 0;
    padding-bottom: 46px;
    gap: 22px;
  }
  
  .footer-top-left,
  .footer-top-right {
    width: 100%;
  }

  .footer-top-title {
    font-size: 28px;
    line-height: 40px;
  }

  .footer-global {
    flex-direction: column;
    transform: none;
  }
  
  .footer .base-layout-2 {
    transform: translateY(40px);
  }

  .footer-left,
  .footer-right {
    width: 100%;
    justify-content: center;
  }
  
  .footer-left {
    align-items: center;
  }
  
  .footer-bottom {
    margin-top: 0;
  }
}
.footer-bottom-right__social-item img{
	width: 100%;
}
@media screen and (max-width: 768px) {
  .footer .footer-top {
    left: 0px;
    right: 0px;

  }
}

@media screen and (max-width: 576px) {
  .footer-bg .container {
    padding: 0 !important;
  }
  
  .footer .base-layout-2 {
    transform: none;
  }

  .footer .footer-top {
    left: 0;
    right: 0;
    background: linear-gradient(139.75deg, #0086c9 0%, #004263 125.99%);
    padding: 0 16px;
    transform: translateY(calc(-280%)); 
  }

  .footer-global {
    padding: 80px 16px;
  }

  .footer-bottom {
    padding: 0 16px;
  }

  .footer-left {
    align-items: flex-start;
  }

  .footer-right {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom__container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-bottom-left {
    align-items: flex-start;
  }

  .form-inline {
    gap: 7px;
  }
}