.footer {
    position: relative;
    width: 100%;
    background-color: #292e32;
    padding: 80px 0 40px;
    overflow: hidden;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 120px;
    margin-bottom: 60px;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-logo-image {
    height: 40px;
}

.logo-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.brand-name {
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 0.24px;
    line-height: normal;
}

.brand-description {
    max-width: 220px;
    opacity: 0.5;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.14px;
    line-height: 24px;
}

/* Social Media */
.social-media {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #ffffff;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 72px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.column-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 20px;
    letter-spacing: 0.2px;
    line-height: normal;
    white-space: nowrap;
}

.link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-link {
    opacity: 0.8;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.16px;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    opacity: 1;
    color: #6b00c7;
    transform: translateX(5px);
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: #5e0da3;
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 10px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
}

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

.footer-copyright p {
    opacity: 0.6;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.14px;
    line-height: normal;
}

/* Background Elements */
.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
}

.bg-blur-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #6b00c7, #5e0da3);
    top: -20%;
    left: -10%;
    animation: float 8s ease-in-out infinite;
}

.bg-blur-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(225deg, #5e0da3, #340061);
    bottom: -20%;
    right: -5%;
    animation: float 10s ease-in-out infinite reverse;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-up-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-up-delay-3 {
    animation-delay: 0.6s;
}

.fade-in-up-delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        gap: 80px;
    }

    .footer-links {
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .footer-logo-image {
        display: block;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .brand-description {
        max-width: none;
        margin: 0 auto;
    }

    .social-media {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-container {
        padding: 0 16px;
    }

    .footer-content {
        gap: 50px;
        margin-bottom: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column {
        gap: 24px;
    }

    .link-list {
        gap: 16px;
    }

    .column-title {
        font-size: 18px;
    }

    .footer-link {
        font-size: 15px;
    }

    .social-media {
        gap: 16px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 50px 0 25px;
    }

    .brand-name {
        font-size: 20px;
    }

    .brand-description {
        font-size: 13px;
        line-height: 20px;
    }

    .column-title {
        font-size: 16px;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .social-link,
    .footer-link,
    .logo-icon,
    .bg-blur {
        animation: none;
        transition: none;
    }

    .social-link:hover,
    .footer-link:hover,
    .logo-icon:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {

    .brand-description,
    .footer-link,
    .footer-copyright p {
        opacity: 1;
    }

    .footer-divider {
        background: rgba(255, 255, 255, 0.5);
    }
}

/* Focus styles for accessibility */
.social-link:focus,
.footer-link:focus {
    outline: 2px solid #5e0da3;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .footer-bg {
        display: none;
    }

    .footer {
        background-color: #000;
        color: #fff;
    }

    .social-media {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .footer {
        background-color: #1a1a1a;
    }
}

/* Loading animation */
.footer-loading {
    opacity: 0;
    animation: footerLoad 1s ease forwards;
}

@keyframes footerLoad {
    to {
        opacity: 1;
    }
}

/* Hover effects for columns */
.footer-column:hover .column-title {
    /* color: #5e0da3; */
    transition: color 0.3s ease;
}

.footer-column:hover .footer-link {
    opacity: 1;
}

/* Interactive brand logo */
.brand-logo:hover .brand-name {
    color: #5e0da3;
    transition: color 0.3s ease;
}