/* Minimal custom styles on top of Tailwind for animation and fine-tuning. */

/* ═════════════════════════════════════════════════════════════════════════════
   Hero Section Animations
   ═════════════════════════════════════════════════════════════════════════════ */

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes hero-float-reverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes hero-fade-in-up {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes hero-pulse-glow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.06); }
}

.hero-float {
  animation: hero-float 3.5s ease-in-out infinite;
}

.hero-float-slow {
  animation: hero-float 5s ease-in-out infinite;
}

.hero-float-reverse {
  animation: hero-float-reverse 4s ease-in-out infinite;
}

.hero-fade-in-up {
  animation: hero-fade-in-up 0.8s ease-out both;
}

.hero-fade-in-up-d1 {
  animation: hero-fade-in-up 0.8s ease-out 0.15s both;
}

.hero-fade-in-up-d2 {
  animation: hero-fade-in-up 0.8s ease-out 0.3s both;
}

.hero-fade-in-up-d3 {
  animation: hero-fade-in-up 0.8s ease-out 0.45s both;
}

.hero-fade-in-up-d4 {
  animation: hero-fade-in-up 0.8s ease-out 0.6s both;
}

.hero-fade-in-up-d5 {
  animation: hero-fade-in-up 0.8s ease-out 0.75s both;
}

.hero-glow-pulse {
  animation: hero-pulse-glow 4s ease-in-out infinite;
}

/* ═════════════════════════════════════════════════════════════════════════════ */

@keyframes partner-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-partner-scroll {
  display: inline-flex;
  min-width: 200%;
  animation: partner-scroll 28s linear infinite;
}

/* Simple utility for line-clamp using modern properties; Tailwind plugin could be used instead. */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Basic scroll reveal animation hook */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Alumni / Testimonial Gallery
   ═══════════════════════════════════════════════════════════════════════════ */

/* Stats Bar */
.alumni-stats-bar {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

/* Gallery Section */
.alumni-gallery-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 30%, #f8fafc 100%);
  padding: 3.5rem 0 4rem;
}

/* Responsive Card Grid */
.alumni-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .alumni-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .alumni-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Card */
.alumni-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem 1.75rem;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.alumni-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #0284c7, #0369a1);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.alumni-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(14, 165, 233, 0.12);
}

.alumni-card:hover::before {
  opacity: 1;
}

/* Image */
.alumni-card-img-wrap {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd, #e0f2fe);
  box-shadow:
    0 2px 8px rgba(14, 165, 233, 0.15),
    0 0 0 1px rgba(14, 165, 233, 0.08);
  margin-bottom: 1rem;
}

