/* --- Footer Styles --- */
.footer-area {
    background-color: var(--rbheading);
    position: relative;
    overflow: hidden;
    color: var(--rblight);
    padding-top: 80px;
    z-index: 1;
}

/* Background Glow */
.footer-area::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--rbsubheading) 0%, transparent 60%);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    color: var(--rbwhite);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-text {
    color: var(--rbwhite);
    font-size: 16px;
    line-height: 1.8;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--rblight);
    border-radius: 4px;
    font-size: 18px;
}

.footer-social a:hover {
    background-color: var(--rbsubheading);
    color: var(--rbwhite);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--rblight);
    font-size: 15px;
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.footer-links a i {
    font-size: 10px;
    margin-right: 12px;
    color: var(--rbsubheading);
    opacity: 1;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--rbwhite);
    opacity: 1;
    transform: translateX(5px);
}

.footer-links a:hover i {
    color: var(--rbwhite);
}

/* Contact Info Items */
.contact-item {
    align-items: flex-start;
}

.contact-icon {
    color: var(--rbwhite);
    font-size: 1.1rem;
    margin-top: 2px;
}

.contact-details h6 {
    color: var(--rbwhite);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--rblight);
    font-size: 14px;
    opacity: 0.7;
}

/* Newsletter Section */
@media (min-width: 992px) {
    .newsletter-col {
        position: relative;
    }

    .newsletter-col::before {
        content: '';
        position: absolute;
        top: -80px;
        bottom: -32px;
        left: 15px;
        width: 100vw;
        background-color: var(--rbsubheading);
        border-left: 2px solid var(--rbwhite);
        opacity: 0.2;
        z-index: -1;
    }
}

.newsletter-form .form-control {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.767);
    color: var(--rbwhite);
    height: 45px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
}

.newsletter-form .form-control::placeholder {
    color: var(--rblight);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: var(--rbsubheading);
}

.btn-subscribe {
    background: var(--rbsubheading);
    color: var(--rbwhite);
    height: 45px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: var(--rbgradient);
    color: var(--rbwhite);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: relative;
}

.copyright-text {
    color: var(--rblight);
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.copyright-text strong {
    color: var(--rbwhite);
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 991px) {
    .footer-bottom-links {
        display: inline-block;
    }

    .footer-bottom-links li {
        display: block;
        float: left;
        padding: 0 7px;
    }
}

@media (max-width: 767px) {
    .footer-bottom-links {
        justify-content: center;
        margin-top: 7px;
    }
}

.footer-bottom-links a {
    color: var(--rblight);
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom-links a:hover {
    color: var(--rbwhite);
    opacity: 1;
}

/* Scroll To Top Button */
.backToTopBtn {
    position: fixed;
    bottom: 55px;
    right: 5px;
    z-index: 9999;
    height: 50px;
    width: 50px;
    font-size: 20px;
    border: none;
    color: #fff;
    border-radius: 100%;
    transition: 0.5s;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: var(--rbsubheading);
    border: 1px solid #fff;
}

.backToTopBtn:hover {
    background: var(--rbheading);
}

.backToTopBtn.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}