/* Footer Styles */
.b9-footer {
    color: var(--b9-white);
    background-color: var(--b9-text-dark);
}

.b9-footer .container-fluid {
    padding: 0 195px;
}

/* Main Footer Section */
.b9-footer-main {
    background-color: #121a22cc;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Footer Brand Section */
.b9-footer-logo {
    height: 58px;
    max-width: 216px;
    margin-bottom: 40px;
}

.b9-footer-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 16px;
}

.b9-footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.b9-footer-icon {
    height: 24px;
}

.b9-footer-contact-info .b9-footer-description {
    font-size: 18px;
    line-height: 1.5;
}

/* Footer Title */
.b9-footer-title {
    display: inline-flex;
    align-items: center;
    height: 58px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--b9-white);
}

.b9-footer-subscribe .b9-footer-title {
    margin-bottom: 16px;
}

/* Footer Menu */
.b9-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b9-footer-menu li {
    margin-bottom: 24px;
}

.b9-footer-menu li:last-child {
    margin-bottom: 0;
}

.b9-footer-menu li a {
    color: var(--b9-white);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}

.b9-footer-menu li a:hover {
    color: var(--b9-primary-color);
}

.b9-footer-icon {
    width: 24px;
    height: 27px;
    object-fit: contain;
}

/* Footer Bottom Bar */
.b9-footer-bottom,
.b9-footer-bottom-mobile {
    background-color: #19243092;
    padding: 0;
}

.b9-footer-bottom .container-fluid,
.b9-footer-bottom-mobile .container-fluid {
    height: 71.47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b9-footer-copyright,
.b9-footer-legal-link {
    font-size: 14px;
    line-height: 1.4;
    color: #a1a4af;
    margin: 0;
}

.b9-footer-legal-link {
    text-decoration: underline;
}

.b9-footer-legal-link:hover {
    color: var(--b9-primary-color);
}

.b9-footer-social {
    display: flex;
    gap: 40px;
}

.b9-footer-social-icon {
    transition: transform 0.3s ease;
}

.b9-footer-social-icon:hover {
    transform: scale(1.2);
}

.b9-footer-bottom-mobile {
    display: none;
}

/* Subscribe Form Styles */
.b9-footer-subscribe {
    max-width: 100%;
}

.b9-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.b9-form-group {
    position: relative;
}

.b9-subscribe-input {
    width: 100%;
    height: 56px;
    font-size: 16px;
    padding: 14.5px 24px !important;
    border: 1px solid #cbd4e14d !important;
    border-radius: 12px !important;
    color: var(--b9-white) !important;
    transition: all 0.3s ease-out !important;
    background-color: #eff1f61a !important;
}

.b9-subscribe-input::placeholder {
    color: #CBD4E1;
}

.b9-subscribe-input:focus {
    outline: none;
    border-color: var(--b9-primary-color);
}

.b9-subscribe-input.error {
    border-color: #e51616 !important;
}

.b9-subscribe-input.success {
    border-color: var(--b9-primary-color) !important;
}

.b9-error-message {
    color: #e51616;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
    font-weight: 400;
}

.b9-subscribe-btn:active,
.b9-subscribe-btn:focus,
.b9-subscribe-btn {
    height: 56px;
    padding: 16px 32px;
    background-color: var(--b9-primary-color);
    color: var(--b9-text-dark);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease-out;
    text-transform: uppercase;
    width: fit-content;
}

.b9-subscribe-btn:hover {
    color: var(--b9-text-dark) !important;
    background-color: var(--b9-primary-hover) !important;
}

.b9-subscribe-success-message {
    color: var(--b9-primary-color);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    padding-bottom: 16px;
}

.b9-subscribe-link {
    color: var(--b9-primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.b9-subscribe-link:hover {
    color: #b8d85f;
}

@media (max-width: 1600px) {
    .b9-footer .container-fluid {
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* Tablet Styles */
@media (max-width: 991.98px) {
    .b9-footer .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .b9-footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .b9-footer-title {
        margin-bottom: 24px;
    }

    .b9-footer-bottom {
        display: none;
    }

    .b9-footer-bottom-mobile {
        display: block;
    }

    .b9-footer-bottom-mobile .container-fluid {
        justify-content: center;
    }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
    .b9-footer-main {
        padding-top: 16px;
        padding-bottom: 30px;
    }

    .b9-footer .container-fluid .row {
        gap: 30px;
    }

    .b9-footer-title {
        height: auto;
        font-size: 18px;
        margin-bottom: 16px;
    }

    .b9-footer-menu li {
        margin-bottom: 16px;
    }

    .b9-footer-menu li a {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .b9-footer-contact-info .b9-footer-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .b9-footer-bottom-mobile .container-fluid {
        height: 68px;
    }

    .b9-footer-bottom-mobile .b9-footer-copyright {
        color: var(--b9-white);
    }
}
