body.light-mode {
  background-color: #e8ddcb;
  color: #031634;
  font-family: Rubik, sans-serif;
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
}

.light-mode .feature-card {
  background-color: #036564;
  color: #e8ddcb;
  transition: background-color 0.7s ease, color 0.7s ease, transform 0.7s ease,
    box-shadow 0.7s ease;
}

.light-mode .card-theme-toggle {
  border: 1px solid #cdb380;
  background-color: transparent;
  color: #cdb380;
}

.light-mode .card-theme-toggle:hover {
  background-color: #cdb380;
  color: #e8ddcb;
  border-color: #cdb380;
  cursor: pointer;
}

.light-mode #theme-toggle {
  z-index: 10;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #e8ddcb;
  background-color: transparent;
}

.light-mode #theme-toggle:hover {
  background-color: #cdb380;
  color: #e8ddcb;
  border-color: #cdb380;
  cursor: pointer;
}

.light-mode .feature-icon {
  font-size: 2.5rem;
}

.light-mode .feature-title {
  margin-bottom: 0.75rem;
}

.light-mode .feature-text {
  font-size: 0.95rem;
  line-height: 1.4;
}

.light-mode .btn-primary {
  background-color: #B29972;
  border-color: #B29972;
  color: #031634;
  transition: background-color 0.7s ease;
}

.light-mode .btn-danger {
  background-color: #033649;
  border-color: #033649;
  color: #e8ddcb;
  transition: background-color 0.7s ease;
}

.light-mode .btn-primary:hover,
.light-mode .btn-primary:focus {
  background-color: #CDB380;
  border-color: #CDB380;
  color: #033649;
}

.light-mode .btn-danger:hover,
.light-mode .btn-danger:focus {
  background-color: #cdb380;
  border-color: #cdb380;
  color: #033649;
}

body.dark-mode {
  background-color: #020d18;
  color: #f2e9da;
  font-family: Rubik, sans-serif;
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
}

.dark-mode .feature-card {
  background-color: #024745;
  color: #f2e9da;
  transition: background-color 0.7s ease, color 0.7s ease, transform 0.7s ease, box-shadow 0.7s ease;
  user-select: none;
  position: relative;
}

.dark-mode .card-theme-toggle {
  margin-top: 1rem;
  width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #b29972;
  background-color: transparent;
  color: #b29972;
}

.dark-mode .card-theme-toggle:hover {
  background-color: #b29972;
  color: #020d18;
  border-color: #b29972;
  cursor: pointer;
}

.dark-mode #theme-toggle {
  z-index: 10;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #f2e9da;
  color: #f2e9da;
  background-color: transparent;
}

.dark-mode #theme-toggle:hover {
  background-color: #b29972;
  color: #020d18;
  border-color: #b29972;
  cursor: pointer;
}

.dark-mode .btn-primary {
  background-color: #3B3A30;
  border-color: #3B3A30;
  color: #f2e9da;
  transition: background-color 0.7s ease;
}

.dark-mode .btn-primary:hover,
.dark-mode .btn-primary:focus {
  background-color: #b29972;
  border-color: #b29972;
  color: #020d18;
}

.dark-mode .btn-danger {
  background-color: #022B3A;
  border-color: #022B3A;
  color: #f2e9da;
  transition: background-color 0.7s ease;
}

.dark-mode .btn-danger:hover,
.dark-mode .btn-danger:focus {
  background-color: #b29972;
  border-color: #b29972;
  color: #020d18;
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.slider {
  position: relative;
  width: 50px;
  height: 26px;
  background-color: #e8ddcb;
  border-radius: 34px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 2px;
  top: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

.switch input:checked + .slider {
  background-color: #020D18;
}

#contact {
  background-color: #033649;
  color: #e8ddcb;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

#contact label {
  font-weight: 500;
}

#contact button {
  background-color: #B29972;
  color: #031634;
  font-weight: 600;
  border: none;

  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact button:hover {
  background-color: #cdb380;
  color: #031634;
}

.dark-mode #contact {
  background-color: #022B3A;
  color: #F2E9DA;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode #contact label {
  color: #F2E9DA;
}

.dark-mode #contact button {
  background-color: #3B3A30;
  color: #F2E9DA;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.dark-mode #contact button:hover {
  background-color: #8B7D5C;
  color: #020D18;
}

.dark-mode #contact .form-control {
  background-color: #020D18;
  color: #F2E9DA;
}

.scroll-top-btn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 40px;
  z-index: 1000;
  border: 2px solid white !important;
}

.feature-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.7s ease, box-shadow 0.7s ease;
  cursor: pointer;
}

.custom-faq-card {
  background-color: #b29972;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  color: #e8ddcb;
}

.custom-faq-button {
  background-color: transparent;
  color: #3b3a30;
}

.custom-faq-button i {
  color: #e8ddcb;
}

.accordion-button.collapsed.custom-faq-button {
  color: #031634;
}

.accordion-button:not(.collapsed).custom-faq-button {
  background-color: #cdb380;
  color: #031634;
}

.accordion-button:not(.collapsed).custom-faq-button i {
  color: #8b7d5c;
}

.custom-faq-body {
  background-color: #e8ddcb;
  color: #031634;
}

.dark-mode .custom-faq-card {
  background-color: #3b3a30;
  color: #f2e9da;
}

.dark-mode .accordion-button.collapsed.custom-faq-button {
  color: #f2e9da;
}

.dark-mode .accordion-button:not(.collapsed).custom-faq-button {
  background-color: #8b7d5c;
  color: #f2e9da;
}

.dark-mode .accordion-button:not(.collapsed).custom-faq-button i {
  color: #3b3a30;
}

.dark-mode .custom-faq-body {
  background-color: #f2e9da;
  color: #020d18;
}

.light-mode .reviews-card {
  background: linear-gradient(#cdb380, #036564);
  color: #e8ddcb;
  user-select: none;
}

.dark-mode .reviews-card {
  background: linear-gradient(#8B7D5C, #024745);
  color: #f2e9da;
}

.carousel-indicators button {
  background-color: #cdb380;
}

.carousel-indicators .active {
  background-color: #cdb380;
}

.light-mode .form-control {
  background-color: #e8ddcb;
  color: #020d18;
  border: 1px solid #033649; 
}

.dark-mode .form-control {
  background-color: #020d18;
  color: #f2e9da;
  border: 1px solid #033649;
}

.gallifrexLogo{
  max-height: 150px;
}

