/* Asegurarse de que los elementos no se desborden */
*, *::before, *::after {
    box-sizing: border-box;
}


body {
    display:grid;
    grid-template-rows: 1fr 5rem auto;
    font-weight:500 ;
    background:#F5F7FA;
    min-height:100vh;
    font-family: 'Open Sans', sans-serif;
}

/* Header */

.navbar-text img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Header */

/* Navbar*/
.navbar{
    background-color: rgba(255, 255, 255, 0.801); /* Color de fondo semitransparente */
    transition: all 0.3s ease-in-out;
}

.nav-item {
    transition: background-color 0.3s ease, text-decoration 0.3s ease; /* Transición suave para el cambio de subrayado */
}
.nav-link {
    font-family: 'Montserrat', sans-serif; /* Cambia la fuente aquí */  
}
.nav-link:hover {
    color: #2bc3ff;
    background-color: transparent; /* Asegura que no haya fondo */
    text-decoration: underline; /* Subraya el texto */
    text-decoration-color: #2bc3ff; /* Color del subrayado */
    text-decoration-thickness: 2px; /* Grosor del subrayado */
}

@media (min-width: 600px) {

    .navbar-brand-main {
        opacity: 0;
        visibility: hidden;
        position: absolute;
    }

    .navbar.scrolled .navbar-brand-main {
        opacity: 1;
        visibility: visible;
        position: relative;
    }
    
}
/* Navbar*/


/*Dropdown*/

    /* Estilo para el dropdown */
.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


/* Encabezado de sección */
.dropdown-header {
    font-size: 1rem;
    font-weight: 700;
    color: #011d25;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Elementos del menú */
.dropdown-item {
    color: #333;
    font-size: 0.9rem;
    padding: 5px 10px;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #2bc3ff;
    background-color: transparent; /* Asegura que no haya fondo */
    text-decoration: underline; /* Subraya el texto */
    text-decoration-color: #2bc3ff; /* Color del subrayado */
    text-decoration-thickness: 2px; /* Grosor del subrayado */
}

/*Dropdown*/



/* Carousel */
#carouselExampleCaptions .carousel-item img {
    max-width: 100%;
    height: 500px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#carouselExampleCaptions .animate-caption {
    animation: fadeInUp 1s ease-in-out;
}

@media (max-width: 600px) {
    #carouselExampleCaptions .carousel-item img {
        height: 200px;
    }   
}
/* Carousel */


/* about */
#about {
    width: 100%;
    min-height: auto; /* Cambiado de 100vh a auto para eliminar el espacio excesivo */
    background: #f7f5f2;
    font-family: 'Roboto', sans-serif;
    padding: 60px 0; /* Agregado padding para mantener espaciado controlado */
}
#about .container {
    padding-top: 70px;
}
.heading {
    text-align: center;
    margin-bottom: 50px;
    color: black;
    font-size: 30px;
    font-weight: bold;
}
.heading span {
    color: #27e6ff;
}
#about .card {
    border-radius: 10px;
}
#about .card img {
    border-radius: 10px;
    height: 350px;
    width: 350px;
    margin: 0 auto;
}
#about-btn {
    width: 200px;
    height: 36px;
    background: transparent;
    border: 2px solid #27e6ff;
    color: #27e6ff;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.5s;
    cursor: pointer;
}
#about-btn:hover {
    background: #27e6ff;
    color: white;
}
@media screen and (max-width: 982px) {
    #about p {
        font-size: 8px;
    }
}
@media screen and (max-width: 766px) {
    #about p {
        font-size: 15px;
    }
    #about {
        min-height: auto; /* También cambiado en responsive */
        padding: 40px 0; /* Padding reducido para móviles */
    }
}

/* servicios */
#uniqueProductCarousel .carousel-item img {
    max-height: 300px; /* Altura máxima uniforme para las imágenes */
    object-fit: contain; /* Cambiar de 'cover' a 'contain' para mostrar toda la imagen */
    margin-bottom: 10px;
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    background-color: #f8f9fa; /* Fondo claro para imágenes con transparencia */
    padding: 10px; /* Espaciado interno para mejor presentación */
}

#uniqueProductCarousel .carousel-item p {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
    margin-top: 5px;
    text-align: center;
}

