/* Estilos generales del logo */
.navbar-brand img {
    max-width: 150px;
    height: auto;
}

/* Redes sociales flotantes */
.social-icons {
    position: fixed;
    right: 10px;
    top: 40%;
    display: flex;
    flex-direction: column;
    gap: 5px; 
    z-index: 1000;
}

/* Estilo base para los íconos redondos */
.social-icons a, .more-button {
    display: inline-block;
    width: 45px; 
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    background-color: #3b5998; 
    color: white;
    text-align: center;
    font-size: 20px; 
    transition: all 0.3s;
}

.social-icons a:hover, .more-button:hover {
    transform: scale(1.1); 
}

.social-icons a:hover.facebook {
    background-color: #2d4373;
}

.social-icons a:hover.instagram {
    background-color: #bc2a8d;
}

.social-icons a:hover.whatsapp {
    background-color: #1ebe57;
}

.social-icons a:hover.youtube {
    background-color: #FF0000;
}

.social-icons a:hover.tiktok {
    background-color: black;
}

/* Botón de más redes */
.more-button {
    background-color: #555;
}

.more-button:hover {
    background-color: #333;
}

/* Redes sociales adicionales (ocultas inicialmente en pantallas grandes) */
.additional-icons {
    display: none;
    flex-direction: column;
    gap: 5px;
}

/* Mostrar redes adicionales cuando están activas */
.additional-icons.active {
    display: flex;
}
/* Fin de redes flotantes */

.pdf-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: none;
    color: #0B2538;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    padding-top: 20px;
}

