/* Footer v3 - Premium Modern Design */

.custom-footer-v3 {
    background: linear-gradient(180deg, #1a1d2e 0%, #0f1419 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.custom-footer-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* === MAIN FOOTER CONTENT === */
.footer-v3-main {
    padding: 80px 0 60px;
    position: relative;
    z-index: 2;
}

.footer-v3-container {
    margin: 0 200px !important;
    width: unset;
    max-width: 100%;
}

/* === FOOTER GRID === */
.footer-v3-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 60px;
}

/* === FOOTER COLUMN === */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* === BRAND COLUMN === */
.footer-brand-v3 {
    gap: 20px;
}

.footer-logo-v3 {
    margin-bottom: 8px;
}

.logo-link-v3 {
    display: inline-block;
    text-decoration: none;
}

.footer-logo-image-v3 {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-link-v3:hover .footer-logo-image-v3 {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer-site-title-v3 {
    font-size: 28px;
    font-weight: 800;
    color: white;
    transition: color 0.3s ease;
}

.logo-link-v3:hover .footer-site-title-v3 {
    color: var(--footer-accent, #0066FF);
}

.footer-description-v3 {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Social Media Links */
.footer-social-v3 {
    display: flex;
    gap: 12px;
}

.social-link-v3 {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link-v3:hover {
    background: var(--footer-accent, #0066FF);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Specific hover colors */
.social-link-v3.facebook:hover {
    background: #1877F2;
}

.social-link-v3.twitter:hover {
    background: #1DA1F2;
}

.social-link-v3.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link-v3.youtube:hover {
    background: #FF0000;
}

/* === FOOTER LINKS === */
.footer-heading-v3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading-v3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--footer-accent, #0066FF);
    border-radius: 2px;
}

.footer-menu-v3 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu-v3 li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-menu-v3 li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--footer-accent, #0066FF);
    transition: width 0.3s ease;
}

.footer-menu-v3 li a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-menu-v3 li a:hover::before {
    width: 100%;
}

/* === PARTNERS SCROLL CONTAINER === */
.partners-scroll-container {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar styling */
.partners-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.partners-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.partners-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.partners-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--footer-accent, #0066FF);
}

/* Firefox scrollbar */
.partners-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

.partners-list {
    padding-right: 8px;
}

/* === NEWSLETTER === */
.newsletter-description-v3 {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.newsletter-form-v3 {
    margin-top: 20px;
}

.form-group-v3 {
    display: flex;
    gap: 8px;
}

.newsletter-input-v3 {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-input-v3::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input-v3:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--footer-accent, #0066FF);
}

.newsletter-submit-v3 {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--footer-accent, #0066FF);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.newsletter-submit-v3:hover {
    background: color-mix(in srgb, var(--footer-accent, #0066FF) 80%, white);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Legal Links */
.footer-legal-links-v3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 13px;
}

.footer-legal-links-v3 a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links-v3 a:hover {
    color: white;
}

.footer-legal-links-v3 .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* === FOOTER BOTTOM === */
.footer-v3-bottom {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom-content-v3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-copyright-v3,
.footer-tagline-v3 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.heart-icon {
    color: #FF4757;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

/* === RESPONSIVE === */

/* Large Tablet */
@media (max-width: 1024px) {
    .footer-v3-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }

    .footer-brand-v3 {
        grid-column: 1 / -1;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .footer-v3-main {
        padding: 60px 0 40px;
    }

    .footer-v3-container {
        padding: 0 20px;
        margin: 0!important;
    }

    .footer-v3-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand-v3 {
        grid-column: auto;
    }

    .footer-bottom-content-v3 {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-social-v3 {
        justify-content: center;
    }

    .footer-legal-links-v3 {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .footer-v3-main {
        padding: 48px 0 32px;
    }

    .footer-v3-container {
        padding: 0 16px;
    }

    .footer-v3-grid {
        gap: 32px;
    }

    .footer-logo-image-v3 {
        height: 32px;
    }

    .footer-description-v3 {
        font-size: 14px;
    }

    .footer-heading-v3 {
        font-size: 16px;
    }

    .footer-menu-v3 {
        gap: 10px;
    }

    .footer-menu-v3 li a {
        font-size: 14px;
    }

    .form-group-v3 {
        flex-direction: column;
    }

    .newsletter-submit-v3 {
        width: 100%;
    }

    .newsletter-submit-v3:hover {
        transform: translateY(-2px);
    }

    .footer-v3-bottom {
        padding: 24px 0;
    }

    .footer-copyright-v3,
    .footer-tagline-v3 {
        font-size: 13px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .social-link-v3,
    .footer-menu-v3 li a,
    .newsletter-submit-v3,
    .footer-logo-image-v3,
    .footer-site-title-v3 {
        transition: none;
    }

    .heart-icon {
        animation: none;
    }
}