/* ==========================================================================
   EMBRITURE DESTINATIONS CINEMATIC OVERHAUL
   ========================================================================== */

/* ── 1. Hero Animated Background ── */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero .ph-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px !important;
}

.dest-hero-text {
  position: relative;
  z-index: 2;
}

.dest-hero-bg {
  position: relative;
  width: 100%;
  height: 420px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-path-svg, .hero-country-map {
  width: 100%;
  height: 100%;
}
.hero-route {
  fill: none;
  stroke: var(--sky);
  stroke-width: 2;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: hero-draw 2.5s cubic-bezier(0.2, 0, 0, 1) forwards;
}
.hero-country-map g path, .hero-country-map g polygon {
  fill: rgba(118, 172, 235, 0.05);
  stroke: rgba(118, 172, 235, 0.75);
  stroke-width: 8;
  stroke-linejoin: round;
}
.hero-dot {
  offset-path: path("M-100,450 C300,500 400,100 1100,250");
  animation: hero-dot-move 8s linear infinite;
  fill: var(--sky);
  filter: drop-shadow(0 0 4px var(--sky));
}
@keyframes hero-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes hero-dot-move {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ── 2. Flow Grid (Visa, Living, Scholarships) ── */
.dest-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.dest-card {
  background: var(--wh);
  border: 1px solid rgba(147,164,193,0.16);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(20px);
}
.dest-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.dest-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 55px rgba(0,0,0,0.22);
  background: rgba(28,52,98,0.96); /* Exact landing page color */
  border-color: rgba(255,255,255,0.55);
  z-index: 5;
}

/* Heading → white */
.dest-card:hover h3,
.dest-card:hover strong {
  color: #ffffff !important;
  transform: translateY(-4px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s;
}

/* Description → near-white */
.dest-card:hover p {
  color: rgba(255,255,255,0.92) !important;
  transition: color 0.4s;
}

/* ── Glass highlight tracking mouse ── */
.dest-card::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Default subtle glow for non-hover state */
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(22,33,61,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 450ms ease, background 450ms ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.dest-card:hover::before {
  /* Bright glassmorphism on hover */
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), transparent 45%),
    radial-gradient(300px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(255,255,255,0.12), transparent 65%);
  opacity: 1;
}

/* ── Diagonal shine sweep ── */
.dest-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255,255,255,0.4) 48%,
    rgba(255,255,255,0.8) 52%,
    transparent
  );
  pointer-events: none;
  z-index: 1;
  transform: skewX(-15deg);
}
.dest-card.dc-shine::after { animation: dest-shine 900ms ease-out forwards; }
@keyframes dest-shine { from{left:-120%} to{left:160%} }

/* Ensure text is above pseudo elements */
.dest-card > * { position: relative; z-index: 2; }

/* Emulate heading on the strong tags inside dest-card */
.dest-card > p > strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: #16213d !important;
  margin-bottom: 12px;
  line-height: 1.3;
}
.dest-card > p {
  color: #5b6478 !important;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}
/* Scholarships motif */
.dest-card-scholarship {
  background: linear-gradient(145deg, var(--wh), rgba(255,255,255,0.8));
}
.dest-card-scholarship::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  opacity: 0.4;
  transition: all 0.4s;
}
.dest-card-scholarship:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

/* ── 3. Application Process Journey ── */
.process-journey {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 60px;
  margin-top: 40px;
}
.journey-svg-overlay {
  position: absolute;
  top: 0;
  left: 20px;
  width: 4px;
  height: 100%;
  z-index: 0;
}
.journey-path-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.journey-path-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}
.journey-step {
  position: relative;
  z-index: 1;
  background: var(--wh);
  border: 1px solid rgba(147,164,193,0.12);
  border-radius: 16px;
  padding: 24px 28px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* FAILSAFE: If the old cached JS runs twice, it accidentally turns waypoints into steps. This hides those ghosts. */
.journey-step.journey-waypoint,
.journey-step.journey-num,
.journey-step.journey-waypoint-inner {
  display: none !important;
}
.journey-step.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.journey-step:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 30px rgba(22,33,61,0.06);
  border-color: rgba(147,164,193,0.3);
}

