:root {
  --primary: #c8f31d;
  /* Lime Green */
  --primary-rgb: 200, 243, 29;
  --secondary: #111827;
  /* Dark Navy */
  --heading: #111827;
  --text: #5f6472;
  --border: #e5e7eb;
  --bg: #f8f9fa;
  --white: #ffffff;
}

/*==================================================
COURSE PAGE
==================================================*/

.course-page {
  padding: 50px 0;
  background: var(--bg);
}

/*==================================================
LAYOUT
==================================================*/

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
  gap: 40px;
  align-items: start;
}

.course-main {
  min-width: 0;
}

.course-sidebar {
  position: sticky;
  top: 100px;
}

/*==================================================
COURSE CARD
==================================================*/

.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.course-card:hover {
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  transform: translateY(-2px);
}

.course-card:last-child {
  margin-bottom: 0;
}

/*==================================================
COURSE HIGHLIGHTS
==================================================*/

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.highlight-box {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  height: 100%;
  transition: 0.3s;
}

.highlight-box:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  transform: translateY(-4px);
}

.highlight-box h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading);
}

.highlight-box p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

/* Mobile */

@media (max-width: 768px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

/*==================================================
BADGE
==================================================*/

.badge-course {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 16px;
  border-radius: 30px;
  background: #eef9c5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--primary);
}

.course-card h2 {
  margin-bottom: 15px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.course-card p {
  /* line-height: 1.8; */
  color: var(--slate, #555);
}

/*==================================================
SECTION TITLE
==================================================*/

.section-title {
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.3px;
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 4px;
  background: var(--primary);
}

/*==================================================
LIST
==================================================*/

.course-list {
  margin: 25px 0 0;
  padding-left: 0;
  list-style: none;
}

.course-list li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  font-weight: 500;
}

.course-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  font-size: 11px;
  color: #111;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*==================================================
HIGHLIGHT BOX
==================================================*/

.highlight-box {
  height: 100%;
  padding: 18px 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fafafa);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.highlight-box:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.07);
}

.highlight-box h5 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}

.highlight-box p {
  font-size: 15px;
  margin: 0;
}

/*==================================================
SUBJECTS
==================================================*/

.subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subjects span {
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--primary);
  color: #111;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.subjects span:hover {
  transform: translateY(-3px);
}

/*==================================================
INFO GRID
==================================================*/

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 25px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.info-item:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
}

.info-item span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f3f3f3;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text);
}

.info-item h5 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

/*==================================================
WHY CHOOSE
==================================================*/

.why-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.why-item h5 {
  font-size: 18px;
  font-weight: 700;
}

.why-item h5::before {
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  margin-right: 10px;
  font-size: 15px;
}

.why-item:last-child {
  border: none;
  padding-bottom: 0;
}

/*==================================================
CAREER
==================================================*/

.career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.career-box {
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 600;
  background: #fff;
  transition: all 0.3s ease;
}

.career-box:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.career-box h5 {
  margin: 0;
  font-size: 15px;
}

/*==================================================
TIMELINE
==================================================*/

.timeline {
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: -25px;
  width: 2px;
  background: var(--border);
}

.timeline-item span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.timeline-item h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

/*==================================================
SIDEBAR
==================================================*/

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(17, 17, 17, 0.04);
}

.sidebar-card:last-child {
  margin-bottom: 0;
}

.sidebar-card h4 {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 800;
}

/*==================================================
CTA CARD
==================================================*/

.cta-card {
  background: #11152b;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.small-title {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--primary);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.cta-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 26px;
  font-weight: 800;
}

.cta-card p {
  color: #b8bcc8;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
}

/*==================================================
BUTTON
==================================================*/

.sidebar-btn {
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  background: var(--primary);
  color: #111;
  font-weight: 700;
  margin-bottom: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.sidebar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.outline-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

/*==================================================
LIST
==================================================*/

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li {
  border-bottom: 1px solid var(--border);
}

.sidebar-list li:last-child {
  border: none;
}

.sidebar-list a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  color: var(--heading);
  font-weight: 500;
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.sidebar-list a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: #31b51b;
  transition: transform 0.25s ease;
}

.sidebar-list a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.sidebar-list a:hover::after {
  transform: translateX(4px);
  color: var(--primary);
}

