body {
    font-family: "Poppins", sans-serif;
    background: #eef1f7;
    margin: 0;
    padding: 0;
}
header {
    background: url('logo/fondo.jpg') center center/cover no-repeat; width: 100%;
    width: 100%;
    height: 250px;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    font-family: Georgia;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    
}
header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
     bckground: rgba(25, 71, 101, 0.351); /* Semi-transparent overlay */
    z-index: 1;
}
header > * {
    position: relative;
    z-index: 2;
}

.header-content{ width: 70%;text-align: center;
}

.logo-container{
    width: 20%;
    text-align: center;
    
}

.logo{ width: 120px;}

nav {
    background: rgb(13, 27, 42);
    padding: 1rem 0;
    text-align: center;
}

nav a:hover{ color: yellow;}

nav a {
    color: #fff;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
}
.container {
    max-width: 900px;
    margin: 2rem auto;
   
    padding: 2rem;
    border-radius: 8px;
    
}
h1{
    color: #fefefe;
    font-family: "Rajdhani", sans-serif;
    font-size: 80px;
    animation: brillar 1s infinite alternate;
    
}


@keyframes brillar {
  from { opacity: 1; }
  to { opacity: 0.7; }
}

h3 {
    color: yellow;
    font-family: "Rajdhani", sans-serif;
}

h2 {
    color: #ffffff;
    font-family: 'Archivo Black', sans-serif;
    text-align: center;
    font-size: 29px;
}


#servicios, #contacto , #nosotros{

    background-color: rgb(0, 166, 251);
    border-radius: 20px;
    color: white;
    text-align: center;
    
}

.bloques{
    padding: 18px;
    text-align:justify;
    color: #444;
   
}


section{
    padding: 5px;
    margin-top: 30px;
    
}





P{ font-family: "Poppins", sans-serif;
color: #e5e5e5;
}

footer {
    background: #1e3d59;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}
.btn {
    background: rgb(13, 27, 42);
    color: #fcfcfc;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
    margin-bottom: 2%;
}

.btn:hover {
    color: black;
    background-color: yellow;
}


#amabtn{
    color: yellow;
}

.borde{
    margin: 6px;
    color: #ffffff;
    font-weight: bold;
}


.porque{
    background-color: #ffb400;
    width: 100px;
}

/* FUENTES */

.rajdhani-bold {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* FUENTES */




#centrado{
    display: flex;
    flex-direction: column;      /* Opcional: apila verticalmente */
    align-items: center;         /* Centra horizontalmente */
    justify-content: center; 
    
}


  
        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            max-width: 800px;
            margin: 0px, 40px,40px,40px;
            padding: 10px;
        
        }

        .cuadros{
            color: black;
            text-align: center;
        }

        h4{
            text-align: center;
            margin-bottom: 1px;
            font-family:"Rajdhani", sans-serif;;
            font-size: 45px;
            color: #1976d2;
        }
         h5{
            text-align: center;
            margin-bottom: 10px;
            font-family:"Rajdhani", sans-serif;;
            font-size: 30px;
            color: #1976d2;
        }


        .feature-block {
            background: #faf6f6;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.07);
            padding: 28px 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .feature-block .material-icons {
            font-size: 48px;
            color: #1976d2;
            margin-bottom: 12px;
        }
        .feature-block h3 {
            margin: 10px 0 8px 0;
            font-family: 'Rajdhani', sans-serif;
            font-size: 1.3em;
        }
        .feature-block p {
            font-family: 'Poppins', sans-serif;
            color: #444;
            font-size: 1em;
        }
       
        
        











.whatsapp-float {
    position: fixed;
    width: 66px;
    height: 66px;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}
.whatsapp-float:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    background: #20ba5a;
}
.whatsapp-float img {
    width: 32px;
    height: 32px;
}



.tel-float {
    position: fixed;
    width: 66px;
    height: 66px;
    bottom: 99px;
    right: 24px;
    z-index: 1000;
    background:#00bfff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: flex-start;

    transition: box-shadow 0.2s;
}

.bloques{
    color: #444;
}










/* Ajusta el header y el logo para que sean responsivos */

@media (max-width: 700px) {
    header {
        background: url('logo/6.png') center center/cover no-repeat; width: 100%;
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        text-align: center;
        
    }
    .logo-container,
    .header-content {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
        
    }
    .logo {
        width: 120px;
        margin-bottom: 10px;
        
        margin-left: 60%;
    }
    h1 {
        font-size: 60px;
        text-align: start;
        margin-left: 10px;
        margin-top: 181px;
    }

    h3 {
        font-size: 25px;
        text-align: start;
        margin-left: 10px;
    }

    .borde {
        font-size: 18px;
        text-align: start;
        margin-left: 10px;
    }

.header-content h1,
.header-content h3,
.header-content p {
    margin-bottom: 38%;          /* Elimina el margen por defecto */
    line-height: 1;    /* Ajusta el interlineado, puedes probar con 1 o 1.1 si quieres aún más juntos */
}

.header-content h1 {
    margin-bottom: 0px;  /* Espacio pequeño debajo del h1 */
}

.header-content h3 {
    margin-bottom: 0px;  /* Espacio pequeño debajo del h3 */
}

/* 4 bloques */





/* whastapp */
/* Agrega esto a tu CSS */
.whatsapp-float {
    position: fixed;
    width: 66px;
    height: 66px;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}
.whatsapp-float:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    background: #20ba5a;
}
.whatsapp-float img {
    width: 32px;
    height: 32px;
}







.carousel-wrapper {
  background: #faf6f6;
  border-radius: 20px;
  padding: 8px;
  margin: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
  scroll-snap-align: center;
  border-radius: 10px;
  object-fit: cover;
  transition: opacity 0.6s ease; /* transiciones suaves */
}

.carousel-dots {
  text-align: center;
  margin-top: 10px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  border: none;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots button.active {
  background-color: #333;
}

/* Ocultar scrollbar */
.carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}














.container section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.container section.visible {
  opacity: 1;
  transform: translateY(0);
}


.tio-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;}

.tio-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s linear;
  padding: 10px; 
}

.tioimg {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  border-radius: 20px;
  object-fit: cover;
}




.feature-block {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.feature-block.visible {
  opacity: 1;
  transform: translateY(0);
}


.header-content, .logo-container {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}

.header-content.visible, .logo-container.visible {
  opacity: 1;
  transform: translateY(0);
}


}