/* Estilos generales */

body{
    background-color: #171a21;
}
p,h3,h4{
    color: #ffffff;
}
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
    background-color: #171a21;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

/* Sección de perfil mejorada */
.profile-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: #1b2838;
    border-radius: 20px;
}

.profile-image-container {
    flex-shrink: 0;
    position: relative;
    width: 250px;
    height: 250px;
}

.profile-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        rgba(37, 99, 235, 0.1),
        rgba(79, 70, 229, 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
}

.profile-image:hover::after {
    opacity: 1;
}

.profile-image:hover img {
    transform: scale(1.1);
}

.profile-content {
    flex: 1;
}

.profile-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Redes sociales */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon.linkedin {
    background-color: #0077b5;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon:hover {
    transform: translateY(-5px);
}

/* Certificaciones */
.certifications {
    margin: 60px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.cert-card {
    background: #1b2838;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.cert-card:hover {
    transform: translateY(-10px);
}

.cert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #3b82f6;
}

/* Por qué elegirnos */
.why-us {
    background: linear-gradient(145deg, #1b2838 0%, #1b3147 100%);
    padding: 40px;
    border-radius: 20px;
    margin-top: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #11998e;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.feature-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Media queries mejorados */
@media (max-width: 968px) {
    .profile-section {
        padding: 30px;
    }
    
    .profile-image-container {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .profile-image-container {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .profile-content {
        margin-top: 20px;
    }

    .social-links {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profile-image-container {
        width: 150px;
        height: 150px;
    }
    
    .profile-section {
        padding: 15px;
    }
}

/* Mejoras de accesibilidad */
:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 3px;
}

/* Efectos de hover suaves */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1200px) {
    .about-container {
        padding: 20px;
    }
}

@media screen and (max-width: 968px) {
    .profile-section {
        padding: 20px;
        flex-direction: column;
    }
    
    .profile-image-container {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .profile-section {
        text-align: center;
        padding: 15px;
    }
    
    .profile-image-container {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .profile-content {
        margin-top: 20px;
    }

    .social-links {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .profile-image-container {
        width: 150px;
        height: 150px;
    }
    
    .profile-section {
        padding: 10px;
    }

    .profile-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .social-icon {
        width: 30px;
        height: 30px;
    }
}