/*===========================
    Brand logo (header + footer)
===========================*/
.brand-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-logo__img {
  height: 56px;
  width: auto;
}

.brand-logo__text {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  line-height: 1.2;
}

.brand-logo--dark .brand-logo__text {
  color: #111;
}

.brand-logo--light .brand-logo__text {
  color: #fff;
}

.sticky .brand-logo__img {
  height: 44px;
}

@media (max-width: 576px) {
  .brand-logo__img {
    height: 44px;
  }
}

/* ---------- Footer ---------- */
.footer .footer-widget h3 {
    position: relative;
    font-size: 22px;
    margin-bottom: 28px;
    padding-bottom: 14px;
}

.footer .footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: #E8505B;
}

.footer .footer-widget ul.links li + li {
    margin-top: 6px;
}

/* ---------- Contact details list (footer + /contact-us panel) ---------- */
.contact-list {
    display: grid;
    gap: 18px;
    max-width: 420px;
}

.contact-list__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-list__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 17px;
}

.contact-list__label {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-list__item a,
.contact-list__item address {
    display: block;
    margin: 0;
    font-size: 16px;
    font-style: normal;
    line-height: 1.6;
    color: #fff;
    overflow-wrap: anywhere;
}

/* Footer: dark background, coral icons */
.contact-list--footer .contact-list__icon {
    color: #E8505B;
    background: rgba(232, 80, 91, 0.14);
}

.contact-list--footer .contact-list__label {
    color: rgba(255, 255, 255, 0.55);
}

.contact-list--footer .contact-list__item a:hover,
.contact-list--footer .contact-list__item a:focus {
    color: #E8505B;
}

/* /contact-us: blue panel (logo blue), white icons */
.contact-panel {
    padding: 30px;
    border-radius: 5px;
    background: #2586EA;
    box-shadow: 0 10px 30px rgba(37, 134, 234, 0.25);
}

.contact-list--panel {
    max-width: none;
    gap: 22px;
}

.contact-list--panel .contact-list__icon {
    width: 44px;
    height: 44px;
    font-size: 19px;
    color: #2586EA;
    background: #fff;
}

.contact-list--panel .contact-list__label {
    color: rgba(255, 255, 255, 0.8);
}

.contact-list--panel .contact-list__item a,
.contact-list--panel .contact-list__item address {
    font-size: 17px;
    font-weight: 500;
}

.contact-list--panel .contact-list__item a {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

.contact-list--panel .contact-list__item a:hover,
.contact-list--panel .contact-list__item a:focus {
    color: #fff;
    text-decoration-color: #fff;
}

@media (max-width: 575px) {
    .contact-panel {
        padding: 22px 18px;
    }

    .contact-list--panel .contact-list__item a,
    .contact-list--panel .contact-list__item address {
        font-size: 15px;
    }

    .contact-list--panel .contact-list__icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
    color: #fff;
}

.footer-bottom a:hover {
    color: #E8505B;
}

@media (max-width: 420px) {
    .contact-list__item a,
    .contact-list__item address {
        font-size: 15px;
    }

    .contact-list__item {
        gap: 12px;
    }
}

/* The corner illustrations only show at >=1600px; keep the content clear of them. */
@media (min-width: 1600px) {
    .footer .container {
        max-width: 1140px;
    }

    .footer .footer-shape .shape {
        width: 200px;
    }
}

/* ---------- Highlight boxes ---------- */
/* Stat/detail boxes (home stats, All Branch, contact map) use the logo blue
   instead of the template's coral. */
.about-section .about-content .counter-up {
    background: #2586EA;
}

/* ---------- Buttons ---------- */
/* Primary buttons and back-to-top use the logo blue instead of the template's coral. */
.main-btn {
    background: #2586EA;
}

.main-btn:hover,
.main-btn:focus {
    box-shadow: 5px 5px 2px rgba(37, 134, 234, 0.45);
}

.scroll-top {
    background: #2586EA;
}

.scroll-top:hover {
    background: rgba(37, 134, 234, 0.85);
}
