.top-navbar *{
    font-size: 0.8rem;
}

.navbar{
  border-top: 1px solid rgb(236, 236, 236);
  border-bottom: 1px solid rgb(236, 236, 236);
}
#sideMenu {
    position: fixed;
    top: 0;
    right: -250px; 
    width: 250px;
    height: 100%;
    background-color: rgb(255, 255, 255);
    color: white;
    padding-top: 60px;
    transition: 0.3s;
    z-index: 1000; 
    border-left: 1px solid rgb(232, 232, 232);
  }

  #sideMenu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 1rem;
    color: #232323;
    display: block;
    transition: 0.3s;
  }

  #sideMenu a:hover {
    color: #f1f1f1;
  }

  .openMenuBtn {
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
  }

  .openMenuBtn:hover {
    color: #f1f1f1;
  }

  .closeMenuBtn {
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    right: 0;
    color: #818181;
    cursor: pointer;
  }

  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(236, 235, 235, 0.75);
    display: none;
    z-index: 999; 
  }
  .hero-image{
    width: 100%;
    height: 70vh;
  }
  .service-list {
    margin-top: 20px;
  }
  .service-item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
  }
  .service-item i {
    color: rgb(40, 127, 227) !important;
    margin-right: 10px;
  }

.dropdown-container {
  margin-top: -20px;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.orgName{
  font-weight: bold;color:rgb(16, 126, 194);font-size: 0.75rem;
}
.dropdown-content {
  display: block;
  position: fixed;
  top: 60px;
  left: 0;
  width: calc(98vw + 0.6rem); 
  background-color: rgba(255, 255, 255);
  z-index: 10;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  padding: 0 4rem;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.5s ease, opacity 0.5s ease;
  border-bottom: 1px solid gray;
}

.dropdown-content.show {
  height: 200px; 
  opacity: 1;
  
}

.dropdown-content img {
  margin: 0 10px;
  width: 150px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.dropdown-content img:hover {
  opacity: 1;
}

.dropdown:hover .dropdown-content {
  height: 200px;
  opacity: 1;
}
.header-explain{
  position: relative; padding: 100px; z-index: 1; text-align: center;
}
@media (max-width: 768px) {
  .contact{
    display: none;
    justify-content: flex-end;
  }
  .hero-title h1 span{
    font-size: 1.5rem !important;
  }
  .dropdown-button {
    width: auto;
  }

  .dropdown-content {
    width: 100%;
  }
  
  .dropdown.active .dropdown-content {
    display: flex;
    height: 200px; 
    opacity: 1;
  }
  .orgName{
    font-weight: bold;color:rgb(16, 126, 194);font-size: 0.6rem;
  }
  .header-section{
    margin-top: 1rem;
  }
  .openMenuBtn,.dropdown {
    display: none;
  }
  .navbar-toggler{
    font-size: 1rem;
    padding: 0.5rem;
  }
  .header-explain{
    padding: 20px;
  }
  .header-explain p{
    font-size: 0.7rem;
  }
}
.swiper-container {
  position: relative;
}

.info {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 10; 
}

.hero-image {
  width: 100%;
  height: auto;
}
a{
  text-decoration: none;
}

.custom-alert {
  background-color: #d4edda;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  margin-bottom: 15px;
  position: absolute;
  right: 10px;
  top: 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.close {
  cursor: pointer;
  font-size: 20px; 
}

#error-alert{
  background-color: #f15347;
}

#success-alert{
  background-color: rgb(41, 200, 65);
}
.service-box {
  position: relative;
  overflow: hidden;
  margin: 10px;
  border-radius: 10px;
  width: 100%;
  height: 300px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  opacity: 1; 
  transition: none; 
}

.service-overlay h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.service-overlay a {
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
}


.animate-section {
  opacity: 0;
  transform: translateY(50px); 
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-section.animate__animated {
  opacity: 1;
  transform: translateY(0); 
}

.animate-section-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-section-item.visible {
  opacity: 1;
  transform: translateY(0);
}

footer .row > div {
  padding: 20px; 
}

footer .row {
  row-gap: 1rem; 
}

footer .fa {
  color: white !important; 
}

.bounce-animation {
  display: inline-block;
  animation: bounce 2s infinite;
  transition: transform 0.3s ease-in-out;
}

.bounce-animation:hover {
  transform: scale(1.1); 
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0); 
  }
  40% {
      transform: translateY(-10px); 
  }
  60% {
      transform: translateY(-5px); 
  }
}

