/* ============================================================
   EDVOY.LK — Cards
   ============================================================ */

/* ── Country / Destination Card ── */
.country-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  text-decoration: none;
}
.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.country-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.country-card:hover img { transform: scale(1.05); }
.country-card .card-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,45,62,0) 35%, rgba(31,45,62,0.82) 100%);
}
.country-card .card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-4) var(--space-5) var(--space-5);
}
.country-card .card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.2;
}
.country-card .card-body p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.72);
  font-weight: var(--fw-medium);
}
.country-card .card-tag {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
}

/* ── University Card ── */
.uni-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.uni-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(255,61,83,0.25);
}
.uni-card-img {
  width: 100%; height: 140px;
  object-fit: cover;
  background: var(--bg);
}
.uni-card-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  flex: 1; display: flex; flex-direction: column;
}
.uni-card-country {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}
.uni-card-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: 1.35;
  flex: 1;
}
.uni-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.uni-card-footer span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── Service Card ── */
.service-card {
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(255,61,83,0.15);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 50px; height: 50px;
  background: rgba(255,61,83,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: background 0.2s;
}
.service-card:hover .service-icon {
  background: var(--brand-gradient);
}
.service-icon svg {
  width: 22px; height: 22px;
  color: var(--brand-red);
  transition: color 0.2s;
}
.service-card:hover .service-icon svg { color: var(--white); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand-red);
  text-decoration: none;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }
.service-link svg { width: 14px; height: 14px; }

/* ── Stat Card ── */
.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3.5vw, 2.8rem);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
}
.section-dark .stat-label { color: rgba(255,255,255,0.55); }

/* ── Testimonial Card ── */
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.testi-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255,61,83,0.18);
}
.testi-stars {
  color: #F59E0B;
  font-size: var(--text-sm);
  letter-spacing: 2px;
}
.testi-quote {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: var(--space-3); }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: var(--text-sm);
  color: var(--white);
  flex-shrink: 0;
}
.testi-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 2px;
}
.testi-meta { font-size: var(--text-xs); color: var(--text-muted); }

/* ── Promo Cards (Funds / Stays) ── */
.promo-card {
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.promo-card-dark  { background: var(--night-black); }
.promo-card-brand { background: var(--brand-gradient); }

.promo-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-3);
}
.promo-card h3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 2.5vw, var(--text-3xl));
  font-weight: var(--fw-extrabold);
  line-height: 1.2;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}
.promo-card p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 340px;
}
.promo-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.promo-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.80);
}
.promo-list li .check-icon {
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.promo-list li .check-icon svg {
  width: 10px; height: 10px;
  color: var(--white);
}
.promo-deco {
  position: absolute;
  right: -30px; bottom: -30px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.promo-deco-2 {
  position: absolute;
  right: 60px; bottom: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

@media (max-width: 640px) {
  .promo-card { padding: var(--space-8) var(--space-6); }
}
