  :root {
    --green-dark: rgb(13, 104, 48);
    --green-light: #0a8e41;
    --text-color: #1d0202;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-effect: translateY(-6px);
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: white;
}
      
        

.content-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    color: #020a05;
    text-align: center;
    margin-bottom: 25px;
}

/* Header y Navegación */
/* estilos.css */


/* --- Navbar --- */
.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
}



.title {
    font-size: 30px;
    margin: 10px 0 10px 20px;
}

.hamburger {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    display: block; /* ✅ Mostrar por defecto */
}

.ul-nav {
    display: none;
    list-style: none;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.ul-nav.show {
    display: flex;
}

.ul-nav li {
    margin: 10px 0;
    text-align: center;
}

.ul-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 22px;
}

.ul-nav a:hover {
    color: var(--green-light);
}

/* Sección Hero (Inicio) */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #eef3f0, #b8c5be);
    color: rgb(10, 3, 3);
    margin-bottom: 0; /* Ajuste para que se vea bien con el margen de content-section */
    border-radius: 0;
    box-shadow: none;
}

.hero-section p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Galería de Imágenes */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.gallery-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 10px;
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

/* Sección de Videos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
}

.video-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease;
    margin: 20px;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-item iframe {
    width: 100%;
    height: 250px; /* Ajusta la altura del iframe si es necesario */
    display: block;
}

.video-item p {
    padding: 10px;
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

        h1 {
            font-size: 2.2em; /* Título más grande */
            color: #2c3e50;
            margin-bottom: 20px;
            font-weight: 600; /* Más peso para el título */
        }

        p {
            font-size: 1.1em;
            line-height: 1.7;
            color: #555;
            margin-bottom: 15px;
        }

      

        .instructions {
            margin-top: 30px;
            font-size: 0.9em;
            color: #888;
        }
        .icono-google{
            border-radius: 20px;
            padding-right: 5px;
        }

       .h1, h2 {
            text-align: center;
            color: #333;
        }
       


/* Footer */
 .footer-nosotros{
    background-color: #110101;
    color: white;
    text-align: center;
    padding-left: 20px;
    padding-bottom: 30px;
    
}

footer p {
    margin-bottom: 15px;
    font-size: 0.9em;
}

#backToTop {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

#backToTop:hover {
    background-color: #5a6268;
}
   /* --- Responsive para Tablet y Desktop (a partir de 651px) --- */
@media screen and (min-width: 651px) {
    .navbar {
        justify-content: space-between;
    }
.hamburger {
        display: none;
    }
   

    .title {
        margin-right: auto;
        margin-left: 20px;
        font-size: 40px;
    }

  
    .ul-nav {
        display: flex !important;
        flex-direction: row;
        width: auto;
    }

    .ul-nav li {
        margin: 10px 20px;
    }

    .carousel {
        height: 460px;
    }
    
    .container-card {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 50px;
        justify-content: center;
    }

    .card {
        max-width: 22rem; 
    }
    

    .container-permiso {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    .permiso, .requisitos {
        width: 45%;
    }

    .container-servicios {
        height: 450px;
        padding-left: 50px;
    }
    
    .Servicios {
        width: 270px;
        height: 410px;
    }

    .video-item {
        height: 320px;
        display: contents;
       
    }

    .app-reviews-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 50px;
    }

    .contenedor-iconos {
        width: 250px;
    }

    .review-container {
        width: 480px;
    }
    
    .footer-container {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: auto;
    }

    .footer-column {
        flex: 1;
        min-width: 200px;
        margin: 10px;
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }
}
