/* ============================================
   CAMO CHEM — Custom Footer CSS
   Replaces Elementor template 10380
   Created: 2026-03-15
   ============================================ */

/* ── Trust Bar ── */
.cc-footer-trust {
    background: #212F3E;
    padding: 18px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.cc-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.cc-trust-item i {
    font-size: 32px;
    color: #fff;
    flex-shrink: 0;
}

.cc-trust-item span {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ── Main Footer ── */
.cc-footer-main {
    background: #fff;
    padding: 50px 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Column 1: Logo + Social */
.cc-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cc-footer-logo {
    width: 76px;
    height: auto;
}

.cc-footer-divider {
    width: 60%;
    height: 3px;
    background: #212F3E;
    border: none;
}

.cc-footer-social {
    display: flex;
    gap: 12px;
}

.cc-footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #212F3E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s;
}

.cc-footer-social a:hover {
    background: #354649;
}

/* Column 2: Useful Links */
.cc-footer-links,
.cc-footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cc-footer-links h4,
.cc-footer-about h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #212F3E;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cc-footer-links hr,
.cc-footer-about hr {
    width: 50%;
    height: 3px;
    background: #212F3E;
    border: none;
    margin-bottom: 18px;
}

.cc-footer-links ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.cc-footer-links ul li {
    margin-bottom: 6px;
}

.cc-footer-links ul li a {
    font-family: 'Poppins', sans-serif;
    color: #212F3E;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.cc-footer-links ul li a:hover {
    color: #354649;
    text-decoration: underline;
}

/* Column 3: About Us */
.cc-footer-about p {
    font-family: 'Poppins', sans-serif;
    color: #212F3E;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.cc-footer-about .cc-about-email {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #555;
}

.cc-footer-about .cc-about-email a {
    color: #212F3E;
    text-decoration: none;
}

.cc-footer-about .cc-about-email a:hover {
    text-decoration: underline;
}

/* Column 4: SSL Badge */
.cc-footer-trust-badge {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.cc-footer-trust-badge img {
    max-width: 140px;
    height: auto;
}

/* ── Copyright ── */
.cc-footer-copyright {
    background: #212F3E;
    padding: 14px 40px;
    text-align: center;
}

.cc-footer-copyright p {
    font-family: 'Poppins', sans-serif;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

/* Hide Elementor footer if it somehow still renders */
#colophon .elementor-10380 {
    display: none !important;
}

/* ============================================
   TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .cc-footer-trust {
        gap: 24px;
        padding: 16px 20px;
    }

    .cc-trust-item i {
        font-size: 22px;
    }

    .cc-trust-item span {
        font-size: 15px;
    }

    .cc-footer-main {
        padding: 36px 24px 28px;
        gap: 20px;
    }

    .cc-footer-links ul li a {
        font-size: 15px;
    }
}

/* ============================================
   MOBILE (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {
    /* Trust bar: icons stacked, 3 in one row */
    .cc-footer-trust {
        padding: 18px 6px;
        gap: 0;
        justify-content: space-evenly;
    }

    .cc-trust-item {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        flex: 1 1 0%;
        min-width: 0;
        justify-content: center;
        align-items: center;
    }

    .cc-trust-item i {
        font-size: 22px;
    }

    .cc-trust-item span {
        font-size: 13px;
        font-weight: 600;
    }

    /* Main footer: single column */
    .cc-footer-main {
        grid-template-columns: 1fr;
        padding: 28px 24px 20px;
        gap: 24px;
    }

    /* Logo smaller */
    .cc-footer-logo {
        width: 52px;
    }

    .cc-footer-brand {
        gap: 12px;
    }

    .cc-footer-social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    /* Links + About side by side */
    .cc-footer-links-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .cc-footer-links h4,
    .cc-footer-about h4 {
        font-size: 15px;
    }

    .cc-footer-links ul li a {
        font-size: 15px;
    }

    .cc-footer-links ul li {
        margin-bottom: 4px;
    }

    .cc-footer-about p {
        font-size: 15px;
    }

    /* SSL badge centered */
    .cc-footer-trust-badge {
        padding-top: 0;
    }

    .cc-footer-trust-badge img {
        max-width: 120px;
    }

    .cc-footer-copyright {
        padding: 12px 16px;
    }

    .cc-footer-copyright p {
        font-size: 13px;
    }
}

/* ============================================
   SMALL MOBILE (max-width: 400px)
   ============================================ */
@media (max-width: 400px) {
    .cc-trust-item span {
        font-size: 10px;
    }

    .cc-trust-item i {
        font-size: 18px;
    }
}
