/* AboutTeacherView component styles */
.about-teacher-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2rem 100px 2rem;
}

.about-teacher-page .profile-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8e8e8;
}

.about-teacher-page .name {
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin: 0 0 0.5rem 0;
  font-family: 'Departure Mono', monospace;
}

.about-teacher-page .title {
  font-size: 1.2rem;
  color: #0071E3;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

.about-teacher-page .focus {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

.about-teacher-page .profile-content {
  direction: rtl;
}

.about-teacher-page .profile-section {
  margin-bottom: 2.5rem;
}

.about-teacher-page .profile-section h2 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #2f5496;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0071E3;
  display: inline-block;
}

.about-teacher-page .profile-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 1rem 0;
}

/* Certification Logos */
.cert-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  border-radius: 12px;
  border: 1px solid #e8e8e8;
}

.cert-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cert-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.cert-logo.vmware {
  width: 80px;
  height: 48px;
}

.cert-logo-item span {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credentials-list li {
  padding: 1rem 1.5rem;
  position: relative;
  color: #444;
  font-size: 0.95rem;
  background: #f8f9ff;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  border-right: 3px solid #0071E3;
}

.credentials-list li strong {
  color: #0071E3;
}

.microsoft-certs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.ms-cert {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #f25022 0%, #7fba00 25%, #00a4ef 50%, #ffb900 75%, #f25022 100%);
  background-size: 200% 200%;
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.1);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: #0071E3;
  font-family: 'Departure Mono', monospace;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

.teaching-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.teaching-list li {
  background: #f0f0f0;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #444;
}

.workshop-note {
  background: #fffbeb;
  border-right: 3px solid #f59e0b;
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
}

/* Client Cards with Logos */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 80px;
}

.client-card:hover {
  border-color: #0071E3;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.1);
  transform: translateY(-2px);
}

.client-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.client-card span {
  font-size: 0.85rem;
  color: #444;
  text-align: center;
}

.client-card:hover span {
  color: #0071E3;
}

/* Work History */
.work-history {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.work-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8f8f8;
  border-radius: 8px;
}

.work-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.work-company {
  font-weight: 500;
  color: #333;
}

.work-role {
  color: #666;
  font-size: 0.9rem;
}

.work-note {
  color: #0071E3;
  font-size: 0.85rem;
}

/* ── Tablet (768px – 1024px) ─────────────────────── */

@media (max-width: 1024px) {
  .about-teacher-page {
    max-width: 100%;
    padding: 1.5rem 1.5rem 80px 1.5rem;
  }

  .about-teacher-page .name {
    font-size: 2.2rem;
  }

  .cert-logos {
    gap: 2rem;
  }

  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Phone (< 768px) ────────────────────────────── */

@media (max-width: 767px) {
  .about-teacher-page {
    padding: 0.75rem 0.75rem 40px 0.75rem;
  }

  .about-teacher-page .profile-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .about-teacher-page .name {
    font-size: 1.75rem;
  }

  .about-teacher-page .title {
    font-size: 1rem;
  }

  .about-teacher-page .focus {
    font-size: 0.85rem;
  }

  .about-teacher-page .profile-section {
    margin-bottom: 1.75rem;
  }

  .about-teacher-page .profile-section h2 {
    font-size: 1.1rem;
  }

  .about-teacher-page .profile-section p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .cert-logos {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .cert-logo {
    width: 40px;
    height: 40px;
  }

  .cert-logo.vmware {
    width: 64px;
    height: 40px;
  }

  .cert-logo-item span {
    font-size: 0.78rem;
  }

  .credentials-list li {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
  }

  .microsoft-certs {
    gap: 0.35rem;
  }

  .ms-cert {
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .teaching-list li {
    font-size: 0.82rem;
    padding: 0.3rem 0.6rem;
  }

  .workshop-note {
    padding: 0.75rem;
    font-size: 0.88rem;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .client-card {
    padding: 0.75rem;
    min-height: 70px;
  }

  .client-logo {
    width: 32px;
    height: 32px;
  }

  .client-card span {
    font-size: 0.78rem;
  }

  .work-item {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
  }

  .work-company {
    font-size: 0.88rem;
  }

  .work-role {
    font-size: 0.82rem;
  }
}
