/* --- Main Footer --- */
.recilens-main-footer {
    padding: 40px 5%;
    background-color: #04040c;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.recilens-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.recilens-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recilens-footer-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e0e0ff;
    font-size: 1.5rem;
    font-weight: 600;
}
.recilens-footer-logo {
    height: 50px;
    width: 50px;
}

/* --- Social Icons --- */
.recilens-footer-social-icons {
    display: flex;
    gap: 10px;
}
.recilens-social-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #a0a0c0;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.recilens-social-icon:hover {
    color: #fff;
    transform: translateY(-3px);
}
.recilens-social-icon[data-tooltip="Facebook"]:hover { background-color: #1877F2; }
.recilens-social-icon[data-tooltip="Twitter"]:hover { background-color: #1DA1F2; }
.recilens-social-icon[data-tooltip="LinkedIn"]:hover { background-color: #0A66C2; }
.recilens-social-icon[data-tooltip="Instagram"]:hover { background-color: #E4405F; }
.recilens-social-icon[data-tooltip="WhatsApp"]:hover { background-color: #25D366; }
.recilens-social-icon[data-tooltip="Telegram"]:hover { background-color: #0088cc; }
.recilens-social-icon[data-tooltip="Pinterest"]:hover { background-color: #E60023; }

/* --- Footer Middle --- */
.recilens-footer-middle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}
.recilens-footer-column {
    color: #a0a0c0;
}
.recilens-footer-column-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e0e0ff;
    margin-bottom: 15px;
}
.recilens-footer-links {
    list-style: none;
    padding: 0;
}
.recilens-footer-link {
    color: #a0a0c0;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}
.recilens-footer-link:hover {
    color: #4a69ff;
    text-decoration: underline;
}

/* --- Footer Bottom --- */
.recilens-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #a0a0c0;
    font-size: 0.9rem;
    gap: 15px;
}
.trustpilot-widget {
    flex: 1 1 100%;
    margin-bottom: 10px;
}
.recilens-ratings {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.recilens-rating-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #a0a0c0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.recilens-rating-link:hover {
    color: #4a69ff;
    transform: scale(1.05);
}
.recilens-rating-link svg {
    width: 24px;
    height: 24px;
}
.recilens-rating-link:hover svg {
    fill: #4a69ff;
}
.recilens-copyright-text {
    flex: 1 1 100%;
    text-align: center;
    margin: 10px 0;
    color: #a0a0c0;
}
.recilens-rating-icon{
    width: 300px !important;
    height: 130px !important;
}
.recilens-rating-icon-1{
    width: 200px !important;
    height: 130px !important;
}
.recilens-rating-icon-2{
    width: 200px !important;
    height: 150px !important;
}
.recilens-footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.recilens-legal-link {
    color: #a0a0c0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.recilens-legal-link:hover {
    color: #4a69ff;
    text-decoration: underline;
}

/* --- Back to Top Button --- */
.recilens-back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px !important; /* Changed from right to left */
    width: 50px;
    height: 50px;
    background-color: #4a69ff;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(74, 105, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.recilens-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.recilens-back-to-top:hover {
    background-color: #3759d9;
}

/* --- Legal Modal --- */
.recilens-legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.recilens-legal-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.recilens-legal-modal-content {
    background: #101026;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.recilens-legal-modal-overlay.visible .recilens-legal-modal-content {
    transform: scale(1);
}
.recilens-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #a0a0c0;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}
.recilens-modal-close-btn:hover {
    color: #4a69ff;
}
.recilens-modal-close-btn svg { width: 24px; height: 24px; }
.recilens-modal-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #e0e0ff;
}
.recilens-modal-body {
    color: #a0a0c0;
    line-height: 1.7;
}
.recilens-modal-body h3 {
    color: #e0e0ff;
    margin-top: 20px;
    margin-bottom: 10px;
}
.recilens-modal-body p {
    margin-bottom: 15px;
}

/* --- Responsive Design --- */
/* Mobile-S (320px - 479px) */
@media (max-width: 479px) {
    .recilens-footer-top, .recilens-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .recilens-footer-middle {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .recilens-footer-logo-area { flex-direction: column; }
    .recilens-footer-logo { height: 40px; width: 40px; }
    .recilens-footer-social-icons { justify-content: center; }
    .recilens-social-icon { width: 30px; height: 30px; font-size: 0.9rem; }
    .recilens-footer-column-title { font-size: 1rem; }
    .recilens-footer-link, .recilens-rating-link { font-size: 0.8rem; margin-bottom: 8px; }
    .recilens-back-to-top { bottom: 15px; right: 15px; width: 40px; height: 40px; }
    .trustpilot-widget { margin-bottom: 5px; }
    .recilens-ratings { flex-direction: column; gap: 10px; }
}


/* Mobile-M (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
    .recilens-footer-middle { grid-template-columns: 1fr; gap: 25px; }
    .recilens-footer-logo { height: 45px; width: 45px; }
.recilens-social-icon { width: 35px; height: 35px; }
.recilens-footer-column-title { font-size: 1.1rem; }
.recilens-footer-link, .recilens-rating-link { font-size: 0.85rem; margin-bottom: 8px; }
}
/* Mobile-L (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
.recilens-footer-middle { grid-template-columns: 1fr 1fr; gap: 30px; }
.recilens-footer-logo { height: 50px; width: 50px; }
.recilens-social-icon { width: 40px; height: 40px; }
.recilens-footer-column-title { font-size: 1.15rem; }
}
/* Tablet (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
.recilens-footer-middle { grid-template-columns: repeat(3, 1fr); gap: 30px; }
.recilens-footer-top { flex-direction: column; gap: 20px; }
.recilens-footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
.recilens-footer-legal-links, .recilens-ratings { justify-content: center; }
.recilens-footer-link, .recilens-rating-link { font-size: 0.9rem; margin-bottom: 10px; }
}
/* Laptop-S (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
.recilens-footer-middle { grid-template-columns: repeat(4, 1fr); gap: 30px; }
.recilens-footer-bottom { flex-wrap: nowrap; }
.trustpilot-widget { flex: 1 1 auto; }
.recilens-ratings { flex: 1 1 auto; }
}
/* Laptop-L (1440px - 2559px) */
@media (min-width: 1440px) and (max-width: 2559px) {
.recilens-footer-middle { grid-template-columns: repeat(5, 1fr); gap: 40px; }
.recilens-footer-link, .recilens-rating-link { font-size: 0.95rem; margin-bottom: 12px; }
.recilens-ratings { gap: 20px; }
}
/* 4K (2560px and above) */
@media (min-width: 2560px) {
.recilens-footer-container { max-width: 1400px; }
.recilens-footer-middle { grid-template-columns: repeat(6, 1fr); gap: 50px; }
.recilens-footer-logo { height: 60px; width: 60px; }
.recilens-footer-column-title { font-size: 1.3rem; }
.recilens-footer-link, .recilens-rating-link { font-size: 1rem; margin-bottom: 15px; }
.recilens-social-icon { width: 45px; height: 45px; font-size: 1.2rem; }
.trustpilot-widget { height: 60px; }
.recilens-ratings { gap: 25px; }
}