body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    padding-top: 83px; /* Add padding equal to the height of navbar */
}

/* Hover effects for clickable admin elements */
.hover-bg-light:hover {
    background-color: #f8f9fa !important;
    transition: background-color 0.2s ease;
}

/* Clickable table rows */
.clickable-row:hover {
    background-color: #f8f9fa !important;
    transition: background-color 0.2s ease;
}

main {
    flex: 1 0 auto; /* This makes main content take up available space */
    min-height: 77vh; /* Ensures main content takes at least 92% of the viewport height - this is used to position the footer at the bottom of the page if the content is not as long as a page*/
}

h1 {
    color: black;
}

#fixed-cta {
  position: fixed;
  top: 83px; /* adjust to your navbar height */
  left: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-bottom: 1px solid #e5e5e5;
}
.fixed-cta-spacer {
  height: 50px; /* add navbar height if needed */
}

/* CSS for mobile devices */
@media (max-width: 576px) {
    .container {
        padding: 1em !important;
    }

    body {
        padding-top: 115px; /* Increase padding for taller mobile navbar */
    }


#fixed-cta {
  position: fixed;
  top: 115px; /* adjust to your navbar height */
  left: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-bottom: 1px solid #e5e5e5;
}
.fixed-cta-spacer {
  height: 120px; /* add navbar height if needed */
}

}


.service-card-title {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}
.service-card-desc {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
}
.service-card-title { font-size: 1rem; }
.service-card-desc { font-size: 0.9rem; }

@media (min-width: 576px) and (max-width: 767.98px) {
  .service-card-title { font-size: 0.95rem; }
  .service-card-desc { font-size: 0.85rem; }
}
@media (min-width: 768px) {
  .service-card-title { font-size: 1.15rem; }
  .service-card-desc { font-size: 1rem; }
}


footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    margin-top: auto; /* Pushes footer to bottom when content is short */
}

footer p {
    margin: 0;
}

footer a {
    color: #ffc107;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

html {
    scroll-padding-top: 60px; /* Adjust to your navbar height */
}




.transition-card {
  transition: transform 0.2s cubic-bezier(.21,.61,.35,1), box-shadow 0.2s cubic-bezier(.21,.61,.35,1);
}
.transition-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.12);
}
