/* Color Palette */
:root {
    --primary-blue: #e81b1c;
    --white: #FFFFFF;
    --light-gray: #e5eff6;
    --dark-gray: #333333;
    --accent-blue: #e81b1c;

.footer-links {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 3px 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-widget .contact-info {
    margin-top: 20px;
    text-align: center;
}

.contact-itemm {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.contact-itemm i {
    margin-right: 10px;
    font-size: 1.2em;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.contact-itemm p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-itemm a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.contact-itemm a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-blue);
    color: var(--white);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .about-widget {
        grid-column: span 2;
    }
    
    .about-widget p {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-widget {
        grid-column: span 1;
    }
    
    .about-widget p {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .footer-widget {
        padding: 0;
    }
    
    .about-widget .footer-logo img {
        max-width: 150px;
    }
    
    .contact-itemm {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-itemm i {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
}
}

/* Footer Styles */
.main-footer {
    background-color: #040404;
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
}

.footer-top .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-widget {
    padding: 0 15px;
    text-align: center;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2em;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    text-align: center;
    display: inline-block;
}

.about-widget {
    text-align: center;
}

.about-widget .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.about-widget .footer-logo img {
    max-width: 180px;
    border-radius: 15px;
}

.about-widget p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9em;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}



/* Estilos para los botones flotantes de redes sociales */
.social-float-container {
    position: fixed;
    bottom: 20px;
    right: 13px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.social-float:hover {
    transform: scale(1.1);
}

.whatsapp-float {
    background-color: #25D366;
}

.facebook-float {
    background-color: #1877F2;
}

.instagram-float {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-float img {
    width: 40px;
    height: 40px;
}