/* Core Values Section Styles - Reference Website Style */

.our-values {
  padding: 100px 0;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-section/abouthero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.our-values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="50" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.our-values .container {
  position: relative;
  z-index: 2;
}

.our-values h2 {
  color: #ffffff !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 20px !important;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
  position: relative !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.our-values h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ffcc33, #ff6b35);
  border-radius: 2px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px #ffcc33; }
  to { box-shadow: 0 0 20px #ff6b35; }
}

.our-values > .row > .text-center p {
  color: rgba(255,255,255,0.9) !important;
  font-size: 18px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  font-weight: 300;
  line-height: 1.6;
}

.value-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.value-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,204,51,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.5s ease;
  transform: scale(0);
}

.value-box:hover::before {
  opacity: 1;
  transform: scale(1);
}

.value-box:hover {
  transform: translateY(-15px) scale(1.02);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.value-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ffcc33 0%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}

.value-box:hover .value-icon-wrapper {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(255,204,51,0.4);
}

.value-icon-wrapper i {
  font-size: 32px;
  color: white;
  transition: all 0.3s ease;
}

.value-box:hover .value-icon-wrapper i {
  transform: scale(1.2);
}

.value-box h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.value-box:hover h4 {
  color: #ffcc33;
  transform: translateY(-2px);
}

.value-box p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  transition: all 0.3s ease;
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.value-box:hover p {
  color: rgba(255,255,255,0.95);
}

.value-feature-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #ffcc33, #ff6b35);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.value-box:hover .value-feature-highlight {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .our-values {
    padding: 100px 0;
  }
  
  .value-box {
    padding: 45px 35px;
  }
}

/* Laptop/Desktop (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .our-values {
    padding: 90px 0;
  }
  
  .our-values h2 {
    font-size: 38px;
  }
  
  .value-box {
    padding: 40px 30px;
  }
  
  .value-icon i {
    font-size: 44px;
  }
  
  .value-box h4 {
    font-size: 20px;
  }
  
  .value-box p {
    font-size: 14px;
  }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .our-values {
    padding: 80px 0;
  }
  
  .our-values h2 {
    font-size: 34px;
  }
  
  .value-box {
    padding: 35px 25px;
  }
  
  .value-icon i {
    font-size: 40px;
  }
  
  .value-box h4 {
    font-size: 18px;
  }
  
  .value-box p {
    font-size: 13px;
  }
}

/* Tablet Portrait (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .our-values {
    padding: 70px 0;
  }
  
  .our-values h2 {
    font-size: 30px;
  }
  
  .value-box {
    padding: 30px 20px;
  }
  
  .value-icon i {
    font-size: 36px;
  }
  
  .value-box h4 {
    font-size: 17px;
  }
  
  .value-box p {
    font-size: 12px;
  }
}

/* Mobile Landscape (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
  .our-values {
    padding: 60px 0;
  }
  
  .our-values h2 {
    font-size: 26px;
  }
  
  .value-box {
    padding: 25px 18px;
  }
  
  .value-icon i {
    font-size: 32px;
  }
  
  .value-box h4 {
    font-size: 16px;
  }
  
  .value-box p {
    font-size: 11px;
  }
}

/* Mobile Portrait (320px - 479px) */
@media (max-width: 479px) {
  .our-values {
    padding: 50px 0;
  }
  
  .our-values h2 {
    font-size: 22px;
  }
  
  .value-box {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .value-icon i {
    font-size: 30px;
  }
  
  .value-box h4 {
    font-size: 15px;
  }
  
  .value-box p {
    font-size: 11px;
  }
}
