/* =========================================================
   IIMs Courses — style.css
   Converted from Tailwind/TSX → plain CSS
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap");
/* ---------- CSS Variables (Light Mode) ---------- */

:root {
  --navy-footer: #0b1120;
  --navy-light-footer: #111827;
  --navy-border-footer: rgba(255, 255, 255, 0.08);
  --accent-footer: #3b82f6;
  --accent-soft-footer: rgba(59, 130, 246, 0.18);
  --text-muted-footer: rgba(255, 255, 255, 0.55);
  --text-bright-footer: #ffffff;
}
:root {
  --radius: 0.875rem;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;

  --navy: #1a2340;
  --navy-light: #2d3d6b;
  --orange: #ff6b09;
  --orange-light: #ff8112;
  --gold: #d4a831;
  --success: #3ab07b;

  --background: #ffffff;
  --foreground: #1a2340;
  --card: #ffffff;
  --card-foreground: #1a2340;
  --secondary: #f5f6fb;
  --secondary-foreground: #1a2340;
  --muted: #f5f6fb;
  --muted-foreground: #7080a0;
  --accent: #ff6600;
  --accent-foreground: #fff;
  --border: #e8eaf5;
  --input: #e8eaf5;
  --ring: #ff6600;

  --gradient-hero: linear-gradient(135deg, #1a2340 0%, #2d3d6b 100%);
  --gradient-accent: linear-gradient(135deg, #de732c 0%, #ff963b 100%);
  --gradient-overlay: linear-gradient(
    180deg,
    rgba(13, 19, 38, 0.903) 0%,
    rgba(20, 26, 50, 0.85) 100%
  );

  --shadow-soft: 0 4px 20px -8px rgba(26, 35, 64, 0.12);
  --shadow-card: 0 8px 30px -12px rgba(26, 35, 64, 0.18);
  --shadow-elegant: 0 20px 50px -20px rgba(26, 35, 64, 0.3);
  --shadow-glow: 0 10px 40px -10px rgba(224, 123, 57, 0.5);
}
/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.3s,
    color 0.3s;
}
a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}
.text-gradient-accent {
  background-image: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shadow-soft {
  box-shadow: var(--shadow-soft);
}
.shadow-card {
  box-shadow: var(--shadow-card);
}
.shadow-elegant {
  box-shadow: var(--shadow-elegant);
}
.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* ---------- Animations ---------- */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes counterUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.marquee {
  animation: marquee 70s linear infinite;
}
.ticker {
  animation: marquee 40s linear infinite;
}
.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}
.fade-up {
  animation: fadeUp 0.7s ease both;
}
.float-0 {
  animation: float 4s ease-in-out infinite;
}
.float-1 {
  animation: float 4s ease-in-out 0.1s infinite;
}
.float-2 {
  animation: float 4s ease-in-out 0.2s infinite;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
}
.hero img {
  object-fit: cover;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: var(--gradient-overlay);
}
.hero-inner {
  position: relative;
  width:100%;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.hero h1 {
  font-size: 3rem;
}
.hero-desc {
  color: rgba(255, 255, 255, 0.8);
}
.hero-avatars img {
  width: 36px;
  height: 36px;
}
.hero-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--orange);
  color: var(--orange);
}

/* Hero right panel */
.floating-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.floating-stat-icon {
  width: 48px;
  height: 48px;
  background-image: var(--gradient-accent);
}
.floating-stat-icon svg {
  width: 22px;
  height: 22px;
}
.floating-stat-label {
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
}
.cat-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem;
  margin-top: 0.5rem;
}
.cat-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.cat-countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.cat-countdown-unit {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
}
/* ── STAT PILLS ── */
.recruiter-stat-pill {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
}

.recruiter-stat-pill span {
  color: var(--accent, #e25c2a);
  font-weight: 800;
  margin-right: 0.2rem;
}

/* ── MARQUEE OUTER ── */
.recruiters-marquee-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  padding: 0.5rem 0;
}

/* ── TRACK ── */
.recruiters-track {
  display: flex;
  gap: 0.75rem;

  width: max-content;
}

.recruiters-track--fwd {
  animation: recruiterFwd 92s linear infinite;
}

.recruiters-track--rev {
  animation: recruiterRev 98s linear infinite;
}

.recruiters-track:hover {
  animation-play-state: paused;
}

