.panel-default>.panel-heading {
    padding: 0px;
}

/* Sleek styling for parent cards */
.parent-panel {
  border: 2px solid #ddd; /* Thin border around the entire card */
  border-radius: 8px; /* Rounded corners for the whole card */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Initial subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
  overflow: hidden; /* Ensure nothing overflows outside the card */
  background-color: #fff; /* Ensure white background */
}

.parent-panel:hover {
  transform: translateY(-5px); /* Lift the entire card on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Image styling inside the card */
.parent-panel-img {
  width: 100%; /* Ensure image takes up full width of the card */
  height: auto;
  border-top-left-radius: 8px; /* Rounded corners for the top of the card */
  border-top-right-radius: 8px;
}

/* Title and text styling */
.panel-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.panel-text {
  font-size: 14px;
  color: #555;
}

.btn-block {
    background-color: var(--primary-accent); /* Primary accent color */
    color: white;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid var(--button-border); /* Button border color */
    margin-top: 10px;
    transition: background-color 0.3s ease; /* Smooth transition */
}

.btn-block:hover {
    background-color: #84b2c0; /* Darker shade of the primary accent color */
    border-color: #7ca9b5; /* Darker tone for the hover border */
}


/* Photo bar styling (unchanged) */
.parent-photo-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.photo-container {
  position: relative;
  display: inline-block;
}

.parent-photo-bar-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.parent-photo-bar-img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Photo overlay */
.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  transition: opacity 0.2s ease-in-out;
}

.photo-container:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay i {
  font-size: 24px;
  color: white;
}

/* Table styling */
.parent-profile-table {
  width: 100%;
  margin-top: 20px;
}

.parent-profile-table th,
.parent-profile-table td {
  padding: 12px;
  border-top: 1px solid #ddd;
  text-align: left;
}

/* Right column (profile card) */
.parent-main-info {
  background: #f8f9fa;
  padding: 0px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0; /* Keep the profile card at the top */
}

.parent-main-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.parent-quick-info p {
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
}

.image-overlay-container {
  position: relative;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px;
  text-align: center;
  font-size: 14px;
}

.magnifying-glass {
  margin-right: 10px;
}

.photo-overlay {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center the icon and date horizontally */
}

.photo-date {
  margin-top: 5px; /* Add some spacing between the icon and the date */
  font-size: 0.9em; /* Adjust font size if necessary */
}

#footer .social a {
  color: inherit;
}

#heading-breadcrumbs {
    background: rgba(211, 211, 211, 0.5) url('../img/texture-bw.png') center center repeat;
    padding: 20px 0;
    background-color: lightgrey; /* Sets a light grey background color */
    background-blend-mode: overlay; /* Blends the image and background color */
}

.parents-listing {
  margin-top: 20px;
}

.parents-listing-cards {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  flex-flow: wrap;
}

.top-margin-2 {
    margin-top: 20px;
}

/* Elegant Table Styling (GitHub-like) */
.parent-profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.parent-profile-table th, .parent-profile-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e1e4e8;
}

.parent-profile-table th {
  background-color: #f6f8fa;
  font-weight: 600;
}

.parent-profile-table tr:hover {
  background-color: #f1f1f1;
}

.parent-about-section {
  padding-left: 10px;
  padding-right: 10px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .col-md-9, .col-md-3 {
    width: 100%;
    margin-bottom: 20px;
  }

  .parent-main-info {
    position: relative;
  }
}





/* Parent card and image styling */
.parent-card {
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.parent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.parent-card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
}

.parent-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Parent info table styling */
.parent-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

.parent-info-table th,
.parent-info-table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.parent-info-table th {
  background-color: #f9f9f9;
  font-weight: bold;
}

/* Body content adjustment to fill the remaining card space */
.panel-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .col-md-4 {
    width: 100%;
  }
}
