/* ===== TEAM SECTION ===== */
.team-section {
  padding: 2rem 0;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2%;
  gap: 1%;
}

.team-col {
  width: 24%;
  min-height: 320px;
  background-color: #f9f9f9;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

/* Info block */
.team-info strong {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.25rem;
}

.team-title {
  font-size: 1rem;
  font-weight: bold;
  color: #555;
}

/*
  FIXED PHOTO SIZING:
  - Use an absolute full-cover layer (no padding-top square hack)
  - Keeps image consistent across varying card heights
*/
.team-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  z-index: 2;
}

/* Bio reveal */
.team-bio-text {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
}

/* Slide effect */
.team-col:hover .team-photo {
  transform: translateX(-100%);
}

.team-col.slide-right:hover .team-photo {
  transform: translateX(100%);
}

.team-col:hover .team-bio-text {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .team-col {
    width: 100%;
    margin-bottom: 1.5rem;
    min-height: auto;
  }

  .team-row {
    flex-direction: column;
  }

  /* On mobile: stop the slide-out, show image normally on top */
  .team-photo {
    position: relative;
    height: 240px;
    transform: none !important;
    border-radius: 10px;
  }

  .team-bio-text {
    opacity: 1;
    margin-top: 1rem;
  }
}


/* ===== STEPS SECTION ===== */
.steps-flow {
  padding: 4rem 2rem;
  background: #fafafa;
  text-align: center;
}

.steps-header {
  margin: 0 0 2rem 0;
}

.steps-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  width: 100%;
  max-width: 30%;
  min-width: 280px;
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.step-icon {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
}

.step-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.step-button {
  display: inline-block;
  background: #1fa9a5;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.step-button:hover {
  background: #178a87;
}

@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
  }
  .step-card {
    width: 100%;
    max-width: 100%;
  }
}


/* ===== FAQ SECTION ===== */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
  font-family: sans-serif;
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 400;
  text-align: left;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  color: #000;
  font-size: 1.1rem;
  font-weight: 500;
  border: 1px solid #ccc;
  padding: 1rem;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.faq-question::after {
  content: '\25BC';
  font-size: 1rem;
  position: absolute;
  right: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 1rem 1rem 1.5rem 1rem;
  background-color: #f9f9f9;
  border-top: none;
  font-size: 0.95rem;
  line-height: 1.5;
}

.faq-answer.open {
  display: block;
}

/* ===== Comparison Table ===== */
.comparison-section {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #e0e0e0;
  padding: 0.9rem 1rem;
  vertical-align: top;
  text-align: left;
}

.comparison-table thead th {
  background: #f5f7f8;
  font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* Feature column styling */
.feature-col {
  width: 28%;
  font-weight: 600;
  background: #fcfcfc;
}

/* Improve readability of long text */
.comparison-table td {
  line-height: 1.5;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.9rem;
  }

  .feature-col {
    width: auto;
  }
}

/* ===== Contact Page ===== */
.contact-page {
  padding: 3rem 1rem;
  background: #fafafa;
}

.contact-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.contact-wrap h2 {
  margin: 0 0 0.75rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-button {
  display: inline-block;
  margin-top: 0.75rem;
  background: #1fa9a5;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.contact-button:hover {
  background: #178a87;
}

.contact-button.secondary {
  background: #2c3e50;
}

.contact-button.secondary:hover {
  background: #1f2c38;
}

.contact-button.ghost {
  background: transparent;
  color: #1fa9a5;
  border: 2px dashed #1fa9a5;
}

.contact-button.ghost:hover {
  background: rgba(31, 169, 165, 0.08);
}

.contact-notes {
  margin-top: 1.75rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 1.25rem;
}

.text-link {
  color: #1fa9a5;
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


.comparison-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}
