/* ==========================================================================
   TEAM & WHY CHOOSE US CARDS STYLES
   ========================================================================== */

/* Team Section */
.team-section {
  padding: 5.5rem 0;
  background-color: var(--background);
  position: relative;
  width: 100%;
}

@media (max-width: 768px) {
  .team-section {
    padding: 3.5rem 0;
  }
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
  gap: 2.5rem;
  justify-content: center;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: minmax(280px, 100%);
    justify-content: center;
    gap: 2rem;
  }
}

/* Team Card - Modern Executive Profile Design */
.team-card {
  background: var(--card-background);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(7, 92, 42, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* Card Media (Image Frame - Generous Space for Portrait) */
.team-card-media {
  position: relative;
  width: 100%;
  height: 400px;
  background: var(--background-light);
  overflow: hidden;
}

@media (max-width: 480px) {
  .team-card-media {
    height: 350px;
  }
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-card:hover .team-image {
  transform: scale(1.04);
}

.team-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 2;
}

/* Card Body */
.team-card-body {
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  width: 100%;
  background: var(--background-white);
  box-sizing: border-box;
}

.team-role-pill {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  background: var(--primary-soft);
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  width: fit-content;
  margin: 0 auto 0.65rem auto;
  display: inline-block;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  text-align: center;
}

.team-bio {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-medium);
  margin: 0;
  text-align: center;
}



/* ==========================================================================
   WHY CHOOSE US SUB-SECTION (Driven by Excellence)
   ========================================================================== */

.whyus-sub-section {
  margin-top: 6rem;
  padding-top: 5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
  clear: both;
}

@media (max-width: 768px) {
  .whyus-sub-section {
    margin-top: 4rem;
    padding-top: 3.5rem;
  }
}

.whyus-sub-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.whyus-sub-section .divider {
  margin: 0.85rem auto 0;
}



/* Why Choose Us Grid - Single Row on Desktop */
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .whyus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .whyus-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.whyus-card {
  background: var(--card-background);
  border: none;
  border-radius: 8px;
  padding: 2rem 1.6rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
  position: relative;
}

.whyus-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.whyus-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.whyus-icon-container {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(7, 92, 42, 0.12);
}

.whyus-icon-container i {
  color: inherit;
  transition: color var(--transition-fast);
}

.whyus-card:hover .whyus-icon-container {
  background: var(--primary-color);
  color: #ffffff !important;
  transform: scale(1.06);
}

.whyus-card:hover .whyus-icon-container i {
  color: #ffffff !important;
}

.whyus-step-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-light);
  opacity: 0.35;
  line-height: 1;
  transition: all var(--transition-fast);
}

.whyus-card:hover .whyus-step-number {
  color: var(--primary-color);
  opacity: 0.85;
}

.whyus-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.whyus-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary-color);
  margin-bottom: 0.35rem;
  display: block;
}

.whyus-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.whyus-desc {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.65;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.whyus-card-footer {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-color);
}

.whyus-check-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--primary-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(7, 92, 42, 0.15);
}

.whyus-check-badge i {
  font-size: 0.85rem;
}


