/* Footer Positioning */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.footer-modern {
    flex-shrink: 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    margin-top: auto;
    position: relative;
    overflow: hidden;
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Footer Background Pattern */
.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.copyright-section {
    background-color: #151515;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 10;
}

/* Footer Styling */
.main-footer {
    padding: 80px 0 50px;
    position: relative;
    z-index: 2;
}

.footer-title {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    font-family: 'Cairo', sans-serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 20px;
}

.footer-links li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links li:hover::before {
    opacity: 1;
}

.footer-links a {
    color: #94a3b8 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3b82f6 !important;
    transform: translateX(-8px);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Brand Colors */
.social-links a:has(.fa-facebook-f) {
    color: #1877F2;
}

.social-links a:has(.fa-facebook-f):hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
    color: #ffffff;
    transform: translateY(-5px);
}

.social-links a:has(.fa-twitter) {
    color: #1DA1F2;
}

.social-links a:has(.fa-twitter):hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4);
    color: #ffffff;
    transform: translateY(-5px);
}

.social-links a:has(.fa-instagram) {
    color: #E4405F;
}

.social-links a:has(.fa-instagram):hover {
    background: linear-gradient(135deg, #833AB4 0%, #E4405F 50%, #F77737 100%);
    border-color: #E4405F;
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4);
    color: #ffffff;
    transform: translateY(-5px);
}

.social-links a:has(.fa-linkedin-in) {
    color: #0A66C2;
}

.social-links a:has(.fa-linkedin-in):hover {
    background: #0A66C2;
    border-color: #0A66C2;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.4);
    color: #ffffff;
    transform: translateY(-5px);
}

.social-links a:has(.fa-youtube) {
    color: #FF0000;
}

.social-links a:has(.fa-youtube):hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
    color: #ffffff;
    transform: translateY(-5px);
}

.footer-newsletter .input-group {
    display: flex;
    gap: 12px;
    border-radius: 0;
}

.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 0;
    font-size: 0.95rem;
    flex: 1;
}

.footer-newsletter .form-control::placeholder {
    color: #94a3b8;
}

.footer-newsletter .form-control:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.footer-newsletter .btn {
    padding: 14px 30px;
    border-radius: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-newsletter .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.app-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-badges a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-badges a:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.app-badges img {
    display: block;
    height: 40px;
    transition: transform 0.3s ease;
    filter: brightness(1.1);
}

/* Copyright Section */
.copyright-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.copyright-section p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.copyright-section a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.copyright-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.copyright-section a:hover {
    color: #3b82f6 !important;
}

.copyright-section a:hover::after {
    width: 100%;
}

/* Footer About Section Enhancements */
.footer-about {
    padding-right: 20px;
}

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

.footer-logo i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.footer-logo h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 10px;
    letter-spacing: -0.02em;
}

.footer-about p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Trust Indicators */
.footer-trust-badges {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    /* background: rgba(255, 255, 255, 0.12); */
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 1rem;
    color: #3b82f6;
}

/* Payment Methods */
.payment-methods {
    margin-top: 25px;
}

.payment-methods h6 {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-icon {
    width: 50px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.payment-icon i {
    font-size: 1.2rem;
    color: #94a3b8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-footer {
        padding: 50px 0 30px;
    }

    .footer-title {
        margin-top: 2rem;
        font-size: 1.2rem;
    }

    .footer-about {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .copyright-section {
        text-align: center;
    }

    .copyright-section .text-end {
        text-align: center !important;
        margin-top: 1rem;
    }

    .copyright-section .list-inline {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
}