/*==================================================
QUICK CONTACT
==================================================*/

.quick-contact {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.quick-contact a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}

.quick-contact a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #111;
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 991px) {
  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-sidebar {
    position: static;
    margin-top: 30px;
  }

  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .course-card {
    padding: 25px;
  }

  .course-card h2 {
    font-size: 30px;
  }

  .section-title {
    font-size: 24px;
  }

  .career-grid {
    grid-template-columns: 1fr;
  }

  .quick-contact {
    flex-direction: column;
  }
}

/*==========================================
RESULT HERO
==========================================*/

:root {
  --primary: #c6e02e;
  --secondary: #12182b;
  --text: #555;
  --heading: #1d2434;
  --white: #fff;
}

/* Container */

/* .container {
  width: min(1240px, 92%);
  margin: auto;
} */

/* Section */

.results-hero {
  padding: 50px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.results-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(198, 224, 46, 0.15),
      transparent 70%);

  top: -220px;
  right: -180px;
}

.results-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: #f7f8fb;
  bottom: -180px;
  left: -120px;
}

/* Grid */

.hero-grid {
  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 70px;

  align-items: center;

  position: relative;

  z-index: 2;
}

/* Badge */

.hero-badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 18px;

  background: #eef7c4;

  border-radius: 50px;

  font-size: 14px;

  font-weight: 600;

  color: #566600;

  margin-bottom: 25px;
}

.hero-badge i {
  color: var(--primary);
}

/* Heading */

.hero-content h1 {
  font-size: 40px;

  line-height: 1.1;

  font-weight: 800;

  color: var(--heading);

  margin-bottom: 15px;

  letter-spacing: -1px;
}

.hero-content h1 span {
  /* display: block; */

  color: var(--primary);
}

/* Description */

.hero-content p {
  font-size: 16px;

  line-height: 1.7;

  color: var(--text);

  max-width: 620px;

  margin-bottom: 20px;
}

/* Stats */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-box {
  background: #fff;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
  text-align: center;
  border: 1px solid #edf0f5;
}

.stat-box:hover {
  transform: translateY(-8px);
}

.stat-box h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--secondary);
}

.stat-box span {
  font-size: 15px;
  color: #666;
}

/*=========================================
Hero Image
=========================================*/

