/*
 * Core Values Service Card Style
 * Applies the same styling as service page cards to Core Values cards
 */

/* Container styling */
.container1 {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  padding: 0 20px;
}

/* Heading styling to match section headings */
.container1 h1 {
  text-align: left;
  margin-bottom: 1.5rem;
  color: #283848;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-size: 32px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Gold underline for heading */
.container1 h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #d9a442;
}

/* Card container grid layout */
.card-container1 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

/* Core Values card - service card style */
.card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

  position: relative;
  border-left: 4px solid #d9a442; /* Gold left border like service cards */
  flex: 1 1 calc(25% - 20px);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}



/* Card image container */
.card-image1 {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image styling */
.card-image1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content section styling */
.card-content1 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Title styling */
.card-title1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #283848; /* Dark blue-gray */

  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}



/* Description styling */
.card-description1 {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: left !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .card {
    flex: 1 1 calc(33.333% - 20px);
  }
}

@media (max-width: 991px) {
  .card {
    flex: 1 1 calc(50% - 20px);
  }
  
  .card-title1 {
    font-size: 18px;
  }
  
  .card-description1 {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .card-container1 {
    flex-direction: column;
  }
  
  .card {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}