.alumni-card-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Quote Icon */
.alumni-quote-icon {
  width: 28px;
  height: 28px;
  color: #0ea5e9;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* Card Body */
.alumni-card-body {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Quote Text */
.alumni-card-quote {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
  font-style: italic;
  margin-bottom: 1rem;
  max-width: 280px;
}

/* Meta */
.alumni-card-meta {
  margin-top: auto;
  text-align: center;
}

.alumni-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.alumni-card-college {
  font-size: 0.8125rem;
  color: #0369a1;
  font-weight: 500;
  margin-top: 0.15rem;
}

.alumni-card-country {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* ── Horizontal (Side-by-Side) Card Layout on Larger Screens ─────────────── */
@media (min-width: 1024px) {
  .alumni-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 1.75rem;
    gap: 1.5rem;
  }

  .alumni-card-img-wrap {
    margin-bottom: 0;
    width: 100px;
    height: 100px;
  }

  .alumni-card-body {
    text-align: left;
    align-items: flex-start;
  }

  .alumni-card-meta {
    text-align: left;
  }

  .alumni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .alumni-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .alumni-card-img-wrap {
    width: 110px;
    height: 110px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Blog Premium Layout Rules
   ═══════════════════════════════════════════════════════════════════════════ */

.blog-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.blog-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin: 20px auto 30px;
  display: block;
}

.blog-meta {
  display: flex;
  gap: 15px;
  color: #777;
  font-size: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 30px;
}

@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: 7fr 3fr;
  }
}

.blog-content {
  line-height: 1.8;
  font-size: 17px;
  color: #333;
}

.blog-content h2 {
  margin-top: 30px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.blog-content h3 {
  margin-top: 25px;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.blog-content p {
  margin-bottom: 16px;
}

.blog-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
  list-style-type: disc;
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content strong {
  color: #111;
  font-weight: 600;
}

.share-buttons {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-buttons a {
  padding: 10px 14px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.share-buttons a:hover {
  background: #e5e5e5;
}

.related-card {
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  background: #fff;
  border: 1px solid #f0f0f0;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}




/* ═══════════════════════════════════════════════════════════════════════════
   COURSE PAGE PREMIUM REDESIGN — Global Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Course Hero ─────────────────────────────────────────────────────────── */
.course-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .course-hero { min-height: 600px; }
}

.course-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.course-hero-overlay {
  position: absolute;
  inset: 0;
}

.course-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Floating trust badge cards in hero */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.hero-stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 100px;
}

.hero-stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-card .stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Animated glow orbs in hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

/* ── Course Quick Facts Sidebar ──────────────────────────────────────────── */
.course-facts-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(226,232,240,0.8);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.course-facts-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  padding: 1.25rem 1.5rem;
}

.course-facts-body {
  padding: 1.25rem 1.5rem;
}

.course-fact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.course-fact-row:last-child { border-bottom: none; }

.course-fact-label {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-fact-value {
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

/* ── Premium Career Cards ────────────────────────────────────────────────── */
.career-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(14,165,233,0.12), 0 4px 12px rgba(0,0,0,0.06);
  border-color: #bae6fd;
}

.career-card:hover::before { transform: scaleX(1); }

.career-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.career-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.career-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

.career-salary-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

/* ── Why Choose Us — Premium Cards ──────────────────────────────────────── */
.why-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.1);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(14,165,233,0.3);
}

/* ── Admission Timeline ──────────────────────────────────────────────────── */
.admission-timeline {
  position: relative;
  padding-left: 0;
}

@media (min-width: 768px) {
  .admission-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.timeline-step {
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14,165,233,0.1);
}

@media (min-width: 768px) {
  .timeline-step {
    border-radius: 0;
    border-right: none;
  }
  .timeline-step:first-child { border-radius: 1rem 0 0 1rem; }
  .timeline-step:last-child { border-radius: 0 1rem 1rem 0; border-right: 1px solid #e2e8f0; }
  .timeline-step + .timeline-step::before {
    content: '';
    position: absolute;
    left: -1px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #e2e8f0;
    z-index: 1;
  }
  .timeline-step + .timeline-step::after {
    content: '';
    position: absolute;
    left: 0px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid #fff;
    z-index: 2;
  }
}

.timeline-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  box-shadow: 0 4px 10px rgba(14,165,233,0.35);
  flex-shrink: 0;
}

.timeline-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.375rem;
}

.timeline-step-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.55;
}

/* ── Premium FAQ Accordion ───────────────────────────────────────────────── */
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover { box-shadow: 0 4px 16px rgba(14,165,233,0.08); }

.faq-item[open] {
  border-color: #bae6fd;
  box-shadow: 0 4px 16px rgba(14,165,233,0.1);
}

.faq-summary {
  cursor: pointer;
  padding: 1.125rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  gap: 1rem;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230ea5e9' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4v16m8-8H4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

details[open] .faq-summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230ea5e9' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 12H4'/%3E%3C/svg%3E");
}

.faq-body {
  padding: 0 1.25rem 1.125rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.875rem;
}

/* ── Eligibility Grid ────────────────────────────────────────────────────── */
.eligibility-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  border: 1px solid #e0f2fe;
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eligibility-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14,165,233,0.1);
}

.eligibility-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(14,165,233,0.3);
}

/* ── Course Overview Tabs ────────────────────────────────────────────────── */
.course-tab-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.course-tab-btn.active,
.course-tab-btn:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(14,165,233,0.3);
}

.course-tab-panel { display: none; }
.course-tab-panel.active { display: block; }

/* ── Stats Counter Section ───────────────────────────────────────────────── */
.stats-counter-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
  position: relative;
  overflow: hidden;
}

.stats-counter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.stat-counter-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-counter-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-counter-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.375rem;
  font-weight: 500;
}

