/* Footer Base Styles */
.footer {
    position: relative;
    background: linear-gradient(420deg, #6f26cf 0%, #ffffff 100%);
    color: #fff;
    padding: 80px 0 30px;
    overflow: hidden;
}

/* Animated Waves */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave {
    position: absolute;
    width: 200%;
    height: 60px;
    animation: wave 10s linear infinite;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(255, 255, 255, 0.1)'/%3E%3C/svg%3E");
    background-size: 1200px 100%;
}

.wave1 { opacity: 0.15; }
.wave2 { opacity: 0.1; animation-delay: -2s; top: 10px; }
.wave3 { opacity: 0.05; animation-delay: -4s; top: 20px; }

@keyframes wave {
    0% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
    100% { transform: translateX(-50%); }
}

/* Footer Content */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* Section Titles */
.section-title {
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #64b5f6;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group textarea + label {
    top: 20px;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #64b5f6;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -20px;
    left: 0;
    font-size: 14px;
    color: #64b5f6;
}

/* Submit Button */
.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: #64b5f6;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.submit-button:hover {
    background: #d9c4f4;
    /* background: #1e88e5; */
    transform: translateY(-2px);
}

.button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

/* Quick Links */
.quick-links {
    list-style: none;
    padding: 0;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.link-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.link-item:hover {
    color: #64b5f6;
    transform: translateX(10px);
}

.link-item:hover .link-icon {
    transform: rotate(90deg);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgb(255, 255, 255);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 20px;
    }
}

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

.contact-section,
.links-section {
    animation: fadeInUp 0.6s ease-out forwards;
}