/* ── Footer (SDG brand) ── */
#footer.footer-middle.sdg-footer {
  position: relative;
  background: url(../images/resource/faq2.jpg) center center / cover no-repeat !important;
  padding: 100px 0 0 !important;
  overflow: hidden;
}

#footer.footer-middle.sdg-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 43, 0.72);
  z-index: 0;
  pointer-events: none;
}

#footer.footer-middle.sdg-footer > .container {
  position: relative;
  z-index: 1;
}

#footer .footer-main-row {
  align-items: flex-start;
}

#footer .techno-logo {
  margin-top: 0;
}

#footer .techno-logo img {
  max-width: 190px;
  height: auto;
}

#footer .company-info-desc p {
  color: #bcc7cd;
  font-size: 16px;
  line-height: 1.75;
  padding: 24px 16px 0 0;
  margin: 0 0 8px;
}

#footer h4.widget-title {
  color: #ffffff;
  font-family: "Rajdhani", sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 22px;
  margin: 0;
}

#footer h4.widget-title span {
  color: var(--sdg-red) !important;
}

#footer .widget.widget-nav-menu {
  padding-left: 0;
}

/* Social icons */
#footer .company_icon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 0;
}

#footer .sdg-footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#footer .footer-bottom-wrap {
  position: relative;
  margin-top: 56px;
  border-top: 1px solid rgba(48, 128, 255, 0.22);
}

#footer .sdg-footer-lang--corner {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(15, 23, 43, 0.92);
  border-radius: 4px;
  box-sizing: border-box;
}

#footer .company_icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 40px;
  height: 40px;
  line-height: 1;
  font-size: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(48, 128, 255, 0.28);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#footer .company_icon a::before {
  display: none !important;
}

#footer .company_icon a.company_icon__link--facebook,
#footer .company_icon a.company_icon__link--facebook i {
  color: #1877f2 !important;
}

#footer .company_icon a.company_icon__link--facebook {
  background: rgba(24, 119, 242, 0.14);
  border-color: rgba(24, 119, 242, 0.35);
}

#footer .company_icon a.company_icon__link--facebook:hover,
#footer .company_icon a.company_icon__link--facebook:hover i {
  color: #ffffff !important;
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

#footer .company_icon a.company_icon__link--instagram {
  background: rgba(225, 48, 108, 0.12);
  border-color: rgba(225, 48, 108, 0.35);
}

#footer .company_icon a.company_icon__link--instagram i {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#footer .company_icon a.company_icon__link--instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.35);
}

#footer .company_icon a.company_icon__link--instagram:hover i {
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff !important;
}

#footer .company_icon a.company_icon__link--x,
#footer .company_icon a.company_icon__link--x i {
  color: #ffffff !important;
}

#footer .company_icon a.company_icon__link--x {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.18);
}

#footer .company_icon a.company_icon__link--x:hover,
#footer .company_icon a.company_icon__link--x:hover i {
  color: #ffffff !important;
  background: #000000;
  border-color: #000000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

#footer .company_icon a:hover {
  color: #ffffff;
  background: var(--sdg-gradient-btn);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(48, 128, 255, 0.28);
}

#footer .company_icon a i {
  color: inherit;
}

/* Footer nav links */
#footer .footer-link-list li {
  padding-left: 18px;
}

#footer .footer-link-list li::before {
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sdg-blue);
}

#footer .menu-quick-link-content ul li a,
#footer .footer-recent-post ul li a {
  display: inline-block;
  color: #bcc7cd !important;
  font-size: 15px;
  font-weight: 500;
  padding: 0 0 10px;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

#footer .menu-quick-link-content ul li a:hover,
#footer .footer-recent-post ul li a:hover {
  color: var(--sdg-blue) !important;
  padding-left: 4px;
  background-position: unset !important;
}

/* Contact block */
#footer .footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

#footer .footer-socail-icon {
  float: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(48, 128, 255, 0.1);
  border: 1px solid rgba(48, 128, 255, 0.22);
}

#footer .footer-socail-icon i {
  font-size: 20px;
  color: var(--sdg-blue);
}

#footer .footer-socail-icon--email i,
#footer .footer-socail-icon--location i {
  color: var(--sdg-blue);
}

#footer .footer-socail-info,
#footer .footer-socail-info2 {
  flex: 1;
  min-width: 0;
}

#footer .footer-socail-info p,
#footer .footer-socail-info2 p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  padding-top: 2px;
}

#footer .footer-socail-info a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-word;
}

#footer .footer-socail-info a:hover {
  color: var(--sdg-blue);
}

/* Bottom bar */
#footer .row.footer-bottom {
  margin-top: 0;
  border-top: none;
}

#footer .footer-bottom-content {
  padding-top: 22px;
  padding-bottom: 28px;
}

#footer .footer-bottom-content-copy p {
  color: #bcc7cd;
  font-size: 15px;
  margin: 0;
}

#footer .footer-bottom-content-copy span {
  color: var(--sdg-red);
  font-weight: 700;
}

#footer .footer-bottom-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 22px 0 28px;
}

#footer .footer-bottom-menu a {
  display: inline-flex;
  align-items: center;
  color: #bcc7cd;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer .footer-bottom-menu a:hover {
  color: var(--sdg-blue);
}

#footer .footer-bottom-menu__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(188, 199, 205, 0.45);
  font-size: 15px;
  line-height: 1;
  margin: 0 10px;
  user-select: none;
}

