:root {
  --primary: #6d3df2;
  --primary-rgb: 109, 61, 242;
  --accent: #c23be0;
  --accent-rgb: 194, 59, 224;
  --bg: #f4f1fb;
  --bg2: #eee9fa;
  --card-bg: #fff;
  --card-border: #e3dcf6;
  --text: #1c1840;
  --text-muted: #625d80;
  --border: #e3dcf6;
  --shadow: 0 14px 38px rgba(48, 31, 105, .09);
  --radius: 1.25rem;
}

html {
  scroll-padding-top: 88px;
}

body {
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

body.dark.fd-legacy-dark-disabled {
  --bg: #11102b;
  --bg2: #1b1940;
  --card-bg: #201d46;
  --card-border: rgba(221, 214, 255, .15);
  --text: #f4f0ff;
  --text-muted: #c1badf;
  --border: rgba(221, 214, 255, .18);
  --shadow: 0 14px 38px rgba(0, 0, 0, .24);
  background-color: var(--bg);
  color: var(--text);
}

.fdv-unified-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(251, 248, 241, .9);
  border-bottom: 1px solid #e6def3;
  box-shadow: 0 6px 20px -14px rgba(56, 33, 130, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .2s ease, background .2s ease;
}

.fdv-unified-header.is-scrolled {
  background: rgba(251, 248, 241, .97);
  box-shadow: 0 10px 26px -14px rgba(56, 33, 130, .3);
}

.fdv-unified-header .fdv-nav {
  width: min(1180px, calc(100% - 48px));
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fdv-unified-header .fdv-brand {
  display: block;
  width: 168px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 12px;
  background: transparent;
}

.fdv-unified-header .fdv-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.fdv-unified-header .fdv-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
}

.fdv-unified-header .fdv-links a {
  color: #3c3463;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.fdv-unified-header .fdv-links a:hover,
.fdv-unified-header .fdv-links a[aria-current="page"] {
  color: #4b2aa6;
}

.fdv-unified-header .fdv-links a[aria-current="page"]:not(.fdv-nav-cta) {
  text-decoration: underline;
  text-decoration-color: #c23be0;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.fdv-unified-header .fdv-links .fdv-nav-cta {
  color: #fff;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  background: #6a3de8;
  box-shadow: 0 10px 22px -12px rgba(106, 61, 232, .8);
}

.fdv-unified-header .fdv-menu {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #c9b9f0;
  border-radius: 999px;
  background: #fffdf8;
  color: #1f1a3f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fdv-unified-header a:focus-visible,
.fdv-unified-header button:focus-visible,
.fdv-unified-footer a:focus-visible {
  outline: 3px solid #6a3de8;
  outline-offset: 4px;
}

#footer.fdv-unified-footer,
footer.fdv-unified-footer {
  margin-top: 64px;
  padding: 54px 0 20px;
  border: 0;
  background: linear-gradient(160deg, #f1ebfc, #fbf6ec) !important;
  border-top: 1px solid #e6def3;
  color: #3c3463;
}

#footer.fdv-unified-footer .fdv-wrap,
footer.fdv-unified-footer .fdv-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

#footer.fdv-unified-footer .fdv-footer-grid,
footer.fdv-unified-footer .fdv-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.25fr;
  gap: 28px;
  align-items: start;
}

#footer.fdv-unified-footer .fdv-footer-brand img,
footer.fdv-unified-footer .fdv-footer-brand img {
  display: block;
  width: min(100%, 170px);
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
}

#footer.fdv-unified-footer .fdv-footer-brand p,
footer.fdv-unified-footer .fdv-footer-brand p {
  max-width: 290px;
  margin: 14px 0 0;
  color: #686184;
  font-size: 13.5px;
  line-height: 1.8;
}

#footer.fdv-unified-footer nav,
#footer.fdv-unified-footer .fdv-footer-contact,
footer.fdv-unified-footer nav,
footer.fdv-unified-footer .fdv-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

#footer.fdv-unified-footer h3,
footer.fdv-unified-footer h3 {
  margin: 0 0 7px;
  color: #1f1a3f;
  font-size: 15px;
  font-weight: 750;
}

#footer.fdv-unified-footer a,
footer.fdv-unified-footer a {
  color: #3c3463;
  font-size: 13.5px;
  line-height: 1.65;
  text-decoration: none;
  transition: color .2s ease;
}

#footer.fdv-unified-footer a:hover,
footer.fdv-unified-footer a:hover {
  color: #6a3de8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#footer.fdv-unified-footer .fdv-footer-bottom,
footer.fdv-unified-footer .fdv-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e0d6f2;
  color: #686184;
  font-size: 12px;
}

.page-hero,
.institute-hero,
.course-detail-hero {
  background:
    radial-gradient(ellipse 75% 70% at 82% 20%, rgba(109, 61, 242, .14), transparent 58%),
    linear-gradient(145deg, #f6f1ff, #efe7fd 64%, #fbf5ea) !important;
  color: #1f1a3f;
}

.page-hero h1,
.page-hero h2,
.page-hero p,
.page-hero .section-subtitle,
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a,
.course-detail-hero h1,
.course-detail-hero p,
.course-detail-hero .hero-title,
.course-detail-hero .hero-desc {
  color: #1f1a3f;
}

.course-detail-hero .breadcrumb-nav,
.course-detail-hero .breadcrumb-nav a {
  color: #4b2aa6;
}

.course-detail-hero .breadcrumb-nav a:hover {
  color: #1f1a3f;
}

.course-detail-hero .hcs-item.hcs-fee {
  color: #1f1a3f;
  background: #fffdf8;
  border-color: #c9b9f0;
}

.course-detail-hero .hcs-item.hcs-fee i {
  color: #b7791f;
}

.course-detail-hero .btn-outline-glass {
  color: #4b2aa6 !important;
  border-color: #c9b9f0;
}

.course-detail-hero .btn-outline-glass:hover {
  color: #fff !important;
  background: #6a3de8;
}

.page-hero .breadcrumb-item.active,
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: #686184;
}

.btn-primary,
.btn-primary-gradient,
.btn-get-quote,
.ed-button-primary,
.ed-nav-apply {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(95deg, #6d3df2, #c23be0);
  color: #fff !important;
  box-shadow: 0 10px 24px -10px rgba(109, 61, 242, .55);
}

.course-card,
.service-card,
.feature-card,
.pricing-card,
.glass,
.card {
  border-color: var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

@media (max-width: 820px) {
  .fdv-unified-header .fdv-nav {
    width: calc(100% - 32px);
    position: relative;
    min-height: 66px;
  }

  .fdv-unified-header .fdv-brand {
    width: 145px;
  }

  .fdv-unified-header .fdv-menu {
    display: inline-flex;
  }

  .fdv-unified-header .fdv-links {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 12px 24px 20px;
    border-top: 1px solid #e6def3;
    background: #fbf8f1;
    box-shadow: 0 18px 26px -12px rgba(56, 33, 130, .25);
  }

  .fdv-unified-header .fdv-links.is-open {
    display: flex;
  }

  .fdv-unified-header .fdv-links a {
    padding: 11px 4px;
  }

  .fdv-unified-header .fdv-links .fdv-nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  #footer.fdv-unified-footer,
  footer.fdv-unified-footer {
    padding-top: 38px;
  }

  #footer.fdv-unified-footer .fdv-footer-grid,
  footer.fdv-unified-footer .fdv-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  #footer.fdv-unified-footer .fdv-wrap,
  footer.fdv-unified-footer .fdv-wrap {
    width: calc(100% - 32px);
  }

  #footer.fdv-unified-footer .fdv-footer-grid,
  footer.fdv-unified-footer .fdv-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #footer.fdv-unified-footer .fdv-footer-bottom,
  footer.fdv-unified-footer .fdv-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fdv-unified-header *,
  .fdv-unified-footer * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
