:root {
  --vy-bg: #f7faf9;
  --vy-surface: #ffffff;
  --vy-ink: #16212f;
  --vy-muted: #647184;
  --vy-line: #e3e9ef;
  --vy-blue: #176b96;
  --vy-blue-dark: #0f4d75;
  --vy-saffron: #f5b041;
  --vy-green: #4f8a62;
  --vy-shadow: 0 18px 45px rgba(22, 33, 47, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--vy-bg);
  color: var(--vy-ink);
  font-family: "Rubik", "Roboto", sans-serif;
}

body p,
body li,
body span {
  letter-spacing: 0;
}

a {
  color: var(--vy-blue);
  text-decoration: none;
}

a:hover {
  color: var(--vy-blue-dark);
}

.container {
  max-width: 1160px;
}

.nav-height {
  padding-top: 86px;
}

#navbar {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(227, 233, 239, 0.9);
  box-shadow: 0 12px 32px rgba(22, 33, 47, 0.08);
  min-width: 100%;
  z-index: 20;
}

#navbar .container-fluid {
  max-width: 1220px;
  padding-left: 18px;
  padding-right: 18px;
}

.navbar-brand {
  align-items: center;
  display: flex;
}

.navbar-brand img,
#logo {
  height: 56px;
  object-fit: contain;
  width: auto;
}

#navbar .navbar-nav {
  align-items: center;
  gap: 6px;
}

#navbar .navbar-nav .nav-item {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#navbar .navbar-nav .nav-link {
  align-items: center;
  border-radius: 999px;
  color: #243244;
  display: flex !important;
  flex-direction: row !important;
  font-family: "Rubik", "Roboto", sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
  gap: 7px;
  min-height: 40px;
  padding: 9px 13px !important;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

#navbar .navbar-nav .nav-link span {
  font-weight: 500 !important;
  width: auto !important;
}

#navbar .navbar-nav .nav-link i,
#navbar .navbar-nav .nav-link svg,
#navbar .navbar-nav .nav-link img {
  flex: 0 0 auto;
  height: 18px !important;
  width: 18px !important;
}

#navbar .navbar-nav .nav-link:hover {
  background: #eef6f7;
  color: var(--vy-blue-dark);
  transform: translateY(-1px);
}

.navbar-toggler {
  align-items: center;
  background: var(--vy-blue);
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.carousel {
  background: #0e2533;
}

.carousel-item img {
  max-height: 640px;
  object-fit: cover;
}

.carousel-caption {
  bottom: 12%;
  left: 8%;
  max-width: 560px;
  right: auto;
  text-align: left;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.carousel-caption h5 {
  font-size: 4rem;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 1.08rem;
}

.heading1 {
  margin-top: 46px !important;
  min-height: 58px;
}

.heading1 h4 {
  color: var(--vy-ink);
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 0;
  width: auto;
}

.heading1 h4::after {
  background: var(--vy-saffron);
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin: 12px auto 0;
  width: 64px;
}

.mission-container {
  align-items: center;
  background: var(--vy-surface);
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  box-shadow: var(--vy-shadow);
  gap: 34px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  padding: 26px;
}

#mission_video {
  aspect-ratio: 16 / 9;
  background: #101820;
  border: 0;
  border-radius: 8px;
  height: auto;
  padding: 0;
}

.text-heading,
.upcomingHeading {
  color: var(--vy-blue-dark);
  font-weight: 700;
}

.program-section {
  background: #fff9ec !important;
  border: 1px solid #f2dfb8 !important;
  border-radius: 8px !important;
  box-shadow: var(--vy-shadow);
  margin: 3rem auto !important;
}

.quiz-btn,
.btn.btn-dark,
.btn.btn-primary,
.custom_blue,
.custom_blue_black {
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(23, 107, 150, 0.16);
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.7rem 1.2rem;
}

.quiz-btn {
  background: var(--vy-saffron) !important;
  color: #1b252f !important;
}

.btn.btn-primary,
.custom_blue {
  background: var(--vy-blue) !important;
  color: #fff !important;
}

.btn.btn-dark,
.custom_blue_black {
  background: var(--vy-ink) !important;
  color: #fff !important;
}

.quiz-btn:hover,
.btn.btn-primary:hover,
.btn.btn-dark:hover,
.custom_blue:hover,
.custom_blue_black:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.book-item,
.product-box,
#pdf-signup,
#contactUs {
  background-color: var(--vy-surface) !important;
  border: 1px solid var(--vy-line) !important;
  border-radius: 8px;
  box-shadow: var(--vy-shadow);
  overflow: hidden;
}

