/* ملف CSS للفوتر - إصلاح انتهاكات CSP */

/* تنسيقات الفوتر */
.footer-section {
    background-color: #2c3e50;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5rem;
}

/* تحسين الشعار الرئيسي */
.footer-logo img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-top {
    background-color: #2c3e50;
}

.footer-bottom {
    background-color: #1a252f;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 15px;
}

.footer-heading:before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--bs-primary);
    border-radius: 2px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links .icon {
    width: 1em;
    height: 1em;
    margin-left: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.social-icon:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: translateY(-3px);
}

/* تحسين أيقونات وسائل التواصل الاجتماعي */
.social-icon .icon {
    width: 1.2em;
    height: 1.2em;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: all 0.3s ease;
}

.social-icon:hover .icon {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    transform: scale(1.1);
}

.contact-item {
    display: flex;
    margin-bottom: 1rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--bs-primary);
}

.contact-text {
    flex: 1;
}

.contact-text h6 {
    color: white;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom .row {
    align-items: center;
}

.footer-bottom a {
    color: var(--bs-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

.copyright, .developer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.developer-link {
    color: var(--bs-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: white;
}

.text-light-gray {
    color: rgba(255, 255, 255, 0.5);
}

.footer-partner-logo img {
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 80px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-partner-logo img:hover {
    transform: scale(1.05);
    border-color: var(--bs-primary);
}

.map-link {
    display: inline-block;
    color: var(--bs-primary);
    font-size: 0.85rem;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.map-link:hover {
    color: white;
    transform: translateX(-5px);
}
