/* ============================================================
   ESSE INDIA — CANADIAN EXPERIENCE CLASS (CEC)
   Page-specific styles. Self-contained.
   ============================================================ */

/* ============================================================
   1. RATING PILL (hero)
   ============================================================ */
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  margin-top: 20px;
}
.rating-pill i.fa-google { color: #fff; font-size: 15px; }
.rating-pill b { color: var(--gold-light, #ffd76b); }
.rating-pill .stars { color: #ffc107; letter-spacing: 2px; font-size: 13px; }

/* ============================================================
   2. HERO SUPPORT
   ============================================================ */
.hero .aaip-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, .15);
  color: var(--gold-light, #ffd76b);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(245, 180, 0, .3);
}
.hero .aaip-hero-badge i { font-size: 12px; }

.hero .hero-copy h1 {
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
}
.hero .hero-copy .lead {
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero .hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero .hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero .hero-stats .stat b {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light, #ffd76b);
  display: block;
}
.hero .hero-stats .stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}

/* ============================================================
   3. GLASS CARD — Quick snapshot
   ============================================================ */
.glass-frame {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
  color: #fff;
}
.crs-head {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.crs-head .tag {
  display: inline-block;
  background: rgba(255, 215, 0, .15);
  color: var(--gold-light, #ffd76b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.crs-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.crs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
  font-size: 13.5px;
}
.crs-row:last-child,
.crs-row.last { border-bottom: none; }
.crs-row > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .7);
}
.crs-row > span i {
  color: var(--gold-light, #ffd76b);
  font-size: 13px;
  width: 16px;
  text-align: center;
}
.crs-row > b {
  color: #fff;
  font-weight: 700;
  text-align: right;
  font-size: 13px;
}

/* ============================================================
   4. WHY GRID (4-column default)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.why-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  border: 1px solid var(--lilac-100, #f1ecfc);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(75, 33, 196, .25);
  border-color: var(--purple-300, #a78bfa);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--lilac-100, #f1ecfc);
  color: var(--purple-600, #4b21c4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.why-card:hover .why-icon {
  background: var(--purple-600, #4b21c4);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}
.why-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink, #150c2e);
  margin-bottom: 8px;
  line-height: 1.3;
}
.why-card p {
  font-size: 13px;
  color: var(--gray, #6d6d80);
  line-height: 1.6;
  margin: 0;
}

/* Dark section variant */
.expertise.alt-bg .why-card,
.why.alt-bg .why-card {
  background: #fff;
}

/* ============================================================
   5. PATH CARDS (Eligibility + NOC TEER)
   ============================================================ */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.path-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.path-card {
  background: #fff;
  border: 1px solid var(--lilac-100, #f1ecfc);
  border-radius: var(--radius-md, 18px);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  box-shadow: 0 6px 24px -12px rgba(26, 13, 61, .12);
  display: flex;
  flex-direction: column;
}
.path-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-300, #a78bfa);
  box-shadow: 0 24px 50px -20px rgba(75, 33, 196, .25);
}
.path-head {
  padding: 22px 24px 18px;
  background: linear-gradient(150deg, #faf8ff 0%, #f3ecff 100%);
  border-bottom: 1px solid var(--lilac-100, #f1ecfc);
}
.path-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--purple-600, #4b21c4);
  background: rgba(106, 53, 230, .1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.path-head h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink, #150c2e);
  margin: 0;
  line-height: 1.3;
}
.path-head h4 i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lilac-100, #f1ecfc);
  color: var(--purple-600, #4b21c4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.path-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.path-body > p {
  font-size: 14px;
  color: var(--gray, #6d6d80);
  line-height: 1.6;
  margin: 0;
}
.path-body > p b { color: var(--ink, #150c2e); font-weight: 700; }

.path-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.path-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: var(--gray, #6d6d80);
  line-height: 1.55;
}
.path-list li b { color: var(--ink, #150c2e); font-weight: 700; }
.path-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #5be0d3;
  font-size: 11px;
}

/* ============================================================
   6. COMPARISON TABLE (CEC vs FSWP vs FSTP)
   ============================================================ */
.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: var(--radius-md, 18px);
  border: 1px solid var(--lilac-100, #f1ecfc);
  background: #fff;
  box-shadow: 0 20px 50px -25px rgba(26, 13, 61, .15);
  -webkit-overflow-scrolling: touch;
}
.crs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
  min-width: 640px;
}
.crs-table thead {
  background: linear-gradient(135deg, var(--purple-500, #6a35e6), var(--purple-800, #321a7a));
}
.crs-table thead th {
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 20px;
  white-space: nowrap;
}
.crs-table thead th:first-child { border-top-left-radius: 16px; }
.crs-table thead th:last-child  { border-top-right-radius: 16px; }
.crs-table tbody tr { transition: background .15s ease; }
.crs-table tbody tr:nth-child(even) { background: #faf8ff; }
.crs-table tbody tr:hover { background: rgba(106, 53, 230, .06); }
.crs-table tbody td {
  padding: 14px 20px;
  color: var(--gray, #6d6d80);
  line-height: 1.5;
  border-top: 1px solid var(--lilac-100, #f1ecfc);
  vertical-align: middle;
}
.crs-table tbody td:first-child {
  font-weight: 700;
  color: var(--ink, #150c2e);
}
.crs-table tbody td:not(:first-child) { font-weight: 500; }
.crs-table tbody tr:last-child td:first-child { border-bottom-left-radius: 16px; }
.crs-table tbody tr:last-child td:last-child  { border-bottom-right-radius: 16px; }

/* ============================================================
   7. CHECKLIST GRID (Documents)
   ============================================================ */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 40px auto 0;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--lilac-100, #f1ecfc);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink, #150c2e);
  line-height: 1.4;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.checklist-item:hover {
  transform: translateY(-3px);
  border-color: var(--purple-300, #a78bfa);
  box-shadow: 0 16px 34px -18px rgba(75, 33, 196, .22);
}
.checklist-item i {
  color: #10b981;
  font-size: 15px;
  flex-shrink: 0;
}

/* ============================================================
   8. COST GRID
   ============================================================ */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.cost-card {
  background: #fff;
  border: 1px solid var(--lilac-100, #f1ecfc);
  border-radius: var(--radius-md, 18px);
  padding: 26px 22px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px -12px rgba(26, 13, 61, .12);
}
.cost-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-500, #6a35e6), var(--gold, #f5b400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.cost-card:hover::before { transform: scaleX(1); }
.cost-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-300, #a78bfa);
  box-shadow: 0 24px 50px -20px rgba(75, 33, 196, .25);
}
.cost-card h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink, #150c2e);
  margin-bottom: 14px;
  line-height: 1.3;
}
.cost-card h4 i {
  color: var(--purple-600, #4b21c4);
  font-size: 15px;
}
.cost-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--purple-600, #4b21c4);
  margin: 0 0 8px;
  letter-spacing: -.5px;
  line-height: 1.2;
}
.cost-desc {
  font-size: 12.5px;
  color: var(--gray, #6d6d80);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   9. TABLE NOTE (info strip)
   ============================================================ */
.table-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(106, 53, 230, .06), rgba(245, 180, 0, .06));
  border: 1px solid var(--lilac-100, #f1ecfc);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 13px;
  color: var(--gray, #6d6d80);
  line-height: 1.6;
  margin: 32px auto 0;
  max-width: 720px;
  text-align: left;
}
.table-note i {
  color: var(--purple-500, #6a35e6);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.table-note b { color: var(--ink, #150c2e); font-weight: 800; }

/* ============================================================
   10. PROCESS TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding-top: 30px;
  margin-top: 40px;
}
.timeline-line {
  position: absolute;
  top: 44px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--lilac-100, #f1ecfc);
  z-index: 0;
}
.tl-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tl-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--purple-400, #8b5cf6);
  color: var(--purple-600, #4b21c4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 12px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.tl-step:hover .tl-dot {
  background: var(--purple-500, #6a35e6);
  color: #fff;
  transform: scale(1.08);
}
.tl-step small {
  font-size: 11px;
  color: var(--purple-500, #6a35e6);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tl-step b { font-size: 14px; font-weight: 800; color: var(--ink, #150c2e); }
.tl-step span { font-size: 12.5px; color: var(--gray, #6d6d80); }

/* ============================================================
   11. ELIGIBILITY BANNER
   ============================================================ */
.elig-banner {
  background:
    radial-gradient(circle at 20% 30%, rgba(245, 180, 0, .18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, .3), transparent 60%),
    linear-gradient(135deg, #1a0d3d 0%, #321a7a 100%);
  color: #fff;
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.elig-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.elig-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.elig-inner > div { flex: 1; min-width: 260px; }
.elig-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}
.elig-inner p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

/* ============================================================
   12. TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid var(--lilac-100, #f1ecfc);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.trust-point > i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--lilac-100, #f1ecfc);
  color: var(--purple-600, #4b21c4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.trust-point:hover > i {
  background: var(--purple-600, #4b21c4);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.trust-point b {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink, #150c2e);
  margin-bottom: 4px;
  line-height: 1.3;
}
.trust-point span {
  font-size: 12.5px;
  color: var(--gray, #6d6d80);
  line-height: 1.5;
}

/* ============================================================
   13. FAQ ACCORDION
   ============================================================ */
.faq-accordion {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-accordion-item {
  background: #fff;
  border: 1px solid var(--lilac-100, #f1ecfc);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-accordion-item:hover {
  box-shadow: 0 10px 30px -14px rgba(26, 13, 61, .12);
  border-color: var(--purple-300, #a78bfa);
}
.faq-accordion-item.active {
  border-color: var(--purple-400, #8b5cf6);
  box-shadow: 0 16px 40px -18px rgba(75, 33, 196, .22);
}
.faq-accordion-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink, #150c2e);
  font-family: inherit;
  line-height: 1.4;
}
.faq-accordion-btn > i:first-child {
  color: var(--purple-500, #6a35e6);
  font-size: 16px;
  flex-shrink: 0;
}
.faq-accordion-btn > span {
  flex: 1;
}
.faq-accordion-btn .faq-icon {
  color: var(--purple-500, #6a35e6);
  font-size: 13px;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-accordion-item.active .faq-accordion-btn .faq-icon {
  transform: rotate(180deg);
}
.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-accordion-content p {
  padding: 0 22px 20px 52px;
  font-size: 13.5px;
  color: var(--gray, #6d6d80);
  line-height: 1.7;
  margin: 0;
}
.faq-accordion-item.active .faq-accordion-content {
  max-height: 500px;
}

/* ============================================================
   14. SECTION BACKGROUNDS
   ============================================================ */
.why      { padding: 80px 0; background: #fff; }
.expertise{ padding: 80px 0; background: #fff; }
.alt-bg   { background: var(--lilac-50, #f8f6fd); }
.process  { padding: 80px 0; background: var(--lilac-50, #f8f6fd); }
.process.alt-bg { background: var(--lilac-50, #f8f6fd); }

/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid,
  .why-grid-3  { grid-template-columns: repeat(2, 1fr); }
  .path-grid,
  .path-grid-2col { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .cost-grid   { grid-template-columns: repeat(2, 1fr); }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .timeline    { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .timeline-line { display: none; }
}

@media (max-width: 768px) {
  .why-grid,
  .why-grid-3,
  .path-grid,
  .path-grid-2col { grid-template-columns: 1fr; }

  .elig-inner {
    flex-direction: column;
    text-align: center;
    gap: 22px;
  }
  .elig-inner > div { min-width: auto; }
  .elig-inner .btn  { width: 100%; justify-content: center; }
  .elig-inner p     { margin: 0 auto; }
}

@media (max-width: 640px) {
  .cost-grid   { grid-template-columns: 1fr; gap: 16px; }
  .checklist-grid { grid-template-columns: 1fr; gap: 10px; }
  .trust-strip-inner { grid-template-columns: 1fr; gap: 18px; }
  .timeline    { grid-template-columns: 1fr; }
  .why, .expertise, .process { padding: 60px 0; }
  .elig-banner { padding: 40px 0; }
  .cost-num    { font-size: 20px; }
  .crs-table   { font-size: 13px; }
  .crs-table thead th,
  .crs-table tbody td { padding: 12px 14px; }
  .table-note {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
    font-size: 12.5px;
  }
  .faq-accordion-content p { padding-left: 22px; }
  .glass-frame { padding: 22px 18px; }
  .crs-row > b { font-size: 12.5px; }
}

/* ============================================================
   16. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .why-card,
  .path-card,
  .cost-card,
  .cost-card::before,
  .checklist-item,
  .tl-dot,
  .trust-point > i,
  .faq-accordion-item,
  .faq-accordion-content {
    transition: none !important;
    animation: none !important;
  }
}