.hero-image {
  position: relative;
  width: 100%;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative Shape */

.hero-image-shape {
  position: absolute;
  width: 92%;
  height: 80%;
  background: linear-gradient(135deg, #eef7c4, #f8faf5);
  border-radius: 70px;
  transform: rotate(-5deg);
  z-index: 1;
}

/* Image */

.hero-image-wrapper {
  position: relative;
  width: 88%;
  z-index: 2;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* Floating Cards */

.floating-card {
  position: absolute;

  display: flex;

  align-items: center;

  gap: 16px;

  padding: 18px 24px;

  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(16px);

  border-radius: 18px;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);

  z-index: 3;

  min-width: 270px;
}

.card-icon {
  width: 58px;

  height: 58px;

  border-radius: 50%;

  background: var(--primary);

  display: flex;

  align-items: center;

  justify-content: center;

  color: #111;

  font-size: 22px;
}

.floating-card strong {
  display: block;

  font-size: 18px;

  margin-bottom: 4px;
}

.floating-card small {
  color: #666;

  font-size: 14px;
}

/* Position */

.floating-card.top {
  top: 90px;

  left: -20px;
}

.floating-card.bottom {
  bottom: 70px;

  right: -10px;
}

/* Success Circle */

.hero-badge-circle {
  position: absolute;

  right: 35px;

  top: 25px;

  width: 120px;

  height: 120px;

  border-radius: 50%;

  background: #c6e02e;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  z-index: 4;

  box-shadow: 0 20px 40px rgba(198, 224, 46, 0.35);
}

.hero-badge-circle span {
  font-size: 34px;

  font-weight: 800;

  line-height: 1;

  color: #111;
}

.hero-badge-circle small {
  font-size: 13px;

  font-weight: 600;

  color: #222;

  margin-top: 6px;
}

/* Responsive */

@media (max-width: 992px) {
  .hero-image {
    min-height: auto;

    margin-top: 60px;
  }

  .hero-image-wrapper {
    width: 100%;
  }

  .hero-image-wrapper img {
    height: auto;
  }

  .hero-image-shape {
    display: none;
  }

  .floating-card {
    position: relative;

    left: auto;

    right: auto;

    top: auto;

    bottom: auto;

    margin-top: 20px;

    width: 100%;
  }

  .hero-badge-circle {
    display: none;
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    max-width: 700px;

    margin: auto;
  }

  .hero-image {
    margin-top: 40px;
  }

  .floating-card.top {
    left: 20px;
  }

  .floating-card.bottom {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .results-hero {
    padding: 70px 0;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: relative;

    left: auto;

    right: auto;

    top: auto;

    bottom: auto;

    margin-top: 20px;

    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }
}

/*====================================
Top Achievers
=====================================*/

.top-achievers {
  padding: 50px 0;

  background: #f9fafb;
}

.section-heading {
  /* max-width: 700px; */

  margin: auto;

  text-align: center;

  margin-bottom: 70px;
}

.section-label {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 18px;

  border-radius: 40px;

  background: #eef7c4;

  color: #6d7b00;

  font-weight: 600;

  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: 48px;

  line-height: 1.2;

  margin-bottom: 20px;

  color: #182033;
}

.section-heading h2 span {
  color: var(--primary);
}

.section-heading p {
  color: #666;

  line-height: 1.8;
}

.achiever-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.achiever-card {
  background: #fff;

  border-radius: 28px;

  padding: 20px 40px;

  position: relative;

  overflow: hidden;

  transition: 0.35s;

  border: 1px solid #eceff3;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.achiever-card::before {
  content: "";

  position: absolute;

  width: 220px;

  height: 220px;

  border-radius: 50%;

  background: rgba(198, 224, 46, 0.12);

  top: -110px;

  right: -110px;
}

.achiever-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
}

.featured {
  background: linear-gradient(135deg, #12182b, #1d2740);

  color: #fff;
}

.featured::before {
  background: rgba(255, 255, 255, 0.08);
}

.achievement-type {
  display: inline-block;

  padding: 8px 18px;

  border-radius: 40px;

  background: var(--primary);

  color: #111;

  font-weight: 700;

  margin-bottom: 15px;
}

.achiever-card h3 {
  font-size: 28px;

  margin-bottom: 2px;
}

.exam {
  color: #777;

  margin-bottom: 1px;
}

.featured .exam {
  color: #d4d8df;
}

.score {
  font-size: 32px;

  font-weight: 800;

  /* margin-bottom: 40px; */

  color: var(--primary);
}

.achievement-footer {
  display: flex;

  justify-content: space-between;

  align-items: center;

  border-top: 1px solid rgba(0, 0, 0, 0.08);

  padding-top: 10px;
}

.featured .achievement-footer {
  border-color: rgba(255, 255, 255, 0.12);
}

.achievement-footer i {
  color: var(--primary);
}

@media (max-width: 992px) {
  .achiever-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 38px;
  }
}

/*====================================
Success Formula — Premium
=====================================*/

.success-formula {
  position: relative;
  padding: 50px 0;
  background: #fbfbf9;
  overflow: hidden;
}

.success-formula::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 8% 0%,
      rgba(198, 224, 46, 0.08),
      transparent 60%),
    radial-gradient(600px 300px at 95% 100%,
      rgba(18, 24, 43, 0.05),
      transparent 60%);
  pointer-events: none;
}

.success-formula .container {
  position: relative;
  z-index: 1;
}

/* ---------- Grid / stepper track ---------- */

.formula-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: 60px;
}

/* connecting line running behind the icons */
.formula-grid::before {
  content: "";
  position: absolute;
  left: calc((100% / 12));
  right: calc((100% / 12));
  top: 65px;
  height: 2px;
  background: repeating-linear-gradient(to right,
      rgba(24, 32, 51, 0.14) 0,
      rgba(24, 32, 51, 0.14) 8px,
      transparent 8px,
      transparent 16px);
  z-index: 0;
}

.formula-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 0 10px;
}

/* ---------- Card ---------- */

.formula-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 22px;
  padding: 34px 22px 28px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(18, 24, 43, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  overflow: hidden;
}

