/* Footer Styling */
.footer {
    position: relative;
    background-color: #111827;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Footer Top Section */
.footer-top {
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(106, 17, 203, 0.1), transparent 70%),
                radial-gradient(circle at bottom left, rgba(37, 117, 252, 0.1), transparent 70%);
    z-index: 0;
}

.footer-logo img {
    max-height: 45px;
    margin-bottom: 15px;
}

.footer p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    font-size: 1.1rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
    font-size: 0.85rem;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #2575fc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-links a:hover::before {
    left: 5px;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.footer-contact li i {
    color: #2575fc;
    margin-right: 12px;
    margin-top: 3px;
    font-size: 0.9rem;
}

.footer-contact li span {
    font-size: 0.85rem;
}

.newsletter h6 {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-control {
    border: none;
    padding: 10px 15px;
    background-color: #1e293b;
    color: #fff;
    border-radius: 50px 0 0 50px;
    font-size: 0.85rem;
}

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

.newsletter-form .form-control:focus {
    box-shadow: none;
    background-color: #1e293b;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    border: none;
}

.newsletter-form .btn:hover {
    opacity: 0.9;
}

/* Footer Bottom Section */
.footer-bottom {
    background-color: #0f172a;
    padding: 15px 0;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-bottom-links li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-links li a:hover {
    color: #fff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .footer-top {
        padding: 40px 0 25px;
    }
    
    .footer-heading {
        margin-top: 25px;
        margin-bottom: 15px;
        font-size: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 12px;
        gap: 12px;
        font-size: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-contact li {
        margin-bottom: 8px;
    }
    
    .footer-contact li span {
        font-size: 0.8rem;
    }
    
    .newsletter h6 {
        font-size: 0.85rem;
    }
    
    .newsletter-form .form-control {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 46px;
    height: 46px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 24px;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    color: #fff;
    background: #20c15c;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 767.98px) {
    .whatsapp-btn {
        width: 40px;
        height: 40px;
        left: 20px;
        bottom: 20px;
    }
    
    .whatsapp-btn i {
        font-size: 20px;
    }
}