/* Footer (all pages) */
/* ================= DAI TECH FOOTER STYLE ================= */
.dt-footer,
.dt-footer * {
  box-sizing: border-box;
}

.dt-footer {
  --dt-blue: #168cff;
  --dt-cyan: #27d8f2;
  --dt-bg: #070d19;
  --dt-text: #f2f6ff;
  --dt-muted: #9aa8bd;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--dt-bg);
  color: var(--dt-text);
  font-family: "B Nazanin", Tahoma, sans-serif;
  border-top: 1px solid rgba(39, 216, 242, .22);
}

.dt-footer-glow {
  position: absolute;
  z-index: -1;
  top: -170px;
  right: 10%;
  width: 430px;
  height: 300px;
  background: rgba(22, 140, 255, .13);
  filter: blur(100px);
  pointer-events: none;
}

.dt-footer-container {
  width: min(1180px, 90%);
  margin: 0 auto;
  padding: 65px 0 48px;
  display: grid;
  grid-template-columns: 1.35fr .8fr .95fr 1.15fr;
  gap: 42px;
}

/* Brand */
.dt-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  margin-bottom: 22px;
}

.dt-logo-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, #168cff, #16cfe6);
  box-shadow: 0 7px 25px rgba(22, 140, 255, .25);
  font: 700 19px Tahoma, sans-serif;
  direction: ltr;
}

.dt-logo-name {
  color: #fff;
  font: 800 28px Tahoma, sans-serif;
  letter-spacing: -.8px;
  direction: ltr;
}

.dt-logo-name span {
  color: var(--dt-cyan);
}

.dt-footer-description {
  color: var(--dt-muted);
  font-size: 17px;
  line-height: 1.95;
  margin: 0 0 24px;
  max-width: 330px;
}

.dt-footer-socials {
  display: flex;
  gap: 10px;
  direction: ltr;
}

.dt-footer-socials a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  color: #dce9fb;
  text-decoration: none !important;
  font: 700 13px Tahoma, sans-serif;
  transition: .25s ease;
}

.dt-footer-socials a:hover {
  color: #06101c;
  background: var(--dt-cyan);
  border-color: var(--dt-cyan);
  transform: translateY(-4px);
}

/* Columns */
.dt-footer-column h3 {
  margin: 8px 0 13px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}

.dt-footer-line {
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 10px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--dt-blue), var(--dt-cyan));
}

.dt-footer-column ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.dt-footer-column li {
  margin: 0 0 13px !important;
  padding: 0 !important;
}

.dt-footer-column li a {
  position: relative;
  color: var(--dt-muted);
  font-size: 17px;
  text-decoration: none !important;
  transition: color .2s ease, padding .2s ease;
}

.dt-footer-column li a:hover {
  color: var(--dt-cyan);
  padding-right: 6px;
}

/* Contact items */
.dt-footer-contact {
  min-width: 0;
}

.dt-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
  color: inherit;
  text-decoration: none !important;
  min-width: 0;
}

.dt-contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(39, 216, 242, .2);
  border-radius: 12px;
  color: var(--dt-cyan);
  background: rgba(22, 140, 255, .09);
  font: 22px Tahoma, sans-serif;
  transition: .25s ease;
}

.dt-contact-item:hover .dt-contact-icon {
  background: var(--dt-blue);
  color: #fff;
  transform: translateY(-2px);
}

.dt-contact-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dt-contact-item small {
  color: var(--dt-muted);
  font-size: 14px;
}

.dt-contact-item strong {
  color: #f0f5ff;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.dt-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(39, 216, 242, .35);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(22,140,255,.16), rgba(39,216,242,.05));
  color: #fff !important;
  font-size: 17px;
  text-decoration: none !important;
  transition: .25s ease;
}

.dt-footer-cta span {
  color: var(--dt-cyan);
  font: 23px Tahoma, sans-serif;
}

.dt-footer-cta:hover {
  background: linear-gradient(110deg, #168cff, #12b9dd);
  border-color: transparent;
  transform: translateY(-2px);
}

.dt-footer-cta:hover span {
  color: #fff;
}

/* Bottom bar */
.dt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.15);
}

.dt-footer-bottom-inner {
  width: min(1180px, 90%);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dt-footer-bottom p {
  margin: 0;
  color: var(--dt-muted);
  font-size: 15px;
}

.dt-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dt-footer-bottom-links a {
  color: var(--dt-muted);
  text-decoration: none !important;
  font-size: 15px;
  transition: .2s ease;
}

.dt-footer-bottom-links a:hover {
  color: var(--dt-cyan);
}

.dt-footer-bottom-links span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dt-cyan);
}

.dt-back-top {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(39,216,242,.25);
  color: var(--dt-cyan) !important;
  text-decoration: none !important;
  font: 24px Tahoma, sans-serif;
  transition: .25s ease;
}

.dt-back-top:hover {
  color: #fff !important;
  background: var(--dt-blue);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1000px) {
  .dt-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 45px;
  }

  .dt-footer-description {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .dt-footer-container {
    width: 88%;
    padding: 45px 0 35px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dt-footer-description {
    max-width: 100%;
  }

  .dt-footer-column h3 {
    margin-top: 0;
  }

  .dt-footer-bottom-inner {
    width: 88%;
    padding: 18px 0;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .dt-footer-bottom-inner p {
    width: calc(100% - 52px);
    order: 1;
    line-height: 1.8;
  }

  .dt-footer-bottom-links {
    order: 2;
  }

  .dt-back-top {
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dt-footer *,
  .dt-footer *::before,
  .dt-footer *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
