html {
  scroll-behavior: smooth;
}
  .nav-link {
    color: #6b7280;
    border-color: transparent;
    transition: all 0.3s ease;
  }
  .nav-link:hover {
    color: #374151;
  }
  .nav-link.active {
    color: #0d9488;
    border-color: #0d9488;
  }
  
  .mobile-nav-link {
    color: #4b5563;
    border-color: transparent;
    transition: all 0.3s ease;
  }
  .mobile-nav-link:hover {
    background-color: #f9fafb;
  }
  .mobile-nav-link.active {
    color: #0d9488;
    border-color: #0d9488;
    background-color: #f0fdfa;
  }
#back-to-top {
  transition: opacity 0.3s, visibility 0.3s;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  transition: opacity 0.3s ease;
}

.modal-content {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal:not(.show) {
  opacity: 0;
  pointer-events: none;
}

.modal:not(.show) .modal-content {
  transform: translateY(20px);
  opacity: 0;
}

.hidden-more {
  display: none;
}

.show-more {
  display: block !important;
}

#service-inquiry-btn {
  z-index: 40;
  display: flex;
  align-items: center;
}


/* Map container responsive sizing */
.map-container {
  height: 400px;
}.coursees-card {
    transition: all 0.3s ease-in-out;
}

.coursees-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Search input focus styles */
#coursees-search:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    border-color: #0d9488;
}

@media (max-width: 768px) {
  .map-container {
    height: 300px;
  }
}

/* Form input focus styles */
.form-input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Checkbox form styles */
.checkbox-container {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #1e293b;
}

.checkbox-container::-webkit-scrollbar {
  width: 6px;
}

.checkbox-container::-webkit-scrollbar-track {
  background: #1e293b;
}

.checkbox-container::-webkit-scrollbar-thumb {
  background-color: #3b82f6;
  border-radius: 3px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

@media (max-width: 640px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}