:root {
  --brand-teal: #53e2e5ff;
  --brand-main: #226a6bff;
  --brand-teal-dark: #407071ff;
  --brand-light-blue: #d4f7fcff;
  --brand-dark-text: #2c465eff;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--brand-light-blue);
  position: relative;
  overflow-x: hidden;
  color: var(--brand-dark-text);
}

.background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.background-wrapper::before,
.background-wrapper::after {
  content: "";
  position: absolute;
  background-color: var(--brand-teal);
  border-radius: 100%;
}

/* Top curve */
.background-wrapper::before {
  width: 120vw;
  height: 120vw;
  top: -70vw;
  left: -30vw;
  opacity: 0.9;
}

/* Bottom curve */
.background-wrapper::after {
  width: 140vw;
  height: 140vw;
  bottom: -95vw;
  right: -50vw;
  opacity: 0.9;
}

@media (min-width: 992px) {
  .background-wrapper::before {
    width: 100vw;
    height: 100vw;
    top: -75vw;
    left: -20vw;
  }

  .background-wrapper::after {
    width: 100vw;
    height: 100vw;
    bottom: -75vw;
    right: -25vw;
  }
}

.navbar {
  background-color: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
  font-weight: 700;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav-link.active {
  color: var(--brand-teal) !important;
  border-bottom: 2px solid var(--brand-teal);
}

.btn-login {
  font-weight: 600;
}

.btn-signup {
  background-color: var(--brand-teal);
  border-color: var(--brand-teal);
  color: white;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-signup:hover {
  background-color: var(--brand-teal-dark);
  border-color: var(--brand-teal-dark);
  color: white;
}

.hero-section {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.hero-section h1 {
  font-weight: 700;
  line-height: 1.3;
}

.hero-section img {
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(45, 149, 150, 0.2);
}

.appointment-form-section {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.appointment-form-section .form-control {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #ced4da;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.appointment-form-section .form-control::placeholder {
  color: #6c757d;
}

.appointment-form-section .form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: var(--brand-teal);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(45, 149, 150, 0.25);
}

footer {
  padding: 2rem 0;
  font-size: 0.9rem;
}

.is-valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
/* Hide spin buttons for number input */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}