/* ================================================== */
/* Footer New Styles */
/* ================================================== */

.footer-new {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    overflow: hidden;
}

.footer-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, #ffffff 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.footer-main-new {
    position: relative;
    z-index: 2;
    padding: 80px 0 50px;
}

.footer-logo-center {
    text-align: center;
}

.footer-logo-new {
    margin-bottom: 1.5rem;
}

.logo-footer-new {
    max-height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-footer-new:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-description-new {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-social-new {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link-new {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-new:hover {
    background: var(--primary-color, #007bff) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.footer-widget-new {
    margin-bottom: 30px;
}

.widget-title-new {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title-new span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color, #007bff);
    border-radius: 2px;
}

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

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

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

.footer-links-new a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.footer-links-new a:hover {
    color: var(--primary-color, #007bff) !important;
}

html[dir="ltr"] .footer-links-new a:hover,
[dir="ltr"] .footer-links-new a:hover {
    padding-left: 5px;
}

html[dir="rtl"] .footer-links-new a:hover,
[dir="rtl"] .footer-links-new a:hover {
    padding-right: 5px;
}

html[dir="ltr"] .footer-links-new a:hover i,
[dir="ltr"] .footer-links-new a:hover i {
    transform: translateX(5px);
}

html[dir="rtl"] .footer-links-new a:hover i,
[dir="rtl"] .footer-links-new a:hover i {
    transform: translateX(-5px);
}

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

.contact-item-new {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon-new {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, rgba(0, 123, 255, 0.8) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item-new:hover .contact-icon-new {
    transform: scale(1.1) rotate(5deg);
}

.contact-content-new {
    flex-grow: 1;
}

.contact-label-new {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-value-new {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 1.6;
    word-break: break-word;
}

.contact-value-new:hover {
    color: var(--primary-color, #007bff) !important;
}

.footer-bottom-new {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-new,
.footer-credits-new {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-credits-new a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits-new a:hover {
    color: #ffffff !important;
}

.footer-credits-new .fa-heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* RTL Support */
html[dir="rtl"] .widget-title-new span,
[dir="rtl"] .widget-title-new span {
    left: auto;
    right: 0;
}

html[dir="rtl"] .contact-item-new,
[dir="rtl"] .contact-item-new {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-main-new .row,
[dir="rtl"] .footer-main-new .row {
    flex-direction: row-reverse;
}

.footer-content-row {
    flex-direction: row;
}

html[dir="rtl"] .footer-content-row,
[dir="rtl"] .footer-content-row {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-main-new {
        padding: 60px 0 40px !important;
    }
    
    .footer-widget-new {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .footer-main-new {
        padding: 50px 0 30px !important;
    }
    
    .footer-logo-center {
        margin-bottom: 40px;
    }
    
    .footer-bottom-new {
        text-align: center !important;
    }
    
    .footer-bottom-new .col-md-6 {
        text-align: center !important;
    }
    
    .footer-bottom-new .col-md-6:last-child {
        margin-top: 10px;
    }
    
    .widget-title-new {
        font-size: 16px !important;
    }
    
    .contact-item-new {
        margin-bottom: 15px !important;
    }
    
    .footer-main-new .row {
        flex-direction: column !important;
    }
}

.footer-bottom-row {
    flex-direction: row;
}

html[dir="rtl"] .footer-bottom-row,
[dir="rtl"] .footer-bottom-row {
    flex-direction: row-reverse;
}

.footer-credits-wrapper {
    text-align: right;
}

html[dir="rtl"] .footer-credits-wrapper,
[dir="rtl"] .footer-credits-wrapper {
    text-align: left;
}

