/* ============================================
   FOOTER
   ============================================ */

.footer {
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.footer-main {
  position: relative;
  background:
    radial-gradient(circle at 16% 12%, rgba(0, 250, 206, 0.14), transparent 26%),
    linear-gradient(135deg, #101824 0%, #172436 100%);
  padding: 88px 0 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 78px 78px;
}

.footer-main .main-container {
  position: relative;
  z-index: 1;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 54px;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(0, 250, 206, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.footer-cta span {
  color: #00FACE;
  font-family: "font_bold";
  font-size: 14px;
}

.footer-cta h2 {
  margin: 10px 0 0;
  color: #fff;
  font-family: "font_bold";
  font-size: clamp(17px, 2vw, 28px);
  line-height: 1.25;
}

.footer-cta a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: #00FACE;
  color: #172436 !important;
  font-family: "font_bold";
  white-space: nowrap;
}

.footer-cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 250, 206, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.8fr 1fr;
  gap: 34px;
}

/* Logo & Description */
.footer-about {
  padding-right: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 168px;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.footer-about-desc {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 25px;
  max-width: 420px;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-socials a i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  background: #00FACE;
  border-color: #00FACE;
}

.footer-socials a:hover i {
  color: #172436;
}

/* Footer Title */
.footer-title {
  font-family: "font_bold";
  font-size: 17px;
  color: #fff;
  margin: 0 0 22px 0;
  position: relative;
  padding-bottom: 12px;
  line-height: 1.4;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: auto;
  width: 30px;
  height: 2px;
  background: #00FACE;
}

/* Quick Links */
.footer-links ul {
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62) !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer-links ul li a::before {
  content: "";
  width: 0;
  height: 1px;
  background: #00FACE;
  display: inline-block;
  transition: all 0.3s ease;
  margin-right: 0;
}

.footer-links ul li a:hover {
  color: #00FACE !important;
  padding-right: 12px;
}

.footer-links ul li a:hover::before {
  width: 8px;
  margin-left: 6px;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-contact a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.footer-contact a i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 250, 206, 0.12);
  color: #00FACE;
}

.footer-contact a span {
  color: rgba(255, 255, 255, 0.7);
  font-family: "font_medium";
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact a:hover {
  border-color: rgba(0, 250, 206, 0.42);
  transform: translateY(-3px);
}

/* Newsletter */
.footer-newsletter-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer-newsletter-input {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.footer-newsletter-input:focus-within {
  border-color: #00FACE;
}

.footer-newsletter-input input {
  flex: 1;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  padding: 0 16px;
  font-family: "font_main";
  font-size: 14px;
  color: #fff;
  outline: none;
}

.footer-newsletter-input input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.footer-newsletter-input button {
  width: 52px;
  height: 48px;
  border: none;
  background: #00FACE;
  color: #172436;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-newsletter-input button i {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.footer-newsletter-input button:hover {
  background: #00FACE;
}

.footer-newsletter-input button:hover i {
  transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
  background: #0b121c;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom .main-container {

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-route {
  max-width: 100px;
  height: auto;
}


.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  text-align: center;
}


/* ---- Legacy styles ---- */

.end-page p {
  color: var(--color-gray);
  font-size: 17px;
}

.end-page a {
  display: flex;
  gap: 10px;
  color: var(--color-Primary1);
  align-items: center;
}



.end-page {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  padding: 20px 5%;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 75px;
}

.end-page a i {
  color: red;
}

.remove-mune {
  position: absolute;
  top: 30px;
  right: 30px;
}

.remove-mune span {
  width: 40px;
  height: 40px;
  display: block;
  transition: all 0.2s linear;
  position: relative;
  cursor: pointer;
  transform: rotate(0deg);

  transition-delay: 0.8s;
}

.remove-mune span::after {
  content: "";
  height: 2px;
  background-color: #54595f;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  transition: all 0.6s linear;
}

.remove-mune span::before {
  content: "";
  height: 2px;
  background-color: #54595f;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  transition: all 0.2s linear;

  transition-delay: 0.6s;
}

.menu_responsive.active .remove-mune span::before {
  transform: rotate(90deg) translateY(-50%);
}

.menu_responsive.active .remove-mune span {
  transform: rotate(45deg);
}

.element_menu_responsive ul li {
  transform: translateY(100%);
  transition: all 0.2s linear;
  transition-delay: 0.4s;
  display: block;
  opacity: 0;
}

.menu_responsive {
  transition-delay: 1s;
}

.menu_responsive.active {
  transition-delay: 0.3s;
}

.menu_responsive.active .element_menu_responsive ul li {
  transform: translateY(0%);
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(1) {
  transition-delay: 0.4s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(2) {
  transition-delay: 0.6s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(3) {
  transition-delay: 0.8s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(4) {
  transition-delay: 1s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(5) {
  transition-delay: 1.2s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(6) {
  transition-delay: 1.4s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(7) {
  transition-delay: 1.6s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(8) {
  transition-delay: 1.8s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(9) {
  transition-delay: 2s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(10) {
  transition-delay: 2.2s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(11) {
  transition-delay: 2.4s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(12) {
  transition-delay: 2.6s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(13) {
  transition-delay: 2.8s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(14) {
  transition-delay: 3s;
  opacity: 1;
}

.footer-top-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #00FACE;
  color: #172436 !important;
}

.footer-top-link:hover {
  transform: translateY(-4px);
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 70px 0 46px;
  }

  .footer-cta {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    gap: 14px;
    flex-direction: column;
  }
}
