/* Smaller toggle switch */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #2196f3;
}
input:checked + .slider:before {
  transform: translateX(20px);
}

/* Toggle container styling */
.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toggle-label {
  font-size: 0.85rem;
  color: #6c757d;
}
[data-bs-theme="dark"] .toggle-label {
  color: #adb5bd;
}

/* Other styles */
.hero-section {
  padding: 7rem 0;
  text-align: center;
  margin-bottom: 3rem;
}
.feature-card {
  transition: transform 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.dark-mode-img {
  display: none;
}
[data-bs-theme="dark"] .light-mode-img {
  display: none;
}
[data-bs-theme="dark"] .dark-mode-img {
  display: inline-block;
}
