/* Navbar Styles */
.button-pressed:hover {
  box-shadow: 0 0 15px 5px rgba(35, 160, 149, 0.6),
    0 0 20px 5px rgba(35, 160, 149, 0.6);
  border-bottom: 3px solid #23a095;
}
.nav-button {
  background-color: white;
  color: #1a2a4f;
  border: 2px solid #1a2a4f;
  font-size: 12px;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.nav-button:hover {
  background-color: #1a2a4f;
  color: white;
}
.nav-button:active {
  background-color: #23a095;
  color: white;
}
.navbar-item {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  transition: all 0.4s ease;
  position: relative;
  display: inline-block;
}
.navbar-item:hover {
  color: #d1e8e2;
  transform: translateY(-2px) scale(1.05);
  animation: glow 0.4s ease-out forwards;
}
.navbar-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  right: 0;
  background-color: #23a095;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease-out;
}
.navbar-item:hover::after {
  transform: scaleX(1);
  animation: underline 0.4s ease-out forwards;
}
#servicesMenu .navbar-item {
  color: #1a2a4f;
}
#servicesMenu .navbar-item:hover {
  color: #23a095;
  transform: translateY(-2px) scale(1.05);
  animation: glow 0.4s ease-out forwards;
}
#servicesMenu .navbar-item::after {
  background-color: #23a095;
}
#mobileServicesMenu {
  background: linear-gradient(225deg, #1a2a4f, #23a095);
  position: absolute;
  width: 100%;
}
#mobileServicesMenu .navbar-item {
  color: white;
  font-size: 10px;
  padding: 2px 6px;
}
#mobileServicesMenu .navbar-item:hover {
  color: #d1e8e2;
  transform: translateY(-2px) scale(1.05);
  animation: glow 0.4s ease-out forwards;
}
#mobileServicesMenu .navbar-item::after {
  background-color: #23a095;
}
#popupMenu {
  background: linear-gradient(225deg, #1a2a4f, #23a095);
}
#popupMenu .navbar-item {
  font-size: 20px;
  color: white;
  display: block;
  padding: 12px 20px;
  position: relative;
  transition: all 0.4s ease;
}
#popupMenu .navbar-item:hover {
  color: #d1e8e2;
  transform: translateY(-2px) scale(1.05);
  animation: glow 0.4s ease-out forwards;
}
#popupMenu .navbar-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  right: 0;
  background-color: #23a095;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease-out;
}
#popupMenu .navbar-item:hover::after {
  transform: scaleX(1);
  animation: underline 0.4s ease-out forwards;
}
@media (max-width: 767px) {
  #popupMenu {
    background: linear-gradient(225deg, #1a2a4f, #23a095);
  }
  #popupMenu .navbar-item {
    font-size: 18px;
    color: white;
    padding: 10px 15px;
    display: block;
    position: relative;
  }
  #popupMenu .navbar-item:hover {
    color: #d1e8e2;
    transform: translateY(-2px) scale(1.05);
    animation: glow 0.4s ease-out forwards;
  }
  #popupMenu .navbar-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: #23a095;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease-out;
  }
  #popupMenu .navbar-item:hover::after {
    transform: scaleX(1);
    animation: underline 0.4s ease-out forwards;
  }
}

/* Footer and Header Gradient */
.bg-custom-gradient {
  background: linear-gradient(135deg, #23a095 0%, #1a2a4f 100%);
  animation: gradientFlow 8s ease-in-out infinite;
  background-size: 200% 200%;
}
.star-rating svg {
  color: #3bb8a8;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}
.star-rating svg.active {
  color: #3bb8a8;
  animation: starPulse 1.2s ease-in-out infinite;
}
.star-rating svg:nth-child(2) {
  animation-delay: 0.2s;
}
.star-rating svg:nth-child(3) {
  animation-delay: 0.4s;
}
.star-rating svg:nth-child(4) {
  animation-delay: 0.6s;
}
.star-rating svg:nth-child(5) {
  animation-delay: 0.8s;
}
.slide-in {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: slideIn 0.8s ease-out forwards;
}
.slide-in-delay-1 {
  animation-delay: 0.3s;
}
.slide-in-delay-2 {
  animation-delay: 0.6s;
}
.slide-in-delay-3 {
  animation-delay: 0.9s;
}
.hover-glow {
  transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.hover-glow:hover {
  transform: scale(1.25);
  color: #3bb8a8;
  box-shadow: 0 0 10px rgba(59, 184, 168, 0.7);
}
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes starPulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.4);
    filter: brightness(1.5);
  }
}
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Responsive Footer Logo */
.footer-logo {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
}
@media (max-width: 640px) {
  .footer-logo {
    width: 60px;
    height: 60px;
  }
  .footer-social-icons a {
    padding: 0.5rem;
  }
  .footer-social-icons svg {
    width: 1rem;
    height: 1rem;
  }
}

.departments_card:hover {
  transform: scale(1.012);
  box-shadow: 0 10px 20px #23a09580;
}

.active {
  color: white;
  background-color: #23a095;
}

@media screen and (min-width: 1267.2px) and (max-width: 1469.6px) {
  .filter .buttons .btn,
  .filter .buttons .btn2,
  .filter .buttons .btn3 {
    margin: 0px;
    margin-top: 20px;
    gap: 0;
  }
}

@media screen and (min-width: 1155px) and (max-width: 1267px) {
  .filter .buttons .btn,
  .filter .buttons .btn2,
  .filter .buttons .btn3 {
    margin-top: 20px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1175.2px) {
  .filter {
    width: 50%;
    height: 85vh;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1154.4px) {
  .filter {
    width: 60%;
    height: 85vh;
  }

  .filter .buttons .btn,
  .filter .buttons .btn2,
  .filter .buttons .btn3 {
    margin-top: 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .texts h1 {
    text-align: center;
  }
  .texts .parag {
    text-align: center;
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 390px) and (max-width: 767px) {
  .texts .parag {
    margin-bottom: 2rem;
  }
}
