
/* =========================================================
   POLYVALENT FOOTER - GLOBAL STYLES
========================================================= */

.poly-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding-top: 55px;
    color: #667080;
    font-family: inherit;
    box-sizing: border-box;
}

.poly-footer *,
.poly-footer *::before,
.poly-footer *::after {
    box-sizing: border-box;
}

.poly-footer a {
    text-decoration: none;
    transition: all 0.25s ease;
}

.poly-footer .container {
    width: calc(100% - 60px);
    max-width: 1320px;
    margin: 0 auto;
}


/* =========================================================
   TOP FOOTER - FOUR COLUMN LAYOUT
========================================================= */

.poly-footer .footer-main {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr 1.15fr 1.15fr;
    gap: 45px;
    align-items: start;
    padding-bottom: 45px;
}


/* =========================================================
   COLUMN 1 - BRAND
========================================================= */

.poly-footer .footer-brand {
    min-width: 0;
}

.poly-footer .footer-brand-logo {
    display: block;
    width: 225px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 22px;
}


/* FOOTER DESCRIPTION - COMPACT & LIGHT */

.poly-footer .footer-description {
    max-width: 390px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 5px !important;
    font-weight: 300 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    color: #333333 !important;
    margin: 0 0 10px !important;
}

/* BRAND DIRECTORY BADGES */

.poly-footer .footer-brand-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.poly-footer .footer-brand-badges a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.poly-footer .footer-brand-badges a:hover {
    transform: translateY(-3px);
    border-color: #0b68db;
    background: #edf5ff;
}

.poly-footer .ambitionbox-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #5162f6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
}

.poly-footer .goodfirms-logo {
    width: 25px;
    height: 25px;
    border-radius: 6px;
    background: #2d72d9;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
}

.poly-footer .crunchbase-logo {
    width: 25px;
    height: 25px;
    border-radius: 6px;
    background: #146aff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* =========================================================
   COLUMN 2 & 3 - COMPANY AND SERVICES
========================================================= */

.poly-footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}

.poly-footer .footer-links h6,
.poly-footer .footer-contact h6,
.poly-footer .footer-best-blogs h6 {
    color: #0b68db;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 9px;
    line-height: 1.4;
}

.poly-footer .footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667080 !important;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}

.poly-footer .footer-links a::before,
.poly-footer .footer-best-blogs a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: #50a2e9;
}

.poly-footer .footer-links a:hover,
.poly-footer .footer-best-blogs a:hover {
    color: #0b68db !important;
}

/* GEO AI BADGE */

.poly-footer .ai-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ff;
    color: #0b68db;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    margin-left: 2px;
}


/* =========================================================
   COLUMN 4 - CONTACT
========================================================= */

.poly-footer .footer-contact-column {
    min-width: 0;
}

.poly-footer .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.poly-footer .footer-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #667080 !important;
    font-size: 13px;
    line-height: 1.5;
    min-width: 0;
    overflow-wrap: anywhere;
}

.poly-footer .footer-contact a:hover {
    color: #0b68db !important;
}

/* CONTACT ICONS */

.poly-footer .footer-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #edf5fd;
    border: 1px solid #e3effd;
    transition: all 0.25s ease;
}

.poly-footer .footer-icon img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    display: block;
}

.poly-footer .footer-contact a:hover .footer-icon {
    background: #d4e4fd;
    border-color: #287ce4;
}

.poly-footer .location-symbol {
    color: #287ce4;
    font-size: 14px;
}



/* =========================================================
   BEST BLOGS
========================================================= */

.poly-footer .footer-best-blogs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #eeeeee;
    margin-top: 24px;
    padding-top: 20px;
}

.poly-footer .footer-best-blogs h6 {
    margin-bottom: 2px;
}

.poly-footer .footer-best-blogs a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667080 !important;
    font-size: 13px;
    line-height: 1.5;
}

.poly-footer .footer-best-blogs a:hover {
    color: #0b68db !important;
}


