/*----------------------
# HP V2 Expertise Section
------------------------------*/
.hp-v2-expertise {
  padding: 0;
}

.hp-v2-expertise .row {
  margin-left: -8px;
  margin-right: -8px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.hp-v2-expertise [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
}

.hp-v2-section-description {
  color: #333;
  text-align: left;
  max-width: 100%;
}

.expertise-card {
  background: #235397;
  color: white;
  padding: 25px 20px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  border: none;
  box-shadow: none;
  min-height: 200px;
  height: 100% !important;
  flex: 1;
}

.expertise-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.expertise-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-icon img {
  max-width: 30px;
  max-height: 30px;
  filter: brightness(0) invert(1);
}

.expertise-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: white;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expertise-description {
  font-size: 16px;
  font-weight: normal;
  color: white;
  margin: 0;
  opacity: 0.95;
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .hp-v2-expertise .container-1100 {
    padding: 0 15px;
  }

  .expertise-card {
    height: 100%;
    max-width: 450px;
    min-height: 176px;
    padding: 20px 15px;
    flex: 1;
  }

  .expertise-title {
    font-size: 20px;
  }

  .expertise-description {
    font-size: 16px;
  }

}

@media (min-width: 992px) and (max-width: 1152px) {
  .hp-v2-expertise .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .hp-v2-expertise .row>[class*="col-"] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .expertise-title {
    font-size: 16px;
  }

  .expertise-description {
    font-size: 16px;
  }

  .expertise-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 176px;
    padding: 22px 18px;
    box-sizing: border-box;
  }

  .expertise-card .expertise-content {
    flex: 1 1 auto;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .hp-v2-expertise {
    padding: 0;
    margin-left: 15px;
    margin-right: 15px;
  }

  .hp-v2-expertise .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hp-v2-expertise .row {
    margin-left: -8px;
    margin-right: -8px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .hp-v2-expertise [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
  }

  .hp-v2-section-description {
    font-size: 16px;
    text-align: center;
    padding: 0;
    margin-bottom: 30px;
  }

  .expertise-card {
    height: 100%;
    min-height: 200px;
    flex: 1;
  }

  .expertise-card:hover {
    /* removed fixed height override */
  }

  .expertise-header {
    gap: 12px;
    margin-bottom: 12px;
  }

  .expertise-title {
    font-size: 16px;
  }

  .expertise-description {
    font-size: 16px;
  }
}
