/* 3-COLUMN PRE-FOOTER NAVIGATION MENU
   ========================================================= */
.site-pre-footer-section {
    width: 100% !important;
    background-color: #ffffff !important;
    padding: 70px 0 60px 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    border-top: 1px solid #f1f5f9;
    clear: both !important;
}

.site-pre-footer-container {
    max-width: 1300px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.site-pre-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 60px !important;
}

.pre-footer-col {
    display: flex !important;
    flex-direction: column !important;
}

.pre-footer-heading {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0c1e40 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.2px !important;
    font-family: inherit !important;
}

.pre-footer-mini-bar {
    width: 32px !important;
    height: 3px !important;
    background: #0064e5 !important;
    border-radius: 2px !important;
    margin: 10px 0 20px 0 !important;
}

.pre-footer-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 13px !important;
}

.pre-footer-menu li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pre-footer-menu li a {
    color: #475569 !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    line-height: 1.4 !important;
}

.pre-footer-menu li a:hover {
    color: #0064e5 !important;
    transform: translateX(4px) !important;
}

@media (max-width: 991px) {
    .site-pre-footer-section {
        padding: 50px 0 40px 0 !important;
    }
    .site-pre-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
}

/* =========================================================
   NEW REDESIGNED FULLWIDTH FOOTER (DARK BLUE WITH CONTAINER)
   ========================================================= */
.site-custom-footer-section {
    width: 100% !important;
    background: radial-gradient(circle at 85% 20%, #082d82 0%, #03185a 45%, #010b2e 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    padding-top: 70px !important;
    padding-bottom: 0 !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    clear: both !important;
}

.site-custom-footer-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(0, 100, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.12) 0%, transparent 40%) !important;
    pointer-events: none !important;
}

.custom-footer-container {
    max-width: 1300px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 50px !important;
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    clear: both !important;
}

/* LEFT COLUMN: White Contact Card (38-40%) */
.custom-footer-container > .footer-contact-card {
    flex: 0 0 39% !important;
    width: 39% !important;
    max-width: 480px !important;
    background: #ffffff !important;
    border-radius: 28px !important;
    padding: 36px 28px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    color: #1e293b !important;
    float: none !important;
    display: block !important;
}

.footer-card-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0c1e40 !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.2px !important;
}

.footer-card-mini-bar {
    width: 36px;
    height: 3.5px;
    background: #0064e5;
    border-radius: 2px;
    margin-bottom: 18px;
}

.footer-card-company {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #004bd6 !important;
    margin: 0 0 6px 0 !important;
}

.footer-card-tagline {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.45 !important;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #1e293b !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-contact-item.align-top {
    align-items: flex-start;
}

.footer-contact-item:hover {
    color: #0064e5 !important;
    transform: translateX(3px);
}

.footer-contact-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0064e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 100, 229, 0.3);
}

.footer-contact-icon-circle svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.footer-contact-text {
    font-size: 13.8px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
    word-break: normal !important;
}

/* Bilingual Badge */
.footer-bilingual-badge {
    background: #eef5ff;
    border: 1.5px solid #d4e4fc;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-bilingual-badge svg {
    width: 22px;
    height: 22px;
    fill: #0064e5;
    flex-shrink: 0;
}

.footer-bilingual-badge span {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

/* Get a free quote CTA button */
.footer-get-quote-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 50px !important;
    background: linear-gradient(135deg, #005ae6 0%, #0036a7 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 75, 214, 0.35) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 18px !important;
    box-sizing: border-box !important;
}

.footer-get-quote-btn:hover {
    background: linear-gradient(135deg, #0070f3 0%, #004bd6 100%) !important;
    box-shadow: 0 8px 24px rgba(0, 90, 230, 0.5) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.footer-get-quote-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.footer-get-quote-btn:hover svg {
    transform: translateX(4px);
}

/* Social icons row */
.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-top: 2px;
}

.footer-social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #004bd6 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.footer-social-circle svg {
    width: 19px;
    height: 19px;
    fill: #004bd6;
    transition: fill 0.2s ease;
}

.footer-social-circle:hover {
    background: #004bd6;
    transform: translateY(-2px);
}

.footer-social-circle:hover svg {
    fill: #ffffff;
}

/* RIGHT COLUMN: Info, Heading & Categories */
.custom-footer-container > .footer-info-col {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-top: 6px;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
}

/* Logo in footer */
.footer-brand-header {
    margin-bottom: 26px;
}

.footer-brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.footer-brand-shield-img {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 100, 229, 0.4));
}

