/* ========================================== */
/* GLOBAL VARIABLES & RESETS                  */
/* ========================================== */
:root {
    /* Brand Colors */
    --primary-black: #000000;
    --primary-blue: #1A5DAC;
    --primary-white: #FFFFFF;
    --primary-grey: #A09FA3;
    
    /* Typography */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Aptos', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --header-height: 80px;
    --z-index-header: 1000;
    --z-index-menu: 999;

    /* Header customization (set from the admin Design & Styling panel).
       Each is a plain multiplier applied via calc() against the original
       hand-tuned px/rem values below, so 1 (100%) always reproduces the
       exact original design with zero visual change. */
    --nav-font-scale: 1;
    --nav-gap-scale: 1;
    --logo-scale: 1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ========================================== */
/* HEADER BASE (Initial State)                */
/* ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: var(--z-index-header);
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

/* Header Scrolled State (Glassmorphism) */
.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 4vw; /* Generous padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================== */
/* LOGO                                       */
/* ========================================== */
.header-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: calc(54px * var(--logo-scale, 1)); /* Slightly larger, premium feel */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, height 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

/* ========================================== */
/* DESKTOP NAVIGATION                         */
/* ========================================== */
.header-nav-desktop {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center; /* keeps every item vertically centered on the same
        baseline — without this, plain items and the has-dropdown item (which
        is itself a flex container) stretch/center differently and the row
        visibly misaligns as soon as any page gets a sub-page */
    list-style: none;
    gap: calc(40px * var(--nav-gap-scale, 1)); /* Premium spacing */
}

.nav-link {
    font-family: var(--font-body);
    font-size: calc(1rem * var(--nav-font-scale, 1));
    font-weight: 500; /* Added: makes text medium-bold */
    color: var(--primary-white);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

/* Hover Effect: Animated Underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* ========================================== */
/* DESKTOP DROPDOWN / SUBMENU (multi-level)   */
/* ========================================== */
.nav-item {
    position: relative;
}

.nav-item.has-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Top-level pages with a submenu get a subtle persistent "pill" so it's
   obvious at a glance — not just on hover — that they contain sub-pages.
   Scoped to direct children of .nav-list only, so a deeper (2nd-level+)
   submenu item that itself has children keeps its own compact dropdown-row
   styling instead of inheriting this top-bar pill treatment. */
.nav-list > .nav-item.has-dropdown {
    padding: 8px 14px 8px 16px;
    border-radius: 999px;
    background-color: rgba(26, 93, 172, 0.14);
    border: 1px solid rgba(26, 93, 172, 0.3);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-list > .nav-item.has-dropdown:hover,
.nav-list > .nav-item.has-dropdown:focus-within {
    background-color: rgba(26, 93, 172, 0.28);
    border-color: rgba(26, 93, 172, 0.55);
}

/* The pill wrapper now owns the vertical padding, so the link itself goes
   flush — keeps the animated underline centered under just the label text. */
.nav-list > .nav-item.has-dropdown > .nav-link {
    padding-top: 0;
    padding-bottom: 0;
}

.nav-caret {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.6px solid var(--primary-blue);
    border-bottom: 1.6px solid var(--primary-blue);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    pointer-events: none;
}

.nav-item.has-dropdown:hover > .nav-caret,
.nav-item.has-dropdown:focus-within > .nav-caret {
    transform: rotate(225deg);
}

.nav-dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: rgba(7, 19, 31, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px;
    margin-top: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1200;
}

/* Nested (2nd level and deeper) dropdowns flyout to the right of their parent */
.nav-dropdown .nav-dropdown {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 8px;
}

.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Invisible hover "bridge" across the visual gap between a trigger and its
   dropdown. Without this, :hover drops the instant the pointer leaves the
   trigger's own box to travel down through that empty margin-top gap toward
   the panel — the menu starts closing before the pointer ever reaches it,
   making anything inside effectively unclickable. The bridge is part of the
   trigger's own generated content, so hovering it keeps :hover (and the
   dropdown it reveals) active the whole way across. */
.nav-list > .nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 220px; /* at least as wide as .nav-dropdown's own min-width */
    height: 14px; /* matches .nav-dropdown's margin-top gap exactly */
}

/* Same fix for a 2nd-level+ flyout, whose gap is horizontal (margin-left)
   instead of vertical. */
.nav-dropdown .nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 8px; /* matches the nested .nav-dropdown .nav-dropdown's margin-left gap */
    height: 100%;
}

.nav-dropdown .nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 6px 2px 4px;
    border-left: 2px solid transparent;
    border-radius: 6px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown .nav-item:hover {
    background-color: rgba(26, 93, 172, 0.18);
    border-left-color: var(--primary-blue);
    transform: translateX(3px);
}

