@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

body {
    font-family: 'Montserrat', sans-serif;
}
footer{
    bottom: 0;
    width: 100%;
}
.fta{
    position: fixed;
}
.custom-navbg{
    background-color: rgba(0, 0, 0, .2);
}
.home-img{
    width: 400px;
}
.logo{
    width: 300px;
}
.logoinicio{
    width: 100px;
}
.gradient-custom{
    background: linear-gradient(to top, rgb(14, 40, 54), rgba(219, 129, 53, .8) );
    text-shadow: 2px 2px 2px rgba(0,0,0,.2);
}
.contenido{
    padding: 20px;
    position: relative;
    font-size: calc(.765rem + 1.3vh);
}
.titulo{
    padding:1.5rem;
    font-size: calc(.965rem + 1.8vh);
    text-align: center;
}
.info-card{
    width: 85rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: white;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    color: black;
    text-align: justify;
}
.masthead{
    background-size: cover;
    height: 80vh;
    min-height: 400px;
    position: relative;
    color: white;
    text-shadow: 2px 2px 2px rgba(0,0,0,.2);
    z-index: 0;
    top: 0%;
}
.color-overlay{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.2);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-fluid.masthead {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* or any specific height you need */
    overflow: hidden;
  }
  
  .container-fluid.masthead .color-overlay {
    background-color: rgba(0, 0, 0, 0.8); /* Example overlay color */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
  
.container-fluid.masthead h1 {
    z-index: 2;
    color: white; /* Ensure text is readable */


    /* Additional styling for text */
  }
@media (max-width:768px){
    h1{
        font-size: calc(1.525rem + 1.3vh);
    }
    .masthead{
        min-height: 60vh;
    }
    .info-card {
        font-size: calc(0.525rem + .3vh);
    }
    h5{
        font-size: .9rem;
    }
    .fta{
        position: relative;
    }
}

.card-img-top{
    width: 200px;
    height: 200px;
    object-fit: contain;
    object-position: center;
}
 
.dropdown .dropdown-menu {
    display: none;
}

/* Show the first level dropdown menu on hover */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: .125rem;
}

/* Show the second level dropdown menu on hover */
.dropend:hover > .dropdown-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0; /* Adjust as needed */
    z-index: 1000; /* Ensure it appears above other content */
}

/* Ensure the links within the dropdown are styled properly */
.dropdown-menu a {
    display: block;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

/* Change background and text color on hover */
.dropdown-menu a:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

/* Enable hover for second-level dropdowns on desktop */
@media (min-width: 992px) {
  .dropdown-menu .dropend:hover > .dropdown-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
  }
}
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: lab(59.04% -5.74 2.22);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulse 3s infinite ease-in-out;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  background-color: #20bd5a;
}

.whatsapp-button img {
  width: 64px;
  height: 64px;
}

/* Pulse animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* MOBILE RESPONSIVE FIXES */
@media (max-width: 768px) {
  .masthead {
    height: 60vh;
    text-align: center;
  }

  .masthead h1 {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .home-img {
    width: 100%;
    height: auto;
  }

  .whatsapp-button {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-button img {
    width: 32px;
    height: 32px;
  }

  footer h5 {
    font-size: 1rem;
  }

  footer p, footer a {
    font-size: 0.9rem;
  }
}
