/* ==========================================
   BLENTREE FOOTER WIDGET
   ========================================== */

/* Force Elementor widget wrapper to stretch full width */
.elementor-widget-blentree-footer,
.elementor-widget-blentree-footer > .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
    flex: 1 1 100% !important;
    overflow: visible !important;
}

.bln-footer {
    background: #FFFFFF;
    color: #444444;
    width: 100%;
    box-sizing: border-box;
}
.bln-footer * { box-sizing: border-box; }

/* Inner — full width with 10% horizontal padding */
.bln-footer-inner {
    padding: 60px 10% 0;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

/* Grid — 4 EQUAL columns */
.bln-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

/* Titles */
.bln-footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 24px;
    position: relative;
    padding-bottom: 10px;
}
.bln-footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #F5A623;
    border-radius: 2px;
}

/* Col 1: Brand */
.bln-footer-logo img {
    width: 180px;
    height: auto;
    margin-bottom: 16px;
}
.bln-footer-company {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    color: inherit;
}
.bln-footer-socials {
    display: flex;
    gap: 14px;
}
.bln-footer-socials a {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.bln-footer-socials a:hover {
    color: #E63946;
    transform: translateY(-2px);
}

/* Col 2: Links */
.bln-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bln-footer-links li {
    margin-bottom: 14px;
}
.bln-footer-links a {
    font-size: 15px;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.bln-footer-links a:hover {
    color: #E63946;
    padding-left: 4px;
}

/* Col 3: Contact */
.bln-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
}
.bln-footer-contact-item i,
.bln-footer-ci-icon i {
    color: #E63946;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}
.bln-footer-ci-icon {
    flex-shrink: 0;
    margin-top: 3px;
    line-height: 1;
    display: inline-flex;
}
.bln-footer-ci-icon svg {
    width: auto;
    height: auto;
    max-width: 17px;
    max-height: 17px;
    display: block;
}
/* Fill icons → fill; outline icons (fill="none") → stroke */
.bln-footer-ci-icon svg:not([fill="none"]),
.bln-footer-ci-icon svg:not([fill="none"]) path {
    fill: #E63946;
}
.bln-footer-ci-icon svg[fill="none"] {
    fill: none;
}
.bln-footer-ci-icon svg[fill="none"] path {
    stroke: #E63946;
}

/* Col 4: Subscribe */
.bln-footer-subscribe-text {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
}
.bln-footer-subscribe-form {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.bln-footer-subscribe-form input[type="email"] {
    flex: 1 1 auto;
    border: 1px solid #E5E5E5;
    border-right: none;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    border-radius: 6px 0 0 6px;
    min-width: 0;
}
.bln-footer-subscribe-form input[type="email"]:focus {
    border-color: #E63946;
}
.bln-footer-subscribe-form button {
    background: #E63946;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    transition: background 0.3s ease;
    white-space: nowrap;
}
.bln-footer-subscribe-form button:hover {
    background: #C42E3A;
}

/* Copyright bar */
.bln-footer-bottom {
    border-top: 1px solid #ECECEC;
    padding: 24px 0;
    text-align: center;
}
.bln-footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #777777;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 991px) {
    .bln-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .bln-footer-inner {
        padding: 40px 24px 0;
    }
    .bln-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    .bln-footer-title::after {
        left: 0;
        transform: none;
    }
    .bln-footer-socials {
        justify-content: flex-start;
    }
    .bln-footer-contact-item {
        justify-content: flex-start;
        text-align: left;
    }
    .bln-footer-subscribe-form {
        max-width: 100%;
        margin: 0;
    }
}
