body {
  padding-top: 56px; /* Adjust for fixed navbar */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}
/* Error banner styling is mostly inline for robustness, but this ensures it's above the navbar if padding-top is removed or changed */
#cdn-critical-error-banner {
  z-index: 2000 !important; /* Higher than Bootstrap's fixed navbar (1030) and modal (1050/1055) */
}
.hero-section {
  position: relative; /* For absolute positioning of overlay content */
  color: white;
  text-align: center;
  overflow: hidden; /* Important for full-width carousel items */
  height: 85vh; /* Increased height for more prominence */
  min-height: 550px; /* Increased min-height */
  display: flex; /* To help center content */
  align-items: center; /* To help center content */
  justify-content: center; /* To help center content */
}

#heroCarousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Make carousel fill the hero-section */
  z-index: 0; /* Behind the content */
}

#heroCarousel .carousel-inner, /* Ensure carousel-inner also takes full height */
.hero-section .carousel-item {
  height: 100%; /* Make carousel items fill the carousel container height */
}

.hero-section .carousel-item {
  background-size: cover;
  background-position: center center;
}

.hero-section .carousel-item::before { /* Dark overlay for readability */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45); 
}

.hero-section .container { /* This container holds the text */
  position: relative; /* To sit on top of the carousel */
  z-index: 1;
}

.section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  color: #343a40; /* Dark gray */
}
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 280px; /* Ensure cards have a consistent minimum height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.service-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-card .card-text {
  flex-grow: 1;
}
.floating-appointment-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1030; 
}
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1030;
  background-color: #25D366;
  border-color: #25D366;
}
.floating-whatsapp-btn:hover {
  background-color: #1DA851;
  border-color: #1DA851;
}
.map-responsive {
  overflow:hidden;
  padding-bottom:56.25%; /* 16:9 Aspect Ratio */
  position:relative;
  height:0;
}
.map-responsive iframe {
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
  border:0;
}
.ai-tip-container { /* Styles remain in case AI feature is re-enabled, not hurting if unused */
  font-size: 0.9em;
  padding: 0.5em;
  margin-top: 0.5em;
  border-radius: 0.25rem;
}
.ai-tip-loading {
  color: #6c757d; 
}
.ai-tip-content {
   background-color: #e9ecef; 
   border-left: 3px solid #0d6efd; 
}
.ai-tip-error {
  background-color: #f8d7da; 
  border-left: 3px solid #dc3545; 
  color: #721c24;
}

/* Larger Navbar Links on Desktop */
@media (min-width: 992px) { /* Bootstrap lg breakpoint */
  .navbar-nav .nav-link {
    font-size: 1.1rem; /* Increase font size */
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .navbar-brand {
    font-size: 1.4rem; /* Slightly larger brand name */
  }
}

/* Custom scrollbar for a more polished look - optional */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #0d6efd; /* Bootstrap primary blue */
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0a58ca; /* Darker blue on hover */
}