/* ============================================================
   Services Archive — Grid Layout
   Add these styles to your theme.css or responsive.css
   ============================================================ */

/* Grid spacing between cards */
.services_archive_sec .services_grid .services_area {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services_archive_sec .services_grid .services_txt {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services_archive_sec .services_grid .services_txt .readmore {
    margin-top: auto;
    width: 131px;
    display: inline-block;
}

/* Ensure image fills card width in grid (not carousel fixed width) */
.services_archive_sec .services_img img {
    width: 100%;
    object-fit: cover;
}

/* Pagination */
.services_archive_sec .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #ccc;
    color: inherit;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.services_archive_sec .page-numbers.current,
.services_archive_sec .page-numbers:hover {
    background: var(--golden-color, #b8960c);
    color: #fff;
    border-color: var(--golden-color, #b8960c);
}

/* ============================================================
   Single Service Page
   ============================================================ */

/* Detail image */
.service_detail_img img {
    width: 100%;
    border-radius: 6px;
}

/* Sidebar list */
.service_sidebar_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service_sidebar_list li {
    border-bottom: 1px solid #eee;
}

.service_sidebar_list li a {
    display: block;
    padding: 12px 10px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service_sidebar_list li a i {
    margin-right: 8px;
    font-size: 12px;
    transition: margin 0.3s ease;
}

.service_sidebar_list li a:hover,
.service_sidebar_list li.active a {
    color: var(--golden-color, #b8960c);
    padding-left: 16px;
}

.service_sidebar_list li a:hover i,
.service_sidebar_list li.active a i {
    margin-right: 12px;
}

/*==========HIPAA FORM============*/
/* Container */
/* .hipaa-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: auto;
} */

/* Headings */
.hipaa-form h3 {
  color: #0d6efd;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Layout */
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

/* Inputs */
.hipaa-form input,
.hipaa-form textarea,
.hipaa-form select {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

/* Focus Effect */
.hipaa-form input:focus,
.hipaa-form textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13,110,253,0.1);
  outline: none;
}

/* Checkboxes */
.checkbox-group span {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 10px;
}

/* Consent */
.consent-box {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}

/* Submit Button */
.submit-wrap {
  text-align: center;
  margin-top: 20px;
}

.hipaa-form input[type="submit"] {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.hipaa-form input[type="submit"]:hover {
  background: #0b5ed7;
}


/* ============================================================
   Responsive
   ============================================================ */

@media ( max-width: 767px ) {
    .services_archive_sec .services_img img {
        height: 180px;
    }

    .service_sidebar {
        margin-top: 40px;
    }
  .form-row {
    flex-direction: column;
  }
}