/* Estilos generales del logo */
.navbar-brand img {
    max-width: 150px;  
    height: auto;     
}
.pdf-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #054c09;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px; 
    padding-top: 20px;
}

/* 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 */
.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 */



/* Estructura general */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Mapas */
.map-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container iframe {
    width: 100%;
    height: 350px; 
    border: 0;
}



@media (min-width: 320px) and (max-width: 390px) {
    .navbar-brand img {
        max-width: 100px;
    }
    }

@media (min-width: 391px) and (max-width: 576px){
    .navbar-brand img {
        max-width: 100px; 
    }
    }

/* Media Queries para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .contact-icons {
        grid-template-columns: 1fr; 
    }
    
    .contact-icons img {
        width: 80%; 
        height: auto; 
        margin: 0 auto; 
}
}





.btn {
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-info {
    background-color: #00aaff; 
    border: none;
}

.btn:hover {
    opacity: 0.8;
}



@media (min-width: 768px) {
    .map-container {
        flex-direction: row;
        gap: 20px;
    }

    .contact-icons img {
        width: 70px;
    }

    .whatsapp-icon img {
        width: 100px;
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}


.container {
    flex: 1;
}


footer {
    margin-top: auto; 
}
.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; 
}

.contact-section {
    display: none !important;
  }
  
  @media screen and (max-width: 768px) {
    .contact-section {
      display: block !important;
      text-align: center !important;
      margin-top: 40px !important;
      padding: 2rem !important;
    }
  
    .contact-section h2 {
      font-size: 1.5rem !important;
      margin-bottom: 20px !important;
    }
  
    .contact-icons {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 20px !important;
      margin-bottom: 20px !important;
      justify-content: center !important;
    }
  
    .social-link {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      text-decoration: none !important;
      color: inherit !important;
      opacity: 0 !important;
      transform: translateX(-50px) !important;
      transition: all 5s ease !important;
    }
  
    .social-link.animate-in {
      opacity: 1 !important;
      transform: translateX(0) !important;
    }
  
    .social-link:nth-child(even) {
      transform: translateX(50px) !important;
    }
  
    .social-link:nth-child(even).animate-in {
      transform: translateX(0) !important;
    }
  
    .social-link span {
      display: block !important;
      margin-top: 10px !important;
      font-size: 0.9rem !important;
      font-weight: bold !important;
      color: #054c09 !important;
      text-decoration: none !important;
    }
  
    .social-link img {
      width: 100% !important;
      max-width: 400px !important;
      height: auto !important;
      object-fit: cover !important;
      border-radius: 5px !important;
    }
  }
  