.logoAvanza   {
    width: 200px; /* La imagen se ajusta al 100% del contenedor */
    height: 80px;
}

p {
    text-align: left;

}

.submit-btn {
    background: #c904a3;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}
.submit-btn:hover {
    background: #2980b9;
}

.titulo-enlace {
text-decoration: none;
color: inherit;
}

.titulo-enlace h3 {
color: #2c3e50;
margin: 0;
padding: 10px 0;
transition: color 0.3s ease;
}

.titulo-enlace:hover h3 {
color: #e74c3c;
}


:root {
--primary: #04636c;
--secondary: #c904a3;
--accent: #00a8e8;
--light: #f8f9fa;
--dark: #212529;
--success: #28a745;
--gray: #6c757d;
--light-gray: #e9ecef;
--transition: all 0.3s ease;
}

* {
padding: 0;
box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    color: #444;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}
        
h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}
        
h2:after {
    content: '';
    position:absolute ;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    transform: translate(1%);
}
        
.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}
        
section {
    padding: 80px 0;
}
        
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
        
.btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--secondary);
    color: white;
    border: 4px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}
        
.btn:hover {
    background: #14ea9b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(153, 4, 4, 0.1);
}
        
.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}
        
.btn-outline:hover {
    background: var(--secondary);
    color: white;
}
        
/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}
        
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
        
.logo {
    display: flex;
    align-items: center;
}
        
.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary);
}
        
.logo span {
    color: var(--accent);
}
        
nav ul {
    display: flex;
    list-style: none;
}
        
nav ul li {
    margin-left: 30px;
}
        
nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}
        
nav ul li a:hover {
    color: var(--secondary);
}
        
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
        }
/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(111, 160, 165, 0.9), rgba(4, 99, 108, 0.9)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 70px;
    }
        
.hero-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
.hero h1 {
            color: white;
            margin-bottom: 20px;
        }
        
.hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
        }
/* Slide*/

.carrusel {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 5px auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide-enlace {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.slide-enlace img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide-enlace:hover img {
    transform: scale(1.05);
}

.controles {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.boton {
    background: rgba(255,255,255,0.7);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
} 
/* Servicios */
.services {
            background: var(--light);
        }
        
.Sección-Servicios {
            text-align: center;
            margin-bottom: 60px;
        }
        
.Sección-Servicios p {
            max-width: 700px;
            margin: 0 auto;
            color:rgb(0, 0, 0);
            font-size: 25px;
            text-align: center;
        }
        
.services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
.service-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
}
        
.service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
.service-icon {
            background: var(--primary);
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }
        
        .service-content {
            padding: 30px;
        }
        
        .service-content h3 {
            margin-bottom: 15px;
        }
/* Boton sobresaliente de los servicios */
.titulo-servicios {
    background: linear-gradient(145deg, #6a11cb, #2575fc);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    position: relative;
    top: 0;
}

.titulo-servicios:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 25px rgba(0,0,0,0.4),
        0 6px 12px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
    top: -3px;
}

.titulo-servicios:active {
    transform: translateY(1px);
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Sobre Nosotros */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.Contenido-Nuestro h2 {
    margin-bottom: 20px;
    color:#04636c;
}


.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

/* Testimonios */
.testimonials {
    background: linear-gradient(rgba(56, 160, 173, 0.9), rgba(4, 99, 108, 0.9)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3') no-repeat center center/cover;
    color: white;
}

.Sección-testimonios h2 {
    color: white;
}
.Sección-testimonios p {
    font-size: 20px;
}


.testimonials h2:after {
    background: var(--accent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255, 255, 255);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    color: white;
    margin-bottom: 5px;
}

.client-details p {
    color: whitesmoke;
    font-size: 0.9rem;
}

/* Contacto */
h2 {
    text-align: center;
    margin: 0;
    margin-bottom: 10px;
}
form {
    background-color: var(--primary);
    padding: 50px 55px;
    border-radius: 20px;
    text-align: center;
    max-width: 1000px;
    margin: auto;
    box-shadow: 0px 0px 20px rgb(0, 0, 0);
}

form h2 {
    color: #ffffff;
    font-size: 45PX;
}

form p, input {
    color: whitesmoke;
    font-size: 20px;
    font-family:  'Montserrat', sans-serif;
}

.form-txt {
    display: flex;
    justify-content: space-between;
}

.form-txt a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 25px;
}

.form-txt a:hover {
    color: #c904a3;
}

.input-group {
    display: flex;
    flex-direction: column;
}



.formulario {
    padding: 20px;
    color: #212529;
}

.formulario_input {
    padding: 6px 20px;
    width: 100%;
    background:whitesmoke;
    color: black;
    margin: 10px;

}

label {
    padding: auto;
    text-align: left;
    margin: 1%;
    font-family: 'Montserrat', sans-serif;
    color: var(--light);
    font-size: large;

}

input, textarea, select {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 14px;
    margin-bottom: 25px;
    border: 0;
    border-left: 3px solid #04636c;
    box-shadow: 0px 0px 15px #0001;
    background-color: #c4e2d8;
    border-radius: 15px;
    font-size: 20px;
    color:var(--dark);
}

::placeholder {
    color: black;
    font-size: 20px;
}

:focus {
    outline: 1px solid #e008b2;
}

.submit-btn {
    letter-spacing: 2px;
    text-transform: uppercase;
    background:#c904a3;
    width: 50%;
    color: white;
    border-radius: 4%;
}

.checkbox {
    width: auto;
    height: 15px;
}
        
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
        
.contact-method {
    display: flex;
    margin-bottom: 30px;
}
        
.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}
        
.contact-details h4 {
    margin-bottom: 10px;
}
        
/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}
        
.footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
.footer-col h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.3rem;
        }
        
.footer-col p {
            color: #ffffff;
        }
        
.footer-links {
            list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    form {
        width: 100%;
    }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #fff;
        transition: left 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }}

.dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: #f8f9fa;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu::before {
    display: none;
}
.menu-toggle {
    display: block;
}
.nav-menu.active {
    left: 0;
}

.nav-item {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.nav-link {
    padding: 15px 20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #3498db;
    padding-left: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

/* Header y navegación */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    display: block;
}

.nav-link:hover {
    color: #3498db;
}