/* =========================================================
   MIDDLE FOOTER - SOCIALS & TRUST BADGES
========================================================= */

.poly-footer .footer-middle {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding-top: 22px;
    padding-bottom: 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

/* SOCIAL ICONS */

.poly-footer .footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.poly-footer .footer-socials a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 9px;
    background: #f4f7fb;
    transition: all 0.25s ease;
}

.poly-footer .footer-socials a:hover {
    transform: translateY(-3px);
    background: #eaf3ff;
}

.poly-footer .footer-socials img {
    width: 19px;
    height: 19px;
    object-fit: contain;
    display: block;
}

/* TRUST BADGES */

.poly-footer .footer-trust-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.poly-footer .footer-trust-badges > a:not(.dmca-badge) {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.poly-footer .footer-trust-badges > a:hover {
    transform: translateY(-3px);
}

.poly-footer .g2-logo {
    background: #ff492c;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.poly-footer .sortlist-logo {
    background: #2045ff;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.poly-footer .builtin-logo {
    background: #0b1f3a;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.poly-footer .owler-logo {
    background: #f97316;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

/* DMCA */

.poly-footer .footer-trust-badges .dmca-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 85px;
}

.poly-footer .footer-trust-badges .dmca-badge img {
    display: block;
    width: 85px;
    max-height: 40px;
    object-fit: contain;
}


/* =========================================================
   BOTTOM FOOTER - COPYRIGHT & LEGAL LINKS
========================================================= */

.poly-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.poly-footer .footer-bottom p {
    margin: 0;
    color: #888888;
    font-size: 13px;
    line-height: 1.5;
}

.poly-footer .footer-legal-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.poly-footer .footer-legal-links a {
    color: #667080 !important;
    font-size: 13px;
    font-weight: 500;
}

.poly-footer .footer-legal-links a:hover {
    color: #0b68db !important;
}

.poly-footer .legal-divider {
    width: 1px;
    height: 16px;
    background: #d5dbe2;
}


/* =========================================================
   TABLET RESPONSIVE - 1024px
========================================================= */

@media (max-width: 1024px) {

    .poly-footer .footer-main {
        grid-template-columns: 1.3fr 1fr;
        gap: 40px 35px;
    }

    .poly-footer .footer-brand {
        grid-column: span 2;
        max-width: 600px;
    }

    .poly-footer .footer-middle {
        flex-wrap: wrap;
    }
}


/* =========================================================
   MOBILE RESPONSIVE - 600px
========================================================= */

@media (max-width: 600px) {

    .poly-footer {
        padding-top: 35px;
    }

    .poly-footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .poly-footer .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px 18px;
        padding-bottom: 30px;
    }

    .poly-footer .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }

    .poly-footer .footer-brand-logo {
        width: 190px;
        margin-bottom: 18px;
    }

    .poly-footer .footer-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .poly-footer .footer-links {
        gap: 12px;
    }

    .poly-footer .footer-links h6,
    .poly-footer .footer-contact h6,
    .poly-footer .footer-best-blogs h6 {
        font-size: 15px;
    }

    .poly-footer .footer-links a,
    .poly-footer .footer-best-blogs a,
    .poly-footer .footer-contact a {
        font-size: 12px;
    }

    .poly-footer .footer-contact-column {
        grid-column: span 2;
    }

    .poly-footer .footer-middle {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .poly-footer .footer-socials,
    .poly-footer .footer-trust-badges {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .poly-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .poly-footer .footer-bottom p,
    .poly-footer .footer-legal-links a {
        font-size: 12px;
    }
}


/* =========================================================
   SMALL MOBILE - 380px
========================================================= */

@media (max-width: 380px) {

    .poly-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .poly-footer .footer-brand,
    .poly-footer .footer-contact-column {
        grid-column: span 1;
    }

    .poly-footer .footer-trust-badges {
        gap: 8px;
    }

    .poly-footer .footer-legal-links {
        gap: 12px;
    }
}

/* =========================================================
   POLYVALENT FOOTER - COMPACT DESIGN OVERRIDES
   Add this at the END of your existing footer.css
========================================================= */

/* Main footer */
.poly-footer,
#polyvalent-footer {
    width: 100%;
    margin: 0;
    padding-top: 30px !important;
    background: #fff;
    color: #667080;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
}

