﻿/* Footer Styles */

:root {
    --primary-color: #00a19a;
    --secondary-color: #005f59;
    --light-gray: #f5f5f5;
    --white: #fff;
    --border-color: #ddd;
    --footer-bg: #00a19a;
    --footer-text: #fff;
    --footer-bottom-bg: #005f59;
}

/* Social Share Section */
.social-share-section {
    background-color: #FFFFFF;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.share-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--white);
    border-radius: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-share-wrap {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icon {
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon img {
    width: 24px;
    height: 24px;
}

.share-text {
    margin-left: 10px;
    font-weight: 600;
    color: #333;
}

.forum-stats {
    display: flex;
    align-items: center;
}

.followers-count, .forum-rating, .last-update {
    display: flex;
    align-items: center;
    margin-left: 25px;
    position: relative;
}

.followers-count::after, .forum-rating::after {
    content: '';
    height: 20px;
    width: 1px;
    background-color: #ddd;
    position: absolute;
    left: -12px;
}

.count-label, .rating-label {
    margin-left: 5px;
    font-weight: 500;
    color: #777;
}

.count-number {
    font-weight: 600;
    color: #333;
}

.rating-stars {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.rating-stars img {
    width: 18px;
    height: 18px;
    margin: 0 2px;
}

.update-icon {
    width: 18px;
    height: 18px;
    margin-left: 5px;
}

.update-text {
    color: #777;
    font-size: var(--font-sm);
}

/* Main Footer */
.main-footer {
    background: #158885;
    color: var(--footer-text);
    width: 100% !important;
    height: 250px !important;
    gap: 80px !important;
    padding-top: 60px !important;
    padding-right: 120px !important;
    padding-bottom: 60px !important;
    padding-left: 120px !important;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    gap: 80px;
}

.footer-content {
    margin-left: 117px !important;
}



.footer-column {
    flex: 1;
    margin: 0 15px;
}

.footer-title {
    font-family: 'Droid Arabic Kufi', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: right;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-text {
    font-family: 'Droid Arabic Kufi', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: right;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.contact-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    margin-bottom: 20px;
}

.footer-social-icon {
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.footer-social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.contact-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--white);
    color: #121212;
    width: 156px !important;
    height: 45px !important;
    gap: 6px !important;
    border-radius: 10px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    box-shadow: 0px 4px 9.8px 0px #00000040 !important;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    box-sizing: border-box;
    margin-top: 40px;
}

.contact-btn img {
    width: 20px !important;
    height: 20px !important;
    margin-left: 6px !important;
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--footer-bottom-bg);
    color: var(--white);
    width: 100% !important;
    height: 74px !important;
    gap: 8px !important;
    padding-top: 12px !important;
    padding-right: 590px !important;
    padding-bottom: 12px !important;
    padding-left: 590px !important;
    margin: 0 auto;
    box-sizing: border-box;
}

/* body.dark-contrast .copyright {
    background-color: #090909 !important;
}

body.dark-contrast .footer-bottom {
    background-color: #090909 !important;
}

body.dark-contrast .footer-bottom .container {
    background-color: #090909 !important;
}

body.dark-contrast .copyright-text {
    background-color: #090909 !important;
    color: #ffffff !important;
} */

/* body.dark-contrast .footer-bottom-links {
    background-color: #090909 !important;
} */

/* body.dark-contrast .footer-bottom-links a {
    background-color: #090909 !important;
    color: #ffffff !important;
} */

/* body.dark-contrast .main-footer {
    background-color: #090909 !important;
} */
.copyright {
    background-color: #00716E !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    width: 100% !important;
    display: flex !important
;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}


.copyright-row {
    width: 100% !important;
    display: flex !important
;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}


.footer-bottom .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.copyright-text {
    font-family: Almarai, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
}

.footer-bottom-links {
    white-space: nowrap;
}

.footer-bottom-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 5px;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    transition: opacity 0.3s;
}

.footer-bottom-links a:hover {
    opacity: 0.8;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Main Footer Tablet */
    .main-footer {
        width: 100% !important;
        height: auto !important;
        padding: 50px 40px !important;
        margin: 0 !important;
    }
    
    .footer-content {
        margin-left: 60px !important;
        gap: 40px !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }
    
    .footer-column {
        flex: 1 !important;
        min-width: 180px !important;
        max-width: 200px !important;
        margin-bottom: 20px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .footer-column.about-column {
        margin-left: 0 !important;
        flex: 1.2 !important;
    }
    
    /* Footer Bottom Tablet */
    .footer-bottom {
        width: 100% !important;
        height: auto !important;
        padding: 15px 40px !important;
        margin: 0 !important;
    }
    
    .footer-bottom .container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    .contact-btn {
        width: 140px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    
    .contact-btn img {
        width: 18px !important;
        height: 18px !important;
    }
    
    .footer-title {
        font-size: 22px !important;
        margin-bottom: 18px !important;
    }
    
    .footer-text {
        font-size: 13px !important;
        line-height: 140% !important;
    }
    
    .footer-links a {
        font-size: 13px !important;
    }
    
    .contact-item {
        font-size: 13px !important;
        line-height: 140% !important;
    }
    
    .footer-social-icon {
        width: 32px !important;
        height: 32px !important;
    }
    
    .footer-social-icon img {
        width: 18px !important;
        height: 18px !important;
    }
    
    .copyright-text {
        font-size: 13px !important;
    }
    
    .footer-bottom-links a {
        font-size: 13px !important;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .share-content, .footer-content, .footer-bottom .container {
        flex-direction: column;
    }
    
    .social-share-wrap, .followers-count, .forum-rating, .last-update {
        margin-bottom: 15px;
        justify-content: center;
    }
    
    /* Main Footer Mobile Layout */
    .main-footer {
        width: 100% !important;
        height: auto !important;
        padding: 40px 20px !important;
        margin: 0 !important;
    }
    
    .footer-content {
        margin-left: 0 !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 30px !important;
    }
    
    .footer-column {
        margin-bottom: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .footer-title {
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .footer-text {
        text-align: center !important;
    }
    
    .footer-links {
        text-align: center !important;
    }
    
    .contact-item {
        text-align: center !important;
    }
    
    .footer-social {
        justify-content: center !important;
        margin-bottom: 20px !important;
    }
    
    .contact-btn {
        margin-top: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
    }
    
    /* Footer Bottom Mobile */
    .footer-bottom {
        width: 100% !important;
        height: auto !important;
        padding: 20px !important;
        margin: 0 !important;
    }
    
    .footer-bottom .container {
        text-align: center !important;
        gap: 10px !important;
    }
    
    .copyright-text, .footer-bottom-links {
        margin-bottom: 0 !important;
        text-align: center !important;
    }
    
    /* Social Share Section Mobile */
    .social-share-section {
        padding: 20px !important;
        display: block !important;
    }
    
    .social-share-section > div {
        width: 350px !important;
        height: 50px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 15px !important;
        margin: 20px auto !important;
    }
    
    /* إخفاء عناصر التقييم وعدد الأصوات في الموبايل */
    .social-share-section > div > div:nth-child(2),
    .social-share-section > div > div:nth-child(3) {
        display: none !important;
    }
    
    /* تنسيق نص آخر تعديل في الموبايل */
    .social-share-section > div > div:first-child span {
        font-family: 'Droid Arabic Kufi', sans-serif !important;
        font-weight: 400 !important;
        font-size: 8.79px !important;
        line-height: 100% !important;
        letter-spacing: 0% !important;
        text-align: right !important;
    }
    
    /* تنسيق قسم شارك على في الموبايل */
    .social-share-section > div > div:last-child {
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
    }
    
    .social-share-section > div > div:last-child span {
        font-family: 'Droid Arabic Kufi', sans-serif !important;
        font-weight: 400 !important;
        font-size: 8.79px !important;
        line-height: 100% !important;
        letter-spacing: 0% !important;
        text-align: right !important;
        color: #00a19a !important;
        margin-right: 3px !important;
    }
    
    /* تحجيم أيقونات وسائل التواصل الاجتماعي في الموبايل */
    .social-share-section > div > div:last-child a img {
        width: 17.59px !important;
        height: 17.59px !important;
    }
}

/* إخفاء Social Share Section في الديسكتوب - معطل */
/* @media (min-width: 769px) {
    .social-share-section {
        display: none !important;
    }
} */

/* إخفاء السكرول بار في جميع العناصر */
* {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

*::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari and Opera */
}

html, body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    overflow-x: hidden !important;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none !important;
}

/* Responsive Design - Large Desktop */
@media (min-width: 1441px) {
    .main-footer {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .footer-bottom {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* Responsive Design - Small Desktop */
@media (max-width: 1440px) and (min-width: 1025px) {
    .main-footer {
        width: 100% !important;
        padding: 60px 80px !important;
    }
    
    .footer-content {
        margin-left: 80px !important;
        gap: 60px !important;
    }
    
    .footer-column {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .footer-column.about-column {
        margin-left: 0 !important;
    }
    
    .footer-bottom {
        width: 100% !important;
        padding: 12px 80px !important;
    }
    
    .footer-bottom .container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .contact-btn {
        font-size: 15px !important;
    }
    
    .contact-btn img {
        width: 19px !important;
        height: 19px !important;
    }
    
    .footer-title {
        font-size: 23px !important;
    }
    
    .footer-text {
        font-size: 13.5px !important;
    }
    
    .footer-links a {
        font-size: 13.5px !important;
    }
    
    .contact-item {
        font-size: 13.5px !important;
    }
    
    .footer-social-icon {
        width: 34px !important;
        height: 34px !important;
    }
    
    .footer-social-icon img {
        width: 19px !important;
        height: 19px !important;
    }
    
    .copyright-text {
        font-size: 13.5px !important;
    }
    
    .footer-bottom-links a {
        font-size: 13.5px !important;
    }
}