.formula-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(198, 224, 46, 0.08);
  border-radius: 50%;
  top: -90px;
  right: -90px;
  transition: background 0.4s ease;
}

/* ghost numeral watermark */
.formula-card::after {
  content: attr(data-step);
  position: absolute;
  left: 12px;
  bottom: -10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  color: #182033;
  opacity: 0.04;
  pointer-events: none;
}

.formula-card:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 224, 46, 0.5);
  box-shadow: 0 30px 55px rgba(18, 24, 43, 0.12);
}

.formula-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #eef7c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #566600;
  box-shadow:
    0 0 0 6px #fff,
    0 0 0 7px #edf0f5;
  transition:
    transform 0.4s ease,
    background 0.4s ease,
    color 0.4s ease;
}

.formula-card:hover .formula-icon {
  transform: scale(1.08);
  background: var(--primary, #c6e02e);
  color: #12182b;
}

.formula-card h3.step-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary, #7a8a00);
  background: rgba(198, 224, 46, 0.14);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.formula-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #182033;
  letter-spacing: -0.01em;
}

.formula-card p {
  font-size: 14px;
  line-height: 1.7;
  min-height: 72px;
  color: #666;
  margin: 0;
}

/* ---------- Final / result card ---------- */

.formula-step.is-final .formula-card {
  background: linear-gradient(135deg, #12182b, #1b2842);
  border-color: transparent;
  box-shadow: 0 20px 45px rgba(18, 24, 43, 0.28);
}

.formula-step.is-final .formula-card::before {
  background: rgba(198, 224, 46, 0.14);
}

.formula-step.is-final .formula-card::after {
  color: #fff;
  opacity: 0.05;
}

.formula-step.is-final .formula-card h4,
.formula-step.is-final .formula-card p {
  color: #fff;
}

.formula-step.is-final .formula-card p {
  color: rgba(255, 255, 255, 0.72);
}

.formula-step.is-final .step-index {
  background: rgba(198, 224, 46, 0.18);
  color: var(--primary, #c6e02e);
}

.formula-step.is-final .formula-icon {
  background: var(--primary, #c6e02e);
  color: #12182b;
  box-shadow:
    0 0 0 6px #12182b,
    0 0 0 7px rgba(198, 224, 46, 0.35),
    0 0 24px rgba(198, 224, 46, 0.45);
}

.formula-step.is-final .formula-card:hover .formula-icon {
  transform: scale(1.08) rotate(-6deg);
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .formula-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 46px;
    column-gap: 18px;
  }

  .formula-grid::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .success-formula {
    padding: 70px 0;
  }

  .formula-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    margin-top: 44px;
  }

  .formula-step {
    position: relative;
    padding: 0 0 0 54px;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 26px;
  }

  .formula-step:last-child {
    margin-bottom: 0;
  }

  /* vertical connector for the mobile timeline */
  .formula-step::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: -26px;
    width: 2px;
    background: repeating-linear-gradient(to bottom,
        rgba(24, 32, 51, 0.14) 0,
        rgba(24, 32, 51, 0.14) 6px,
        transparent 6px,
        transparent 12px);
  }

  .formula-step:last-child::before {
    display: none;
  }

  .formula-icon {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    width: 50px;
    height: 50px;
    font-size: 19px;
  }

  .formula-card {
    width: 100%;
    padding: 20px 20px 20px 22px;
    text-align: left;
  }

  .formula-card::after {
    display: none;
  }

  .formula-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 420px) {
  .formula-card h4 {
    font-size: 17px;
  }

  .formula-card p {
    font-size: 13.5px;
  }
}

/*=========================================
Student Success Stories
=========================================*/

.success-story {
  padding: 90px 0;
  background: #f8fafc;
}

.story-hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: center;
  gap: 70px;
  margin-bottom: 20px;
}

.story-content h1 {
  font-size: 40px;
  line-height: 1.15;
  color: #182033;
  margin: 0px 0;
  font-weight: 800;
}

.story-content h1 span {
  display: block;
  color: var(--primary);
}

.story-content p {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 35px;
}

.story-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/*=========================================
Featured Story
=========================================*/

