/* Estilos base del header - Versión mejorada */
.main-header {
    background-color: #ffffff;
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo mejorado */
.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    height: 100%;
    text-align: left;
    margin-left: 10px;
    font-family: 'Montserrat', sans-serif;
    color: #2a4365;
    cursor: default;
    user-select: none;
}

.logo-acronym {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #3182ce;
    transition: color 0.3s ease;
}

.first-letter {
    color: #1a365d;
    font-size: 2.4rem;
}

.logo-full {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #4a5568;
    margin-top: -5px;
}

.logo-text:hover .logo-acronym {
    color: #2c5282;
}

.logo-text:hover .logo-full {
    color: #2d3748;
}

/* Versión para pantallas pequeñas */
@media (max-width: 768px) {
    .logo-acronym {
        font-size: 1.8rem;
    }
    
    .first-letter {
        font-size: 2rem;
    }
    
    .logo-full {
        font-size: 0.9rem;
    }
}

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Estilos de navegación */
.header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
}

.header-nav a {
    text-transform: lowercase;
    display: inline-block;
}

.header-nav a::first-letter {
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #3182ce;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.nav-link.active {
    color: #3182ce;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3182ce;
    border-radius: 2px;
}

/* Estilos de navegación móvil */
.mobile-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav .nav-item {
    margin-bottom: 15px;
}

.mobile-nav .nav-link {
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-nav .nav-link:hover {
    color: #3182ce;
    background-color: #f7fafc;
    border-radius: 8px;
}

.mobile-nav .nav-link.active {
    color: #3182ce;
}

/* Estilos de botones */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Poppins', sans-serif;
}

.cta-button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
    background-color: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
}

.cta-button.secondary:hover {
    background-color: rgba(49, 130, 206, 0.1);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #2d3748;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    color: #3182ce;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-list {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .cta-button span {
        display: none;
    }
    
    .cta-button {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .cta-button i {
        margin: 0;
    }
}

/* Responsive para pantallas menores a 992px */
@media (max-width: 992px) {
    .header-nav {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .cta-button {
        display: none;
    }
}



