/* Page wrapper */
.tutor-profile-section {
  background-color: #ffffff;
}

/* Align columns so the card and about content feel balanced */
.tutor-profile-row {
  align-items: center;
}

/* Back link */
.tutor-back-link {
  font-size: 0.9rem;
  color: #6c757d;
  text-decoration: none;
}
.tutor-back-link i {
  font-size: 1.2rem;
  margin-right: 0.1rem;
}
.tutor-back-link:hover {
  color: var(--accent-color);
}

/* About side */
.tutor-about-block {
  max-width: 720px;
}

.tutor-about-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.tutor-about-subtitle {
  font-weight: 600;
  color: #47515e;
  margin-bottom: 0.75rem;
}

.tutor-about-meta {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1.25rem;
}

.tutor-about-meta i {
  color: #a611ff; /* your purple */
}

.tutor-about-text {
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.7;
}

/* Sidebar card */
.tutor-sidebar-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 2rem 2.25rem 2.25rem;
  box-shadow: 0 24px 70px rgba(9, 9, 106, 0.12);
}

/* Header inside card */
.tutor-sidebar-header {
  margin-bottom: 1.5rem;
}

.tutor-sidebar-avatar {
  width: 96px;
  height: 96px;
  border-radius: 10%;
  overflow: hidden;
  margin: 0 auto 0.75rem;
}

.tutor-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutor-sidebar-role {
  font-size: 0.85rem;
  color: #6c757d;
}

.tutor-sidebar-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.15rem;
}

.tutor-sidebar-subjects {
  font-size: 0.9rem;
  color: #47515e;
}

/* Stat rows */
.tutor-sidebar-stats {
  border-top: 1px solid #f1f3f5;
  margin-top: 1.25rem;
  padding-top: 1rem;
  margin-bottom: 1.7rem;
}

.tutor-sidebar-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f7f7fb;
}

.tutor-sidebar-row:last-child {
  border-bottom: none;
}

.tutor-sidebar-label {
  color: #6c757d;
}

.tutor-sidebar-value {
  font-weight: 600;
  color: var(--primary-color);
}

/* WhatsApp button */
.btn-whatsapp-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  background-color: #09096a;          /* navy */
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border: none;
}

.btn-whatsapp-book:hover {
  background-color: var(--accent-color); /* pink from your brand */
  color: #ffffff;
}

.btn-whatsapp-book i {
  font-size: 1.2rem;
}

.tutor-sidebar-note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6c757d;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .tutor-profile-row {
    align-items: flex-start;
  }

  .tutor-sidebar-card {
    margin-top: 1.5rem;
  }
}

/* Browse courses preview – reuse global course-card styling */

.browse-courses-section {
  background-color: var(--light-bg); /* same light section bg as other pages */
}

/* keep existing font styles for the heading – only layout tweaks */
.browse-courses-title {
  margin-bottom: 0.5rem;
}

.browse-courses-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: #47515e;
}

/* make the entire card clickable */
.course-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.course-card-link:hover {
  text-decoration: none;
}

/* slightly enhance hover using existing course-card shadow/transform */
.course-card-link:hover .course-card {
  cursor: pointer;
  transform: translateY(-6px);
}


/* Browse Courses Section Background (same as Courses page) */
.browse-courses-section {
  padding: 4rem 0;
}

/* Remove link underline */
.course-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Course Card Container */
.course-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(9, 9, 106, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}

/* Hover effect */
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(9, 9, 106, 0.18);
}

/* Landscape Image */
.course-card-img img {
  width: 100%;
  height: 220px; /* landscape height */
  object-fit: cover;
  display: block;
}

/* Card Body */
.course-card-body {
  padding: 1.25rem 1.5rem;
}

/* Label (small heading) */
.course-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

/* Title */
.course-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Text */
.course-card-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.social-icons a::after {
  content: none !important;
}