.footer-brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    line-height: 1;
    font-family: inherit;
}

.footer-brand-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.footer-brand-line {
    flex: 1;
    height: 2px;
    background: #1b72e1;
    border-radius: 1px;
}

.footer-brand-sub-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 5px;
    color: #1b72e1;
}

/* Heading */
.footer-main-heading {
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.3px !important;
}

.footer-heading-highlight {
    color: #1b72e1 !important;
}

.footer-heading-line {
    width: 46px;
    height: 3.5px;
    background: #0064e5;
    border-radius: 2px;
    margin-bottom: 24px;
}

.footer-paragraphs {
    margin-bottom: 32px;
}

.footer-paragraphs p {
    font-size: 16.5px !important;
    line-height: 1.65 !important;
    color: #cbd5e1 !important;
    margin: 0 0 14px 0 !important;
}

/* Categories 4 Icons Grid */
.footer-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.footer-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    transition: transform 0.25s ease;
}

.footer-cat-item:hover {
    transform: translateY(-4px);
}

.footer-cat-icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(0, 100, 229, 0.2);
    border: 2px solid #0077ff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 0 20px rgba(0, 119, 255, 0.25);
    transition: all 0.25s ease;
}

.footer-cat-item:hover .footer-cat-icon-circle {
    background: #0077ff;
    box-shadow: 0 0 25px rgba(0, 119, 255, 0.6);
}

.footer-cat-icon-circle svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}

.footer-cat-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
    line-height: 1.35;
    text-transform: uppercase;
}

/* Serving Texas and Beyond Divider */
.footer-serving-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.serving-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.serving-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #94a3b8;
    text-transform: uppercase;
}

/* BOTTOM COPYRIGHT BAR */
.footer-bottom-bar {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(1, 10, 36, 0.85);
    /* Cao doi xung: dai copyright chi bang chinh noi dung cua no.
       Cho chua thanh sticky do `#site-custom-footer` lo (sticky-bar.css). */
    padding: 24px 0 !important;
    margin-top: 45px;
}

/*
 * KHONG doi padding theo trang thai thanh thong bao: dai copyright phai cao
 * y nhau luc dong va luc mo. Thanh sticky la `position: fixed` nen no phu len
 * 52px duoi cung — 62px padding la du va khong doi.
 */

.custom-footer-bottom-container {
    max-width: 1300px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    font-size: 13.5px !important;
    color: #94a3b8 !important;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-shield {
    width: 20px;
    height: 20px;
    fill: #1b72e1;
    flex-shrink: 0;
}

.footer-bottom-center a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.footer-bottom-center a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.footer-savings-highlight {
    color: #1b72e1;
    font-weight: 700;
}

/* Fix mobile white gap below footer */
#aa-footer-spacer,
.aa-footer-spacer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home,
body {
    background-color: #010b2e !important;
}

#ajax-content-wrap {
    background-color: #ffffff !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/*
 * Body co nen navy (de duoi footer luon lien mach). Vung noi dung phai tu
 * dat nen trang, neu khong margin cua khoi cuoi cung se tran ra ngoai <main>
 * va lo mot dai navy ngay tren pre-footer.
 */
.mc-main {
    background-color: #ffffff;
    padding-bottom: 1px;
}

@media (max-width: 991px) {
    .custom-footer-container {
        flex-direction: column !important;
        gap: 40px !important;
    }
    .custom-footer-container > .footer-contact-card {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .footer-main-heading {
        font-size: 28px !important;
    }
    .footer-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .footer-bottom-bar {
        padding: 24px 0 !important;
    }
    .custom-footer-bottom-container {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }
}