.featured-story {
  background: #fff;
  border-radius: 30px;
  padding: 45px;
  border: 1px solid #edf0f5;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
}

.featured-label {
  display: inline-block;
  background: #eef7c4;
  color: #556600;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 35px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 320px;
  gap: 50px;
  align-items: center;
}

.student-badge {
  display: inline-block;
  background: var(--primary);
  color: #111;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.featured-left h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #182033;
}

.featured-left h3 {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #444;
}

.featured-left p {
  color: #666;
  line-height: 1.9;
  font-size: 16px;
  margin: 0;
}

.featured-right {
  display: grid;
  gap: 18px;
}

.story-stat {
  background: #f8fafc;
  border: 1px solid #edf0f5;
  border-radius: 22px;
  padding: 10px;
  text-align: center;
  transition: 0.3s;
}

.story-stat:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.story-stat h3 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #182033;
}

.story-stat span {
  color: #666;
  font-size: 14px;
}

/*=========================================
Responsive
=========================================*/

@media (max-width: 992px) {

  .story-hero,
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .story-content {
    text-align: center;
  }

  .story-actions {
    justify-content: center;
  }

  .story-image {
    max-width: 650px;
    margin: auto;
  }
}

@media (max-width: 768px) {
  .success-story {
    padding: 70px 0;
  }

  .featured-story {
    padding: 30px;
  }

  .story-content h1 {
    font-size: 38px;
  }

  .featured-left h2 {
    font-size: 28px;
  }

  .featured-left h3 {
    font-size: 20px;
  }

  .story-actions a {
    width: 100%;
    text-align: center;
  }
}

/*=========================================
Gallery
=========================================*/
.gallery-section {
  padding: 70px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Modal */

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 30px;
}

.gallery-modal img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
}

.close-gallery {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 45px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 220px;
  }
}

/*=====================================
BLOG SECTION
======================================*/

.blog-page,
.blog-details {
  background: var(--bg);

  padding: 80px 0;
}

.blog-page .container,
.blog-details .container {
  max-width: 1320px;
}

/*=====================================
COMMON LAYOUT
======================================*/

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

.blog-sidebar {
  width: 340px;
  position: sticky;
  top: 120px;
}

/*=====================================
SIDEBAR
======================================*/

.sidebar-box {
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.sidebar-box:not(:last-child) {
  margin-bottom: 25px;
}

.sidebar-box h3 {
  font-size: 24px;
  color: var(--heading);
  margin-bottom: 22px;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 16px;
}

.category-list a {
  display: flex;

  justify-content: space-between;

  align-items: center;

  color: var(--text);

  text-decoration: none;

  transition: var(--transition);
}

.category-list a:hover {
  color: var(--primary-dark);
}

.category-list strong {
  width: 32px;

  height: 32px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f3f5f7;
}

.latest-post {
  display: flex;

  gap: 15px;

  align-items: center;
}

.latest-post:not(:last-child) {
  padding-bottom: 18px;

  margin-bottom: 18px;

  border-bottom: 1px solid var(--border);
}

.latest-thumb {
  width: 90px;

  flex-shrink: 0;

  overflow: hidden;

  border-radius: 12px;
}

.latest-thumb img {
  width: 100%;

  height: 75px;

  object-fit: cover;

  display: block;
}

.latest-content span {
  font-size: 12px;

  color: #888;
}

.latest-content h4 {
  margin-top: 6px;

  font-size: 15px;

  line-height: 1.5;
}

.latest-content a {
  color: var(--heading);

  text-decoration: none;
}

.latest-content a:hover {
  color: var(--primary-dark);
}

.tag-list {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}

.tag-list a {
  padding: 8px 16px;

  border-radius: 30px;

  background: #f4f5f7;

  text-decoration: none;

  color: #666;

  font-size: 13px;

  transition: 0.3s;
}

.tag-list a:hover {
  background: var(--primary);

  color: #000;
}

/*=====================================
BLOG HERO
======================================*/

.blog-hero {
  max-width: 700px;

  margin: 0 auto 60px;

  text-align: center;
}

.blog-hero h1 {
  font-size: 40px;

  font-weight: 800;

  color: var(--heading);

  line-height: 1.15;

  margin: 18px 0;
}

.blog-hero h1 span {
  color: var(--primary);
}

.blog-hero p {
  max-width: 650px;

  margin: auto;

  color: #666;

  line-height: 1.8;
}

/*=====================================
BLOG GRID
======================================*/

.blog-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 30px;
}