.nav-dropdown .nav-link {
    display: block;
    width: 100%;
    padding: 8px 8px;
    border-radius: 6px;
    font-size: calc(0.9rem * var(--nav-font-scale, 1));
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-dropdown .nav-link::after {
    display: none;
}

.nav-dropdown .nav-link:hover,
.nav-dropdown .nav-link.active {
    color: var(--primary-blue);
}

.nav-dropdown .nav-caret {
    transform: rotate(-45deg);
    flex: 0 0 auto;
}

.nav-dropdown .nav-item.has-dropdown:hover > .nav-caret,
.nav-dropdown .nav-item.has-dropdown:focus-within > .nav-caret {
    transform: rotate(135deg);
}

/* ========================================== */
/* CALL-TO-ACTION BUTTON (Desktop)            */
/* ========================================== */
.btn-primary-outline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500; /* Added: makes text medium-bold */
    color: var(--primary-white);
    text-decoration: none;
    padding: 12px 28px;
    border: 1px solid var(--primary-white);
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.btn-primary-outline:hover {
    background-color: var(--primary-blue);
    border-color: transparent;
    color: var(--primary-white);
    
}

/* ========================================== */
/* MOBILE HAMBURGER TOGGLE                    */
/* ========================================== */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001; /* Above mobile menu */
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-white);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.top-line { top: 0; }
.middle-line { top: 50%; transform: translateY(-50%); }
.bottom-line { top: 100%; transform: translateY(-100%); }

/* Hamburger 'X' Animation */
.mobile-toggle.is-active .top-line {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.mobile-toggle.is-active .middle-line {
    opacity: 0;
}
.mobile-toggle.is-active .bottom-line {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ========================================== */
/* MOBILE MENU (Dropdown)                     */
/* ========================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: var(--z-index-menu);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: calc(32px * var(--nav-gap-scale, 1));
    max-height: 82vh;
    overflow-y: auto;
    padding: 0 4px;
}

.mobile-nav-link {
    font-family: var(--font-body);
    font-size: calc(1.5rem * var(--nav-font-scale, 1));
    font-weight: 500; /* Added: makes mobile menu text bolder */
    color: var(--primary-white);
    text-decoration: none;
    display: block;
    padding: 10px; /* Large touch target */
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-blue);
}

/* ========================================== */
/* MOBILE NESTED SUBMENU (accordion)          */
/* ========================================== */
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.mobile-nav-item.has-children .mobile-nav-row .mobile-nav-link {
    padding-right: 0;
}

/* Same "this page has sub-pages" signal as the desktop pill, adapted to the
   full-width mobile row. */
.mobile-nav-item.has-children .mobile-nav-row {
    background-color: rgba(26, 93, 172, 0.1);
    border: 1px solid rgba(26, 93, 172, 0.22);
    border-radius: 999px;
    padding: 4px 6px 4px 18px;
}

.mobile-nav-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--primary-white);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.mobile-nav-expand-btn:hover {
    background-color: rgba(26, 93, 172, 0.25);
}

.mobile-nav-expand-btn.is-expanded {
    transform: rotate(180deg);
    background-color: rgba(26, 93, 172, 0.35);
}

.mobile-nav-children {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, margin-top 0.3s ease;
}

.mobile-nav-children.is-open {
    max-height: 1200px;
    opacity: 1;
    margin-top: 14px;
}

.mobile-nav-children .mobile-nav-link {
    font-size: calc(1.15rem * var(--nav-font-scale, 1));
    padding: 8px;
}

.mobile-nav-children .mobile-nav-children .mobile-nav-link {
    font-size: calc(1rem * var(--nav-font-scale, 1));
    opacity: 0.85;
}

.mobile-nav-children .mobile-nav-item {
    margin-bottom: 18px;
}

.mobile-nav-children .mobile-nav-item:last-child {
    margin-bottom: 0;
}

/* ========================================== */
/* RESPONSIVE BREAKPOINTS                     */
/* ========================================== */

/* Large Tablets & Small Laptops */
@media (max-width: 1024px) {
    .header-nav-desktop,
    .header-cta-desktop {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    .logo-img {
        height: calc(48px * var(--logo-scale, 1)); /* Prominent size on laptops/large tablets */
    }
}

/* Tablets */
@media (max-width: 768px) {
    .header-container {
        padding: 0 5vw;
    }
    .logo-img {
        height: calc(44px * var(--logo-scale, 1));
    }
}

/* Medium / Small Mobile */
@media (max-width: 480px) {
    .site-header {
        height: 70px;
    }
    .header-container {
        padding: 0 5vw;
    }
    .logo-img {
        height: calc(42px * var(--logo-scale, 1));
    }
    .mobile-nav-link {
        font-size: calc(1.25rem * var(--nav-font-scale, 1));
    }
}


/* ========================================== */
/* GLOBAL SITE FOOTER STYLES                  */
/* ========================================== */
.site-footer {
    position: relative;
    width: 100%;
    background-color: #07131F; /* Official Dark Navy */
    color: #FFFFFF;
    padding: 100px 0 40px 0;
    overflow: hidden;
    z-index: 20;
}

/* Container */
.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* ========================================== */
/* WATERMARK LOGO / TEXT                      */
/* ========================================== */
.footer-watermark {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    white-space: nowrap;
}

.watermark-logo-text {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: clamp(8rem, 24vw, 22rem);
    font-weight: 800;
    color: #FFFFFF;
    opacity: 0.025; /* 2.5% Opacity */
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ========================================== */
/* 4-COLUMN GRID                              */
/* ========================================== */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr; /* Col 1 is wider */
    gap: 48px;
    margin-bottom: 64px;
}

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

/* Brand Column */
.footer-logo-link {
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo-placeholder {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.footer-logo-placeholder .logo-mark {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.04em;
}

.footer-logo-placeholder .logo-sub {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    color: #1A5DAC; /* Blue Accent */
    letter-spacing: 0.35em;
}

.footer-description {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: #A09FA3;
    max-width: 320px;
}

/* Column Headings */
.footer-heading {
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    position: relative;
}

/* Navigation Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.925rem;
    color: #A09FA3;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #1A5DAC; /* Blue Hover */
    padding-left: 4px;
}

/* Contact Details */
.footer-contact-info {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.925rem;
    color: #A09FA3;
    line-height: 1.5;
}

.contact-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    font-weight: 500;
}

.footer-contact-info a {
    color: #A09FA3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #1A5DAC;
}

/* ========================================== */
/* SOCIAL MEDIA ROW                           */
/* ========================================== */
.footer-social-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-label {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #A09FA3;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
    color: #1A5DAC; /* Accent Blue Hover */
    background-color: rgba(26, 93, 172, 0.12);
    transform: translateY(-3px); /* 2-3px upward shift */
}

/* ========================================== */
/* DIVIDER & BOTTOM BAR                       */
/* ========================================== */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1); /* Exact specified divider */
    margin-bottom: 32px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.875rem;
    color: #A09FA3;
}