.journey-waypoint {
  position: absolute;
  left: -48px;
  top: 32px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--wh);
  border: 2px solid rgba(147,164,193,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  z-index: 2;
}
.journey-waypoint-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.journey-waypoint.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(118, 172, 235, 0.15);
}
.journey-waypoint.active .journey-waypoint-inner {
  opacity: 1;
  transform: scale(1);
}

.journey-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(147,164,193,0.4);
  letter-spacing: 1px;
}

.journey-step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--wh);
  margin-bottom: 8px;
}
.journey-step p {
  color: #5b6478;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ── 4. Universities Interactive Ranking ── */
.uni-table tbody tr {
  /* Let rows be visible by default, JS handles hover opacity */
  opacity: 1;
}
.uni-table tbody tr.is-visible {
  opacity: 1;
}

/* ── 5. FAQs ── */
.faq-item {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s;
}
.faq-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.faq-item.active {
  background: var(--wh);
  border-color: rgba(147,164,193,0.3);
  box-shadow: 0 10px 30px rgba(22,33,61,0.05);
  transform: scale(1.01);
}
.faq-item.active .faq-a {
  max-height: 500px;
  padding-bottom: 24px;
  opacity: 1;
}

/* ── 6. Responsive Degradation ── */
@media (max-width: 768px) {
  .dest-flow-grid {
    grid-template-columns: 1fr;
  }
  .process-journey {
    padding-left: 40px;
  }
  .journey-svg-overlay {
    left: 10px;
  }
  .journey-waypoint {
    left: -38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dest-card, .journey-step, .uni-table tbody tr, .faq-item {
    transition: opacity 0.5s !important;
    transform: none !important;
  }
  .hero-path-svg, .journey-path-svg, .hero-country-map {
    display: none;
  }
  .dest-card:hover, .journey-step:hover {
    transform: none !important;
  }
}
.two-col {
  display: block;
}
.two-col-body {
  margin-top: 28px;
}

/* ── 9. University Map + Toggle ── */

/* Hidden utility */
.uni-view-hidden { display: none !important; }

/* Toggle bar */
.uni-view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 20px;
}
.uvt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(147,164,193,0.25);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2,0,0,1);
}
.uvt-btn:hover {
  border-color: rgba(118,172,235,0.5);
  color: rgba(255,255,255,0.85);
}
.uvt-btn.active {
  background: rgba(118,172,235,0.15);
  border-color: rgba(118,172,235,0.6);
  color: #fff;
}

/* Map widget container */
.uni-map-widget {
  width: 100%;
  border-radius: 20px;
  overflow: visible; /* allow pins/tooltips to escape the box */
  border: 1px solid rgba(147,164,193,0.12);
  background: rgba(10,18,40,0.6);
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}
.uni-map-inner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: visible; /* tooltips overflow above/below the map */
}
/* Clip only the SVG map background to the rounded card */
.uni-map-svg-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uni-map-svg-bg svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}
.uni-map-svg-bg svg path,
.uni-map-svg-bg svg polygon {
  fill: rgba(118,172,235,0.12);
  stroke: rgba(118,172,235,0.75);
  stroke-width: 5;
}

