/* ─────────────────────────────────────────────────────────────────────────────
   footer.css — site-wide chrome: the footer, the floating WhatsApp button,
   and the skip-to-content link.

   Extracted from footer.php's inline <style>, which shipped on every page and
   could never be cached. The same rules were also duplicated inside six page
   files; those copies were byte-identical, so removing them changes nothing
   visually.

   Loaded by seo.php, so every page gets it automatically.

   .social-links is retained even though the icons are currently pulled from
   footer.php — restoring them should be markup-only.
────────────────────────────────────────────────────────────────────────────── */
/* ===== FOOTER ===== */
.footer-enhanced { position: relative; background: #1a1a1a; color: #fff; overflow: hidden; line-height: 1.6; }
.footer-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('images/slider/1.webp') center/cover no-repeat; opacity: 0.12; z-index: 0; pointer-events: none; }
.footer-overlay::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(26,26,26,0.92), rgba(26,26,26,0.98)); }
.footer-content { position: relative; z-index: 1; padding-top: 10px; padding-bottom: 10px; }
.footer-logo { max-width: 180px; margin-bottom: 8px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0 0 8px 0; font-style: italic; line-height: 1.4; }
.footer-content > div:first-child p.opacity-75 { margin: 0 0 15px 0; font-size: 14px; line-height: 1.6; }
.social-links { display: flex; gap: 10px; margin-top: 8px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.25s; font-size: 14px; }
.social-links a:hover { background: #228B22; transform: translateY(-2px); }
.footer-heading { font-size: 15px; font-weight: 700; margin: 0 0 12px 0; color: #fff; text-transform: uppercase; letter-spacing: 0.8px; position: relative; padding-bottom: 8px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: #228B22; border-radius: 2px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0 0 8px 0; }
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; transition: all 0.25s; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1.5; }
.footer-links a:hover { color: #228B22; padding-left: 4px; }
.footer-links i { font-size: 12px; opacity: 0.8; }
.footer-links span { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.5; display: inline-flex; align-items: center; gap: 6px; cursor: default; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px 0; color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.5; }
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item i { color: #228B22; margin-top: 2px; font-size: 16px; width: 20px; text-align: center; }
.footer-contact-item strong { display: block; margin-bottom: 2px; font-weight: 600; color: #fff; }
.footer-contact-item a { color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: #228B22; }
.footer-certifications { margin-top: 25px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer-certifications i { margin-right: 4px; font-size: 13px; }
.footer-bottom { position: relative; z-index: 1; background: rgba(0,0,0,0.35); padding: 15px 0; margin-top: 25px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { font-size: 13px; margin: 0; }
.footer-bottom a { font-size: 13px; color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #228B22; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(37,211,102,0.4); z-index: 9999; transition: transform 0.2s ease, box-shadow 0.2s ease; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .footer-content { padding-top: 5px; padding-bottom: 5px; }
    .footer-heading { margin-bottom: 10px; }
    .footer-certifications { margin-top: 20px; padding-top: 12px; }
    .footer-bottom { margin-top: 20px; }
}
@media (max-width: 768px) {
    .footer-logo { max-width: 160px; margin-bottom: 6px; }
    .footer-tagline { font-size: 13px; }
    .footer-heading { font-size: 14px; }
    .footer-links a, .footer-contact-item { font-size: 13px; }
    .social-links a { width: 32px; height: 32px; font-size: 13px; }
    .footer-bottom { text-align: center !important; }
    .footer-bottom .text-md-end { text-align: center !important; margin-top: 8px !important; }
    .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ─── Skip to content ────────────────────────────────────────────────────────
   Off-screen until keyboard-focused, so it is invisible to mouse users but is
   the first thing a keyboard or screen-reader user reaches. WCAG 2.4.1. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 12px 20px;
    background: #228B22;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    left: 0;
    outline: 3px solid #fff;
    outline-offset: -3px;
}
