﻿.insurance-gallery-section {
  background-color: #ffffff;
}

.insurance-image-card {
  position: relative;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.insurance-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.insurance-image-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 55, 0.12) 5%, rgba(31, 42, 55, 0.56) 92%);
  transition: background-color 0.3s ease;
}

.insurance-image-card .card-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background-color: var(--green);
  color: #ffffff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  font-size: 0.88rem;
}

.insurance-image-card:hover img {
  transform: scale(1.08);
}

.insurance-image-card:hover .card-overlay {
  background: rgba(31, 42, 55, 0.63);
}

/* Professional cards polish */
.insurance-image-card {
  border: 1px solid rgba(31, 42, 55, 0.12);
  box-shadow: 0 18px 42px -32px rgba(31, 42, 55, 0.52);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.insurance-image-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 74, 0.34);
  box-shadow: 0 26px 48px -28px rgba(31, 42, 55, 0.56);
}

.insurance-image-card .card-label {
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 22px -14px rgba(201, 162, 74, 0.9);
}

@media (max-width: 991.98px) {
  .insurance-image-card {
    height: 210px;
  }
}

@media (max-width: 575.98px) {
  .insurance-image-card {
    height: 190px;
  }

  .insurance-image-card .card-label {
    font-size: 0.8rem;
  }
}


