/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
}

/* Header */
header {
    background-color: #003366;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex; /* Alinea el logo y el texto en la misma línea */
    align-items: center; /* Centra verticalmente */
}

.logo img {
    height: 100px; /* Tamaño reducido del logo */
    width: auto; /* Mantiene la proporción */
    margin-right: 10px; /* Espacio entre el logo y el texto */
}

.logo h1 {
    margin: 0; /* Elimina cualquier margen extra */
    color: white;
    font-size: 1.5rem;
    white-space: nowrap; /* Evita que se divida en dos líneas */
}

.logo h1 a {
    text-decoration: none; /* Elimina el subrayado */
    color: inherit; /* Mantiene el color del texto */
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #00b4d8;
}

/* **************************************************** Carousel **************************************************** */

.carousel {
    height: 100vh;
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 180, 216, 0.7)),
                url('../img/carousel/transformacion.jpg') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.carousel-content {
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.carousel h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.carousel p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #003366 0%, #00b4d8 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: backwards;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    gap: 20px;
    background: linear-gradient(135deg, #002244 0%, #0099b4 100%);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de partículas (opcional) */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel h2 {
        font-size: 2.5rem;
    }
    
    .carousel p {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel h2 {
        font-size: 2rem;
    }
    
    .carousel p {
        font-size: 1rem;
    }
}

/* ****************************************************  Sección Nosotros **************************************************** */

.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-bar {
    width: 80px;
    height: 4px;
    background: #00b4d8;
    margin: 1.5rem 0;
    border-radius: 2px;
}

.lead-text {
    font-size: 1.4rem;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 1.5rem;
    color: #00b4d8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #003366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #002244;
    gap: 15px;
}

.about-media {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    transform: rotate(-2deg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #00b4d8;
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,180,216,0.3);
}

.experience-badge span {
    font-size: 1.8rem;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-media {
        width: 100%;
    }
    
    .experience-badge {
        bottom: -20px;
        right: -20px;
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1.5rem;
    }
    
    .main-image {
        height: 400px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }
    
    .experience-badge span {
        font-size: 1.4rem;
    }
    
    .experience-badge small {
        font-size: 0.8rem;
    }
}


/* **************************************************** Servicios **************************************************** */

.section {
    padding: 4rem 2rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #003366;
    font-size: 2.5rem;
}

.section h2 i {
    margin-right: 10px;
    color: #00b4d8;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service:hover {
    transform: translateY(-5px);
}

.service img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.service h3 {
    margin: 1rem 0;
    font-size: 1.3rem;
}

.service h3 a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s;
}

.service h3 a:hover {
    color: #00b4d8;
}

.view-more {
    display: inline-block;
    margin-top: 1rem;
    color: #00b4d8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.view-more:hover {
    color: #003366;
}

.view-more i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.view-more:hover i {
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .service img {
        height: 150px;
    }
}


/* ****************************************************Contacto **************************************************** */

.contact {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.contact-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    padding: 2rem;
}

.contact-form {
    flex: 1;
    padding-right: 2rem;
    border-right: 2px solid #eee;
}

.contact-form h2,
.contact-info h2 {
    color: #003366;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-form h2 i,
.contact-info h2 i {
    margin-right: 10px;
    color: #00b4d8;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 600;
}

.form-group span {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #003366;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.2);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #003366;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #002244;
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* **************************************************** Información de contacto **************************************************** */
.contact-info {
    flex: 0 0 350px;
    padding-left: 2rem;
}

.info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #eee;
}

.info-box p {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #444;
    line-height: 1.6;
}

.icon {
    font-size: 1.2rem;
    color: #00b4d8;
    min-width: 25px;
}

.social-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.social-container h3 {
    color: #003366;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-icon.instagram { background: #E1306C; }
.social-icon.whatsapp { background: #25D366; }
.social-icon.linkedin { background: #0077B5; }

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .contact-form {
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid #eee;
        padding-bottom: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex: 1;
        padding-left: 0;
    }
}

/* **************************************************** Sección Partners **************************************************** */
.partners-section {
    padding: 5rem 2rem;
    background: #ffffff;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.partners-section h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.partners-section h2 i {
    color: #00b4d8;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.partner-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.partner-card img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .partner-card {
        height: 120px;
        padding: 1rem;
    }
    
    .partner-card img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* **************************************************** WhatsApp **************************************************** */
.whatsapp-link {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* **************************************************** Footer **************************************************** */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 1.5rem;
}

/* **************************************************** Estilos específicos para los enlaces de features **************************************************** */
.feature-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 100%;
}

.feature-link:hover {
    color: inherit !important;
}


/* Responsive */
@media (max-width: 768px) {
    .about-content,
    .contact-container {
        flex-direction: column;
    }
    
    nav {
        display: none;
    }
}