/**
 * Footer Styles
 * منصة الدورات التعليمية
 */

/* Footer Main Styles */
.footer-callto-action-area {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.footer-one-main-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-singl-wized {
    flex: 1;
    min-width: 250px;
}

.footer-singl-wized.left-logo {
    flex: 1.5;
}

.footer-singl-wized .head {
    margin-bottom: 20px;
}

.footer-singl-wized .head h6.title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-singl-wized .head h6.title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: #007bff;
}

.footer-singl-wized .body p.disc {
    margin-top: 15px;
    color: #6c757d;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #007bff;
    color: #fff;
}

/* Menu Links */
.footer-singl-wized .body ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-singl-wized .body ul.menu li {
    margin-bottom: 10px;
}

.footer-singl-wized .body ul.menu li a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-singl-wized .body ul.menu li a:hover {
    color: #007bff;
    transform: translateX(-5px);
}

.footer-singl-wized .body ul.menu li a i {
    margin-left: 8px;
}

/* Newsletter Form */
.input-area-fill {
    position: relative;
    margin-top: 15px;
}

.input-area-fill input {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
}

.input-area-fill button {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    border: none;
    background-color: #007bff;
    color: #fff;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-area-fill button:hover {
    background-color: #0056b3;
}

/* Contact Info */
.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
}

.contact-item i {
    margin-left: 10px;
    color: #007bff;
    width: 20px;
    text-align: center;
}

/* Copyright Section */
.copyright-area-one-border {
    border-top: 1px solid #eee;
    padding: 20px 0;
}

.copyright-area-one {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-area-one p {
    margin-bottom: 0;
    color: #6c757d;
}

.social-copyright ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.social-copyright ul li a {
    color: #555;
    transition: all 0.3s ease;
}

.social-copyright ul li a:hover {
    color: #007bff;
}

/* Back to Top Button */
.progress-wrap {
    position: fixed;
    left: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 123, 255, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    content: '↑';
    text-align: center;
    line-height: 46px;
    font-size: 20px;
    color: #007bff;
    right: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    opacity: 0.2;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #007bff;
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .footer-one-main-wrapper {
        flex-direction: column;
    }
    
    .footer-singl-wized {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .copyright-area-one {
        flex-direction: column;
        text-align: center;
    }
    
    .social-copyright {
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .footer-singl-wized .head {
        cursor: pointer;
        position: relative;
    }
    
    .footer-singl-wized .head:after {
        content: '+';
        position: absolute;
        left: 0;
        top: 0;
        font-size: 18px;
    }
    
    .footer-singl-wized .head.active:after {
        content: '-';
    }
    
    .footer-singl-wized .body {
        display: none;
    }
    
    .footer-singl-wized.left-logo .body {
        display: block;
    }
    
    .footer-singl-wized.input-area .body {
        display: block;
    }
}