#uniqueProductCarousel .carousel-item .col-md-3,
#uniqueProductCarousel .carousel-item .col-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#uniqueProductCarousel h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}

#uniqueProductCarousel .carousel-control-prev-icon,
#uniqueProductCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    border-radius: 50%; /* Iconos redondeados */
}

#uniqueProductCarousel .carousel-control-prev-icon:hover,
#uniqueProductCarousel .carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Efecto al pasar el cursor */
}

/* Estilos responsivos para pantallas pequeñas */
@media (max-width: 576px) {
    #uniqueProductCarousel .carousel-item img {
        max-height: 200px; /* Aumentar un poco la altura en móviles */
        padding: 8px; /* Reducir padding en móviles */
    }

    #uniqueProductCarousel h2 {
        font-size: 1.5rem; /* Reducir tamaño del encabezado */
    }
}
  /* about */

/* div relleno */
.relleno {
    display: display;
}
@media (max-width: 600px) {
    .relleno {
        display: block;
    }
}
/* div relleno */


/* datos */

#statistics-section {
    text-align: center;
    padding: 50px 0;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

#statistics-section .stat-item {
    margin: 20px;
}

#statistics-section .stat-item h3 {
    font-size: 2rem;
    color: #2bc3ff;
    margin-bottom: 10px;
}


/* Clientes */

#clients-section {
    padding: 30px 0;
    text-align: center;
}

#clients-section img {
    max-height: 100px; /* Ajusta la altura máxima de las imágenes */
    margin: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

#clients-section img:hover {
    filter: grayscale(0);
}

@media (max-width: 576px) {
    #clients-section img {
        max-height: 80px; /* Ajusta la altura máxima de las imágenes en pantallas pequeñas */
        margin: 10px;
    }
}