@keyframes recruiterFwd {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes recruiterRev {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* ── CHIP ── */
.recruiter-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 0.6rem 1.1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.recruiter-chip:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.recruiter-chip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 4px;
}

.recruiter-chip span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy, #0f172a);
}
/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
}
.btn-hero {
  background-image: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
}
.btn-hero svg {
  width: 20px;
  height: 20px;
}
.btn-navy {
  color: #ff6600;
  font-size: 0.8rem;
  border: 1px solid #ff6600;
}

.btn-soft {
  background: var(--secondary);
  color: var(--foreground);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  border-radius: 8px;
}
.btn-soft:hover {
  background: var(--border);
}
.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
}
.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- NEWS TICKER ---------- */
.news-ticker {
  background: var(--navy);
}
.ticker-track span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- SECTION ---------- */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--secondary);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-title {
  font-weight: 700;
  font-size: 30px;
}
.section-desc {
  color: var(--muted-foreground);
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- COLLEGE CARDS ---------- */
.colleges-grid {
  grid-template-columns: repeat(3, 1fr);
}
/* ---------- PROGRAMMES GRID ---------- */
/* ---------- PROGRAMMES GRID ---------- */
.course-iim-more {
    cursor: pointer;
    position: relative;
}

.course-iims-list {
    position: relative;
    margin-top:1rem;
}
.course-desc{
  min-height:4rem;
}
.course-card {
    overflow: visible !important;
}

/* Force dropdown to always open UPWARD, ignore Bootstrap/Popper position */
.course-iim-dropdown-menu {
    max-height: 260px;
    overflow-y: auto;
    min-width: 220px;
    z-index: 9999;

    position: absolute !important;
    top: auto !important;
    bottom: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    margin-bottom: 8px !important;
}.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

/* IMAGE */
.course-img {
  position: relative;
  flex-shrink: 0;
  height: 200px !important;
}
.course-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}
.course-card:hover .course-img img {
  transform: scale(1.05);
}
.course-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* CATEGORY */
.course-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}

/* META */
.course-meta {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.78rem;
}

/* BODY */
.course-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.9rem;
}

/* FIXED TITLE HEIGHT */
.course-title {
  font-size: 0.92rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.6rem;
}

/* FIXED DESC HEIGHT */
.course-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.3rem;
}
/* CHIPS */
.course-iim-chip,
.course-iim-viewall {
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  height: 18px;
  display: flex;
  align-items: center;
}
.course-iim-chip {
  background: var(--muted);
  border: 1px solid var(--border);
}

.course-iim-chip {
  flex-shrink: 0;
}

.course-iim-viewall {
  flex-shrink: 0;
  white-space: nowrap;
}
.course-iim-viewall {
  background: rgba(226, 92, 42, 0.12);
  color: var(--accent);
}
.course-iim-more,
.course-iim-viewall {
  cursor: pointer;
}

/* FOOTER */
.course-link {
  font-size: 0.74rem;
  color: var(--accent);
}
.course-link:hover {
  text-decoration: underline;
}
.course-link svg {
  width: 12px;
  height: 12px;
}

/* MOBILE */
@media (max-width: 576px) {
  .course-body {
    padding: 0.9rem;
  }
  .course-card {
    border-radius: 14px;
  }
  .course-title {
    font-size: 0.9rem;
  }
  .course-desc {
    font-size: 0.74rem;
  }
}

/* VIEW ALL BTN */
.featured-btn a {
  color: white;
  background-color: #e25c2a;
  font-size: 0.9rem;
}

