/* Modern Core Values Section */
.core-values-modern {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
  text-align: left;
}

.section-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #212529;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.title-decoration {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 2px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
/* Value Cards */
.value-card {
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.dark-card {
  background-color: #212529;
  color: white;
}

.light-card {
  background-color: white;
  color: #212529;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Card Content */
.card-header {
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.card-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-subtitle {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #4facfe;
  margin: 0;
}

.dark-card .card-subtitle {
  color: #00f2fe;
}
.dark-card .card-title {
    color: #f8f9fa;
}

.card-body {
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.card-text {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* Card Number */
.card-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: "Open Sans", sans-serif;
  font-weight: 900;
  font-size: 3rem;
  opacity: 0.1;
  line-height: 1;
  z-index: 1;
}

.dark-card .card-icon {
  color: rgba(255, 255, 255, 0.1);
}

.light-card .card-icon {
  color: rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .core-values-modern {
    padding: 80px 0;
  }

  .values-container {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .value-card {
    padding: 30px;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .core-values-modern {
    padding: 60px 0;
  }

  .values-container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .value-card {
    min-height: auto;
  }
}
