/* ═══════════════════════════════════════
   Artem Academy – Student Success Stories
   Frontend Styles
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Section Wrapper ── */
.artem-students-section {
  font-family: 'Inter', sans-serif;
  padding: 60px 16px;
  background: transparent;
}

/* ── Heading ── */
.artem-students-header {
  text-align: center;
  margin-bottom: 40px;
}
.artem-students-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.2;
}
.artem-students-sub {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}

/* ── Grid ── */
.artem-students-grid {
  display: grid;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Homepage: always 4 columns (scroll on mobile) */
.artem-grid-featured {
  grid-template-columns: repeat(4, 1fr);
}

/* All-page: 4 cols on large, 3 on medium, 2 on small, 1 on mobile */
.artem-grid-all {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Card ── */
.artem-student-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px 18px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.artem-student-card:hover {
  box-shadow: 0 8px 30px rgba(30, 60, 180, 0.12);
  transform: translateY(-3px);
}

/* ── Card Top: Photo + Info ── */
.artem-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.artem-student-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #e5e7eb;
}
.artem-student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.artem-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3cbc 0%, #3b5bdb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.artem-student-info {
  flex: 1;
  min-width: 0;
}
.artem-student-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px;
  line-height: 1.3;
}
.artem-student-role {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0 0 2px;
}
.artem-student-company {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.artem-student-package {
  font-size: 0.82rem;
  color: #111827;
  margin: 0;
}
.artem-student-package strong {
  font-weight: 700;
  color: #1e3cbc;
}

/* ── Journey: Before / After ── */
.artem-card-journey {
  border-top: 1px solid #f3f4f6;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.artem-journey-item p {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #374151;
  padding-left: 16px;
}
.artem-journey-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #111827;
}
.artem-arrow {
  font-size: 0.6rem;
}
.artem-arrow-red   { color: #ef4444; }
.artem-arrow-green { color: #22c55e; }

/* ── Salary Hike Badge ── */
.artem-salary-hike {
  background: #f0fdf4;
  border-top: 1px solid #dcfce7;
  margin: 0 -18px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.artem-hike-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #16a34a;
  line-height: 1;
}
.artem-hike-label {
  font-size: 0.72rem;
  color: #15803d;
  font-weight: 500;
}

/* ── View More Button ── */
.artem-view-more-wrap {
  text-align: center;
  margin-top: 36px;
}
.artem-view-more-btn {
  display: inline-block;
  padding: 11px 28px;
  border: 1.5px solid #1e3cbc;
  border-radius: 50px;
  color: #1e3cbc;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.artem-view-more-btn:hover {
  background: #1e3cbc;
  color: #fff;
  text-decoration: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .artem-grid-featured {
    grid-template-columns: repeat(2, 1fr);
  }
  .artem-grid-all {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small tablet */
@media (max-width: 768px) {
  .artem-students-title { font-size: 1.55rem; }
  .artem-grid-featured  { grid-template-columns: repeat(2, 1fr); }
  .artem-grid-all       { grid-template-columns: repeat(2, 1fr); }
  .artem-students-section { padding: 40px 12px; }
}

/* Mobile */
@media (max-width: 480px) {
  .artem-students-title { font-size: 1.3rem; }
  .artem-grid-featured  { grid-template-columns: 1fr; }
  .artem-grid-all       { grid-template-columns: 1fr; }
  .artem-student-photo  { width: 56px; height: 56px; }
}