.book-item {
  gap: 0 !important;
}

.book-left {
  /* background: #f1f5f6; */
  min-width: 310px;
  padding: 20px;
}

.book-left img,
.blog img,
.product-img img {
  border-radius: 8px;
  object-fit: cover;
}

.book-left img {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #004c8b, #ffdb58, #3aa17e) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.9),
    0 16px 34px rgba(22, 33, 47, 0.18);
  width: 100%;
  max-width: 100%;
  padding: 6px;
  transition:
    box-shadow 240ms ease,
    transform 240ms ease;
  display: block;
}

.book-left img:hover {
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.95),
    0 22px 42px rgba(0, 76, 139, 0.24);
  transform: translateY(-4px) scale(1.015);
}

@media (prefers-reduced-motion: reduce) {
  .book-left img {
    transition: none;
  }

  .book-left img:hover {
    transform: none;
  }
}

.book-right {
  padding: 26px !important;
}

.book-title {
  color: var(--vy-ink);
  font-size: 1.45rem;
  font-weight: 700;
}

.more-details-btn {
  color: var(--vy-blue);
  font-weight: 700;
}

#ePDF {
  background: transparent;
  color: var(--vy-ink);
}

#pdf-signup,
#contactUs {
  background-position: calc(100% - 18px) calc(100% + 35px);
  margin-bottom: 32px;
}

.form-control,
.form-select {
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  min-height: 44px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--vy-blue);
  box-shadow: 0 0 0 3px rgba(23, 107, 150, 0.14);
}

.blog {
  background: var(--vy-surface);
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(22, 33, 47, 0.08);
  height: 100%;
  overflow: hidden;
  padding: 10px;
  transition: box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
}

.blog:hover {
  box-shadow: var(--vy-shadow);
  transform: translateY(-3px);
}

