/* CEO Section */
.ceo-section {
  padding: 2rem 2rem;
  background-color: #FFFFFF;
}

.ceo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.ceo-image {
  flex: 1;
  min-width: 280px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: calc(var(--order) * 0.15s);
}

.ceo-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.ceo-info {
  flex: 2;
  min-width: 300px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: calc(var(--order) * 0.15s);
}

.ceo-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0B2545;
}

.ceo-info h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #F97316;
  margin-bottom: 1.5rem;
}

.ceo-info p {
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.ceo-quote {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 4px solid #F97316;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1F2937;
}

/* Core Values Section */
.values-section {
  padding: 4rem 2rem;
  background-color: #F9FAFB;
}

.values-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0B2545;
}

.divider {
  width: 80px;
  height: 4px;
  background-color: #F97316;
  margin: 1rem auto;
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: #4B5563;
}

.values-grid {
  display: grid;
  /* Forcing 4 cards in one row on desktop */
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background-color: white;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: calc(var(--order) * 0.1s);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.value-img {
  background: linear-gradient(135deg, #1E3A8A, #3B82F6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.value-img i {
  font-size: 2.5rem;
}

.value-content {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.value-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.value-content p {
  color: #4B5563;
  flex-grow: 1;
}

@media (max-width: 1024px) {
  .values-grid {
    /* Revert to a wrapping grid for tablets and smaller screens */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .ceo-container {
    flex-direction: column;
    text-align: center;
  }

  .ceo-info h2 {
    font-size: 2rem;
  }

  .ceo-quote {
    margin: 2rem auto;
  }

  .values-section, .ceo-section {
    padding: 3rem 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}