html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

@media(max-width: 767px) {
  html {
    scroll-padding-top: 300px;
  }
}

#contact {
  height: 100vh;
  overflow-y: hidden;
}

.jumbotron {
  background-image: url("./asset/solarwall.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

#hero {
  background-image: url("./asset/solar-panels-home.jpg");
}
#button {
  text-decoration: none;
  text-align: center;
  display: inline-block;
  outline: 0;
  border: none;
  cursor: pointer;
  padding-top: 10px;
  border-radius: 5px;
  min-width: 200px;
  height: 50px;
  font-size: 18px;
  background-color: #FBAB7E;
  background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
  font-weight: 500;
  color: #222;
}

#services-page {
  margin-top: 200px;
}

#navigation {
  background-color: #FFFFFF;
  margin: 0;
  transition: top 0.3s;
}

@media (min-width: 992px){
  .navbar li {
      margin-left : .8em;
      margin-right : .8em;
  }
}

.nav-link {
  color: rgb(56, 48, 48);
  
}

.nav-link:hover,
.nav-link:focus {
  border-bottom: 2px solid orangered;
  color: orangered;
  transition: step-end;
}

a.ancho #box {
  transition: all 0.3s;
  margin: 0lvh;
}



#services {

  background-color: #003049;
  color:#F4F1E4;

}

#about{
  background-color: #003049;
  color:#F4F1E4;

}

#stamp_btn {
  background-color: #ffaa00;

}

#contactForm .form-group {
  margin-bottom: 1rem;
}

#contactForm label {
  font-weight: bold;
}

#contactForm textarea {
  resize: vertical;
}

.fa {
  padding: 10px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
  background: #3B5998;
  color: white;
}

/* Twitter */
.fa-linkedin {
  background: #007bb5;
  color: white;
}

.line{
  border: 1px solid #ffaa00;
  border-radius: 5px;
}
.img-hover-zoom {
  overflow: hidden; /* Removing this will break the effects */
}

.img-hover-zoom img {
  transition: transform .5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */
.img-hover-zoom:hover img {
  transform: scale(1.2);
}


#typing {
  overflow: hidden;
  border-right: .15em solid orange;
  white-space: nowrap;
  font-size: 1.6rem;
  width: 0;
  animation: typing 1s forwards;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

.messenger-livechat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: orange;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s, width 0.3s;
    white-space: nowrap;
}

.messenger-livechat i {
    font-size: 20px;
    margin-left: 10px;
}

/* Hide text and adjust button for mobile */
@media screen and (max-width: 600px) {
    .messenger-livechat {
        padding: 12px;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .chat-text {
        display: none; /* Hide text on mobile */
    }

    .messenger-livechat i {
        margin: 0;
        font-size: 24px;
    }
}