.accordion-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap; /* Permitir apilado en pantallas pequeñas */
  }

  .accordion-item {
    flex: 1;
    margin: 10px;
    position: relative; /* Necesario para el contenido emergente */
    overflow: hidden;
    transition: flex 0.3s ease-in-out, transform 0.3s ease;
    background: #ffffff;
    border: 2px solid #27e6ff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 0; /* Evita desbordamientos en flex */
  }

  .accordion-item:hover {
    flex: 2;
    transform: scale(1.03);
    background: #d9f9ff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }

  .accordion-header {
    text-align: center;
    padding: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: #27e6ff;
    background: #ffffff;
    border-bottom: 2px solid #27e6ff;
    cursor: pointer;
  }

  .accordion-content {
    position: relative;
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
    opacity: 0;
  }

  .accordion-item:hover .accordion-content {
    max-height: 300px; /* Altura máxima permitida al expandirse */
    opacity: 1;
    padding: 1rem;
  }

  .accordion-content p {
    margin: 0;
    font-size: 1rem;
    color: #333333;
  }

  /* Diseño vertical en dispositivos pequeños */
  @media (max-width: 768px) {
    .accordion-horizontal {
      flex-direction: column; /* Apilar verticalmente */
      margin: 0; /* Evita desplazamiento horizontal */
    }

    .accordion-item {
      flex: unset;
      width: 95%;
      margin: 20px 0 0 5px;
    }
  }

    /* Acerca de nosotros */

  
  .about-section {
    background-color: #ffffff;
    padding: 50px 20px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .about-section h2 {
    color: #27e6ff;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #555555;
  }

  .about-section .highlight {
    color: #27e6ff;
    font-weight: bold;
  }

  /* Responsivo */
  @media (max-width: 768px) {
    .about-section {
      padding: 30px 15px;
    }

    .about-section h2 {
      font-size: 2rem;
    }

    .about-section p {
      font-size: 1rem;
    }
  }


/* Contactanos */
.contact-section {
      padding: 50px 20px;
    }

    .contact-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .contact-info div {
      flex: 1;
      text-align: center;
      margin: 10px;
    }

    .contact-info div h5 {
      color: #27e6ff;
      font-weight: bold;
    }

    .contact-info div p {
      font-size: 1rem;
      color: #555555;
    }

    .contact-form {
      background: #ffffff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .contact-form .form-control,
    .contact-form .btn {
      border-radius: 8px;
    }

    .contact-form .btn {
      background-color: #ff4747;
      color: white;
      font-weight: bold;
    }

    .contact-form .btn:hover {
      background-color: #e03c3c;
    }

    .map-container {
      height: 400px;
      border-radius: 12px;
      overflow: hidden;
    }

    /* Responsivo */
    @media (max-width: 768px) {
      .contact-info {
        flex-direction: column;
      }

      .map-container {
        margin-bottom: 20px;
      }
    }


    /* Sevicios */
    
   


/* footer */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Luckiest+Guy&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Paytone+One&family=Rammetto+One&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Luckiest+Guy&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Belleza&family=Comic+Neue:wght@400;700&family=Cormorant+Infant&family=Poppins&family=Sahitya:wght@700&family=Ubuntu&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

body
{
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to top, #03ffea 0%, #ffffff 30%);
}
.spectacledcoder-footer
{
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-bottom: 0px;
    width: 100%;
    height: 600px;
    background: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='margin:auto;background:rgba(221, 221, 221, 0);display:block;z-index:1;position:relative' width='3000' height='588' preserveAspectRatio='xMidYMid' viewBox='0 0 3000 588'><g transform='translate(1500,294) scale(-1,-1) translate(-1500,-294)'><linearGradient id='lg-0.9997820734103322' x1='0' x2='1' y1='0' y2='0'><stop stop-color='%23ffffff' offset='0'></stop><stop stop-color='%23ffffff' offset='1'></stop></linearGradient><path d='' fill='url(%23lg-0.9997820734103322)' opacity='0.37'><animate attributeName='d' dur='10s' repeatCount='indefinite' keyTimes='0;0.333;0.667;1' calcMode='spline' keySplines='0.5 0 0.5 1;0.5 0 0.5 1;0.5 0 0.5 1' begin='0s' values='M0 0L 0 558.9888918874962Q 300 557.9557135224538  600 520.7201791558826T 1200 493.0888623871913T 1800 448.04775521801616T 2400 442.32786157869174T 3000 400.5000938220193L 3000 0 Z;M0 0L 0 531.8219503412562Q 300 581.2367793971861  600 536.6456794845121T 1200 526.1199153747991T 1800 453.6567543549444T 2400 426.5449945053999T 3000 429.5661867072931L 3000 0 Z;M0 0L 0 572.7600127243211Q 300 599.6891402698932  600 560.6693012791557T 1200 514.6895687962055T 1800 485.3535117451038T 2400 447.8902433799051T 3000 454.9458231426154L 3000 0 Z;M0 0L 0 558.9888918874962Q 300 557.9557135224538  600 520.7201791558826T 1200 493.0888623871913T 1800 448.04775521801616T 2400 442.32786157869174T 3000 400.5000938220193L 3000 0 Z'></animate></path></g></svg>") no-repeat center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;

    
}
.spectacledcoder-footer-heading
{
    height: fit-content;
    font-family: 'Rammetto One', cursive;
    margin: auto;
    font-size: 2vw;
}
.spectacledcoder-footer-content
{
    width: 100%;
    height: 80%;
    display: flex;
    margin: auto;
}
.spectacledcoder-footer-bottom
{
    margin: auto;
    width: 100%;
    height: 20%;
    display: flex;
    font-family: 'Josefin Sans', sans-serif;
}
.spectacledcoder-footer-bottom-sec
{
    margin: auto;
}
.spectacledcoder-footer-bottom-sec a
{
    text-decoration: none;

    color: #0a0a0a;
}
.spectacledcoder-footer-bottom-sec a:hover
{
    font-weight: 700;
}
.spectacledcoder-footer-section
{
    margin: auto;
}
.d-footer-ul
{
    list-style: none;
    font-family: 'Josefin Sans', sans-serif;
}
.d-footer-li
{
    margin-bottom: 5px;
}
.d-footer-li:hover
{
    cursor: pointer;
    transform: translateX(10px);
    transition: all 0.4s;
    font-weight: 700;
}
.d-footer-li-h
{
    margin-bottom: 10px;
}
.logo
{
    max-width: 120px;
    max-height: 120px;
    display: flex;
    margin: auto;
   margin-top: 10px;
}
.logo-head
{
    font-family: 'Josefin Sans', sans-serif;
    margin: auto;
    display: flex;
}
.logo a
{
    margin: auto;
    max-width: 100%;
}

@media only screen and (max-width: 900px) 
{
    .spectacledcoder-footer
    {
        display: flex;
        flex-direction: column;
        margin: auto;
        margin-bottom: 0px;
        width: 100%;
        height: fit-content;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom;
        background: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='margin:auto;background:rgba(221, 221, 221, 0);display:block;z-index:1;position:relative' width='3000' height='588' preserveAspectRatio='xMidYMid' viewBox='0 0 3000 588'><g transform='translate(1500,294) scale(-1,-1) translate(-1500,-294)'><linearGradient id='lg-0.9997820734103322' x1='0' x2='1' y1='0' y2='0'><stop stop-color='%23ffffff' offset='0'></stop><stop stop-color='%23ffffff' offset='1'></stop></linearGradient><path d='' fill='url(%23lg-0.9997820734103322)' opacity='0.37'><animate attributeName='d' dur='10s' repeatCount='indefinite' keyTimes='0;0.333;0.667;1' calcMode='spline' keySplines='0.5 0 0.5 1;0.5 0 0.5 1;0.5 0 0.5 1' begin='0s' values='M0 0L 0 558.9888918874962Q 300 557.9557135224538  600 520.7201791558826T 1200 493.0888623871913T 1800 448.04775521801616T 2400 442.32786157869174T 3000 400.5000938220193L 3000 0 Z;M0 0L 0 531.8219503412562Q 300 581.2367793971861  600 536.6456794845121T 1200 526.1199153747991T 1800 453.6567543549444T 2400 426.5449945053999T 3000 429.5661867072931L 3000 0 Z;M0 0L 0 572.7600127243211Q 300 599.6891402698932  600 560.6693012791557T 1200 514.6895687962055T 1800 485.3535117451038T 2400 447.8902433799051T 3000 454.9458231426154L 3000 0 Z;M0 0L 0 558.9888918874962Q 300 557.9557135224538  600 520.7201791558826T 1200 493.0888623871913T 1800 448.04775521801616T 2400 442.32786157869174T 3000 400.5000938220193L 3000 0 Z'></animate></path></g></svg>") no-repeat center center;
      
    }
    .spectacledcoder-footer-heading
    {
        height: fit-content;
        font-family: 'Rammetto One', cursive;
        margin: auto;
        font-size: 5vw;
    }
    .spectacledcoder-footer-content
    {
        width: 100%;
        height: 80%;
        display: flex;
        flex-direction: column;
    }
    .spectacledcoder-footer-bottom
    {
        margin: auto;
        margin-bottom: 0px;
        height: 20%;
        display: flex;
        flex-direction: column;
        font-family: 'Josefin Sans', sans-serif;
    }
    .logo-head b
    {
        font-family: 'Josefin Sans', sans-serif;
        margin: auto;
        text-align: center;
    } 
    .d-footer-ul
    {
        list-style: none;
        font-family: 'Josefin Sans', sans-serif;
    }
    .d-footer-li
    {
        margin-bottom: 5px;
        margin-left: -40px;
        text-align: center;
    }
    .d-footer-li-h
    {
        margin-bottom: 10px;
        margin-left: -40px;
        text-align: center;
    }
}





#products-container .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

#products-container .card-text {
    font-size: 0.95rem;
    color: #6c757d;
}

#products-container .card-footer {
    background-color: #f8f9fa;
    border-top: none;
}

/* Ajustar espaciado de la sección de productos */
.container.my-5 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}

/* Espaciado específico para el carrusel de productos */
#uniqueProductCarousel {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

/* Reducir el espaciado del contenedor de productos si está vacío */
#products-container:empty {
    margin-bottom: 0;
    display: none;
}

/* Ajustar el título de la sección */
.container.my-5 h2.text-center.mb-4 {
    margin-bottom: 2rem !important;
}

/* Responsive: ajustar espaciado en móviles */
@media (max-width: 768px) {
    .container.my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    #uniqueProductCarousel {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 1rem 0;
    }
}