/* ── Country Comparison Cards ────────────────────────────────────────────── */
.country-card {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.country-card-header {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.country-flag {
  font-size: 2rem;
  line-height: 1;
}

.country-card-body {
  padding: 0 1.25rem 1.25rem;
}

.country-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.8125rem;
}

.country-detail-row:last-child { border-bottom: none; }

/* ── Sticky Mobile CTA ───────────────────────────────────────────────────── */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

@media (min-width: 1024px) {
  .sticky-mobile-cta { display: none; }
}

/* ── Section Divider ─────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #e0f2fe, #ede9fe);
  color: #0369a1;
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

/* ── Scholarship / Cost Highlight Box ───────────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(34,197,94,0.3);
}

/* ── Course Page Specific Hero Gradients ─────────────────────────────────── */
/* MBBS */
.hero-mbbs .course-hero-overlay {
  background: linear-gradient(135deg, rgba(7,89,133,0.92) 0%, rgba(12,74,110,0.85) 50%, rgba(30,58,138,0.8) 100%);
}
/* BDS */
.hero-bds .course-hero-overlay {
  background: linear-gradient(135deg, rgba(6,78,59,0.9) 0%, rgba(4,120,87,0.82) 50%, rgba(5,150,105,0.75) 100%);
}
/* Nursing */
.hero-nursing .course-hero-overlay {
  background: linear-gradient(135deg, rgba(88,28,135,0.9) 0%, rgba(109,40,217,0.82) 50%, rgba(124,58,237,0.75) 100%);
}
/* BPharma */
.hero-bpharma .course-hero-overlay {
  background: linear-gradient(135deg, rgba(7,89,133,0.9) 0%, rgba(3,105,161,0.82) 50%, rgba(2,132,199,0.75) 100%);
}
/* BAMS */
.hero-bams .course-hero-overlay {
  background: linear-gradient(135deg, rgba(120,53,15,0.9) 0%, rgba(146,64,14,0.82) 50%, rgba(180,83,9,0.75) 100%);
}
/* BHMS */
.hero-bhms .course-hero-overlay {
  background: linear-gradient(135deg, rgba(6,78,59,0.9) 0%, rgba(5,101,77,0.82) 50%, rgba(4,120,87,0.75) 100%);
}
/* BBA */
.hero-bba .course-hero-overlay {
  background: linear-gradient(135deg, rgba(30,27,75,0.92) 0%, rgba(49,46,129,0.85) 50%, rgba(67,56,202,0.8) 100%);
}
/* MBA */
.hero-mba .course-hero-overlay {
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,58,138,0.85) 50%, rgba(67,56,202,0.8) 100%);
}
/* Engineering */
.hero-engineering .course-hero-overlay {
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(17,24,39,0.85) 50%, rgba(31,41,55,0.8) 100%);
}
/* Pharmacy */
.hero-pharmacy .course-hero-overlay {
  background: linear-gradient(135deg, rgba(7,89,133,0.9) 0%, rgba(3,105,161,0.82) 50%, rgba(2,132,199,0.75) 100%);
}
/* Paramedical */
.hero-paramedical .course-hero-overlay {
  background: linear-gradient(135deg, rgba(6,78,59,0.9) 0%, rgba(4,120,87,0.82) 50%, rgba(5,150,105,0.75) 100%);
}
/* Physiotherapy */
.hero-physiotherapy .course-hero-overlay {
  background: linear-gradient(135deg, rgba(88,28,135,0.88) 0%, rgba(109,40,217,0.8) 50%, rgba(139,92,246,0.72) 100%);
}
/* Veterinary */
.hero-veterinary .course-hero-overlay {
  background: linear-gradient(135deg, rgba(120,53,15,0.9) 0%, rgba(146,64,14,0.82) 50%, rgba(161,98,7,0.75) 100%);
}

/* ── Animated number counter ─────────────────────────────────────────────── */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.count-up-anim {
  animation: count-up 0.6s ease-out both;
}

/* ── Testimonial mini cards ──────────────────────────────────────────────── */
.mini-testimonial {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14,165,233,0.1);
}

.mini-testimonial-stars {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* ── Responsive improvements ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .course-hero { min-height: 420px; }
  .hero-stat-card { min-width: 80px; padding: 0.75rem; }
  .hero-stat-card .stat-value { font-size: 1.25rem; }
  .stat-counter-number { font-size: 2rem; }
}

/* Course Overview Enhancements */
.course-overview-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  font-weight: 500;
  border-left: 4px solid #0ea5e9;
  padding-left: 1.25rem;
  background-color: #f8fafc;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 1.25rem;
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  margin-bottom: 1.75rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.course-overview-pillars-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .course-overview-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #0ea5e9;
  opacity: 0.85;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.1), 0 4px 6px -2px rgba(14, 165, 233, 0.05);
  border-color: #bae6fd;
}

.pillar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
}

