﻿
/* Footer Section */
.footer-section {
    position: relative;
    background: #0f0f23;
    color: #ffffff;
    overflow: hidden;
}

/* Floating Decorations */
.footer-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.05;
}

.footer-deco-1 {
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: #7c3aed;
    animation: footerFloat1 20s ease-in-out infinite;
}

.footer-deco-2 {
    bottom: 20%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: #3b82f6;
    animation: footerFloat2 18s ease-in-out infinite;
}

.footer-deco-3 {
    top: 50%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: #7c3aed;
    animation: footerFloat3 22s ease-in-out infinite;
}

@@keyframes footerFloat1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(50px, -50px) rotate(180deg);
    }
}

@@keyframes footerFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-60px, 60px) rotate(-180deg);
    }
}

@@keyframes footerFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.2);
    }
}

/* Main Footer */
.footer-main {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 50px;
}

/* Footer Column */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #7c3aed;
    border-radius: 12px;
    animation: footerLogoPulse 3s ease-in-out infinite;
}

    .footer-logo-icon i {
        font-size: 28px;
        color: #ffffff;
    }

@@keyframes footerLogoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.6);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(124, 58, 237, 0);
    }
}

.footer-logo-text {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: #a0a0b8;
    margin-bottom: 24px;
}

    .footer-description strong {
        color: #7c3aed;
        font-weight: 700;
    }

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .footer-social-link:hover {
        background: #7c3aed;
        color: #ffffff;
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
    }

    .footer-social-link i {
        font-size: 20px;
    }

/* Footer Title */
.footer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.2);
}

    .footer-title i {
        font-size: 20px;
        color: #7c3aed;
    }

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0a0b8;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

    .footer-link i {
        font-size: 12px;
        color: #7c3aed;
        transition: transform 0.3s ease;
    }

    .footer-link:hover {
        color: #7c3aed;
        padding-left: 8px;
    }

        .footer-link:hover i {
            transform: translateX(4px);
        }

/* Contact Items */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
}

    .footer-contact-item > i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(124, 58, 237, 0.1);
        color: #7c3aed;
        border-radius: 10px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .footer-contact-item div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

.footer-contact-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-contact-item a,
.footer-contact-item span:not(.footer-contact-label) {
    color: #a0a0b8;
    font-size: 15px;
    transition: color 0.3s ease;
}

    .footer-contact-item a:hover {
        color: #7c3aed;
    }

/* Trust Badges */
.footer-trust-badges {
    margin-top: 8px;
}

.footer-trust-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.footer-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.footer-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .footer-badge:hover {
        background: rgba(124, 58, 237, 0.2);
        transform: translateY(-3px);
    }

    .footer-badge i {
        font-size: 22px;
        color: #7c3aed;
    }

    .footer-badge span {
        font-size: 11px;
        color: #a0a0b8;
        font-weight: 600;
    }

/* Newsletter Section */
.footer-newsletter {
    position: relative;
    z-index: 2;
    padding: 50px 0;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.footer-newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.footer-newsletter-info {
    display: flex;
    gap: 20px;
    flex: 1;
}

.footer-newsletter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #7c3aed;
    border-radius: 50%;
    flex-shrink: 0;
    animation: footerNewsletterPulse 2s ease-in-out infinite;
}

    .footer-newsletter-icon i {
        font-size: 32px;
        color: #ffffff;
    }

@@keyframes footerNewsletterPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(124, 58, 237, 0);
    }
}

.footer-newsletter-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.footer-newsletter-text p {
    font-size: 15px;
    color: #a0a0b8;
    margin: 0;
    line-height: 1.6;
}

.footer-newsletter-text strong {
    color: #7c3aed;
}

.footer-newsletter-form {
    flex: 1;
    max-width: 550px;
}

.footer-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    padding: 6px;
    transition: all 0.3s ease;
}

    .footer-input-group:focus-within {
        border-color: #7c3aed;
        background: rgba(255, 255, 255, 0.08);
    }

    .footer-input-group > i {
        position: absolute;
        left: 24px;
        font-size: 18px;
        color: #7c3aed;
    }

    .footer-input-group input {
        flex: 1;
        padding: 16px 20px 16px 52px;
        background: transparent;
        border: none;
        outline: none;
        color: #ffffff;
        font-size: 15px;
    }

        .footer-input-group input::placeholder {
            color: #6b7280;
        }

.footer-subscribe-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #7c3aed;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .footer-subscribe-btn:hover {
        background: #6d28d9;
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
    }

    .footer-subscribe-btn i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .footer-subscribe-btn:hover i {
        transform: translateX(4px);
    }

