/*--------------------------------------------------------------
# Homepage Custom Components
# Reusable classes extracted from repeated inline styles so
# every card/chip/badge is styled in one place instead of being
# duplicated (and drifting) across dozens of elements.
--------------------------------------------------------------*/

/* Services section cards */
.service-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(103, 64, 203, 0.15) !important;
}
.service-card:hover a {
  color: #5a2fb8 !important;
}
.icon-gradient-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6740cb 0%, #8b5cf6 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
}
.card-title-sm {
  font-size: 1.1rem;
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.card-link-arrow {
  color: #6740cb;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Quick Facts cards */
.fact-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(103, 64, 203, 0.08);
  border-left: 4px solid #6740cb;
  height: 100%;
  transition: all 0.3s ease;
}
.fact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(103, 64, 203, 0.15) !important;
}
.fact-card.accent-purple {
  border-left-color: #6740cb;
}
.fact-card.accent-violet {
  border-left-color: #8b5cf6;
}

/* Stats section glass tiles */
.glass-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}
.glass-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

/* "What Sets Us Apart" / "What to Look For" feature cards */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--accent-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.feature-card-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-card-desc {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

/* Nationwide coverage chips */
.coverage-chip {
  background: #f0f4ff;
  color: #6740cb;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* "Expert Online Class Takers" subject mini-cards */
.info-card-mini {
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  height: 100%;
}
.info-card-mini-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
}
.info-card-mini-desc {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* "How to Place an Order" step cards */
.step-card {
  padding: 30px 20px;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
}

/* Sample Work cards */
.sample-work-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s;
}
.sample-work-card:hover {
  transform: translateY(-6px);
}
.sample-work-card-header {
  background: linear-gradient(135deg, #6740cb 0%, #8b5cf6 100%);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.sample-work-card-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}
.sample-work-card-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  margin: 5px 0 0 0;
}
.sample-work-card-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sample-work-card-meta {
  color: #6b7280;
  font-size: 0.85rem;
}
.sample-work-card-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 15px;
}
.badge-grade {
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-grade-a {
  background: #10b981;
}
.badge-grade-b {
  background: #3b82f6;
}

/* Resources & Tools cards */
.resource-card {
  padding: 30px;
  background: #ffffff;
  border-radius: 10px;
  height: 100%;
}
.resource-list {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}
.resource-link {
  color: var(--heading-color);
  font-weight: 500;
}
.resource-link-icon {
  color: var(--accent-color);
  margin-right: 8px;
}
.resource-card-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
}

/* Footer tools scroller */
.tool-chip {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 8px;
  white-space: nowrap;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