/*=====================================
BLOG CARD
======================================*/

.blog-card {
  background: #fff;

  border-radius: 24px;

  overflow: hidden;

  border: 1px solid var(--border);

  box-shadow: var(--shadow);

  transition: transform 0.3s ease;

  display: flex;

  flex-direction: column;

  height: 100%;
}


.blog-card:hover {
  transform: translateY(-5px);
}

/*=====================================
BLOG IMAGE
======================================*/

.blog-thumb {
  display: block;

  overflow: hidden;
}

.blog-thumb img {
  width: 100%;

  height: 250px;

  object-fit: cover;

  transition: 0.5s;

  display: block;
}

/* .blog-card:hover .blog-thumb img {
  transform: scale(1.08);
} */

/*=====================================
BLOG BODY
======================================*/

.blog-body {
  padding: 20px 28px;

  display: flex;

  flex-direction: column;

  flex: 1;
}

/*=====================================
BLOG META
======================================*/

.blog-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 18px;

  margin-bottom: 20px;

  color: #777;

  font-size: 14px;
}

.blog-meta span {
  display: flex;

  align-items: center;

  gap: 7px;
}

/*=====================================
CATEGORY BADGE
======================================*/

.blog-category {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: max-content;

  padding: 7px 18px;

  border-radius: 40px;

  background: #eef7c4;

  color: #556600;

  font-size: 13px;

  font-weight: 600;

  margin-bottom: 10px;
}

/*=====================================
BLOG TITLE
======================================*/

.blog-body h3 {
  margin: 0 0 13px;

  font-size: 20px;

  line-height: 1.35;

  font-weight: 700;
}

.blog-body h3 a {
  text-decoration: none;

  color: var(--heading);

  transition: 0.3s;
}

.blog-body h3 a:hover {
  color: var(--primary-dark);
}

/*=====================================
BLOG DESCRIPTION
======================================*/

.blog-body p {
  color: #666;

  line-height: 1.7;

  flex: 1;

  margin-bottom: 12px;

  font-size: 16px;
}

/*=====================================
READ MORE
======================================*/

.read-more {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--primary-dark);

  text-decoration: none;

  font-weight: 700;

  transition: 0.3s;
}

.read-more:hover {
  gap: 14px;
}

/*=====================================
PAGINATION
======================================*/

.pagination {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 12px;

  margin-top: 60px;
}

.pagination a {
  width: 48px;

  height: 48px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  background: #fff;

  color: var(--heading);

  border: 1px solid var(--border);

  transition: 0.3s;
}

.pagination a.active,
.pagination a:hover {
  background: var(--primary);
  color: #000;
}

/*=====================================
BLOG RESPONSIVE
======================================*/

@media (max-width: 1200px) {
  .blog-grid {
    gap: 25px;
  }

  .blog-thumb img {
    height: 220px;
  }
}

@media (max-width: 992px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    width: 100%;

    position: relative;

    top: 0;

    order: 2;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-body {
    padding: 22px;
  }

  .blog-body h3 {
    font-size: 24px;
  }

  .blog-thumb img {
    height: 220px;
  }

  .blog-meta {
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .blog-page {
    padding: 60px 0;
  }

  .blog-hero {
    margin-bottom: 40px;
  }

  .blog-hero h1 {
    font-size: 34px;
  }
}

/*=====================================
BLOG DETAILS
======================================*/

.blog-details {
  background: var(--bg);

  padding: 80px 0;
}

.blog-details-wrapper {
  width: 100%;
}

.blog-content {
  background: #fff;

  border-radius: 24px;

  padding: 45px;

  border: 1px solid var(--border);

  box-shadow: var(--shadow);
}

/*=====================================
BLOG COVER
======================================*/

.blog-cover {
  overflow: hidden;

  border-radius: 22px;

  margin-bottom: 35px;
}

.blog-cover img {
  width: 100%;

  height: 500px;

  object-fit: cover;

  display: block;
}

/*=====================================
BLOG HEADER
======================================*/

.blog-header {
  margin-bottom: 25px;
}

.blog-header h1 {
  font-size: 40px;

  line-height: 1.2;

  color: var(--heading);

  margin: 18px 0;
  letter-spacing: normal;
  font-weight: 700;
}

/*=====================================
BLOG DETAILS META
======================================*/

.blog-header .blog-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 20px;

  color: #777;

  margin-top: 15px;
}

