/*-------- FLOWRUSH OFFICIAL COLOR THEME --------*/
:root {
    --brand-deep-blue: #001a4d;
    --brand-primary: #1e40af;
    --brand-accent: #3b82f6;
    --brand-light: #dbeafe;
    --brand-hover: #2563eb;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-soft: #f8fafc;
    --border-light: #e2e8f0;
    --grad-hero: radial-gradient(circle at top right, #1e40af, #001a4d);
    --grad-primary: linear-gradient(135deg, #1e40af, #3b82f6);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.02);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Verdana', sans-serif;
    --header-bg-sleek: #fafafc;
}

/*========== RESET & BASE ==========*/
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* Remove all outlines */
*:focus {
    outline: none !important;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

body { 
    font-family: var(--font-family); 
    color: var(--text-dark); 
    background: white; 
    line-height: 1.5; 
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 24px; 
    width: 100%; 
}

h1 { 
    font-size: clamp(2rem, 5vw, 3.8rem); 
    letter-spacing: -0.02em; 
    font-weight: 800;
}

h2 { 
    font-size: clamp(1.8rem, 4vw, 2.8rem); 
    font-weight: 700;
}

h3, h4 { 
    font-weight: 600; 
    line-height: 1.3; 
}

a { 
    text-decoration: none; 
    -webkit-tap-highlight-color: transparent;
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

/*========== BUTTON STYLES ==========*/
.btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 8px 25px; 
    border-radius: 50px; 
    font-weight: 600;
    transition: all 0.25s ease; 
    cursor: pointer; 
    border: none; 
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    z-index: -1;
}

.btn:hover::after {
    width: 200px;
    height: 200px;
}

.btn-primary { 
    background: var(--grad-primary); 
    color: white; 
    box-shadow: 0 4px 10px rgba(37,99,235,0.2); 
}

.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-lg); 
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--brand-deep-blue);
}

/*========== SLEEK HEADER & ANNOUNCEMENT BAR ==========*/
.top-sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

/* Announcement Bar */
.announcement-bar {
    background: #0f1a2f;
    height: 30px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.announcement-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 100%;
}

.announcement-bar svg {
    width: 14px;
    height: 14px;
    stroke: white;
    stroke-width: 1.8;
    fill: none;
    opacity: 0.9;
}

.announcement-bar p {
    margin: 0;
    font-size: 11px;
    color: white;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.95;
}

