.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: relative;
}

/* Main Footer */
.footer-main {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col {
    padding: 0 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.footer-logo .logo-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: all 0.3s ease;
    z-index: 1;
}

.social-link:hover::before {
    left: 0;
}

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

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Specific social colors on hover */
.social-link:nth-child(1):hover i { color: #1877F2; } /* Facebook */
.social-link:nth-child(2):hover i { color: #1DA1F2; } /* Twitter */
.social-link:nth-child(3):hover i { color: #0077B5; } /* LinkedIn */
.social-link:nth-child(4):hover i { color: #E4405F; } /* Instagram */
.social-link:nth-child(5):hover i { color: #EA4C89; } /* Dribbble */
.social-link:nth-child(6):hover i { color: #181717; } /* GitHub */

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    color: white;
    transform: translateX(3px);
}

.footer-contact {
    list-style: none;
    margin-bottom: 30px;
}

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

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
 
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 60px;
    margin-left: 800px;
    margin-right: 50px;
    margin-bottom: 30px;
    margin-top : 10px;
    
}

.newsletter-section h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form .input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-newsletter {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright #currentYear {
    color: var(--primary);
    font-weight: 600;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal a:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -15px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-payment span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 12px;
}

.payment-methods i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-methods i:hover {
    color: white;
    transform: translateY(-2px);
}

/* Back to Top Button (Mobile) */
.footer-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.footer-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.footer-back-to-top.visible {
    display: flex;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-left: 5px solid rgba(0, 0, 0, 0.8);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Live Chat Indicator */
.live-chat-indicator {
    position: fixed;
    bottom: 180px;
    right: 40px;
   background: rgba(255, 255, 255, 0.2);
   
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: grey;
    z-index: 998;
    animation: pulse 2s infinite;
}

.chat-dot {
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(90, 110, 98, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        padding: 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-legal a:not(:last-child)::after {
        display: none;
    }
    
    .footer-payment {
        flex-direction: column;
        gap: 10px;
    }
    
    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .live-chat-indicator {
        bottom: 90px;
        right: 30px;
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .footer-back-to-top {
        display: flex;
        bottom: 30px;
        right: 30px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .btn-newsletter {
        width: 100%;
        height: 45px;
    }
}
/* Form States */
.form-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.form-success i {
    color: #28a745;
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.form-success h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.form-success p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.form-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.form-error i {
    color: #dc3545;
    font-size: 1.2rem;
}

.form-error span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}