.poly-footer *,
#polyvalent-footer * {
    box-sizing: border-box;
}

/* Wider container - reduces empty side spaces */
.poly-footer .container,
#polyvalent-footer > div {
    width: calc(100% - 80px);
    max-width: 1410px;
    margin-left: auto;
    margin-right: auto;
}

/* Four-column layout */
.poly-footer .footer-main,
#polyvalent-footer .polyvalent-4col-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1.1fr 1.1fr;
    gap: 34px;
    align-items: start;
    padding-bottom: 28px !important;
}

/* Brand column */
.poly-footer .footer-brand,
#polyvalent-footer .space-y-4 {
    min-width: 0;
    padding-right: 0 !important;
}

/* Logo */
.poly-footer .footer-brand-logo {
    width: 275px;
    max-width: 100%;
    height: 48px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 13px;
}

#polyvalent-footer svg.h-8,
#polyvalent-footer svg.sm\:h-9 {
    height: 38px;
    max-width: 100%;
}

/* Description */
.poly-footer .footer-description,
#polyvalent-footer .space-y-4 > p {
    max-width: 470px;
    margin: 0 0 14px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #667080;
}

/* Brand directory logos */
.poly-footer .footer-brand-badges,
#polyvalent-footer .space-y-4 > .pt-1 {
    display: flex;
    align-items: center;
    gap: 10px !important;
    padding-top: 0 !important;
}

.poly-footer .footer-brand-badges a,
#polyvalent-footer .listing-pill {
    flex: 0 0 auto;
}

/* Company and services */
.poly-footer .footer-links,
#polyvalent-footer .polyvalent-4col-grid > div:not(.space-y-4) {
    min-width: 0;
}

/* Headings */
.poly-footer .footer-links h6,
.poly-footer .footer-contact h6,
.poly-footer .footer-best-blogs h6,
#polyvalent-footer .polyvalent-4col-grid h3,
#polyvalent-footer .polyvalent-4col-grid h4 {
    margin: 0 0 10px !important;
    color: #0877d1 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 700;
}

/* Links */
.poly-footer .footer-links {
    gap: 10px !important;
}

.poly-footer .footer-links a,
.poly-footer .footer-best-blogs a,
#polyvalent-footer .polyvalent-4col-grid ul a {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #667080 !important;
}

#polyvalent-footer .polyvalent-4col-grid ul {
    margin: 0 !important;
    padding: 0 !important;
}

#polyvalent-footer .polyvalent-4col-grid ul li + li {
    margin-top: 9px !important;
}

/* Contact details */
.poly-footer .footer-contact {
    gap: 11px !important;
}

.poly-footer .footer-contact a {
    gap: 10px !important;
    font-size: 13px !important;
}

.poly-footer .footer-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

#polyvalent-footer .polyvalent-4col-grid > div:last-child > ul a > span:first-child {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
}

/* Best blogs */
.poly-footer .footer-best-blogs {
    margin-top: 17px !important;
    padding-top: 15px !important;
    gap: 9px !important;
}

#polyvalent-footer .polyvalent-4col-grid > div:last-child > div.mt-6 {
    margin-top: 17px !important;
    padding-top: 15px !important;
}

/* Middle social and trust logo bar */
.poly-footer .footer-middle,
#polyvalent-footer .polyvalent-4col-grid + div.border-t {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    min-height: 68px;
}

.poly-footer .footer-socials,
.poly-footer .footer-trust-badges {
    gap: 10px !important;
}

.poly-footer .footer-socials a {
    width: 40px;
    height: 40px;
}

.poly-footer .footer-trust-badges > a:not(.dmca-badge) {
    width: 38px;
    height: 38px;
}

/* Standalone HTML middle bar */
#polyvalent-footer .polyvalent-4col-grid + div.border-t.border-b {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

