/* Armstrong – FOOTER + floating side tabs (Figma), used on every page */

/* =========================================================
   FOOTER (home page only, first pass): Figma background, red line under headings, "›" before links
   ========================================================= */
footer { /* Figma: image stretched to 1920 x 559 at the top of a #111 footer */
    background: linear-gradient(rgba(0,0,0,.5) 0%, rgba(0,0,0,.6) 75%, #111 100%) top center / 100% 559px no-repeat, url('../images/footer-bg.png') top center / 100% 559px no-repeat, #111;
}
footer .ft_title { position: relative; margin-bottom: 24px; padding-bottom: 8px; }
footer .ft_title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: #c0392b; }
footer .ft_list li a::before { content: '\203A'; margin-right: 8px; color: #c0392b; font-size: 18px; line-height: 1; }

@media (max-width: 991px) { footer { background-size: 100% 100%, cover, auto; } }

/* footer links: arrow stays on its own, wrapped text lines up under the text (hanging indent) */
footer .ft_list li a { display: flex; align-items: baseline; gap: 8px; }
footer .ft_list li a::before { flex: none; margin-right: 0; }

/* =========================================================
   FOOTER – tablet / mobile polish (home page only)
   ========================================================= */
@media (max-width: 991px) {
    footer { padding: 44px 0 0; background-size: 100% 100%, cover, auto; }
    footer .container { padding-left: 20px; padding-right: 20px; }
    footer .ft-mb { margin-bottom: 30px; }
    footer .ft_items { margin: 0; padding: 0; row-gap: 8px; }
    footer .ft_menu { margin-bottom: 26px !important; }
    footer .ft_menu h3.ft_title.mt-4 { margin-top: 26px !important; }
    footer .ft_list li:not(:last-child) { margin-bottom: 12px; }
    footer .ft_list li a { font-size: 15px; line-height: 21px; }
}
@media (max-width: 767px) {
    /* brand block */
    footer .col-md-3:first-child { text-align: left; margin-bottom: 30px; }
    footer .col-md-3:first-child img.img-fluid { width: 150px; height: auto; margin-bottom: 18px !important; }
    footer .ft_contact { margin-top: 4px; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
    footer .ft_contact > div { margin-bottom: 8px !important; }
    /* link columns: 2 per row, equal gutters */
    footer .ft_items.row > .ft_menu { padding-left: 12px; padding-right: 12px; }
    footer .ft_items.row { margin-left: -12px; margin-right: -12px; }
    /* locate us / app block spans the full row */
    footer .ft_menu.col-xxl-3 { flex: 0 0 100%; max-width: 100%; margin-top: 6px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
    footer .address_title { margin-top: 14px; }
    footer .ft_menu img[alt="Google play"], footer .ft_menu img[alt="App Store"] { max-width: 140px; height: auto; }
    /* bottom bar: stacked + centered */
    footer hr { margin: 6px 0 0; border-color: rgba(255, 255, 255, .14); opacity: 1; }
    footer .copyrigt_text { flex-direction: column; gap: 14px; padding: 22px 0 26px; text-align: center; }
    footer .copyrigt_text .social_items { display: flex; justify-content: center; gap: 14px; }
    footer .copyrigt_text > div { justify-content: center; }
}


/* =========================================================
   FLOATING SIDE TABS  (re-style of the site's existing footer buttons – home page only)
   "inquiry now" (red, vertical) + WhatsApp (green) stuck flush to the right edge
   ========================================================= */
a.Brochurs_btn_side.request_btn {
    position: fixed; right: 0; bottom: auto; top: calc(50% - 90px); z-index: 1000;
    transform: none; width: 47px; height: 130px; padding: 10px 15px; margin: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--hn-red, #e41e29); color: #fff !important; border-radius: 5px 0 0 5px;
    writing-mode: vertical-rl; text-orientation: mixed; font-family: 'Quattrocento Sans', sans-serif;
    font-size: 18px; line-height: 27px; font-weight: 700; text-transform: capitalize; white-space: nowrap;
    overflow: visible; box-shadow: -2px 2px 10px rgba(0,0,0,.18); transition: width .25s, background .25s;
}
a.Brochurs_btn_side.request_btn:hover { width: 54px; background: #b8141e; }

.float-buttons { top: calc(50% + 98px); right: 0; z-index: 1000; animation: 1.8s ease-in-out infinite alternate button-updown; }
.float-buttons:hover { animation-play-state: paused; }
.float-buttons .WhatsAppButton { transform: none; width: 55px; height: 55px; border-radius: 10px 0 0 10px; overflow: visible; box-shadow: -2px 2px 10px rgba(0,0,0,.18); transition: width .25s, background .25s; }
.float-buttons .WhatsAppButton a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: pointer; }
.float-buttons .WhatsAppButton i { margin: 0; padding: 0; font-size: 36px; line-height: 40px; }
.float-buttons .WhatsAppButton:hover { width: 60px; background: #1ebe5a; }

@media (max-width: 767px) {
    /* pulled further down into the body, so it sits over the page content instead of the header/hero */
    a.Brochurs_btn_side.request_btn { width: 40px; height: 112px; font-size: 15px; top: calc(50% + 90px); }
    .float-buttons { top: calc(50% + 225px); }
    .float-buttons .WhatsAppButton { width: 52px; height: 52px; border-radius: 10px 0 0 10px; }
    .float-buttons .WhatsAppButton i { font-size: 30px; line-height: 30px; }
}

/* =========================================================
   FOOTER v2 (home page: frontfooter with 'home_new') – brand + contact column, then Quick Links / About Us,
   Products, Media / Careers and Locate Us / Get the App, each heading with a dark icon tile and a red underline,
   thin dividers between columns; bottom bar with copyright, round social icons and legal links.
   Keeps the dark world-map background of `footer` above.
   ========================================================= */
footer.hn-ft { padding: 64px 0 0; margin: 0; color: #d6d6da; font-family: 'Quattrocento Sans', sans-serif; }
footer.hn-ft .container { max-width: 1640px; padding-left: 20px; padding-right: 20px; }
footer.hn-ft a { color: #e9e9ec; text-decoration: none; transition: color .2s; }
footer.hn-ft a:hover { color: #ff4d55; }
footer.hn-ft ul { margin: 0; padding: 0; list-style: none; }
footer.hn-ft p { margin: 0; }

.hn-ft__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1.1fr); }
.hn-ft__grid > * { padding: 0 clamp(18px, 2vw, 36px); }
.hn-ft__grid > * + * { border-left: 1px solid rgba(255, 255, 255, .12); }
.hn-ft__grid > :first-child { padding-left: 0; }
.hn-ft__grid > :last-child { padding-right: 0; }

/* brand + contact */
.hn-ft__logo { display: block; width: max-content; margin: 0 auto; }
.hn-ft__logo img { display: block; width: 190px; height: auto; }
.hn-ft__brand p { margin-top: 22px !important; font-size: 16px; line-height: 1.6; color: #e9e9ec; }
.hn-ft__contact { margin-top: 22px !important; padding-top: 22px !important; border-top: 1px solid rgba(255, 255, 255, .14); }
.hn-ft__contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.hn-ft__contact li + li { margin-top: 12px; }
.hn-ft__contact i { display: grid; flex: none; place-items: center; width: 30px; height: 30px; margin-top: -3px; border-radius: 50%; background: #e41e29; font-size: 13px; color: #fff; }
.hn-ft__contact span::before { content: "\203A"; margin-right: 10px; color: #e41e29; }

/* column headings */
.hn-ft__title { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.hn-ft__ic { position: relative; display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #2c2c31; font-size: 16px; color: #fff; }
.hn-ft__ic::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 3px; border-radius: 2px; background: #e41e29; }
.hn-ft__list li + li { margin-top: 10px; }
.hn-ft__list a { display: flex; align-items: baseline; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.hn-ft__list a::before { content: "\203A"; flex: none; color: #e41e29; font-size: 18px; line-height: 1; }
.hn-ft__sep { margin: 26px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .12); opacity: 1; }

/* locate + apps */
.hn-ft__addr { display: block; font-size: 15.5px; line-height: 1.6; }
.hn-ft__addr b { display: block; margin-bottom: 4px; color: #ff3b44; }
.hn-ft__apps { display: flex; flex-wrap: wrap; gap: 10px; }
.hn-ft__apps a { display: block; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px; overflow: hidden; transition: border-color .2s, transform .2s; }
.hn-ft__apps a:hover { border-color: #fff; transform: translateY(-2px); }
.hn-ft__apps img { display: block; width: 128px; height: auto; }

/* bottom bar */
.hn-ft__bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hn-ft__bottom .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 24px; }
.hn-ft__bottom p { font-size: 14.5px; color: #e9e9ec; }
.hn-ft__social { display: flex; gap: 12px; }
.hn-ft__social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; font-size: 15px; transition: background-color .2s, border-color .2s, color .2s; }
footer.hn-ft .hn-ft__social a:hover { background: #e41e29; border-color: #e41e29; color: #fff; }
.hn-ft__legal { display: flex; justify-content: flex-end; gap: 12px; font-size: 14.5px; }
.hn-ft__legal span { color: rgba(255, 255, 255, .4); }

@media (max-width: 1399px) {
    .hn-ft__grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); }
    .hn-ft__title { gap: 12px; font-size: 15px; }
    .hn-ft__ic { width: 36px; height: 36px; font-size: 14px; }
    .hn-ft__list a, .hn-ft__contact li, .hn-ft__addr { font-size: 14.5px; }
    .hn-ft__apps img { width: 116px; }
}
@media (max-width: 1199px) {
    /* brand across the top, then two rows of link columns */
    .hn-ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .hn-ft__grid > * { padding: 0; }
    .hn-ft__grid > * + * { border-left: 0; }
    .hn-ft__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; align-items: start; padding-bottom: 32px !important; border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .hn-ft__brand .hn-ft__logo { grid-row: span 2; margin: 0; }
    .hn-ft__brand p { margin-top: 0 !important; }
    .hn-ft__contact { margin-top: 16px !important; padding-top: 16px !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
    .hn-ft__contact li + li { margin-top: 0; }
}
@media (max-width: 767px) {
    footer.hn-ft { padding-top: 44px; }
    .hn-ft__grid { column-gap: 20px; row-gap: 30px; }
    .hn-ft__brand { display: block; }
    .hn-ft__brand .hn-ft__logo { margin: 0 0 18px; }
    .hn-ft__logo img { width: 160px; }
    .hn-ft__brand p { font-size: 15px; }
    .hn-ft__contact { grid-template-columns: minmax(0, 1fr); }
    .hn-ft__col:last-child { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
    .hn-ft__bottom { margin-top: 36px; }
    .hn-ft__bottom .container { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .hn-ft__legal { justify-content: center; }
}
@media (max-width: 400px) {
    .hn-ft__title { font-size: 14px; gap: 10px; }
    .hn-ft__list a { font-size: 14px; gap: 8px; }
}
/* the site's global hr styles paint these bright: keep them as faint as the column dividers */
footer.hn-ft hr.hn-ft__sep { height: 0; margin: 26px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .12); background: none; color: transparent; opacity: 1; }