#footer .sdg-footer-lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #bcc7cd;
  cursor: pointer;
  transition: color 0.3s ease;
}

#footer .sdg-footer-lang__btn:hover {
  color: var(--sdg-blue);
}

#footer .sdg-footer-lang__btn.is-active {
  color: #fff;
}

#footer .sdg-footer-lang__sep {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: rgba(188, 199, 205, 0.45);
  font-size: 14px;
  font-weight: 400;
  user-select: none;
}

@media (max-width: 991px) {
  #footer.footer-middle.sdg-footer {
    padding-top: 80px !important;
  }

  #footer .widget.widget-nav-menu,
  #footer .widget-footer-title,
  #footer #footer-widget-address {
    margin-top: 32px;
  }

  #footer .footer-bottom-menu {
    justify-content: flex-start;
    padding-top: 8px;
  }

  #footer .sdg-footer-lang--corner {
    right: 0;
    padding: 8px 12px;
  }
}

@media (max-width: 767px) {
  #footer.footer-middle.sdg-footer {
    padding-top: 64px !important;
  }

  #footer .footer-main-row > [class*="col-"] {
    margin-bottom: 4px;
  }

  #footer h4.widget-title,
  #footer .widget-footer-title,
  #footer .menu-quick-link-content,
  #footer .footer-recent-post,
  #footer #footer-widget-address {
    text-align: left !important;
  }

  #footer .widget.widget-nav-menu,
  #footer .widget-footer-title,
  #footer #footer-widget-address {
    margin-top: 28px;
  }

  #footer h4.widget-title {
    font-size: 20px;
    padding-bottom: 14px;
  }

  #footer .company-info-desc p {
    padding-right: 0;
    font-size: 15px;
  }

  #footer .company_icon {
    justify-content: center;
  }

  /* Remove bullet dots — responsive.css pins ::before at fixed left offsets on phones */
  #footer .footer-link-list,
  #footer .menu-quick-link-content ul,
  #footer .footer-recent-post ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #footer .footer-link-list li,
  #footer .menu-quick-link-content ul li,
  #footer .footer-recent-post ul li {
    padding-left: 0 !important;
    list-style: none;
  }

  #footer .footer-link-list li::before,
  #footer .menu-quick-link-content ul li::before,
  #footer .footer-recent-post ul li::before {
    display: none !important;
    content: none !important;
  }

  #footer .menu-quick-link-content ul li a,
  #footer .footer-recent-post ul li a {
    padding: 8px 0;
  }

  #footer .menu-quick-link-content ul li a:hover,
  #footer .footer-recent-post ul li a:hover {
    padding-left: 0;
  }

  #footer .footer-inner {
    justify-content: flex-start;
    margin-bottom: 14px;
  }

  #footer .footer-socail-icon {
    margin-right: 0;
  }

  #footer .footer-bottom-wrap {
    margin-top: 36px;
    position: relative;
    border-top: 1px solid rgba(48, 128, 255, 0.22);
  }

  #footer .sdg-footer-lang--corner {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    width: auto;
    padding: 8px 12px;
  }

  #footer .row.footer-bottom {
    text-align: center;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

  #footer .footer-bottom-content {
    padding-top: 22px;
    padding-bottom: 12px;
    text-align: center;
  }

  #footer .footer-bottom-menu {
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    padding-top: 0;
    padding-bottom: 24px;
  }

  #footer .footer-bottom-menu a {
    white-space: nowrap;
  }

  #footer .footer-bottom-menu__sep {
    display: inline-flex;
    margin: 0 8px;
  }

  /* Services, useful links, contact — three columns on one row */
  #footer .footer-main-row > .sdg-footer-col--services,
  #footer .footer-main-row > .sdg-footer-col--links,
  #footer .footer-main-row > .sdg-footer-col--contact {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding-left: 6px;
    padding-right: 6px;
  }

  #footer .footer-main-row > .sdg-footer-col--services {
    padding-left: 15px;
  }

  #footer .footer-main-row > .sdg-footer-col--contact {
    padding-right: 15px;
  }

  #footer .sdg-footer-col--services .widget.widget-nav-menu,
  #footer .sdg-footer-col--links .widget-footer-title,
  #footer .sdg-footer-col--contact #footer-widget-address {
    margin-top: 28px;
  }

  #footer .sdg-footer-col--services h4.widget-title,
  #footer .sdg-footer-col--links h4.widget-title,
  #footer .sdg-footer-col--contact h4.widget-title {
    font-size: 13px;
    padding-bottom: 8px;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  #footer .sdg-footer-col--services .menu-quick-link-content ul li a,
  #footer .sdg-footer-col--links .footer-recent-post ul li a {
    font-size: 12px;
    padding: 4px 0;
    line-height: 1.3;
  }

  #footer .sdg-footer-col--contact .footer-inner {
    margin-bottom: 8px;
  }

  #footer .sdg-footer-col--contact .footer-socail-icon {
    display: none;
  }

  #footer .sdg-footer-col--contact .footer-socail-info p,
  #footer .sdg-footer-col--contact .footer-socail-info2 p {
    font-size: 11px;
    line-height: 1.35;
  }

  #footer .sdg-footer-col--contact .footer-socail-info a {
    font-size: 11px;
    word-break: break-word;
  }
}