#polyvalent-footer .polyvalent-4col-grid + div.border-t.border-b > div {
    gap: 10px !important;
}

#polyvalent-footer .polyvalent-4col-grid + div.border-t.border-b a {
    flex-shrink: 0;
}

/* DMCA badge */
.poly-footer .footer-trust-badges .dmca-badge img,
#polyvalent-footer .dmca-badge img {
    display: block;
    width: 85px;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

/* Copyright and legal links */
.poly-footer .footer-bottom,
#polyvalent-footer .polyvalent-4col-grid + div.border-t.border-b + div {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    gap: 16px;
}

.poly-footer .footer-bottom p,
.poly-footer .footer-legal-links a,
#polyvalent-footer .polyvalent-4col-grid + div.border-t.border-b + div p,
#polyvalent-footer .polyvalent-4col-grid + div.border-t.border-b + div a {
    margin: 0;
    font-size: 12px !important;
    line-height: 1.5;
}

/* Prevent horizontal scrolling */
#footer-wrapper {
    width: 100%;
    overflow-x: clip !important;
}

/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

    .poly-footer .container,
    #polyvalent-footer > div {
        width: calc(100% - 48px);
    }

    .poly-footer .footer-main,
    #polyvalent-footer .polyvalent-4col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .poly-footer .footer-brand,
    #polyvalent-footer .polyvalent-4col-grid > div:first-child {
        grid-column: 1 / -1;
        max-width: 620px;
    }
}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 720px) {

    .poly-footer,
    #polyvalent-footer {
        padding-top: 24px !important;
    }

    .poly-footer .container,
    #polyvalent-footer > div {
        width: calc(100% - 36px);
    }

    .poly-footer .footer-main,
    #polyvalent-footer .polyvalent-4col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        padding-bottom: 24px !important;
    }

    .poly-footer .footer-brand,
    #polyvalent-footer .polyvalent-4col-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .poly-footer .footer-contact-column,
    #polyvalent-footer .polyvalent-4col-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .poly-footer .footer-brand-logo {
        width: 220px;
        height: 42px;
    }

    #polyvalent-footer .polyvalent-4col-grid + div.border-t.border-b {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .poly-footer .footer-middle {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .poly-footer .footer-bottom,
    #polyvalent-footer .polyvalent-4col-grid + div.border-t.border-b + div {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .poly-footer .footer-main,
    #polyvalent-footer .polyvalent-4col-grid {
        grid-template-columns: 1fr;
    }

    .poly-footer .footer-brand,
    .poly-footer .footer-contact-column,
    #polyvalent-footer .polyvalent-4col-grid > div:first-child,
    #polyvalent-footer .polyvalent-4col-grid > div:last-child {
        grid-column: 1;
    }
}
.disabled-social {
    cursor: default;
    pointer-events: none;
}

/* =========================================
   FOOTER - BLACK TEXT COLOR FIX
========================================= */

/* Description */
.poly-footer .footer-description {
    color: #222222 !important;
}

/* Company and services links */
.poly-footer .footer-links a,
.poly-footer .footer-best-blogs a {
    color: #333333 !important;
}

/* Contact details */
.poly-footer .footer-contact a {
    color: #333333 !important;
}

/* Copyright */
.poly-footer .footer-bottom p {
    color: #555555 !important;
}

/* Sitemap and Privacy Policy */
.poly-footer .footer-legal-links a {
    color: #333333 !important;
}

/* Keep headings blue */
.poly-footer h6 {
    color: #1685d4 !important;
}

/* Hover effect */
.poly-footer a:hover {
    color: #1685d4 !important;
}

/* Fix placeholder service links */
.poly-footer .footer-links .footer-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333333 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

/* Add same blue bullet */
.poly-footer .footer-links .footer-placeholder::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;

    background: #50a2e9;
}

/* LOCATION ICON - 20x20px */
.poly-footer .footer-contact .footer-icon img[src*="location.svg"] {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    display: block;
}

