/* Core Values Section */
.values-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #E8F4FD 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.night-mode .values-section {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.5) 0%, transparent 100%);
}

.values-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(65, 143, 222, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.values-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.values-section .container {
  position: relative;
  z-index: 1;
}

/* Value Cards */
.value-card {
  background: white;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(65, 143, 222, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.night-mode .value-card {
  background: rgba(44, 62, 80, 0.6);
  border-color: rgba(65, 143, 222, 0.3);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-gold) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(65, 143, 222, 0.2);
  border-color: var(--primary-blue);
}

/* Value Icon */
.value-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--medium-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 24px rgba(65, 143, 222, 0.3);
  transition: all 0.4s ease;
  position: relative;
}

.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #FFC700 100%);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
}

.value-icon::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px dashed var(--primary-blue);
  border-radius: 50%;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Value Content */
.value-card h5 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal-black);
  margin-bottom: 16px;
  line-height: 1.4;
}

.night-mode .value-card h5 {
  color: white;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.night-mode .value-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Value Badge */
.value-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--light-blue);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.value-card:hover .value-badge {
  background: var(--accent-gold);
  color: var(--charcoal-black);
  opacity: 1;
  transform: scale(1.2);
}

.night-mode .value-badge {
  background: rgba(65, 143, 222, 0.2);
  color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .values-section {
    padding: 60px 0;
  }
  
  .value-card {
    padding: 32px 24px;
  }
  
  .value-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .value-icon::after {
    width: 100px;
    height: 100px;
  }
  
  .value-card h5 {
    font-size: 1.25rem;
  }
}