.featured-btn a:hover {
  color: #e25c2a;
  background-color: white;
  border: 1px solid #e25c2a;
  font-size: 0.8rem;
}
/* ---------- ACHIEVEMENTS ---------- */
.achievements-section {
  background-image: var(--gradient-hero);
  position: relative;
}
.achievements-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.1),
    transparent 50%
  );
}
.achievements-grid {
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.achievement-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 1rem;
  color: var(--orange-light);
}
.achievement-icon svg {
  width: 100%;
  height: 100%;
}
.achievement-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}
/* ---------- TIMELINE ---------- */
.timeline-grid {
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.timeline-grid::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: var(--gradient-accent);
  border-radius: 999px;
}
.timeline-item {
  position: relative;
}
.timeline-icon-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}
.timeline-icon-wrap svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}
.timeline-num {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-image: var(--gradient-accent);
  color: #fff;
  font-size: 0.7rem;
  z-index: 3;
}
.timeline-desc {
  font-size: 0.82rem;
  color: var(--muted-foreground);
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-wrap {
  max-width: 768px;
  margin: 0 auto;
}
.testimonial-card {
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  padding: 3rem;
  position: relative;
}
.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0f172a;
  color: #fff;
  z-index: 9999;
  padding: 10px 15px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.compare-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.compare-text {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compare-chip {
  background: #1e293b;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compare-chip .remove {
  color: #f87171;
  text-decoration: none;
  font-weight: bold;
}

.compare-actions {
  display: flex;
  gap: 10px;
}

.btn-compare {
  background: #f97316;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
}

.btn-clear {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
}
.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--orange);
  color: var(--orange);
}
.testimonial-quote {
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-image: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
}
.testimonial-role {
  font-size: 0.72rem;
  color: var(--muted-foreground);
}
.t-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: background 0.2s;
}
.t-nav-btn:hover {
  background: var(--secondary);
}
.t-nav-btn svg {
  width: 20px;
  height: 20px;
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.t-dot.active {
  width: 32px;
  background: var(--accent);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  cursor: pointer;
  font-weight: 600;
  gap: 1rem;
  font-size: 0.8rem;
}
.faq-question:hover {
  background: var(--secondary);
}
.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.25rem 1.25rem;
}
.faq-item.open {
  box-shadow: var(--shadow-card);
}

/* ---------- FINAL CTA ---------- */

.cta-pro {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-glow {
  position: absolute;
  width: 320px;
  height: 220px;
  border-radius: 50%;
  top: -120px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.35),
    transparent 70%
  );
  filter: blur(20px);
}

.cta-badge {
  padding: 0.5rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-content {
  font-size: 2rem;
}
.cta-highlight {
  background: linear-gradient(135deg, #fb923c, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  line-height: 1.6;
  max-width: 650px;
}
.button-cta {
  color: #de732c;
  border: 1px solid #de732c;
}
.button-cta:hover {
  color: #ffffff;
  border: 1px solid #ffffff;
}
@media (max-width: 576px) {
  .cta-content {
    font-size: 1.6rem;
  }
}
.blogs-grid {
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
  align-content: center;
}
.blogs-grid::-webkit-scrollbar {
  display: none;
}

/* ── Blog Card ── */
.blog-card {
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.blog-img {
  width: 100%;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-body {
  flex: 1;
}
.blog-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.5;
  height: 3em;
}

.blog-excerpt {
  font-size: 13px;
  color: #666;
  margin: 0;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.5;
  height: 3em;
}
/* ── Tablet: 2 columns wrap ── */
@media (max-width: 991px) {
  .blogs-grid {
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .blog-card {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
  }
}

/* ── Mobile: 1 column ── */
@media (max-width: 575px) {
  .blog-card {
    flex: 0 0 100%;
    width: 100%;
  }
}
.blog-meta {
  font-size: 0.8rem;
}
.btn-blog a {
  background-color: #f78d37;
}

.btn-blog a:hover {
  background-color: black;
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blogs-grisd {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-grid::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .vw-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .cta-btn-wrap {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
  .colleges-grid,
  .courses-grid,
  .blogs-grid,
  .faculty-grid {
    grid-template-columns: 1fr;
  }
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar-nav,
  .navbar-actions .btn-hero {
    display: none;
  }
  .navbar-mobile-btn {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 2rem 1.5rem;
  }
}
/* ===== ULTRA MOBILE HERO FIX ===== */

@media (max-width: 380px) {
  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 32px;
  }

  .hero-inner {
    padding: 0 14px;
    gap: 1.2rem;
  }

  .hero-badge {
    font-size: 0.56rem;
    padding: 0.42rem 0.75rem;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-top: 0.9rem;
    word-break: break-word;
  }

  .hero-desc {
    font-size: 0.86rem;
    line-height: 1.6;
    margin-top: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.7rem !important;
    margin-top: 1.3rem !important;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.82rem 1rem;
    font-size: 0.9rem;
  }

  .hero-social {
    gap: 0.9rem !important;
    flex-direction: column;
    align-items: flex-start !important;
    margin-top: 1.4rem !important;
  }

  .hero-avatars img {
    width: 30px;
    height: 30px;
  }

  .hero-stars svg {
    width: 14px;
    height: 14px;
  }

  .hero-stars .score {
    font-size: 0.85rem;
  }

  .hero-stars.sub {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .hero-right {
    display: none !important;
  }
}