/* Pins */
.uni-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  isolation: isolate; /* creates stacking context so tooltip stays within pin */
}
/* Elevate hovered pin above all others */
.uni-pin:hover {
  z-index: 500 !important;
}
.uni-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(118,172,235,0.7);
  box-shadow: 0 0 10px rgba(118,172,235,0.5);
  position: relative;
  transition: transform 0.2s, background 0.2s;
}
.uni-pin-top .uni-pin-dot {
  background: var(--gold, #d4af37);
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
}
.uni-pin-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(118,172,235,0.5);
  animation: pin-pulse 2s ease-out infinite;
}
.uni-pin-top .uni-pin-ring {
  border-color: rgba(212,175,55,0.5);
}
/* Pause sibling rings when any pin is hovered so they don't bleed through tooltips */
.uni-map-inner:has(.uni-pin:hover) .uni-pin:not(:hover) .uni-pin-ring {
  animation-play-state: paused;
  opacity: 0;
}

@keyframes pin-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Tooltip */
.uni-pin-tooltip {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 380px;
  background: rgba(6,12,30,0.98);
  border: 1px solid rgba(118,172,235,0.35);
  border-radius: 24px;
  padding: 32px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 9999;
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(118,172,235,0.1);
}
.uni-pin:hover .uni-pin-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.uni-pin:hover .uni-pin-dot {
  transform: scale(1.4);
  background: var(--sky, #76aced);
}
.upt-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.25;
}
.upt-city {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.upt-city::before {
  content: '📍';
  font-size: 11px;
}
.upt-rank {
  font-size: 14px;
  color: var(--gold, #d4af37);
  margin-bottom: 18px;
  letter-spacing: 0.4px;
}
.upt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(147,164,193,0.1);
}
.upt-row span {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.upt-row strong {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 15px;
}
.upt-schol {
  font-size: 13px;
  color: rgba(118,172,235,0.85);
  margin-top: 14px;
  line-height: 1.6;
}

/* Flip tooltip to show BELOW pin when pin is in the top 40% of map */
.uni-pin.pin-flip .uni-pin-tooltip {
  bottom: auto;
  top: calc(100% + 16px);
  transform: translateX(-50%) translateY(-6px);
}
.uni-pin.pin-flip:hover .uni-pin-tooltip {
  transform: translateX(-50%) translateY(0);
}

.uni-pin:nth-child(-n+3) .uni-pin-tooltip {
  left: 0;
  transform: translateX(0) translateY(6px);
}
.uni-pin:nth-child(-n+3):hover .uni-pin-tooltip {
  transform: translateX(0) translateY(0);
}

/* ── 10. Sticky Scroll Cards (Visa, Living, Scholarships) ── */
.dest-sticky-scroll {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  align-items: start;
}

.dest-sticky-visual {
  position: sticky;
  top: 120px;
  height: calc(100vh - 160px);
  min-height: 340px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(118,172,235,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(147,164,193,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dsv-num {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(147,164,193,0.5);
  margin-bottom: 16px;
}
.dsv-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  font-weight: 600;
  line-height: 1;
  color: var(--txt);
  transition: opacity 0.4s;
}
.dsv-theme-scholarship .dsv-letter { color: var(--gold); }
.dsv-theme-visa .dsv-letter { color: var(--blue); }
.dsv-theme-living .dsv-letter { color: var(--sky); }

.dest-sticky-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dest-sticky-cards .dest-card {
  transition: opacity 0.4s, border-color 0.4s;
  opacity: 0.5;
}
.dest-sticky-cards .dest-card.dsv-active {
  opacity: 1;
  border-color: rgba(147,164,193,0.35);
}

@media (max-width: 768px) {
  .dest-sticky-scroll { display: block; }
  .dest-sticky-visual { display: none; }
  .dest-sticky-cards .dest-card { opacity: 1; }
}

/* ── 11. Full-Width FAQ Section ── */
.section.narrow:has(.faq-list) {
  max-width: none;
}
.faq-list {
  max-width: 100%;
}

/* Replicas */
.ed-counter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: rgba(28,52,98,0.96); /* Dark theme compat */
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  margin: 40px auto;
  max-width: 1100px;
  border: 1px solid rgba(147,164,193,0.16);
}
.ed-counter h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}
.ed-counter h3 span { color: var(--gold); }
.ed-counter h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: rgba(255,255,255,0.7);
}

.ed-why-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .ed-why-layout {
    grid-template-columns: 1fr;
  }
}

