/* Mejoras adicionales para dispositivos móviles */
@media (max-width: 768px) {
    .footer-logo-img {
        height: 50px;
    }
    
    .contact-form-container {
        padding: 0 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    /* Mejoras para elementos centrados */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding: 0 15px;
    }
    
    .floating-icons {
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .tech-icon {
        margin: 0 8px;
    }
    
    .interactive-text, .subtitle {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-links, .social-links {
        gap: 1rem;
    }
    
    .contact-section {
        padding: 2rem 5%;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    header, section, footer {
        padding: 2rem 5%;
        text-align: center;
    }
    
    .interactive-input {
        padding: 0.8rem;
    }
    
    .submit-button {
        width: 100%;
    }
    
    /* Ajustes para pantallas muy pequeñas */
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .floating-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tech-icon {
        margin: 5px;
        transform: none !important; /* Evitar animaciones que descuadren */
    }
    
    /* Arreglar altura de header en móvil */
    header {
        height: auto;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Asegurar que los servicios estén centrados */
    .service-grid {
        justify-content: center;
        margin: 0 auto;
    }
    
    /* Ajustar elementos de proyectos */
    .project-card {
        width: 100%;
    }
    
    /* Mejorar visualización de elementos principales */
    .logo-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        max-width: 80%;
        height: auto;
        margin: 0 auto;
    }
    
    /* Asegurar que los textos no se desborden */
    .highlight-text {
        display: inline-block;
    }
}
    
    /* Asegurar que los elementos estén centrados */
    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 40vh;
        padding-top: 2.5rem;
        padding-bottom: 1.5rem;
        width: 100%;
    }
    
    .hero-content, .service-grid, .project-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .tagline {
        text-align: center !important;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        width: 100%;
        color: #181c27;
        display: flex;
        align-items: center;
        justify-content: center;
    }