.copyright-text {
    margin: 0;
}

/* .legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
} */

.legal-link {
    color: #A09FA3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #FFFFFF;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

/* ========================================== */
/* RESPONSIVE BREAKPOINTS                     */
/* ========================================== */

/* Tablets (2x2 Grid) */
@media (max-width: 992px) {
    .site-footer {
        padding: 80px 0 36px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }

    .col-brand {
        grid-column: span 2;
    }

    .footer-description {
        max-width: 100%;
    }
}

/* Mobile Devices (Stacked View) */
@media (max-width: 600px) {
    .site-footer {
        padding: 60px 0 32px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .col-brand {
        grid-column: span 1;
    }

    .footer-col {
        align-items: center;
    }

    .footer-links a:hover {
        padding-left: 0; /* Disable side shifting when centered */
    }

    .footer-social-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   FIX: UNIFORM NAVIGATION FONT WEIGHT & MOBILE MENU
   ========================================================================== */

/* 1. Force navigation links to have the exact same font weight on every page */
.main-header .nav-link,
.mobile-nav-menu .mobile-nav-link,
header nav a {
    font-family: var(--font-body, 'Aptos', 'Segoe UI', sans-serif) !important;
    font-weight: 600 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    letter-spacing: 0.03em;
}

/* 2. Mobile Drawer & Overlay Styles */
.mobile-toggle-btn {
    position: relative;
    z-index: 1001;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #07131F;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px 30px;
    overflow-y: auto;
}

.mobile-nav-drawer.is-active,
body.mobile-menu-open .mobile-nav-drawer {
    right: 0 !important;
    transform: translateX(0) !important;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.is-active,
body.mobile-menu-open .mobile-nav-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}

body.mobile-menu-open {
    overflow: hidden !important;
    touch-action: none;
}


/* ========================================== */
/* GLOBAL FLOATING WHATSAPP BUTTON            */
/* ========================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background-color: #25D366; /* Official WhatsApp Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 9999; /* Ensure high priority floating over footers and panels */
    cursor: pointer;
    text-decoration: none;
    outline: none;
    
    /* Smooth Entrance & Hover Transitions */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                background-color 0.3s ease,
                box-shadow 0.3s ease,
                opacity 0.6s ease,
                visibility 0.6s ease;
}

/* White SVG Icon Centered */
.whatsapp-float-btn .whatsapp-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

/* Page Load Fade-In Animated State */
.whatsapp-float-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Hover Effects */
.whatsapp-float-btn:hover {
    background-color: #20BA5A; /* Slightly brightened green on hover */
    transform: translateY(0) scale(1.08); /* 1.08 Scale */
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45); /* Subtle shadow increase */
}

.whatsapp-float-btn:active {
    transform: translateY(0) scale(1.02);
}

/* Focus Visible for Accessibility */
.whatsapp-float-btn:focus-visible {
    outline: 3px solid #1A5DAC;
    outline-offset: 4px;
}

/* ========================================== */
/* RESPONSIVE MOBILE BEHAVIOR                 */
/* ========================================== */
@media (max-width: 768px) {
    .whatsapp-float-btn {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float-btn .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

/* ========================================== */
/* ULTRA-WIDE / LARGE MONITORS (1600px+)      */
/* The 1440px cap above matches the live production site at every
   resolution up to a typical 1600-1680px laptop/monitor. On genuinely
   wide displays (1920px and up) that left a lot of empty dark space on
   either side of the header/footer, so this stretches the shared page
   frame further out on those screens only — every other breakpoint is
   untouched. */
@media screen and (min-width: 1600px) {
    .header-container,
    .footer-container {
        max-width: 1680px;
    }
}

