.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--card-border);
    gap: 1rem;
    max-width: 350px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow-color, rgba(0, 0, 0, 0.1));
}

.card-image-wrapper {
    height: 180px;
    /* Elegant, shorter header height */
    border-bottom: 1px dotted var(--button-bg);
    /* Your signature divider */
}

.Servicecard-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px dotted var(--button-bg);
    border-radius: 4px;

    max-height: 400px;
    overflow-y: auto;
    min-height: 300px;

}
 
.card-title {
    font-size: 1rem;
    color: var(--text-color);
    width: fit-content;
    text-align: left;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.next-section-btn {
    align-self: flex-start;
    /* Keeps the button from stretching */
    margin-top: auto;
    /* Pushes button to bottom if text lengths vary */
}



/* Responsive grid for larger screens */
@media (min-width: 640px) {
    .service-card {
        max-width: 100%;
        min-width: 240px;
        gap: 0.2rem;
    }
}

@media (min-width: 1024px) {
    .service-card {
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    }
}
 

.cta-buttonSC {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button-bg);
  color: var(--button-text-color);
  border: 1px solid var(--button-border);
  padding: var(--button-padding-vertical) var(--button-padding-horizontal);
  border-radius: 24px;
  text-decoration: none;
  font-size: var(--font-size-cta-mobile);
  margin-top: 4px;
  height: var(--button-height);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s ease-out;
}

.cta-buttonSC.dissolve {
  opacity: 0.5;
}

.cta-buttonSC:hover {
  background-color: var(--button-hover-color);
  color: var(--button-text-color);
  border-color: var(--border-color);
}


 


/* Container for the cards */
.availability-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Individual Card Styling */
.card {
  background: var(--card-bg);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 300px; /* Limits width on desktop */
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.status-open { background: #d4edda; color: #155724; }    /* Green */
.status-limited { background: #fff3cd; color: #856404; } /* Yellow */
.status-busy { background: #f8d7da; color: #721c24; }    /* Red */