/* Enhanced Footer Styles with Animations */

/* Newsletter Section Animations */
.site-footer__newsletter {
    position: relative;
    overflow: hidden;
}

.site-footer__newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.site-footer__newsletter-inner {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

.site-footer__newsletter-title {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.site-footer__newsletter-content {
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.site-footer__newsletter-input input[type="email"] {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 12px 20px;
    color: #fff;
}

.site-footer__newsletter-input input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}

.site-footer__newsletter-input input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__newsletter-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.site-footer__newsletter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.site-footer__newsletter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.site-footer__newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Footer Top Section */
.site-footer__top {
    position: relative;
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
}

.site-footer__top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-widget {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

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

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

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

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

.footer-widget__title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.footer-widget__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #28a745);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.5s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 50px;
    }
}

/* Footer Links */
.footer-widget__services-list li,
.footer-widget__links-list li {
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.footer-widget__services-list li::before,
.footer-widget__links-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0d6efd;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-widget__services-list li:hover::before,
.footer-widget__links-list li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-widget__services-list li a,
.footer-widget__links-list li a {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-widget__services-list li:hover a,
.footer-widget__links-list li:hover a {
    transform: translateX(10px);
    color: #0d6efd;
}

/* Contact Info */
.footer-widget__contact-list li {
    transition: all 0.3s ease;
    padding: 10px 0;
}

.footer-widget__contact-list li:hover {
    transform: translateX(10px);
}

.footer-widget__contact-list li .icon {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    margin-right: 15px;
}

.footer-widget__contact-list li:hover .icon {
    background: rgba(13, 110, 253, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.footer-widget__contact-list li .icon span {
    font-size: 18px;
    color: #0d6efd;
}

.footer-widget__contact-list li p a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-widget__contact-list li p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: width 0.3s ease;
}

.footer-widget__contact-list li p a:hover::after {
    width: 100%;
}

/* Social Media Icons */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-icons a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.footer-social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #0d6efd, #28a745);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.footer-social-icons a:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social-icons a:hover {
    border-color: #0d6efd;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    color: #fff;
}

/* Footer Bottom */
.site-footer__bottom {
    position: relative;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.5), transparent);
}

.site-footer__bottom-inner {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.site-footer__copyright-text {
    transition: all 0.3s ease;
}

.site-footer__copyright-text a {
    position: relative;
    transition: all 0.3s ease;
}

.site-footer__copyright-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #28a745);
    transition: width 0.3s ease;
}

.site-footer__copyright-text a:hover::after {
    width: 100%;
}

.site-footer__copyright-text a:hover {
    color: #0d6efd;
}

.site-footer__bottom-menu li a {
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 10px;
}

.site-footer__bottom-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.site-footer__bottom-menu li a:hover::before {
    width: 100%;
}

.site-footer__bottom-menu li a:hover {
    color: #0d6efd;
    padding-left: 15px;
}

/* Scroll Animation */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-animate-on-scroll {
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 991px) {
    .site-footer__newsletter-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .site-footer__newsletter-title {
        font-size: 24px;
    }

    .footer-widget {
        margin-bottom: 40px;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .site-footer__bottom-menu {
        justify-content: center;
    }
}

/* Additional Enhancements */
.footer-widget__about-text {
    color: #ffffff !important;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget__about-logo img {
    transition: all 0.3s ease;
    filter: brightness(1);
}

.footer-widget__about-logo:hover img {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.footer-loading {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

