:root {
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Footer */
.footer-new {
    background: linear-gradient(135deg, #0F0F1B, #1A1A2E);
    color: #FFFFFF;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6C63FF, #FF6584);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: #FFFFFF;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: #6C63FF;
    border-radius: 3px;
}

.footer-column p {
    color: #ADB5BD;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

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

.footer-links a {
    color: #ADB5BD;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -5px;
    opacity: 0;
    transition: var(--transition);
    color: #6C63FF;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    left: 0;
    opacity: 1;
}

/* Contact Info */
/* .contact-info {
    margin-top: 1rem;
} */

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #ADB5BD;
}

.contact-item i {
    margin-right: 0.75rem;
    color: #6C63FF;
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-item span {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--transition);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #6C63FF, #4D44DB);
    opacity: 0;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link:hover::after {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Newsletter */
.newsletter {
    margin-top: 1.5rem;
}

.newsletter p {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.newsletter-input {
    flex: 1;
    min-width: 140px;
    padding: 0.85rem 1.25rem;
    border-radius: 50px 0 0 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 0.95rem;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: #ADB5BD;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px #A5A1FF;
}

.newsletter-btn {
    padding: 10px;
    border-radius: 0 50px 50px 0;
    border: none;
    background: #6C63FF;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.newsletter-btn:hover {
    background: #4D44DB;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ADB5BD;
    font-size: 0.85rem;
}

.copyright a {
    color: #A5A1FF;
    text-decoration: none;
    transition: var(--transition);
}

.copyright a:hover {
    color: #6C63FF;
    text-decoration: underline;
}

/* Go Top Button */
.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #6C63FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.go-top.show {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    background: #4D44DB;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeIn 0.6s ease forwards;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-new {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }

    .newsletter-input {
        border-radius: 50px;
    }

    .newsletter-btn {
        border-radius: 50px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column h3::after {
        width: 40px;
    }
}