.footer-newsletter-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
    color: #6b7280;
}

    .footer-newsletter-note i {
        font-size: 14px;
        color: #10b981;
    }

/* SEO Keywords Section */
.footer-seo-keywords {
    position: relative;
    z-index: 2;
    padding: 50px 0;
}

.footer-keywords-content {
    text-align: center;
}

.footer-keywords-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.footer-keywords-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer-keyword-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .footer-keyword-tag:hover {
        background: #7c3aed;
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    }

/* Bottom Bar */
.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-copyright p {
    font-size: 14px;
    color: #a0a0b8;
    margin: 0;
}

.footer-copyright strong {
    color: #7c3aed;
    font-weight: 700;
}

.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-payment-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
}

.footer-payment-icons {
    display: flex;
    gap: 12px;
}

    .footer-payment-icons i {
        font-size: 24px;
        color: #a0a0b8;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .footer-payment-icons i:hover {
            color: #7c3aed;
            transform: scale(1.15);
        }

/* Scroll to Top Button */
.footer-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #7c3aed;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

    .footer-scroll-top.footer-visible {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .footer-scroll-top:hover {
        background: #6d28d9;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    }

    .footer-scroll-top i {
        animation: footerArrowBounce 1.5s ease-in-out infinite;
    }

@@keyframes footerArrowBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@@media (max-width: 992px) {
    .footer-main {
        padding: 60px 0 40px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-newsletter-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-newsletter-form {
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@@media (max-width: 768px) {
    .footer-main {
        padding: 50px 0 30px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-newsletter {
        padding: 40px 0;
    }

    .footer-newsletter-content {
        padding: 30px 20px;
    }

    .footer-newsletter-text h3 {
        font-size: 20px;
    }

    .footer-seo-keywords {
        padding: 40px 0;
    }

    .footer-badges-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@@media (max-width: 576px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-main {
        padding: 40px 0 30px 0;
    }

    .footer-logo-text {
        font-size: 22px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-social {
        gap: 8px;
    }

    .footer-social-link {
        width: 38px;
        height: 38px;
    }

        .footer-social-link i {
            font-size: 18px;
        }

    .footer-title {
        font-size: 16px;
    }

    .footer-newsletter-icon {
        width: 60px;
        height: 60px;
    }

        .footer-newsletter-icon i {
            font-size: 28px;
        }

    .footer-newsletter-text h3 {
        font-size: 18px;
    }

    .footer-newsletter-text p {
        font-size: 14px;
    }

    .footer-input-group input {
        font-size: 14px;
        padding: 14px 16px 14px 48px;
    }

    .footer-subscribe-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .footer-keywords-tags {
        gap: 8px;
    }

    .footer-keyword-tag {
        padding: 8px 16px;
        font-size: 13px;
    }

    .footer-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-copyright p {
        font-size: 13px;
    }

    .footer-payment-icons i {
        font-size: 20px;
    }
}

.footer-newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-newsletter-info {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.footer-newsletter-icon {
    font-size: 48px;
    color: #e94560;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.footer-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .footer-input-group:focus-within {
        box-shadow: 0 6px 25px rgba(233, 69, 96, 0.3);
        transform: translateY(-2px);
    }

    .footer-input-group > .bi-envelope-fill {
        position: absolute;
        left: 20px;
        color: #999;
        font-size: 18px;
        transition: color 0.3s ease;
    }

    .footer-input-group:focus-within > .bi-envelope-fill {
        color: #e94560;
    }

    .footer-input-group input {
        flex: 1;
        border: none;
        outline: none;
        padding: 15px 20px 15px 50px;
        font-size: 16px;
        border-radius: 50px;
        background: transparent;
    }

.footer-subscribe-btn {
    background: linear-gradient(135deg, #e94560 0%, #ff6b9d 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .footer-subscribe-btn:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    }

    .footer-subscribe-btn .btn-icon {
        transition: transform 0.3s ease;
    }

    .footer-subscribe-btn:hover .btn-icon {
        transform: translateX(5px);
    }

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer-newsletter-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
    padding-left: 10px;
}

.alert-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

    .alert-message.show {
        opacity: 1;
        transform: translateY(0);
    }

    .alert-message.success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .alert-message.error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-newsletter-content > * {
    animation: slideIn 0.6s ease backwards;
}

.footer-newsletter-info {
    animation-delay: 0.1s;
}

.footer-newsletter-form {
    animation-delay: 0.2s;
}



