* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Arial, sans-serif; }
:root { --navy: #060157; --white: #ffffff; --border-blue: #041345; }

/* =========================================
   1. HEADER LAYOUT (New Design)
   ========================================= */
.ams-header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* NEW TOP BAR STYLES - BULLETPROOF ALIGNMENT */
.ams-topbar {
    display: none; 
    background-color: var(--navy);
    color: var(--white);
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1; /* Kills any hidden font spacing */
}
.ams-topbar a {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.topbar-icon {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px; /* Stops mobile from squishing it */
    min-height: 15px;
    fill: currentColor;
    margin-right: 6px; /* Spacing handled by margin instead of gap */
    display: block;
}
.topbar-text {
    display: block;
    /* Optical nudge: If the text looks too high, change this to 1px or 2px */
    transform: translateY(0px); 
}
.topbar-sep {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    color: rgba(255,255,255,0.4);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-box img { height: 65px; display: block; }

/* --- QUOTE BUTTON --- */
.quote-btn {
    display: inline-block;
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(6, 1, 87, 0.2);
}
.quote-btn:hover {
    background-color: #0a0385;
}
/* --- BUTTON BADGE (THE RED CIRCLE) - STATIC FIX --- */
.header-quote-btn {
    position: relative !important; 
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff4d4d; /* Bright Red */
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
    z-index: 10 !important;
}
/* =========================================
   1.1. TOAST Section (New Design)
   ========================================= */
.header-quote-btn {
    position: relative; /* Allows the badge to sit on the corner */
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4d4d; /* Bright Red/Orange */
    color: white;
    font-size: 11px;
    font-weight: 900;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 10;
}

/* --- TOAST NOTIFICATION (SUCCESS POPUP) --- */
#ams-toast-container {
    position: fixed !important;
    top: 100px !important;
    right: 30px !important;
    z-index: 9999999 !important; /* Forces it above EVERYTHING */
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    pointer-events: none !important;
    width: auto !important;
    max-width: 350px !important;
}


.ams-toast {
    background: #ffffff !important;
    border-left: 5px solid #25d366 !important; /* Green Accent */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    padding: 16px 20px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 350px !important; /* Strict width so it's not massive */
    box-sizing: border-box !important;
    transform: translateX(120%) !important; /* Starts off-screen right */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; /* Nice bounce effect */
    pointer-events: auto !important;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif !important;
}

.ams-toast.show {
    transform: translateX(0) !important; /* Slides in perfectly */
}

.ams-toast-icon {
    width: 28px !important;
    height: 28px !important;
    background: #25d366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.ams-toast-icon svg {
    width: 14px !important;
    height: 14px !important;
    fill: #ffffff !important;
}

.ams-toast-text {
    font-size: 14px !important;
    color: #333333 !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    text-align: left !important;
}

.ams-toast-text strong {
    color: #060157 !important; /* Navy brand color for the brand name */
    font-weight: 700 !important;
}

/* Mobile Toast adjustments (Slides down from top center) */
@media (max-width: 768px) {
    #ams-toast-container {
        top: 20px !important;
        right: 0 !important;
        left: 0 !important;
        align-items: center !important;
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    .ams-toast {
        width: 100% !important;
        max-width: 400px !important;
        transform: translateY(-150%) !important; /* Starts above screen */
    }
    .ams-toast.show {
        transform: translateY(0) !important; /* Drops down */
    }
}

/* =========================================
   2. SEARCH UI
   ========================================= */
.ams-search-wrapper { 
    position: relative; 
    flex: 1; 
    max-width: 500px; 
    z-index: 10001; 
}
#ams-search-input {
    width: 100%;
    height: 45px;
    border: 1.5px solid var(--border-blue);
    border-radius: 4px;
    color: var(--border-blue);
    padding: 0 15px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}
#ams-search-input:focus { 
    border-color: #1a3fb5; 
    box-shadow: 0 0 0 3px rgba(4, 19, 69, 0.1); 
}
#ams-search-input::placeholder { color: var(--border-blue); opacity: 0.6; }