/* Header - Sleek Light Grey */
.site-header {
    position: relative; 
    width: 100%; 
    background: #f4f5f7;
    border-bottom: 1px solid #e0e2e7;
    padding: 4px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.header-container {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 16px;
    position: relative;
}

/* Logo - compact size */
.logo-area { 
    display: flex; 
    align-items: center;
    flex: 0 0 auto;
    z-index: 1;
}

.logo-area img { 
    height: 36px;
    width: auto;
    max-width: 120px;
    transition: opacity 0.2s ease;
}

.logo-area img:hover { 
    opacity: 0.85;
}

/* main navigation - centered absolutely */
.main-nav { 
    display: flex; 
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-list { 
    display: flex; 
    align-items: center; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    gap: 2px; 
}

.nav-item { 
    position: relative; 
}

.nav-link {
    display: flex; 
    align-items: center; 
    gap: 4px;
    padding: 8px 16px; 
    font-size: 14px; 
    font-weight: 500;
    color: #334155; 
    border-radius: 40px;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
    background: transparent;
    border: 1px solid transparent;
    outline: none !important;
}

.nav-link:hover { 
    background: white; 
    color: var(--brand-primary); 
    border-color: var(--brand-light);
    box-shadow: 0 4px 8px rgba(0, 26, 77, 0.04);
    transform: none;
}

.nav-link i.chev {
    width: 6px; 
    height: 6px; 
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor; 
    transform: rotate(45deg) translateY(-1px);
    transition: 0.2s;
    opacity: 0.6;
}

/* mega/dropdown menus */
.mega-menu, .dropdown-menu {
    position: absolute; 
    top: calc(100% + 6px); 
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px -10px rgba(0, 26, 77, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    opacity: 0; 
    visibility: hidden; 
    transition: 0.2s; 
    z-index: 1000;
}

.mega-menu { 
    width: 700px; 
    padding: 24px; 
}

.dropdown-menu { 
    width: 220px; 
    padding: 12px; 
    list-style: none; 
}

.nav-item:hover .mega-menu,
.nav-item:hover .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    top: 100%; 
}

.mega-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
}

.mega-col h4 { 
    font-size: 15px; 
    color: var(--brand-deep-blue); 
    margin-bottom: 12px; 
    border-bottom: 2px solid var(--brand-accent);
    padding-bottom: 6px; 
    display: inline-block;
    font-weight: 700;
}

.mega-col ul { 
    list-style: none; 
}

.mega-col li { 
    margin-bottom: 10px; 
    transition: transform 0.15s; 
}

.mega-col li:hover { 
    transform: translateX(5px); 
}

.mega-col a { 
    color: var(--text-muted); 
    font-size: 13px; 
    font-weight: 500; 
    display: inline-block; 
}

.mega-col a:hover { 
    color: var(--brand-primary); 
}

.dropdown-menu li a {
    display: flex; 
    align-items: center; 
    gap: 10px;
    padding: 8px 14px; 
    color: var(--text-dark); 
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.dropdown-menu li a:hover { 
    background: var(--brand-light); 
    color: var(--brand-primary); 
    transform: translateX(4px);
}

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.header-actions .btn-primary {
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 18px;
    font-size: 13px;
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Trigger */
.mobile-menu-trigger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10002;
    padding: 8px;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-trigger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #475569;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu-trigger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-trigger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Header spacer */
.header-spacer {
    height: calc(30px + 46px);
    width: 100%;
}

/*========== FLOATING ICONS ==========*/
.floating-icon, 
.floating-call {
    position: fixed !important;
    bottom: 20px !important;
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.floating-icon {
    left: 20px !important;
    background: #25D366 !important;
    animation: pulse-wa 2s infinite !important;
}

.floating-call {
    right: 20px !important;
    background: #1e40af !important;
    animation: pulse-call 2s infinite !important;
}

.floating-icon a, .floating-call a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

.floating-icon svg,
.floating-call svg {
    width: 34px !important;
    height: 34px !important;
    fill: white !important;
}

@keyframes pulse-wa {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
    70% { transform: scale(1.08); box-shadow: 0 8px 25px rgba(37,211,102,0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
}

@keyframes pulse-call {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
    70% { transform: scale(1.08); box-shadow: 0 8px 25px rgba(30,64,175,0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
}

.floating-icon:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(37,211,102,0.5) !important;
}

.floating-call:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(30,64,175,0.5) !important;
}

/*========== FOOTER ==========*/
.footer-new {
    background: linear-gradient(145deg, #0a1e4a, #001a4d);
    color: white; 
    padding: 40px 0 20px;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-family);
}

.footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

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

.footer-brand p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.6;
    margin: 12px 0 18px;
}

.footer-social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social-links a:hover {
    background: white;
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.footer-social-links a:hover img {
    filter: brightness(0) invert(0);
}

.footer-social-links img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    transition: filter 0.25s;
}

.footer-links-col, .footer-contact-col {
    position: relative;
}

.footer-links-col h4, .footer-contact-col h4 {
    font-size: 18px;
    margin-bottom: 18px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
}

.footer-links-col h4::after, .footer-contact-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--brand-accent);
    border-radius: 2px;
}

.footer-links-col ul, .contact-list {
    list-style: none;
    padding: 0;
}

.footer-links-col li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.footer-links-col li:hover {
    transform: translateX(6px);
}

.footer-links-col li img {
    width: 10px;
    height: 10px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-links-col a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    transition: color 0.2s;
    font-weight: 400;
}

.footer-links-col a:hover {
    color: white;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    transition: transform 0.2s;
}

.contact-list li:hover {
    transform: translateX(6px);
}

.footer-icon {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list span, .contact-list a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

.contact-list a:hover {
    color: white;
}

.footer-reach-integrated {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-reach-integrated h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.footer-reach-integrated h2 span {
    color: var(--brand-accent);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.location-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 15px;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.location-box:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--brand-accent);
    transform: translateY(-5px);
}

.location-box .flag-icon {
    width: 24px;
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.location-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
}

.location-box p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
}

.footer-bottom-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-info p {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
}

.footer-legal {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    transition: color 0.2s;
    position: relative;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: rgba(255,255,255,0.2);
}

.contact-overlay { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.7); 
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
    padding: 20px;
}

.contact-popup { 
    background: white; 
    max-width: 800px; 
    width: 100%; 
    display: flex; 
    border-radius: 20px; 
    padding: 25px; 
    position: relative;
}

/*========== MOBILE OPTIMIZED STYLES ==========*/
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .mega-menu { width: 600px; }
}

@media (max-width: 1024px) {
    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px; 
    }
    .locations-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 900px) {
    .mobile-menu-trigger { 
        display: flex; 
    }
    
    .main-nav { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 280px; 
        height: 100vh;
        background: white; 
        flex-direction: column; 
        padding: 80px 20px 30px;
        transition: 0.4s ease; 
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 10001; 
        display: flex; 
        overflow-y: auto;
        /* Reset desktop centering */
        transform: none;
        left: auto;
    }
    .main-nav.active { right: 0; }
    
    .nav-list { 
        flex-direction: column; 
        align-items: flex-start; 
        width: 100%; 
        gap: 2px; 
    }
    .nav-item { width: 100%; }
    .nav-link { 
        width: 100%; 
        padding: 14px 0; 
        border-bottom: 1px solid #f0f0f0; 
        border-radius: 0; 
        justify-content: space-between; 
    }
    
    .mega-menu, .dropdown-menu { 
        position: static; 
        width: 100%; 
        opacity: 1; 
        visibility: visible; 
        display: none; 
        box-shadow: none; 
        padding: 10px 0 10px 15px; 
        background: #f8fafc;
        margin-top: 5px; 
        border-radius: var(--radius-sm);
    }
    .nav-item.active .mega-menu, 
    .nav-item.active .dropdown-menu { 
        display: block; 
    }
    .mega-grid { 
        grid-template-columns: 1fr; 
        gap: 15px; 
    }
    
    /* Logo: keep compact on mobile too */
    .logo-area img { 
        width: 110px !important;
        height: auto !important;
        max-width: 110px !important;
    }
    
    /* HIDE Get A Free Quote button on mobile */
    .header-actions .btn-primary {
        display: none !important;
    }
    
    .top-sticky-wrapper {
        height: calc(30px + 50px);
    }
    
    .header-spacer {
        height: calc(30px + 50px);
    }
    .site-header {
        padding: 5px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* Logo: keep compact */
    .logo-area img { 
        width: 100px !important;
        height: auto !important;
        max-width: 100px !important;
    }
    
    .announcement-bar {
        height: 32px;
    }
    
    .announcement-bar p {
        font-size: 10px;
    }
    
    .announcement-bar svg {
        width: 12px;
        height: 12px;
    }
    
    .top-sticky-wrapper {
        height: calc(30px + 52px) !important;
    }
    
    .header-spacer {
        height: calc(30px + 52px) !important;
    }
    
    .floating-icon, 
    .floating-call { 
        width: 60px !important; 
        height: 60px !important; 
        bottom: 15px !important;
    }
    
    .floating-icon {
        left: 12px !important;
    }
    
    .floating-call {
        right: 12px !important;
    }
    
    .floating-icon svg, 
    .floating-call svg {
        width: 30px !important;
        height: 30px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-contact-col {
        grid-column: 1 / -1;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .footer-bottom-new {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    h1 {
        font-size: 42px !important;
    }
    
    h2 {
        font-size: 31px !important;
    }
    
    /* Logo compact on small mobile */
    .logo-area img { 
        width: 95px !important;
        height: auto !important;
        max-width: 95px !important;
    }
    
    .announcement-bar {
        height: 30px;
    }
    
    .announcement-bar p {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
    
    .top-sticky-wrapper {
        height: calc(30px + 54px) !important;
    }
    
    .header-spacer {
        height: calc(30px + 54px) !important;
    }
    
    .site-header {
        padding: 6px 0;
    }
    
    /* HIDE Get A Free Quote button on mobile */
    .header-actions .btn-primary {
        display: none !important;
    }
    
    .floating-icon, 
    .floating-call { 
        width: 55px !important; 
        height: 55px !important; 
        bottom: 12px !important;
    }
    
    .floating-icon {
        left: 10px !important;
    }
    
    .floating-call {
        right: 10px !important;
    }
    
    .floating-icon svg, 
    .floating-call svg {
        width: 28px !important;
        height: 28px !important;
    }
}

/* Desktop - Show and style button */
@media (min-width: 901px) {
    .header-actions .btn-primary {
        display: inline-flex !important;
        padding: 7px 22px !important;
        font-size: 14px !important;
        min-width: 145px;
    }
}