html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ServiceCard component styles */

.service-card.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.service-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.service-card.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
}

.service-card .icon {
    color: #3273dc; /* Bulma info color */
}

/* Fixed title height to ensure alignment */
.service-card .title {
    margin-bottom: 0.75rem;
    min-height: 2.5rem; /* Approximately 2 lines of text */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .subtitle {
    margin-bottom: 1rem;
}

/* Fixed height for content area */
.service-card .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .service-card .content p {
        margin-bottom: 0;
        min-height: 4.5rem; /* Approximately 3 lines of text */
    }

/* Push button to bottom */
.service-card .button-container {
    margin-top: auto;
    padding-top: 1rem;
}