
/*footer*/
.footer {
  padding: 0.5rem 0;
}

.footer a:not(.btn) {
  color: #a7a7a7;
}

.footer .title{
  color: #ededed;
}

.footer_top.dark{
  background-color: #ffffff !important;
}

.footer_top.dark .site-logo img{
  max-height: 40px;
}

.footer_top.dark .quick-link li a:hover{
  color: #ff6f61;
}


.footer_bottom.dark{
  background-color: #ffffff !important;
}

.footer_bottom.dark .container{
  padding: 20px;
}

.container-footer {
  background: #ffffff;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  margin-left: 0 !important;
  width: 100%;
  color: #111827;
}

.container-footer.footer-public {
  margin-left: 0 !important;
  width: 100%;
}

.container-footer.footer-auth {
  margin-left: 260px !important;
  width: calc(100% - 260px);
}

.footer-panel {
  padding: 36px 16px 18px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(240px, 1.4fr);
  gap: 32px;
  align-items: start;
}

.footer-brand,
.footer-links,
.footer-contact {
  min-width: 0;
}

.footer-title {
  font-size: 24px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer-copy {
  color: #374151 !important;
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.footer-links a {
  color: #111827 !important;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #cd1f28 !important;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  color: #111827 !important;
  text-align: right;
}

.footer-bottom-row {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social-list {
  display: flex;
  gap: 10px;
  margin: 0;
}

.footer-social-list .list-inline-item {
  margin: 0;
}

.footer-social-list .btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-list .btn-icon img {
  max-width: 18px;
  max-height: 18px;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-payments img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 30px;
}

.container-footer.footer-auth .footer-wrapper {
  max-width: none;
  margin: 0;
  padding: 36px 42px 30px;
}

.footer-layout {
  row-gap: 28px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
  display: block;
}

.footer-col {
  display: flex;
  align-items: flex-start;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 26px;
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  flex: 0 0 38px;
}

.footer-contact-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  font-size: 16px;
  text-align: center;
}

.footer-contact-icon i::before {
  display: block;
  line-height: 1;
  margin: 0;
}

.footer-contact-label,
.footer-contact-sub {
  display: block;
}

.footer-contact-label {
  color: #374151 !important;
  margin-bottom: 4px;
}

.footer-contact-sub {
  color: #4b5563 !important;
  margin-top: 4px;
}

.footer-accent {
  color: #df262f !important;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin: 6px 0 18px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827 !important;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  font-size: 18px;
  text-align: center;
}

.footer-social a i::before {
  display: block;
  line-height: 1;
  margin: 0;
}

.footer-social a:hover {
  color: #df262f !important;
  border-color: rgba(223, 38, 47, 0.7);
  transform: translateY(-1px);
}

.footer-payments span {
  color: #111827 !important;
  font-size: 14px;
  line-height: 1.5;
}

.container-footer .footer,
.container-footer .footer-wrapper,
.container-footer .footer-layout,
.container-footer .footer-brand,
.container-footer .footer-contact,
.container-footer .footer-copy,
.container-footer .footer-links a,
.container-footer .footer-contact-label,
.container-footer .footer-contact-sub,
.container-footer .footer-payments span,
.container-footer .footer-social a,
.container-footer .footer-contact-icon {
  color: #111827 !important;
}

.container-footer .footer-copy {
  color: #374151 !important;
}

.container-footer .footer-contact-sub {
  color: #4b5563 !important;
}

.container-footer .footer-links a:hover,
.container-footer .footer-accent,
.container-footer .footer-social a:hover {
  color: #df262f !important;
}

body.theme-dark .container-footer,
body.theme-dark .container-footer .footer,
body.theme-dark .container-footer .footer-wrapper,
body.theme-dark .container-footer .footer-layout,
html.footer-dark-mode .container-footer,
html.footer-dark-mode .container-footer .footer,
html.footer-dark-mode .container-footer .footer-wrapper,
html.footer-dark-mode .container-footer .footer-layout {
  background: #111111 !important;
}

body.theme-dark .container-footer,
html.footer-dark-mode .container-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

body.theme-dark .container-footer .footer-copy,
html.footer-dark-mode .container-footer .footer-copy {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.theme-dark .container-footer .footer-links a,
html.footer-dark-mode .container-footer .footer-links a {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.theme-dark .container-footer .footer-contact,
body.theme-dark .container-footer .footer-contact-label,
body.theme-dark .container-footer .footer-contact-sub,
body.theme-dark .container-footer .footer-payments span,
body.theme-dark .container-footer .footer-social a,
body.theme-dark .container-footer .footer-contact-icon,
html.footer-dark-mode .container-footer .footer-contact,
html.footer-dark-mode .container-footer .footer-contact-label,
html.footer-dark-mode .container-footer .footer-contact-sub,
html.footer-dark-mode .container-footer .footer-payments span,
html.footer-dark-mode .container-footer .footer-social a,
html.footer-dark-mode .container-footer .footer-contact-icon {
  color: #f3f4f6 !important;
}

body.theme-dark .container-footer .footer-contact-sub,
html.footer-dark-mode .container-footer .footer-contact-sub {
  color: rgba(255, 255, 255, 0.62) !important;
}

body.theme-dark .container-footer .footer-payments span,
html.footer-dark-mode .container-footer .footer-payments span {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.theme-dark .container-footer .footer-contact-icon,
body.theme-dark .container-footer .footer-social a,
html.footer-dark-mode .container-footer .footer-contact-icon,
html.footer-dark-mode .container-footer .footer-social a {
  border-color: rgba(255, 255, 255, 0.16);
}

.menu-collapsed .container-footer.footer-auth {
  margin-left: 80px !important;
  width: calc(100% - 80px);
}

@media (min-width: 992px) {
  .footer-layout {
    align-items: flex-start;
  }
}

@media (max-width: 576px){
  .container-footer.footer-auth,
  .menu-collapsed .container-footer.footer-auth {
    margin-left: 0 !important;
    width: 100%;
  }

  .container-footer.footer-auth .footer-wrapper {
    padding: 28px 18px 22px;
  }

  section.banner .content{
    text-align: center;
  }
  section.banner .content h1{
    font-size: 30px;
  }

  .header-top .navbar-nav.list-inline{
    display: none;
  }

  nav.header-top .link{
    margin-left: auto;
  }

  footer {
    border-top: none;
  }

  footer .col-auto {
    -ms-flex: 0 0 auto;
    width: 100%; 
    text-align: center;
  }

  .footer-panel {
    padding: 28px 8px 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-bottom-row,
  .footer-payments {
    justify-content: flex-start;
  }

  .footer-wrapper {
    padding: 28px 18px 22px;
  }

}
