/* ==========================================================================
   NASTRA - OUR TRAINER & TRAINER PROFILE STYLES
   Design System: Nastra Modern Green & Industrial Safety
   ========================================================================== */

/* Hero Banner for Trainer Pages */
.trainer-hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #154536 0, transparent 40%),
              linear-gradient(135deg, #071b17 0%, #0d2b23 75%);
  color: #ffffff;
  padding: 60px 0 80px;
  overflow: hidden;
}

.trainer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}

.trainer-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.trainer-hero h1 {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 14px 0 18px;
  color: #ffffff;
}

.trainer-hero h1 em {
  font-style: normal;
  color: var(--lime, #c9f46d);
}

.trainer-hero p {
  font-size: 18px;
  color: #bfd0ca;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9eb2ab;
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: #d8e4df;
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  color: var(--lime, #c9f46d);
}

.breadcrumb-nav svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   OUR TRAINER DIRECTORY / GRID (PAGE 1)
   ========================================================================== */
.trainers-section {
  background: var(--cream, #f7f8f5);
  padding: 80px 0 100px;
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.trainer-card {
  background: #ffffff;
  border: 1px solid rgba(13, 43, 35, 0.08);
  border-radius: var(--radius, 22px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 29, 25, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.trainer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(6, 32, 26, 0.12);
  border-color: rgba(31, 175, 112, 0.4);
}

.trainer-photo-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  background: #0b211c;
  overflow: hidden;
}

.trainer-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-photo-wrap img {
  transform: scale(1.04);
}

.trainer-badge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 29, 25, 0.85);
  color: var(--lime, #c9f46d);
  border: 1px solid rgba(201, 244, 109, 0.3);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trainer-badge-pill svg {
  width: 13px;
  height: 13px;
}

.trainer-info {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trainer-name {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink, #0b211c);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.trainer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark, #0d7b4d);
  margin-bottom: 14px;
  line-height: 1.4;
}

.trainer-desc {
  font-size: 14px;
  color: var(--muted, #60726d);
  line-height: 1.6;
  margin-bottom: 20px;
}

.trainer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 20px;
}

.trainer-tag {
  background: #edf5f1;
  color: var(--ink-2, #173b32);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.trainer-card-footer {
  border-top: 1px solid #edf0ed;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--green-dark, #0d7b4d);
  font-size: 13px;
  font-weight: 800;
}

.trainer-card-footer svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.trainer-card:hover .trainer-card-footer svg {
  transform: translateX(4px);
}

/* ==========================================================================
   INDIVIDUAL TRAINER PROFILE PAGE (AGUS RINALDI DETAIL)
   ========================================================================== */

/* Profile Header Section */
.profile-overview-section {
  background: #ffffff;
  padding: 60px 0;
  border-bottom: 1px solid var(--line, #dce5df);
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: flex-start;
}

.profile-photo-card {
  position: relative;
  background: var(--ink, #0b211c);
  border-radius: var(--radius, 22px);
  overflow: hidden;
  box-shadow: var(--shadow, 0 24px 70px rgba(6,32,26,.12));
  border: 4px solid #ffffff;
}

.profile-photo-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 20%;
}

.profile-cred-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(7, 29, 25, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.profile-cred-badge .icon-box {
  width: 36px;
  height: 36px;
  background: var(--green, #1faf70);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  flex-shrink: 0;
}

.profile-cred-badge .icon-box svg {
  width: 18px;
  height: 18px;
}

.profile-cred-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.profile-cred-badge small {
  display: block;
  font-size: 11px;
  color: #b9cbc5;
}

.profile-main-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 800;
  color: var(--ink, #0b211c);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.15;
}

.profile-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark, #0d7b4d);
  margin-bottom: 20px;
}

.profile-summary-text {
  font-size: 16px;
  color: var(--muted, #60726d);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Quick Metrics Row */
.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.profile-stat-box {
  background: var(--cream, #f7f8f5);
  border: 1px solid var(--line, #dce5df);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-stat-box svg {
  width: 24px;
  height: 24px;
  color: var(--green-dark, #0d7b4d);
  flex-shrink: 0;
}

.profile-stat-box strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink, #0b211c);
}

.profile-stat-box small {
  display: block;
  font-size: 12px;
  color: var(--muted, #60726d);
}

.profile-actions-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Section: Keahlian Utama */
.profile-content-section {
  padding: 80px 0;
  background: var(--cream, #f7f8f5);
}

.content-block {
  margin-bottom: 64px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.block-header {
  margin-bottom: 28px;
}

.block-header h2 {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink, #0b211c);
  letter-spacing: -0.03em;
  margin: 6px 0 0;
}

/* Skills List Grid */
.skills-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-bullet-card {
  background: #ffffff;
  border: 1px solid rgba(13, 43, 35, 0.08);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(7, 29, 25, 0.03);
  transition: transform 0.2s ease, border-color 0.2s;
}

.skill-bullet-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 175, 112, 0.4);
}

.skill-bullet-icon {
  width: 32px;
  height: 32px;
  background: #e1f6ea;
  color: var(--green-dark, #0d7b4d);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.skill-bullet-icon svg {
  width: 16px;
  height: 16px;
}

.skill-bullet-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #0b211c);
  line-height: 1.5;
}

/* Section: Pengalaman Profesional */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exp-card {
  background: #ffffff;
  border: 1px solid rgba(13, 43, 35, 0.08);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 4px 14px rgba(7, 29, 25, 0.03);
}

.exp-icon-box {
  width: 42px;
  height: 42px;
  background: var(--ink, #0b211c);
  color: var(--lime, #c9f46d);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.exp-icon-box svg {
  width: 20px;
  height: 20px;
}

.exp-body {
  flex-grow: 1;
}

.exp-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink, #0b211c);
  margin-bottom: 4px;
  line-height: 1.4;
}

.exp-desc {
  font-size: 14px;
  color: var(--muted, #60726d);
  line-height: 1.6;
}

/* Section: Sertifikasi & Kompetensi */
.cert-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cert-badge-card {
  background: #ffffff;
  border: 1px solid rgba(13, 43, 35, 0.08);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(7, 29, 25, 0.03);
}

.cert-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cert-tag-chip {
  background: #e1f6ea;
  color: var(--green-dark, #0d7b4d);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}

.cert-badge-title {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink, #0b211c);
  margin: 0;
}

.cert-badge-issuer {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #60726d);
}

/* Consultation Bottom CTA */
.trainer-cta-banner {
  background: var(--ink, #0b211c);
  color: #ffffff;
  border-radius: var(--radius, 22px);
  padding: 48px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.trainer-cta-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(31, 175, 112, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.trainer-cta-banner h3 {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
}

.trainer-cta-banner p {
  color: #bfd0ca;
  font-size: 15px;
  margin: 0;
  max-width: 540px;
}

/* Responsive */
@media (max-width: 1020px) {
  .trainers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .profile-photo-card {
    max-width: 420px;
  }
  .cert-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .trainers-grid {
    grid-template-columns: 1fr;
  }
  .skills-list-grid {
    grid-template-columns: 1fr;
  }
  .cert-cards-grid {
    grid-template-columns: 1fr;
  }
  .profile-stats-row {
    grid-template-columns: 1fr;
  }
  .trainer-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 24px;
  }
}