/* Estilos de las cards */
.pdf-card-container {
    display: grid;
    gap: 20px;
    justify-content: center;
    align-items: stretch; 
    padding: 5px;
    grid-template-columns: repeat(1, 1fr);
}
@media (max-width: 300px) {
    .pdf-card-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-icons {
        position: static;
        margin: 10px auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        justify-content: center;
        align-items: center;
    }

    .social-icons a {
        margin: 0 auto;
    }

    .more-button {
        display: none;
    }

    .additional-icons {
        display: flex;
        flex-direction: row;
        grid-column: span 3;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    .pdf-card-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-icons {
        position: static;
        margin: 10px auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        justify-content: center;
        align-items: center;
    }

    .social-icons a {
        margin: 0 auto;
    }

    .more-button {
        display: none;
    }

    .additional-icons {
        display: flex;
        flex-direction: row;
        grid-column: span 3;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    .pdf-card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Estilos para las tarjetas PDF */
.pdf-card {
    background-color: #0B2538;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 100%;
    width: 100%; 
    min-height: 500px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin: auto;
}

.pdf-card embed {
    width: 100%;
    height: 490px;
    object-fit: cover;
    margin-bottom: 15px;
}

.pdf-card button {
    background-color: #E0C023;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.pdf-card button:hover {
    background-color: #04680d;
}

/* Estilos del visor PDF (modal) */
.pdf-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
    height: 80%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.pdf-modal iframe {
    width: 100%;
    height: 85%;
    border-radius: 8px;
    border: none;
}

.pdf-modal .close-pdf,
.pdf-modal .download-pdf {
    background-color: #E0C023;
    color: white;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    border: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.pdf-modal .close-pdf:hover {
    background-color: #c9302c;
}

.pdf-modal .download-pdf:hover {
    background-color: #449d44;
}

.pdf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 900;
    display: none;
}

.pdf-frame-computer {
    display: none;
    width: 100%;
    height: 700px !important;
}

.pdf-preview {
    display: block;
    width: 100%;
    height: auto;
}

.pdf-slider {
    width: 100%;
    max-width: 300px;
    margin: auto;
    display: none;
}

.pdf-slider img {
    width: 100%;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .pdf-preview {
        display: none;
    }
    .pdf-frame-computer {
        display: block;
    }
}

/* Media queries para pantallas pequeñas */
@media (max-width: 767px) {
    .pdf-card {
        height: auto;
    }

    .pdf-card embed {
        height: 150px;
    }

    .pdf-card button {
        padding: 8px;
    }
    
    .custom-contenedor {
        padding-top: 0px;
    }


}

/* Ajustes para pantallas específicas como el iPhone 5 */
@media (max-width: 320px) {
 
    .social-icons {
        position: static; 
        margin: 10px auto; 
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 5px; 
        justify-content: center;
        align-items: center;
    }

    .social-icons a {
        margin: 0 auto; 
    }

    /* Ocultar el botón de desplegar en pantallas pequeñas */
    .more-button {
        display: none;
    }

    /* Mostrar siempre todos los íconos en pantallas pequeñas */
    .additional-icons {
        display: flex;
        flex-direction: row;
        grid-column: span 3; 
    }

    .social-icons a {
        width: 40px; 
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
}
@media (max-width: 720px) {
 
    .social-icons {
        position: static; 
        margin: 10px auto; 
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 5px; 
        justify-content: center;
        align-items: center;
    }

    .social-icons a {
        margin: 0 auto; 
    }

    /* Ocultar el botón de desplegar en pantallas pequeñas */
    .more-button {
        display: none;
    }

    /* Mostrar siempre todos los íconos en pantallas pequeñas */
    .additional-icons {
        display: flex;
        flex-direction: row;
        grid-column: span 3; 
    }

    .social-icons a {
        width: 40px; 
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
}
@media (max-width: 1320px) {
 
    .social-icons {
        position: static; 
        margin: 10px auto; 
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 5px; 
        justify-content: center;
        align-items: center;
    }

    .social-icons a {
        margin: 0 auto; 
    }

    /* Ocultar el botón de desplegar en pantallas pequeñas */
    .more-button {
        display: none;
    }

    /* Mostrar siempre todos los íconos en pantallas pequeñas */
    .additional-icons {
        display: flex;
        flex-direction: row;
        grid-column: span 3; 
    }

    .social-icons a {
        width: 40px; 
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
}
.footer-title {
    font-size: 1.2rem; 
    margin-bottom: 10px; 
}

footer p {
    font-size: 0.9rem; 
    margin: 5px 0; 
}

footer .small-text {
    font-size: 0.8rem; 
    opacity: 0.7; 
}


html, body {
    height: 100%; 
    margin: 0;
    display: flex;
    flex-direction: column;
}


main {
    flex: 1; 
}


footer {
    background-color: #0B2538; 
    color: white;
    padding: 20px 10px;
    margin-top: auto; 
}


section {
    padding: 60px 0;
  }

  .section-title1 {
    font-size: 1.5rem;
    margin-bottom: 0px;
    text-align: center;
    font-weight: bold;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #e0e0e0, #a3d5e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    overflow: hidden;
  }
  
  .section-title1::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    animation: shine1 3s infinite;
  }
  
  @keyframes shine1 {
    0% {
      left: -75%;
    }
    100% {
      left: 125%;
    }
  }
  
  .section-title2 {
    font-size: 1.5rem;
    margin-bottom: 0px;
    text-align: center;
    font-weight: bold;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #000000, #00e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    overflow: hidden;
  }
  
  .section-title2::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    animation: shine2 3s infinite;
  }
  
  @keyframes shine2 {
    0% {
      left: -75%;
    }
    100% {
      left: 125%;
    }
  }
  
  
  

.slider-bg-1 {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #0a1a40, #1a3c80); 
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.05);
  }
  

  .slider-bg-2 {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #EFEEEE; 
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.05);
  }
  
  .swiper {
    width: 100%;
    max-width: 1200px;
    height: 700px;
    margin: 0 auto;
    padding-bottom: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;
    position: relative;
  }
  
  .swiper-wrapper {
    height: 100%;
    display: flex !important;
    align-items: center !important;
  }
  
  .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin: 0 auto;
    display: block;
  }
  
  

  
  @media (max-width: 162px) {
    .swiper-slide img {
      max-height: 280px;
    }
  }
  
  @media (min-width: 163px) and (max-width: 320px) {
    .swiper-slide img {
      max-height: 380px;
    }
  }
  
  @media (min-width: 321px) and (max-width: 480px) {
    .swiper-slide img {
      max-height: 460px;
    }
  }
  
  @media (min-width: 481px) and (max-width: 640px) {
    .swiper-slide img {
      max-height: 540px;
    }
  }
  
  @media (min-width: 641px) and (max-width: 768px) {
    .swiper-slide img {
      max-height: 600px;
    }
  }
  
  @media (min-width: 769px) and (max-width: 1024px) {
    .swiper-slide img {
      max-height: 700px;
    }
  }
  
  @media (min-width: 1025px) and (max-width: 1280px) {
    .swiper-slide img {
      max-height: 700px;
    }
  }
  
  @media (min-width: 1281px) and (max-width: 1440px) {
    .swiper-slide img {
      max-height: 820px;
    }
  }
  
  @media (min-width: 1441px) and (max-width: 1600px) {
    .swiper-slide img {
      max-height: 920px;
    }
  }
  
  @media (min-width: 1601px) and (max-width: 1920px) {
    .swiper-slide img {
      max-height: 920px;
    }
  }
  
  @media (min-width: 1921px) and (max-width: 2280px) {
    .swiper-slide img {
      max-height: 940px;
    }
  }
  
  @media (min-width: 2281px) {
    .swiper-slide img {
      max-height: 940px;
    }
  }

