/* Footer Styling */
.footer-section {
    background: linear-gradient(135deg, #0b0047 0%, #1f00a7 100%);
    color: white;
    margin-top: 80px;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-main .row {
    justify-content: space-between;
    align-items: flex-start;
}

.footer-main .col-lg-4 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-brand,
.footer-links,
.footer-contact {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer-brand-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.footer-brand-name {
    color: white;
    margin: 0;
    font-weight: 700;
}

.footer-brand-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    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;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #8fbc8f, transparent);
}

@media (max-width: 768px) {
    .footer-title::after {
        left: 0;
    }
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.footer-menu li {
    margin-bottom: 12px;
    position: relative;
}

.footer-menu li::before {
    content: '•';
    color: #8fbc8f;
    font-weight: bold;
    position: absolute;
    left: -20px;
    margin-right: 8px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: block;
    padding: 5px 0;
    padding-left: 20px;
}

.footer-menu a:hover {
    color: white;
    transform: translateX(5px);
    padding-left: 25px;
}

.contact-info {
    margin-top: 20px;
    flex-grow: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    width: 20px;
    color: #8fbc8f;
    margin-right: 15px;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-main .row {
        justify-content: flex-start;
    }

    .footer-main .col-lg-4 {
        text-align: left;
        margin-bottom: 30px;
    }

    .footer-menu li::before {
        display: block;
        left: -20px;
    }

    .footer-menu a {
        padding-left: 20px;
        text-align: left;
    }

    .footer-menu a:hover {
        padding-left: 25px;
        transform: translateX(5px);
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .contact-item {
        text-align: left;
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .contact-item i {
        margin-right: 15px;
        margin-bottom: 0;
        margin-top: 2px;
        font-size: 18px;
    }
}

/* Enhanced Social Media Styles */
.footer-social-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 200px;
}

/* Compact Social Media Layout */
.social-links-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link-compact {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    font-size: 13px;
}

.social-link i,
.social-link-compact i {
    width: 20px;
    font-size: 14px;
    margin-right: 8px;
    text-align: center;
}

.social-link span {
    font-size: 14px;
    font-weight: 500;
}

.social-link-compact span {
    font-size: 12px;
    font-weight: 500;
}

.social-link:hover,
.social-link-compact:hover {
    color: white;
    text-decoration: none;
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

/* Individual social media colors on hover */
.social-link.facebook:hover,
.social-link-compact.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.3);
}

.social-link.youtube:hover,
.social-link-compact.youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
}

.social-link.instagram:hover,
.social-link-compact.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.3);
}

.social-link.whatsapp:hover,
.social-link-compact.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
}

/* Mobile responsive for social links */
@media (max-width: 768px) {
    .social-links,
    .social-links-compact {
        gap: 6px;
    }
    
    .social-link,
    .social-link-compact {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .social-link i,
    .social-link-compact i {
        font-size: 12px;
        margin-right: 6px;
        width: 16px;
    }
    
    .social-link span,
    .social-link-compact span {
        font-size: 11px;
    }
    
    /* Stack contact and social vertically on mobile */
    #contact .row {
        flex-direction: column !important;
    }
    
    #contact .col-md-7,
    #contact .col-md-5 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    #contact .col-md-5 {
        margin-top: 20px;
    }
    
    .footer-social-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    /* Override the footer-social flex properties on mobile */
    .footer-social {
        display: block !important;
        margin-top: 0 !important;
    }
    
    .social-links-compact {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
}