.blog-header .blog-meta span {
  display: flex;

  align-items: center;

  gap: 8px;
}

/*=====================================
BLOG CONTENT
======================================*/

.blog-content h2 {
  font-size: 32px;

  color: var(--heading);

  margin: 40px 0 18px;

  font-weight: 700;
}

.blog-content h3 {
  font-size: 26px;

  color: var(--heading);

  margin: 35px 0 16px;
}

.blog-content p {
  color: var(--text);

  font-size: 17px;

  line-height: 1.9;

  margin-bottom: 20px;
}

/*=====================================
LIST
======================================*/

.blog-content ul,
.blog-content ol {
  padding-left: 25px;

  margin: 25px 0;
}

.blog-content li {
  margin-bottom: 12px;

  line-height: 1.8;
}

/*=====================================
TABLE
======================================*/

.blog-table {
  width: 100%;

  border-collapse: collapse;

  margin: 35px 0;

  overflow: hidden;
}

.blog-table th {
  background: var(--primary);

  color: #111;

  padding: 16px;

  text-align: left;
}

.blog-table td {
  padding: 16px;

  border: 1px solid var(--border);
}

.blog-table tr:nth-child(even) {
  background: #fafafa;
}

/*=====================================
BLOCKQUOTE
======================================*/

.blog-content blockquote {
  margin: 35px 0;

  padding: 3px 30px;

  border-left: 5px solid var(--primary);

  background: #f7f9fb;

  border-radius: 16px;

  font-size: 22px;

  line-height: 1.7;

  font-style: italic;

  color: var(--heading);
}

/*=====================================
CODE
======================================*/

.blog-content pre {
  background: #1e1e1e;

  color: #fff;

  padding: 20px;

  border-radius: 12px;

  overflow: auto;

  margin: 30px 0;
}

.blog-content code {
  background: #f3f4f6;

  padding: 3px 8px;

  border-radius: 6px;
}

/*=====================================
ARTICLE CTA
======================================*/

.article-cta {
  margin-top: 10px;
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 24px;
}

.article-cta h3 {
  color: #fff;

  margin-bottom: 15px;

  font-size: 30px;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);

  margin-bottom: 25px;
}

.article-cta .btn-primary {
  display: inline-block;

  background: var(--primary);

  color: #111;

  padding: 14px 34px;

  border-radius: 40px;

  text-decoration: none;

  font-weight: 700;

  transition: 0.3s;
}

.article-cta .btn-primary:hover {
  background: var(--primary-dark);
}

/*=====================================
BLOG DETAILS RESPONSIVE
======================================*/

@media (max-width: 1200px) {
  .blog-cover img {
    height: 420px;
  }
}

@media (max-width: 992px) {
  .blog-content {
    padding: 35px;
  }

  .blog-cover img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .blog-details {
    padding: 60px 0;
  }

  .blog-content {
    padding: 25px;
  }

  .blog-cover img {
    height: 250px;
  }

  .blog-header h1 {
    font-size: 32px;
  }

  .blog-content h2 {
    font-size: 28px;
  }

  .blog-content blockquote {
    padding: 22px;

    font-size: 18px;
  }

  .blog-table {
    display: block;

    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .blog-header .blog-meta {
    flex-direction: column;

    gap: 10px;
  }

  .article-cta {
    padding: 25px;
  }

  .article-cta h3 {
    font-size: 24px;
  }
}











.footer-contact-info {
  margin-bottom: 20px;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #ccc;
  line-height: 1.6;
}

.footer-contact-info i {
  color: #BCD209;
  /* ya website ka primary color */
  width: 18px;
  margin-top: 4px;
}

.footer-contact-info a {
  color: #fff;
  text-decoration: none;
}

.footer-contact-info a:hover {
  color: #BCD209;
}




.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: all .3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}