html {
  scroll-behavior: smooth;
}

.poster {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  background: linear-gradient(to right, #16a349, #15793a);
  color: white;
  padding: 20px;
  flex-wrap: wrap;
}

.poster-content {
  flex: 1;
  text-align: center;
  padding: 20px;
  order: 1; /* Add this */
}

.poster-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2; /* Add this */
}

.poster-image .img-fluid {
  max-width: 100%;
  height: auto;
}

/* Add this media query */
@media (max-width: 768px) {
  .poster {
      flex-direction: column;
  }
}

.poster-title {
  font-size: 3em;
  margin-bottom: 20px;
}

.poster-text {
  font-size: 1.5em;
  margin-bottom: 40px;
}

.poster-button {
  display: inline-block;
  font-size: 1.2em;
  padding: 10px 20px;
  border: none;
  background: white;
  color: #16a349;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.poster-button:hover {
  background: #15793a;
  color: white;
}

form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 0 auto;
}

.rounded-rectangle {
  border-radius: 15px !important;
} 

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

button {
  background-color: #008481;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}
#searchInput {
  margin: 20px 5px;
  border-radius: 50px;
  background-color: #f8f9fa;
  font-size: 17px;
  color: #495057;
}

#mobileSearchInput {
  margin: 5px 0;
  border-radius: 50px;
  background-color: #f8f9fa;
  font-size: 16px;
  color: #495057;
  width: 100%;
  max-width: 320px;
}

.mobile-search-container {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 10px 0 0;
  gap: 8px;
  padding-left: 0;
}

.mobile-search-container .search-container {
  flex: 1;
  max-width: 320px;
}

/* Homepage specific mobile search styling */
.homepage .mobile-search-container .search-container {
  max-width: 450px;
}

.homepage .mobile-search-container #mobileSearchInput {
  max-width: 450px;
}

.homepage .mobile-search-container {
  margin: 0 15px 0 0;
}

.mobile-home-button {
  background: linear-gradient(135deg, #16a349, #15793a);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(22, 163, 73, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-home-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-home-button:hover::before {
  opacity: 1;
}

.mobile-home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 73, 0.4);
  color: white;
  text-decoration: none;
}

.mobile-home-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(22, 163, 73, 0.3);
}

.mobile-home-button i {
  font-size: 18px;
  z-index: 1;
  position: relative;
}

.mobile-search-container .input-group {
  position: relative;
}

.mobile-search-container .search-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  z-index: 10;
}
.search-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

/* Modern Menu Button Styling */
.modern-menu-button {
  border: none;
  background: linear-gradient(135deg, #16a349, #15793a);
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(22, 163, 73, 0.3);
}

.modern-menu-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 73, 0.4);
}

.modern-menu-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 73, 0.25);
}

.modern-menu-button .navbar-toggler-icon {
  background-image: none;
  width: 20px;
  height: 20px;
  position: relative;
}

.modern-menu-button .navbar-toggler-icon::before {
  content: '\f0c9';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 16px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dropdown-menu {
  border: none;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 17px;
  color: #495057;
}


.bs-icon {
    --bs-icon-size: .75rem;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: var(--bs-icon-size);
    width: calc(var(--bs-icon-size) * 2);
    height: calc(var(--bs-icon-size) * 2);
    color: var(--bs-primary);
  }
  
  .bs-icon-xs {
    --bs-icon-size: 1rem;
    width: calc(var(--bs-icon-size) * 1.5);
    height: calc(var(--bs-icon-size) * 1.5);
  }
  
  .bs-icon-sm {
    --bs-icon-size: 1rem;
  }
  
  .bs-icon-md {
    --bs-icon-size: 1.5rem;
  }
  
  .bs-icon-lg {
    --bs-icon-size: 2rem;
  }
  
  .bs-icon-xl {
    --bs-icon-size: 2.5rem;
  }
  
  .bs-icon.bs-icon-primary {
    color: var(--bs-white);
    background: var(--bs-primary);
  }
  
  .bs-icon.bs-icon-primary-light {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .2);
  }
  
  .bs-icon.bs-icon-semi-white {
    color: var(--bs-primary);
    background: rgba(255, 255, 255, .5);
  }
  
  .bs-icon.bs-icon-rounded {
    border-radius: .5rem;
  }
  
  .bs-icon.bs-icon-circle {
    border-radius: 50%;
  }
  


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center; /* Add this to center the icon horizontally */
    transition: width 0.5s, padding 0.5s, border-radius 0.5s;
    overflow: hidden; /* Add this to hide the text when the button is not hovered */
}


.whatsapp-float:hover {
    width: auto;
    border-radius: 30px;
    padding: 0 20px;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    width: 200px; /* Adjust this to the same width as the hovered button */
    transition: transform 0.5s; /* Add a transition effect */
}
.whatsapp-float:hover .whatsapp-content {
    transform: translateX(0); /* Move the content to the right when the button is hovered */
}

.whatsapp-float:hover .whatsapp-icon {
    margin-right: 10px;
}

.whatsapp-text {
    font-size: 20px; /* Adjust the font size */
    display: none; /* Completely remove the text by default */
    transform: translateX(-100%); /* Move the text to the left by default */
}

.whatsapp-float:hover .whatsapp-text {
    display: inline; 
    transform: translateX(0); /* Move the text to the right when the button is hovered */
}

/* Contact Float Button */
.contact-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px; /* Position below the WhatsApp button */
    right: 40px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.4s ease, padding 0.4s ease, border-radius 0.4s ease, transform 0.2s ease;
    overflow: hidden;
    text-decoration: none;
}

.contact-float:hover {
    width: auto;
    border-radius: 30px;
    padding: 0 20px;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
    text-decoration: none;
    color: #FFF;
}

.contact-float:hover .contact-icon {
    margin-right: 10px;
}

.contact-text {
    font-size: 18px;
    font-weight: 500;
    display: none;
    white-space: nowrap;
}

.contact-float:hover .contact-text {
    display: inline;
}

.contact-icon {
    font-size: 24px;
}

.nav-item .nav-link {
    font-weight: bold;
}


.scrolled {
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}


.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px; /* Adjust this value to your preference */
  background-color: #f8f9fa; /* Set a background color */
}

/* Make the navbar height auto-adjustable in mobile view */
@media (max-width: 992px) { /* Adjust this value to match your navbar's breakpoint */
  .navbar {
      height: auto;
  }
}


.animated-number {
  transition: all 0.3s ease;
  font-size: 3rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 6px 6px rgba(0, 0, 0, 0.23);
}

.animated-number:hover {
  color: red;
  font-size: 2em;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}