.ed-why-list {
  display: flex;
  flex-direction: column;
}
.ed-why-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(147,164,193,0.15);
  background: transparent;
  transition: all 0.3s;
}
.ed-why-item:last-child {
  border-bottom: none;
}
.ed-why-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(118, 172, 235, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: all 0.3s;
}
.ed-why-item:hover .ed-why-icon {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.05);
}
.ed-why-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.ed-why-text p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin: 0;
  line-height: 1.7;
}

.ed-form-box {
  background: rgba(28,52,98,0.3);
  border: 1px solid rgba(118, 172, 235, 0.2);
  border-radius: 20px;
  padding: 40px 32px;
  position: sticky;
  top: 120px;
}
.ed-form-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.4;
}
.ed-form-box h3 span { color: var(--gold); }
.ed-input {
  width: 100%;
  background: rgba(10,18,40,0.6);
  border: 1px solid rgba(147,164,193,0.3);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}
.ed-input:focus {
  outline: none;
  border-color: var(--blue);
}
.ed-form-btn {
  width: 100%;
  background: var(--gold);
  color: #16213d;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}
.ed-form-btn:hover {
  background: #fff;
}

.univer-swiper {
  width: 100%;
  padding: 20px 0 60px 0 !important;
  overflow: hidden;
}
.ed-uni-card {
  background: rgba(28,52,98,0.96);
  border: 1px solid rgba(147,164,193,0.16);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s;
}
.ed-uni-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.4);
}
.ed-uni-logo {
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
}
.ed-uni-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.ed-uni-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 24px;
}
.ed-uni-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(147,164,193,0.1);
}
.ed-uni-row svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}
.ed-uni-row p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.ed-uni-row strong {
  color: #fff;
}

.ed-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.ed-course-card {
  background: rgba(28,52,98,0.96);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(147,164,193,0.16);
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  text-decoration: none;
}
.ed-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.4);
}
.ed-course-img {
  width: 100%;
  height: 200px;
}
.ed-course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ed-course-dtl {
  padding: 24px;
  text-align: center;
}
.ed-course-dtl h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  color: #fff;
  margin: 0;
}

.ed-cost-layout {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .ed-cost-layout {
    grid-template-columns: 1fr;
  }
}
.ed-heading-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}
.ed-heading-text h2 span {
  display: inline-block;
  position: relative;
}
.ed-heading-text h2 span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #ff4742; /* The red squiggle approximation */
  border-radius: 2px;
}
.ed-heading-text p {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.ed-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .ed-split-layout {
    grid-template-columns: 1fr;
  }
}
.ed-img-box {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  background: #fff;
}
.ed-img-box img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.ed-cost-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ed-cost-tag {
  display: inline-block;
  background: rgba(147,164,193,0.1);
  border: 1px solid rgba(147,164,193,0.2);
  color: rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  align-self: flex-start;
}
.ed-fee-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(28,52,98,0.96);
  border: 1px solid rgba(147,164,193,0.15);
  border-radius: 12px;
  padding: 20px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ed-fee-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.3);
}
.ed-fee-box span {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 16px;
}
.ed-fee-box strong {
  color: #fff;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* Tabs Section */
.ed-tabs-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .ed-tabs-container {
    grid-template-columns: 1fr;
  }
}
.ed-tab-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 120px;
}
.ed-tab-btn {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: none;
  text-align: left;
  padding: 16px 24px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}
.ed-tab-btn:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.ed-tab-btn.active {
  background: rgba(28,52,98,0.96);
  color: #fff;
  border: 1px solid rgba(147,164,193,0.2);
}
.ed-tab-content-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ed-tab-pane {
  background: rgba(10,18,40,0.4);
  border: 1px solid rgba(147,164,193,0.2);
  border-radius: 24px;
  padding: 40px;
}
.ed-tab-pane h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 16px;
}
.ed-tab-pane p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.ed-tab-pane ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.ed-tab-pane ul li {
  position: relative;
  padding-left: 20px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.ed-tab-pane ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.5);
}