.blog .card-img-top {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.blog:hover img {
  filter: brightness(0.78);
}

.blog .card-body {
  padding: 14px 2px 4px !important;
}

.blog .card-title,
.blog .card_title {
  color: var(--vy-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog .card-text {
  color: var(--vy-muted);
  font-size: 0.92rem;
}

.blog .spline {
  background-color: var(--vy-saffron);
  height: 3px;
  width: 44px;
}

.video-categories,
.blog-categories {
  flex-wrap: wrap;
  gap: 10px;
}

.video-categories span,
.blog-categories span {
  background: #eef6f7 !important;
  border: 1px solid #d5e7ea;
  border-radius: 999px;
  color: #243244;
  font-weight: 600;
  padding: 9px 14px;
}

.video-categories span.active,
.blog-categories span.active {
  background: var(--vy-blue) !important;
  color: #fff !important;
}

.video_category,
.video_blog {
  background-color: rgba(22, 33, 47, 0.72);
  border-radius: 999px;
  color: #fff;
  filter: none;
  padding: 9px 16px 9px 45px;
}

.logo-container {
  background: var(--vy-surface);
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(22, 33, 47, 0.06);
  padding: 18px 0;
}

footer.bg-dark {
  background: #121b27 !important;
  color: #dbe5ef;
  margin-top: 56px;
}

footer h4 {
  color: #fff;
  font-weight: 700;
}

footer a.text-light {
  color: #dbe5ef !important;
  font-weight: 600;
}

footer a.text-light:hover {
  color: var(--vy-saffron) !important;
}

footer .footer-copyright p,
footer p {
  color: #aab8c7;
}

.pagination .step-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pagination a,
.pagination .current {
  background: var(--vy-surface);
  border: 1px solid var(--vy-line);
  border-radius: 999px;
  color: var(--vy-ink);
  padding: 8px 13px;
}

.modal-content {
  border: 0;
  border-radius: 8px;
  box-shadow: var(--vy-shadow);
  overflow: hidden;
}

.vy-message-box,
.vy-detail-header,
.vy-rich-content,
.vy-book-detail,
.faq-accordion .card,
.content_img,
.form-section,
.quiz-card,
.exam-card {
  background: var(--vy-surface);
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  box-shadow: var(--vy-shadow);
}

.vy-message-box,
.vy-detail-header {
  padding: 30px;
}

.vy-detail-header h3,
.vy-book-detail h4,
.content_img h2 {
  color: var(--vy-ink);
  font-weight: 700;
}

.vy-back-link {
  color: var(--vy-blue-dark);
  font-weight: 700;
}

.vy-detail-media img,
.vy-book-detail img,
.content_img img {
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(22, 33, 47, 0.12);
  height: auto;
  max-width: 100%;
}

.vy-rich-content,
.vy-book-detail {
  padding: 28px;
}

.vy-rich-content img {
  border-radius: 8px;
  height: auto;
  max-width: 100%;
}

.faq-accordion {
  margin-bottom: 44px;
}

.faq-accordion .card {
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion .card-header {
  background: transparent;
  border-bottom: 1px solid var(--vy-line);
}

.faq-accordion .btn-link {
  color: var(--vy-ink);
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.faq-accordion .card-body {
  color: var(--vy-muted);
  line-height: 1.7;
}

.course_banner,
.blog_banner {
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.content_img {
  border: 1px solid var(--vy-line) !important;
  border-radius: 8px !important;
  transform: translateY(-80px);
}

.page-wrapper .card:not(.blog) {
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  box-shadow: var(--vy-shadow);
}

.btn-close {
  border-radius: 999px;
}

.modal iframe,
.modal video {
  border-radius: 8px;
}

.g-recaptcha {
  max-width: 100%;
}

.vy-page-section {
  padding: 34px 0 56px;
}

.vy-page-card,
.vy-form-shell,
.vy-status-card,
.vy-payment-shell,
.vy-quiz-shell .card,
.vy-exam-shell .card,
.vy-quiz-shell .form-section,
.confirmation-box,
.otp-box,
.summary-box,
.warning-box {
  background: var(--vy-surface);
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  box-shadow: var(--vy-shadow);
}

.vy-page-card,
.vy-form-shell,
.vy-status-card,
.vy-payment-shell,
.confirmation-box,
.otp-box,
.summary-box,
.warning-box {
  padding: 28px;
}

.vy-form-shell .form-group,
.program .form-group {
  margin-bottom: 1rem;
}

.vy-form-shell label,
.program label,
.courseInfo label,
.quiz-card label {
  color: #253244;
  font-weight: 600;
}

.vy-help-band {
  background: #fff9ec !important;
  border: 1px solid #f2dfb8 !important;
  border-radius: 8px;
  color: #6f4b13;
  padding: 16px;
}

.vy-filter-bar {
  background: var(--vy-surface);
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(22, 33, 47, 0.07);
  padding: 14px;
}

.vy-media-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vy-media-grid .card {
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(22, 33, 47, 0.07);
  overflow: hidden;
}

.vy-media-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.courseContainer,
.registrationContainer {
  padding: 26px 0 56px;
}

.course,
.program {
  background: var(--vy-surface);
  border: 1px solid var(--vy-line) !important;
  border-radius: 8px;
  box-shadow: var(--vy-shadow);
  margin: 0 auto;
  max-width: 1120px;
  overflow: hidden;
}

.course-banner img,
.course-banner > img {
  aspect-ratio: 16 / 6;
  display: block;
  object-fit: cover;
}

.courseHeading {
  border-bottom: 1px solid var(--vy-line);
  color: var(--vy-ink);
  padding: 18px 22px;
}

.courseHeading p {
  color: var(--vy-muted);
  margin-bottom: 0;
}

.courseDesc,
.courseInfo .container:first-child {
  color: #354256;
  line-height: 1.75;
  padding: 26px;
}

.courseInfo {
  border: 0 !important;
}

.registrationContainer .card-body {
  padding: 28px;
}

.program .border.bg-light,
.program .border.mb-2,
.program .border.mt-4 {
  background: #f7faf9 !important;
  border: 1px solid var(--vy-line) !important;
  border-radius: 8px;
  padding-left: 14px;
  padding-right: 14px;
}

.vy-table-modern,
.confirmation-box .table,
.vy-payment-shell .table {
  border-color: var(--vy-line);
  margin-bottom: 0;
}

.vy-table-modern th,
.vy-table-modern td,
.confirmation-box .table th,
.confirmation-box .table td,
.vy-payment-shell .table th,
.vy-payment-shell .table td {
  color: #243244;
  font-size: 0.96rem;
  padding: 12px;
  vertical-align: middle;
}

.vy-payment-shell {
  margin: 48px auto;
  max-width: 760px;
  text-align: center;
}

.vy-payment-shell img {
  height: auto;
  max-width: 180px;
}

.vy-payment-shell .table-responsive {
  text-align: left;
}

.vy-status-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 2rem;
  height: 64px;
  justify-content: center;
  margin-bottom: 16px;
  width: 64px;
}

.vy-status-icon.success {
  background: #e8f6ee;
  color: #247a48;
}

.vy-status-icon.danger {
  background: #fff0f0;
  color: #c33f3f;
}

.vy-confirm-panel {
  margin: 36px auto;
  max-width: 680px;
}

.vy-confirm-header {
  border-bottom: 1px solid var(--vy-line);
  color: var(--vy-ink);
  padding: 10px 0 22px;
  text-align: center;
}

.vy-confirm-header p {
  color: var(--vy-blue);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.vy-confirm-header h1 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.vy-confirm-body {
  padding: 34px 0;
}

.vy-confirm-body h2 {
  color: var(--vy-ink);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.vy-confirm-email {
  background: #f7faf9;
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  display: inline-block;
  margin-top: 14px;
  max-width: 100%;
  padding: 12px 18px;
  word-break: break-word;
}

.vy-confirm-email span {
  color: var(--vy-muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.vy-confirm-email strong {
  color: var(--vy-ink);
}

.vy-icon-action {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  line-height: 1;
}

.vy-icon-action i {
  line-height: 1;
}

.vy-quiz-shell {
  padding: 38px 0 56px;
}

.vy-quiz-shell .form-section {
  background: var(--vy-surface);
  margin: 0 auto;
  max-width: 560px;
}

.otp-inputs input {
  border-color: var(--vy-line) !important;
  border-radius: 8px !important;
}

.otp-inputs input:focus {
  border-color: var(--vy-blue) !important;
  box-shadow: 0 0 0 3px rgba(23, 107, 150, 0.14) !important;
}

.get-start-quiz {
  background: #fff9ec !important;
  border: 1px solid #f2dfb8 !important;
  border-radius: 8px !important;
}

.btn-yellow,
.btn-next,
.btn-start {
  background: var(--vy-saffron) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #1b252f !important;
  font-weight: 700 !important;
}

.btn-start {
  display: inline-flex;
  padding: 0.8rem 1.4rem;
}

.summary-count-green,
.summary-count-red {
  border-radius: 8px;
  display: inline-block;
  min-width: 92px;
  padding: 8px 18px;
}

.summary-count-green {
  background: #e8f6ee;
}

.summary-count-red {
  background: #fff0f0;
}

.quiz-option-row {
  border: 1px solid var(--vy-line);
  border-radius: 8px;
  margin-bottom: 10px;
}

.iti {
  width: 100%;
}

@media only screen and (max-width: 991px) {
  .nav-height {
    padding-top: 74px;
  }

  #navbar .navbar-collapse {
    background: #fff;
    border: 1px solid var(--vy-line);
    border-radius: 8px;
    box-shadow: var(--vy-shadow);
    margin-top: 12px;
    padding: 10px;
  }

  #navbar .navbar-nav {
    align-items: stretch;
  }

  #navbar .navbar-nav .nav-link {
    justify-content: flex-start;
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .navbar-brand img,
  #logo {
    height: 44px;
  }

  .heading1 {
    margin-top: 30px !important;
  }

  .heading1 h4 {
    font-size: 1.55rem;
  }

  .carousel-caption h5 {
    font-size: 2rem;
  }

  .mission-container {
    padding: 16px;
  }

  #mission_video {
    height: auto;
  }

  .book-left {
    min-width: 0;
  }

  .book-right {
    padding: 20px !important;
  }

  .vy-message-box,
  .vy-detail-header,
  .vy-rich-content,
  .vy-book-detail {
    padding: 18px;
  }

  .content_img {
    transform: none;
  }

  #pdf-signup,
  #contactUs {
    background-image: none;
  }

  .form.d-flex,
  .search.d-flex {
    align-items: stretch !important;
    flex-direction: column;
    width: 100%;
  }

  .form-select,
  .search input {
    width: 100% !important;
  }

  .vy-media-grid {
    grid-template-columns: 1fr;
  }

  .course-banner img,
  .course-banner > img {
    aspect-ratio: 16 / 9;
  }

  .registrationContainer .card-body,
  .vy-page-card,
  .vy-form-shell,
  .vy-status-card,
  .vy-payment-shell,
  .confirmation-box,
  .otp-box,
  .summary-box,
  .warning-box {
    padding: 18px;
  }

  .summary-box .d-flex,
  .warning-box .d-flex {
    align-items: stretch;
    flex-direction: column;
  }
}
