



.footer-sec {
  font-family: 'Space Grotesk';
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  background: linear-gradient(to right top, #082452, #0d4a88, #1573c0, #1a9cef, #1ecfff);
  color: #fff;
  padding: 60px 20px 20px;
  border-top: 1px solid #EAF6FF;
}

.main {
  display: grid;
  grid-template-columns: 0.6fr 1fr 0.8fr 1fr;
  gap: 40px;
  min-width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 0;
}

.footer-logo-container {
  display: flex;
  align-items: flex-end;
  height: 120%;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-top: auto;
  padding: 0;
}

.footer-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  white-space: nowrap;
  color: #111D4A;
  position: relative;
  padding-bottom: 5px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 130px;
  height: 2px;
  background-color: #fff;
}

.footer-link {
  color: #FFF8F0;
  text-decoration: none;
  font-size: 1.2rem;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  font-weight: 470;
}

.footer-link:hover {
  color: #111D4A;
  font-weight: 800;
}

.footer-phone {
  font-size: 1.2rem;
  font-weight: 470;
  color: #111D4A;
  margin-top: 10px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background-color: #111D4A;
  border-color: #111D4A;
  color: #fff;
}

.contact-block .contact-item {
  margin-bottom: 10px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFF8F0;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 470;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #111D4A;
  font-weight: 500;
}

.contact-link i {
  font-size: 1.1rem;
}

.copyright {
  text-align: center;
  margin-top: 30px;
}

.copyright hr {
  width: 90%;
  margin: 0 auto 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
}

.copyright p {
  font-size: 1.2rem;
  color: #ddd;
  font-weight: 400;
}

.highlight-b {
  background: linear-gradient(45deg, #ff8c00, #ffbb33);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 6px rgba(255, 140, 0, 0.4);
  position: relative;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: linear-gradient(135deg, #ff8c00, #ffbb33);
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
  background: linear-gradient(135deg, #ffaa00, #ffd166);
  transform: translateY(-3px);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-block,
  .footer-logo-container {
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .footer-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .contact-link {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  #scrollTopBtn {
    bottom: 18px;
    right: 18px;
    padding: 9px 11px;
    font-size: 16px;
    border-radius: 6px;
  }
}
@media (max-width: 420px) {
  #scrollTopBtn {
    bottom: 14px;
    right: 14px;
    padding: 8px 10px;
    font-size: 15px;
  }
}
