
/* Attractive Footer Styles */
.qpoint-footer-main {
    position: relative;
    background-color: #2A6373;
    color: #fff;
    overflow: hidden;
    direction: rtl;
}

.qpoint-footer-wave {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.qpoint-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.qpoint-footer-content {
    position: relative;
    padding: 60px 0 40px;
    z-index: 2;
}

/* Branding Section */
.qpoint-footer-branding {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qpoint-footer-logo {
    margin-bottom: 20px;
}

.qpoint-footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.qpoint-footer-description {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Links Section */
.qpoint-footer-links-section {
    margin-bottom: 40px;
    text-align: center;
}

.qpoint-footer-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
    color: white;
}

.qpoint-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #4BB5C1;
    border-radius: 2px;
    margin: 0 auto;
}

.qpoint-footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}

.qpoint-footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
}

.qpoint-footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #4BB5C1;
    transition: all 0.3s ease;
}

.qpoint-footer-link:hover {
    color: #fff;
}

.qpoint-footer-link:hover::after {
    width: 100%;
}

/* Contact and Social Section */
.qpoint-footer-contact-social {
    text-align: center;
    margin-bottom: 30px;
}

.qpoint-contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0 30px;
}

.qpoint-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    direction: ltr; /* email/phone are LTR values — keep them rendering correctly */
}

.qpoint-contact-item i {
    font-size: 20px;
    color: #4BB5C1;
}

.qpoint-contact-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Social Media Section */
.qpoint-social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.qpoint-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.qpoint-social-icon:hover {
    background-color: #4BB5C1;
    transform: translateY(-5px) scale(1.05);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Bottom Section */
.qpoint-footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.qpoint-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.qpoint-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.qpoint-designer-credit a {
    color: #4BB5C1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.qpoint-designer-credit a:hover {
    color: white;
}

.qpoint-legal-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.qpoint-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.qpoint-legal-link:hover {
    color: #4BB5C1;
}

.qpoint-separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

/* Back to Top Button */
.qpoint-back-to-top {
    position: fixed;
    bottom: 90px; /* sits above the floating appointment button */
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #4BB5C1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.qpoint-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.qpoint-back-to-top:hover {
    background-color: #2A6373;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .qpoint-footer-content {
        padding: 40px 0 30px;
    }
    
    .qpoint-copyright-row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .qpoint-legal-links {
        justify-content: center;
    }
    
    .qpoint-footer-logo img {
        height: 50px;
    }
    
    .qpoint-footer-description {
        font-size: 1rem;
    }
    
    .qpoint-footer-title {
        font-size: 1.3rem;
    }
    
    .qpoint-contact-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .qpoint-contact-item {
        font-size: 1rem;
        padding: 10px 18px;
    }
    
    .qpoint-social-icons {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .qpoint-social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
