/* Footer Mejorado */
.footer-enhanced {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-enhanced .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-main {
    padding-right: 1rem;
}

.footer-logo h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.footer-logo h3 i {
    color: #00d4ff;
}

.footer-tagline {
    color: #00d4ff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-enhanced .contact-info {
    margin: 1.5rem 0;
}

.footer-enhanced .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #e0e6ed;
}

.footer-enhanced .contact-item i {
    color: #00d4ff;
    width: 18px;
    text-align: center;
}

.footer-enhanced .contact-item a {
    color: #e0e6ed;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-enhanced .contact-item a:hover {
    color: #00d4ff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00d4ff;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.footer-enhanced .footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.footer-enhanced .footer-section h4 i {
    color: #00d4ff;
}

.footer-enhanced .footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-enhanced .footer-section li {
    margin-bottom: 0.6rem;
}

.footer-enhanced .footer-section a {
    color: #b8c5d1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-enhanced .footer-section a:hover {
    color: #00d4ff;
}

.newsletter-section p {
    color: #b8c5d1;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px 0 0 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: #b8c5d1;
}

.newsletter-btn {
    padding: 0.8rem 1rem;
    background: #00d4ff;
    border: none;
    border-radius: 0 6px 6px 0;
    color: #1a1a2e;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #00b8e6;
}

.certifications h5 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

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

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

.copyright p {
    color: #b8c5d1;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.copyright strong {
    color: #00d4ff;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #b8c5d1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-enhanced .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-main {
        grid-column: 1 / -1;
        margin-bottom: 1rem;
    }

    .newsletter-section {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-enhanced .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-enhanced {
        padding: 2rem 0 0;
    }

    .social-links {
        justify-content: center;
    }

    .cert-badges {
        justify-content: center;
    }
}

/* FIX: Layout Grid for Blog Page */
.blog-grid {
    display: grid;