.ams-search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 60vh;
    overflow-y: auto;
    z-index: 100000;
    display: none;
}
.ams-search-results ul { list-style: none; margin: 0; padding: 8px 0; }
.ams-search-results li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--border-blue);
    font-size: 14px;
    transition: background 0.2s;
}
.ams-search-results li a:hover,
.ams-search-results li a.is-active { background: #f2f4ff; }
.ams-search-results .brand-tag {
    font-size: 11px;
    text-transform: uppercase;
    background: #f0f2f5;
    padding: 2px 8px;
    border-radius: 4px;
    opacity: 0.8;
}

/* =========================================
   3. DESKTOP ICON LIST & RIGHT ACTIONS
   ========================================= */
.header-contact-list a:hover {
    text-decoration: underline;
}
.header-contact-list { display: flex; align-items: center; gap: 20px; list-style: none; }
.header-contact-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 16px;
}
.header-contact-list svg { width: 18px; height: 18px; margin-right: 8px; fill: var(--navy); }
.v-separator { color: #ddd; font-weight: 300; }

.header-right { display: flex; align-items: center; gap: 20px; }
.hamburger { cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.hamburger span { width: 28px; height: 3px; background: var(--navy); }

/* =========================================
   4. NAVIGATION (Scrollable)
   ========================================= */
.mobile-nav {
    display: none;
    background: var(--white);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 10000;
    max-height: calc(100vh - 120px);
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.active { display: block !important; }
.nav-list { list-style: none; }
.nav-list > li { border-bottom: 1px solid var(--navy); }
.nav-list a { display: block; padding: 16px 30px; text-decoration: none; color: var(--navy); font-weight: bold; }
.nav-list li:hover > a, .nav-list li.active-li > a { background-color: var(--navy); color: var(--white); }

.sub-menu { display: none; list-style: none; background: #f9f9f9; }
.sub-menu a { padding-left: 55px; font-weight: normal; border-top: 1px solid #f2f2f2; }
.has-drop.open .sub-menu { display: block !important; }
.drop-trigger::after { content: ' ▼'; font-size: 10px; margin-left: 5px; }

/* =========================================
   5. RESPONSIVE MEDIA QUERIES (Header)
   ========================================= */

/* TABLET LAYOUT (Screens up to 1100px) */
@media (max-width: 1100px) {
    .ams-topbar {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px; /* Handles spacing if it wraps to 2 lines */
    }
    
    .header-contact-list { display: none; }
    
    .header-container {
        flex-wrap: nowrap;
        padding: 12px 20px;
        gap: 15px;
    }
    
    .logo-box img { height: 50px; }
    
    .ams-search-wrapper {
        margin-top: 0;
    }

    .header-quote-btn {
        display: inline-block;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* PHONE LAYOUT (Screens up to 768px) */
@media (max-width: 768px) {
    .header-container { 
        flex-wrap: wrap; 
        padding: 12px 15px; 
        gap: 10px;
    }
    
    .logo-box { order: 1; flex: 1; }
    .logo-box img { height: 40px; }

    .header-right { order: 2; gap: 15px; }

    .ams-search-wrapper {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 8px;
    }

    .header-quote-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* =========================================
   6. FOOTER BASE STYLES
   ========================================= */
:root {
    --footer-navy: #060157;
    --footer-white: #ffffff;
    --footer-divider: rgba(255, 255, 255, 0.1);
}

.vps-footer {
    background-color: var(--footer-navy);
    padding: 20px 0 30px 0;
    color: var(--footer-white);
    overflow-x: hidden;
}

.vps-footer-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

.vps-footer-top { text-align: center; margin-bottom: 10px; }
.vps-footer-logo { max-width: 200px; height: auto; margin-bottom: 10px; }
.vps-footer-tagline { font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 600; color:#FFF; margin-bottom: 20px; }

.vps-footer-divider { height: 1px; background-color: var(--footer-divider); width: 100%; margin: 20px 0 20px 0; }

.vps-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; }
.vps-footer-column h4, .vps-footer-column h3 { white-space: nowrap; font-size: 18px; font-weight: 600; margin-bottom: 20px; letter-spacing: 1px; font-family:Roboto,sans-serif; }

.vps-footer-list { list-style: none; padding: 0; margin: 0; }
.vps-footer-list li { margin-bottom: 6px; display: flex; align-items: flex-start; }
.vps-footer-list li a, .vps-footer-list li span { white-space: nowrap; text-decoration: none; color: #FFF; font-size: 16px; transition: color 0.2s; line-height: 1.5; font-weight: 600; font-family: Roboto,sans-serif; }
.vps-footer-list li a:hover { color: var(--footer-white); text-decoration: underline; }

.footer-icon-svg { width: 14px; height: 14px; margin-right: 12px; fill: var(--footer-white); flex-shrink: 0; margin-top: 4px; }

/* SOCIAL ICONS */
.vps-social-icons { display: flex; gap: 15px; }
.vps-social-icon { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.vps-social-icon:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.vps-social-icon svg { width: 18px; height: 18px; fill: var(--footer-white); }

/* BOTTOM COPYRIGHT */
/* .vps-footer-bottom { text-align: left; padding: 100px 0; font-size: 16px; color: #FFF; font-weight: 500; } */
/* .vps-footer-bottom { text-align: left; padding: 10px 0; font-size: 16px; color: #FFF; font-weight: 500; } */
.vps-footer-bottom { text-align: left; padding: 5px 0; font-size: 16px; color: #FFF; font-weight: 500; }
/* --- RESPONSIVE FIXES (Footer) --- */
@media (max-width: 992px) { .vps-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
@media (max-width: 600px) {
    .vps-footer { padding: 40px 0 20px 0; }
    .vps-footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .vps-footer-column h4, .vps-footer-column h3 { margin-bottom: 15px; border-bottom: 1px solid var(--footer-divider); padding-bottom: 8px; display: inline-block; width: 100%; }
    .vps-footer-bottom { padding-bottom: 50px; }
}

/* =========================================
   7. STICKY / FIXED ACTIONS
   ========================================= */
.vps-right-sticky-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 15px;
    z-index: 99999;
}

.vps-btn-contact-side {
    background-color: #060157; 
    color: white;
    border: none;
    padding: 40px 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-radius: 0 16px 16px 0;
    box-shadow: 4px 0 15px rgba(0,0,0,0.25);
    transition: background-color 0.3s, padding-top 0.3s;
}
.vps-btn-contact-side:hover {
    background-color: #0a0385; 
    padding-top: 30px; 
}

.vps-wa-side {
    background-color: #25D366; 
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    text-decoration: none;
}
.vps-wa-side svg { width: 28px; height: 28px; fill: #ffffff !important; }
.vps-wa-side:hover { transform: scale(1.1); }

@media (max-width: 600px) {
    .vps-btn-contact-side { padding: 16px 8px; font-size: 14px; }
    .vps-wa-side { width: 44px; height: 44px; }
    .vps-wa-side svg { width: 24px; height: 24px; }
}

/* =========================================
   8. COOKIE BANNER
   ========================================= */
/* =========================================
   8. COOKIE BANNER (Updated to match WP)
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 100vw;
}

.cookie-box { 
    width: 100%;
    max-width: 436px; /* Wider like the screenshot */
    background: #fff; 
    border-radius: 8px; 
    padding: 25px 30px; 
    box-shadow: 0 5px 25px rgba(0,0,0,0.1); 
    border: 1px solid #f0f0f0; 
    font-family: sans-serif;
}

.cookie-title { 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 15px; 
    color: #060157; 
    letter-spacing: -0.5px;
}

.cookie-text { 
    font-size: 14px; 
    line-height: 1.6; 
    color: #060157; 
    margin-bottom: 25px; 
}

.cookie-text a {
    color: #060157;
    text-decoration: underline;
}

.cookie-actions { 
    display: flex; 
    gap: 15px; 
}

.cookie-btn { 
    flex: 1; /* Makes buttons equal width */
    font-size: 14px; 
    padding: 14px 20px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: 600; 
    transition: opacity 0.2s;
}

.cookie-reject { background: #6b7280; border: 2px solid #6b7280; color: #fff; }

.cookie-accept { 
    background: #060157; 
    border: 2px solid #060157; 
    color: #fff; 
}

.cookie-btn:hover {
    opacity: 0.7;
}


/* Responsive for mobile */
@media (max-width: 600px) {
    .cookie-banner { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; padding: 15px; }
    .cookie-box { max-width: 100%; padding: 20px; box-sizing: border-box; }
    .cookie-actions { flex-direction: column; }
}

/* --- FOOTER SOCIAL ICONS --- */

/* --- FOOTER SOCIAL ICONS (FORCED OVERRIDES) --- */

.vps-social-icons {
    display: flex !important;
    gap: 16px !important; 
}

/* Force the a tag to become the colored circle */
a.vps-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;  
    height: 48px !important; 
    border-radius: 50% !important; 
    text-decoration: none !important;
    transition: transform 0.2s ease; 
}

/* Force the SVG dimensions */
a.vps-social-icon svg {
    width: 24px !important;  
    height: 24px !important;
    display: block !important; /* Prevents weird spacing issues */
}

/* Force the actual vector shape to be white */
a.vps-social-icon svg path {
    fill: #ffffff !important; 
}

/* Force Background colors */
a.vps-social-icon.linkedin {
    background-color: #2F74B4 !important; 
}

a.vps-social-icon.whatsapp {
    background-color: #4FCE5D !important; 
}

/* Hover Effect */
a.vps-social-icon:hover {
    transform: scale(1.05); 
}

/* --- QUOTE MODAL --- */

.rq-modal{
display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
}

.rq-modal.is-open{
display:block;
}

.rq-backdrop {
    position: fixed; 
    inset: 0;
    background: rgba(0,0,0,.6);
}

.rq-card{
position:relative;
width:min(600px,92vw);
margin:8vh auto;
background:#060157;
border-radius:14px;
padding:26px;
box-shadow:0 20px 60px rgba(0,0,0,.35);
color:white;
font-family:inherit;
}

.rq-close{
position:absolute;
top:10px;
right:12px;
border:0;
background:transparent;
font-size:26px;
cursor:pointer;
line-height:1;
color:white;
}

.rq-title{
margin:0 0 12px 0;
font-size:20px;
font-weight:700;
}

.rq-intro{
font-size:14px;
line-height:1.6;
margin-bottom:16px;
}

.rq-label{
display:block;
margin-top:14px;
margin-bottom:6px;
font-size:15px;
font-weight:600;
color:white;
}

.rq-input,
.rq-textarea{
width:100%;
border:0;
border-radius:6px;
padding:14px;
font-size:14px;
background:white;
color:black;
box-sizing:border-box;
}

.rq-textarea{
min-height:110px;
resize:vertical;
}

.rq-submit{
width:100%;
margin-top:16px;
border:0;
border-radius:8px;
padding:12px;
background:white;
color:#060157;
font-weight:700;
cursor:pointer;
font-size:15px;
}

.rq-submit:hover{
opacity:.9;
}

.rq-required{
color:#ff4d4d;
font-weight:700;
margin-left:3px;
}
        .rq-intro a { color: white; text-decoration: none; font-weight: 700; }
        .rq-intro a:hover { text-decoration: underline; }