/* Success Stories */
.success-swiper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 40px 5vw 60px 25vw !important;
}
@media (max-width: 900px) {
  .success-swiper {
    padding: 40px 5vw 60px 5vw !important;
  }
}
.success-swiper .swiper-slide {
  width: auto;
}
.ed-success-card {
  display: flex;
  align-items: center;
  background: rgba(28,52,98,0.96);
  border-radius: 30px;
  padding: 60px 60px 60px 250px;
  position: relative;
  min-height: 400px;
  width: 720px;
  max-width: 85vw;
  border: 1px solid rgba(147,164,193,0.15);
}
.ed-success-img {
  position: absolute;
  left: -210px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.ed-success-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ed-success-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  backdrop-filter: blur(4px);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.ed-success-play:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.05);
}
.ed-success-content {
  padding-left: 0; 
}
.ed-success-content p.quote {
  font-size: 19px;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}
.ed-success-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ed-success-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}
.ed-success-author h4 {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px 0;
}
.ed-success-author span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
}
@media (max-width: 900px) {
  .ed-success-card {
    flex-direction: column;
    margin-top: 150px;
    padding: 150px 24px 40px 24px;
    min-height: auto;
    text-align: center;
  }
  .ed-success-img {
    left: 50%;
    top: -120px;
    transform: translateX(-50%);
    width: 280px;
    height: 240px;
  }
  .ed-success-content {
    padding-left: 0;
  }
  .ed-success-author {
    flex-direction: column;
    text-align: center;
  }
}

/* Journey CTA Banner */
.journey-cta {
  background: #24488b;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  margin-top: 80px;
  margin-bottom: 40px;
}
.journey-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}
.journey-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  color: #fff;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.journey-content h2 strong {
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.journey-content h2 strong::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 4px;
  background: #f04e3b;
  border-radius: 2px;
}
.journey-content p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  font-family: 'Outfit', sans-serif;
}
.journey-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.journey-btn {
  background: #fff;
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.journey-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.journey-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #dce3ee;
  padding: 12px 20px;
  border-radius: 12px;
}
.journey-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  text-decoration: none;
  transition: transform 0.2s;
}
.journey-socials a:hover {
  transform: scale(1.15);
}
.journey-socials svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.journey-image-wrap {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 350px;
  height: 130%; 
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.journey-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  margin-bottom: -5px; 
}
.journey-decor {
  position: absolute;
  z-index: 0;
}
.j-lines {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160%;
  height: 160%;
  opacity: 0.8;
}
.j-icon-cap {
  top: -10px;
  right: -20px;
  width: 60px;
  color: #fff;
  z-index: 3;
}
.j-icon-cert {
  bottom: 30px;
  right: -50px;
  width: 45px;
  color: #fff;
  z-index: 3;
}
.j-icon-pin {
  top: 70px;
  left: -20px;
  width: 30px;
  color: #fff;
  z-index: 3;
}

@media (max-width: 900px) {
  .journey-cta {
    flex-direction: column;
    padding: 40px 24px 280px 24px;
    text-align: center;
    margin-top: 60px;
  }
  .journey-content h2 strong::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .journey-actions {
    flex-direction: column;
    justify-content: center;
  }
  .journey-image-wrap {
    right: 50%;
    transform: translateX(50%);
    width: 280px;
    height: 320px;
  }
}

@media (max-width: 900px) {
  .ed-counter { grid-template-columns: repeat(2, 1fr); }
  .ed-course-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-cost-panel { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ed-counter { grid-template-columns: 1fr; }
  .ed-course-grid { grid-template-columns: 1fr; }
}
