/* Mobile nav close button */
#mobileNavClose {
  display: none;
}

@media (max-width: 991px) {
  #navbarNavDropdown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    padding-top: 80px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  }
  .logo-header {
    margin-bottom: 0;
  }
  .sub-menu {
    display: none;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 0.5rem 1rem;
    position: static;
  }
  .sub-menu.show {
    display: block;
  }
}
:root {
  --primary-color: #00adef;
  --secondary-color: #6c757d;
  --background-light: #f8f9fa;
  --background-white: #fff;
  --background-black: #000;
  --text-dark: #212529;
}

/* Make contact info links highly visible everywhere except the footer */
.contact-info-link {
  color: var(--primary-color) !important;
  background: transparent !important;
  font-weight: normal !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border: none !important;
  text-transform: none !important;
  font-size: inherit !important;
  letter-spacing: normal !important;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s,
    border 0.2s !important;
}
.contact-info-link:hover,
.contact-info-link:focus {
  color: #333 !important;
  border-radius: 4px !important;
}

.custom-slider-viewport {
  height: 70vh;
  min-height: 400px;
  max-height: 900px;
  position: relative;
  overflow: hidden;
}
.custom-slider-viewport .carousel-item img {
  height: 70vh;
  min-height: 400px;
  max-height: 900px;
  object-fit: cover;
  width: 100%;
}
.custom-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.08) 100%
  );
  z-index: 2;
}
.custom-slider-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 3;
  color: #fff;
  text-align: left;
  max-width: 600px;
}
.custom-slider-caption h2 {
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  color: #fff;
}
.custom-slider-caption p {
  font-size: 1.3rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
  color: #fff;
}
.custom-slider-caption .btn {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
@media (max-width: 767px) {
  .custom-slider-caption h2 {
    font-size: 1.5rem;
  }
  .custom-slider-caption p {
    font-size: 1rem;
  }
  .custom-slider-caption {
    left: 5%;
    max-width: 90vw;
  }
}

/* Profile card (Team member) */
.profile-card {
  max-width: 320px; /* keep card same width as image */
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background: var(--background-white);
}
.profile-card .profile-img {
  width: 100%;
  height: auto;
  display: block;
}
.profile-card .profile-body {
  background: var(--background-white);
  padding: 20px 22px 24px;
}
.profile-card .profile-role {
  color: #6b6f76;
  display: block;
  margin-top: 6px;
}
.profile-card .accent {
  width: 48px;
  height: 3px;
  background: var(--primary-color);
  margin: 10px auto 14px;
  border-radius: 3px;
}
.profile-card .profile-text {
  margin-top: 6px;
}

/* Hide testimonial carousel arrows */
.testimonial-three1 .owl-nav,
.owl-btn-center-lr .owl-nav {
  display: none !important;
}

/* Modal contact form button: force primary blue */
#contactForm .site-button {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}
#contactForm .site-button:hover,
#contactForm .site-button:focus {
  background: #0095d1 !important; /* slightly darker */
  border-color: #0095d1 !important;
  color: #fff !important;
}

/* Inline appointment panel (blue background): make the button white */
.about-appoint #contactForm .site-button {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--primary-color) !important;
}
.about-appoint #contactForm .site-button:hover,
.about-appoint #contactForm .site-button:focus {
  background: #f7f7f7 !important;
  border-color: #f7f7f7 !important;
  color: var(--primary-color) !important;
}
