/* Footer Styles */
.footer-main {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.footer-content {
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #ecf0f1;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: #3498db;
}

.footer-logo i {
    font-size: 2rem;
    margin-right: 12px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.newsletter-section {
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
    color: #3498db;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.newsletter-subtitle {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    border: none;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    background: #fff;
    box-shadow: none;
    border-color: transparent;
}

.newsletter-input::placeholder {
    color: #7f8c8d;
}

.newsletter-btn {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border: none;
    color: white;
    padding: 12px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.newsletter-btn:hover {
    background: linear-gradient(45deg, #2ecc71, #3498db);
    transform: scale(1.05);
}

.footer-column {
    height: 100%;
}

.footer-column-title {
    color: #ecf0f1;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: #3498db;
    padding-left: 8px;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
    left: -8px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0;
}

.contact-icon {
    color: #3498db;
    font-size: 1.1rem;
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.contact-details {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #bdc3c7;
}

.contact-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3498db;
}

.social-media {
    margin-top: 30px;
}

.social-title {
    color: #ecf0f1;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.social-link i {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.social-link.facebook {
    background: rgba(59, 89, 152, 0.2);
    color: #3b5998;
    border: 1px solid rgba(59, 89, 152, 0.3);
}

.social-link.facebook::before {
    background: #3b5998;
}

.social-link.facebook:hover {
    color: white;
    transform: translateY(-3px);
}

.social-link.facebook:hover::before {
    transform: scale(1);
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.2);
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.3);
}

.social-link.instagram::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.instagram:hover {
    color: white;
    transform: translateY(-3px);
}

.social-link.instagram:hover::before {
    transform: scale(1);
}

.social-link.twitter {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
    border: 1px solid rgba(29, 161, 242, 0.3);
}

.social-link.twitter::before {
    background: #1da1f2;
}

.social-link.twitter:hover {
    color: white;
    transform: translateY(-3px);
}

.social-link.twitter:hover::before {
    transform: scale(1);
}

.social-link.youtube {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.social-link.youtube::before {
    background: #ff0000;
}

.social-link.youtube:hover {
    color: white;
    transform: translateY(-3px);
}

.social-link.youtube:hover::before {
    transform: scale(1);
}

.social-link.linkedin {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
    border: 1px solid rgba(0, 119, 181, 0.3);
}

.social-link.linkedin::before {
    background: #0077b5;
}

.social-link.linkedin:hover {
    color: white;
    transform: translateY(-3px);
}

.social-link.linkedin:hover::before {
    transform: scale(1);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin: 0;
}

.copyright p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-legal {
    text-align: right;
}

.legal-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #3498db;
}

.separator {
    color: #7f8c8d;
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        padding: 60px 0 30px;
    }
    
    .footer-brand {
        margin-bottom: 30px;
    }
    
    .newsletter-section {
        margin-top: 30px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-logo i {
        font-size: 1.7rem;
    }
    
    .footer-column-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-legal {
        text-align: center;
        margin-top: 20px;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        padding: 50px 0 25px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        border-radius: 0 0 25px 25px;
    }
    
    .newsletter-input {
        border-radius: 25px 25px 0 0;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .legal-link {
        display: block;
        margin-bottom: 10px;
    }
    
    .separator {
        display: none;
    }
}