/* Team page specific styles */
#leadership {
  background: linear-gradient(to bottom, #ffffff, #f4f7fc);
  padding: 80px 20px;
  font-family: 'Lato', sans-serif;
  color: #1f2937;
}

.leadership-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.leadership-intro h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #002B5B;
}

.leadership-philosophy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  align-items: stretch;
}



.philosophy-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-top: 4px solid #2196F3;
  transition: transform 0.3s ease;


}

.philosophy-card:hover {
  transform: translateY(-5px);
}

.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.compass-icon { background-image: url('images/compassglow.png'); }
.bridge-icon  { background-image: url('images/bridgeglow.png'); }
.arrow-icon   { background-image: url('images/upwardarrowglow.png'); }
.growth-icon  { background-image: url('images/growthglow.png'); }

/* Global Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Section Wrappers */
.section-wrapper,
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Team Section */
.team-section {
  text-align: center;
  padding: 0 20px;
}

.team-section h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: #002B5B;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Team Card */
.team-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-top: 4px solid #4CAF50;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: #1f2937;
}

.team-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374151;
}

/* Leadership Philosophy */
.leadership-philosophy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  align-items: stretch;
}

/* Quote Carousel */
.quote-carousel {
  position: relative;
  background: linear-gradient(to right, #eef2f7, #f9fafc);
  padding: 50px 20px;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.quote-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.quote-card.active {
  opacity: 1;
  position: relative;
}

.quote-text {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
  font-family: 'Segoe UI', sans-serif;
}

.quote-author {
  font-size: 1rem;
  color: #4b5563;
  font-style: italic;
}

/* Intro Icon */
.intro-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  background-image: url('images/compassglow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Layouts */
@media (max-width: 1024px) {
  .team-grid,
  .leadership-philosophy {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid,
  .leadership-philosophy {
    grid-template-columns: 1fr;
  }
}

.divider-gradient {
  height: 60px;
  background: linear-gradient(to bottom, #003f7d, #f4f7fc);
  margin-bottom: -1px;
}

@media (max-width: 768px) {
  .divider-gradient {
    height: 40px;
  }
}
