/* Viraj Softtech — product & services homepage accents */

html {
  scroll-behavior: smooth;
}

.vst-product-card {
  min-height: 100%;
}

/* Keep product card content above blue hover overlay so links work */
.vst-product-card .services__item_overlay {
  pointer-events: none;
  z-index: 0;
}

.vst-product-card .services__item_header,
.vst-product-card .services__item_content {
  position: relative;
  z-index: 2;
}

.vst-product-card .services__item_title {
  font-size: 20px;
  line-height: 1.35;
}

.vst-feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.vst-feature-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.vst-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0d6efd;
}

.services__item_header .fs-1 {
  margin-right: 14px;
  min-width: 42px;
}

#products,
#services,
#about,
#contact,
#pos,
#erp,
#custom,
#website {
  scroll-margin-top: 110px;
}

/* Help link on product card */
.vst-help-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  margin-right: 14px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #0d6efd;
  background: rgba(13, 110, 253, .08);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto;
}

.vst-help-link:hover {
  color: #fff;
  background: #0d6efd;
  text-decoration: none;
}

.vst-product-card:hover .vst-help-link {
  color: #fff;
  background: rgba(255, 255, 255, .18);
}

.vst-product-card:hover .vst-help-link:hover {
  background: #fff;
  color: #0554f2;
}

.vst-product-card:hover .vst-feature-list li {
  color: #f0f4ff;
}

.vst-product-card:hover .services__item_title a {
  color: #fff;
}

/* ===== Modern products grid ===== */
.vst-products-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(5, 84, 242, .08), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(111, 66, 193, .08), transparent 26%),
    #f7f9fd;
}

.vst-products-heading {
  position: relative;
}

.vst-products-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0554f2, #50a7ff);
}

.vst-products-grid {
  row-gap: 30px;
}

.vst-products-grid > [class*="col-"] {
  display: flex;
}

.vst-products-section .vst-product-card {
  --product-accent: #0554f2;
  --product-soft: rgba(5, 84, 242, .1);
  width: 100%;
  min-height: 100%;
  padding: 32px;
  border: 1px solid rgba(25, 45, 80, .09);
  border-top: 4px solid var(--product-accent);
  border-left-width: 1px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 35px rgba(20, 35, 70, .07);
  overflow: hidden;
}

.vst-products-section .vst-product-card--erp {
  --product-accent: #7a4de8;
  --product-soft: rgba(122, 77, 232, .1);
}

.vst-products-section .vst-product-card--custom {
  --product-accent: #ed7a20;
  --product-soft: rgba(237, 122, 32, .11);
}

.vst-products-section .vst-product-card--website {
  --product-accent: #0f9d78;
  --product-soft: rgba(15, 157, 120, .1);
}

.vst-products-section .vst-product-card .services__item_overlay {
  display: none;
}

.vst-products-section .vst-product-card:hover {
  border-left: 1px solid rgba(25, 45, 80, .09);
  border-top: 4px solid var(--product-accent);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(20, 35, 70, .13);
  transform: translateY(-7px);
}

.vst-products-section .services__item_header {
  align-items: center !important;
  margin-bottom: 18px;
}

.vst-products-section .services__item_header .fs-1 {
  display: inline-flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  margin: 0 18px 0 0 !important;
  border-radius: 14px;
  color: var(--product-accent) !important;
  background: var(--product-soft);
  font-size: 23px !important;
}

.vst-products-section .services__item_title {
  margin: 0;
  padding: 0;
  font-size: 21px;
}

.vst-products-section .services__item_title a,
.vst-products-section .vst-product-card:hover .services__item_title a {
  color: #18233a;
}

.vst-products-section .services__item_title a:hover {
  color: var(--product-accent);
}

.vst-products-section .services__item_paragraph,
.vst-products-section .vst-product-card:hover .services__item_paragraph {
  color: #647087;
  line-height: 1.7;
}

.vst-products-section .vst-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin-top: 22px;
}

.vst-products-section .vst-feature-list li,
.vst-products-section .vst-product-card:hover .vst-feature-list li {
  margin: 0;
  color: #3f4b61;
}

.vst-products-section .vst-feature-list li::before {
  background: var(--product-accent);
}

.vst-products-section .vst-help-link,
.vst-products-section .vst-product-card:hover .vst-help-link {
  margin-top: 24px;
  color: var(--product-accent);
  background: var(--product-soft);
  border-radius: 999px;
}

.vst-products-section .vst-help-link:hover,
.vst-products-section .vst-product-card:hover .vst-help-link:hover {
  color: #fff;
  background: var(--product-accent);
}

@media (max-width: 767px) {
  .vst-products-section .vst-product-card {
    padding: 25px 22px;
  }

  .vst-products-section .vst-feature-list {
    grid-template-columns: 1fr;
  }
}

/* Keep Product Use Cases cards equal in width and height */
.case-active .slick-track {
  display: flex;
}

.case-active .slick-slide {
  float: none;
  height: auto;
}

.case-active .slick-slide > div,
.case-active .case-item {
  height: 100%;
}

.case-active .case-item {
  display: flex;
  flex-direction: column;
}

.case-item__image a {
  aspect-ratio: 16 / 10;
  background: #e8eef8;
}

.case-item__image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.case-active .case-item__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
}

.case-active .case-item__content h5 {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full-screen app shots: show whole screen instead of cropping */
.case-item__image--screen a {
  background: #f2f5fb;
}

.case-item__image--screen a img {
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

/* ===== POS & Inventory details page ===== */
.vst-page-banner {
  padding: 150px 0 70px;
}

.vst-page-banner__eyebrow {
  display: inline-block;
  color: #ffd84d;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.vst-page-banner__title {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.vst-page-banner__text {
  max-width: 640px;
  opacity: .9;
  line-height: 1.7;
}

/* ===== Product summary (replaces module help tabs) ===== */
.vst-summary-section {
  padding: 80px 0 40px;
  background: #f6f8fc;
}

.vst-summary-intro {
  max-width: 640px;
  margin: 14px auto 0;
  color: #555;
  line-height: 1.7;
}

.vst-summary-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(20, 30, 60, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.vst-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 30, 60, .1);
}

.vst-summary-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(13, 110, 253, .1);
  color: #0d6efd;
  font-size: 18px;
  margin-bottom: 16px;
}

.vst-summary-card__title {
  font-size: 18px;
  margin: 0 0 10px;
  color: #1c2536;
}

.vst-summary-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #555;
}

#summary {
  scroll-margin-top: 110px;
}

.vst-help-section {
  padding: 80px 0;
  background: #f6f8fc;
}

.vst-help-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(20, 30, 60, .05);
  transition: transform .25s ease, box-shadow .25s ease;
  scroll-margin-top: 110px;
}

.vst-help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 30, 60, .1);
}

.vst-help-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f2f7;
}

.vst-help-card__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, .1);
  color: #0d6efd;
  font-size: 18px;
}

.vst-help-card__title {
  font-size: 20px;
  margin: 0;
}

.vst-help-card__subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #1c2536;
  margin: 18px 0 10px;
}

.vst-help-card__subtitle:first-child {
  margin-top: 0;
}

.vst-help-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
}

.vst-help-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.vst-help-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: #0d6efd;
  font-size: 12px;
}

@media (max-width: 767px) {
  .vst-page-banner {
    padding: 120px 0 50px;
  }
  .vst-page-banner__title {
    font-size: 30px;
  }
}

/* ===== Software screenshots gallery ===== */
.vst-screens-section {
  padding: 80px 0 40px;
  background: #fff;
}

.vst-screens-intro {
  max-width: 560px;
  margin: 12px auto 0;
  color: #666;
  line-height: 1.6;
}

.vst-screens-empty {
  background: #f6f8fc;
  border: 1px dashed #c9d2e3;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  color: #555;
}

.vst-screen-card {
  margin: 0;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(20, 30, 60, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.vst-screen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 30, 60, .1);
}

.vst-screen-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef2f8;
  overflow: hidden;
}

.vst-screen-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .35s ease;
}

.vst-screen-card:hover .vst-screen-card__media img {
  transform: scale(1.03);
}

.vst-screen-card__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 110, 253, .92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0;
  transition: opacity .25s ease;
}

.vst-screen-card:hover .vst-screen-card__zoom {
  opacity: 1;
}

.vst-screen-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 16px;
  color: #6b778c;
  text-align: center;
  border: 0;
}

.vst-screen-card__placeholder i {
  font-size: 28px;
  color: #0d6efd;
  margin-bottom: 4px;
}

.vst-screen-card__placeholder code {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 6px;
  font-size: 12px;
  color: #1c2536;
}

.vst-screen-card__placeholder small {
  font-size: 11px;
  color: #8892a4;
}

.vst-screen-card__caption {
  padding: 16px 18px 18px;
}

.vst-screen-card__caption h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.vst-screen-card__caption p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #666;
}

#screenshots {
  scroll-margin-top: 110px;
}

/* ===== Request Demo popup ===== */
.vst-demo-modal .modal-dialog {
  max-width: 860px;
}

.vst-demo-modal__content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 30, 70, .28);
}

.vst-demo-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vst-demo-modal__aside .vst-demo-modal__close,
.vst-demo-modal__form-wrap ~ .vst-demo-modal__close {
  /* noop: close is on content */
}

.vst-demo-modal__content > .vst-demo-modal__close {
  background: #eef2f8;
  color: #1c2536;
}

.vst-demo-modal__aside {
  height: 100%;
  min-height: 100%;
  padding: 42px 34px;
  background: linear-gradient(165deg, #0554f2 0%, #0a3eb0 55%, #072f86 100%);
  color: #fff;
}

.vst-demo-modal__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 14px;
  font-weight: 600;
}

.vst-demo-modal__aside h3 {
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.vst-demo-modal__aside p {
  color: rgba(255, 255, 255, .88);
  line-height: 1.65;
  margin-bottom: 24px;
}

.vst-demo-modal__points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vst-demo-modal__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.vst-demo-modal__points i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.vst-demo-modal__form-wrap {
  padding: 42px 36px 34px;
  background: #fff;
}

.vst-demo-modal__title {
  font-size: 26px;
  margin: 0 0 6px;
  color: #14133b;
}

.vst-demo-modal__subtitle {
  color: #6b778c;
  margin-bottom: 22px;
  font-size: 14px;
}

.vst-demo-form__group {
  margin-bottom: 16px;
}

.vst-demo-form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1c2536;
  margin-bottom: 6px;
}

.vst-demo-form__input {
  width: 100%;
  height: 46px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  color: #1c2536;
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vst-demo-form__input:focus {
  border-color: #0554f2;
  box-shadow: 0 0 0 3px rgba(5, 84, 242, .12);
}

.vst-demo-form__textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 14px;
  resize: vertical;
}

.vst-demo-form__submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #0554f2;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.vst-demo-form__submit:hover {
  background: #0444c4;
}

.vst-demo-form__submit:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.vst-demo-form__response {
  margin-top: 12px;
  min-height: 22px;
  font-size: 14px;
}

.vst-demo-form__response .is-success {
  color: #0f7b3c;
  background: #e9f8ef;
  border-radius: 8px;
  padding: 10px 12px;
}

.vst-demo-form__response .is-error {
  color: #b42318;
  background: #fef3f2;
  border-radius: 8px;
  padding: 10px 12px;
}

.vst-demo-form__response .is-info {
  color: #0554f2;
  background: #eef5ff;
  border-radius: 8px;
  padding: 10px 12px;
}

.vst-demo-form__done {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #0f7b3c;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.vst-demo-form__done:hover {
  background: #0b5f2e;
}

@media (max-width: 991px) {
  .vst-demo-modal__form-wrap {
    padding: 36px 22px 28px;
  }

  .vst-demo-modal__content > .vst-demo-modal__close {
    background: #eef2f8;
  }
}

/* ===== Redesigned footer ===== */
.vst-footer .footer--top {
  padding-top: 90px;
  padding-bottom: 40px;
}

.vst-footer__brand .footer-widget__log img {
  max-height: 72px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 6px 10px;
}

.vst-footer__about {
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
  margin: 0 0 22px;
  max-width: 340px;
}

.vst-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 8px;
  background: #0554f2;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.vst-footer__cta:hover {
  background: #fff;
  color: #0554f2 !important;
  transform: translateY(-2px);
}

.vst-footer__title {
  color: #fff;
  font-size: 18px;
  margin: 8px 0 22px;
  position: relative;
  padding-bottom: 12px;
}

.vst-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 10px;
  background: #0554f2;
}

.vst-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vst-footer__menu li {
  margin-bottom: 12px;
}

.vst-footer__menu a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s ease, padding-left .2s ease;
}

.vst-footer__menu a:hover {
  color: #fff;
  padding-left: 4px;
}

.vst-footer__contact {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.vst-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
}

.vst-footer__contact i {
  color: #7eb0ff;
  margin-top: 3px;
  min-width: 16px;
}

.vst-footer__contact a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  word-break: break-word;
}

.vst-footer__contact a:hover {
  color: #fff;
}

.vst-footer__social {
  display: flex;
  gap: 10px;
}

.vst-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.vst-footer__social a:hover {
  background: #0554f2;
  transform: translateY(-2px);
}

.vst-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
}

.vst-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vst-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

.vst-footer__bottom a {
  color: #fff;
  text-decoration: none;
}

.vst-footer__bottom a:hover {
  color: #7eb0ff;
}

.vst-footer__bottom-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.vst-footer__bottom-links a {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

@media (max-width: 767px) {
  .vst-footer .footer--top {
    padding-top: 70px;
  }

  .vst-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .vst-footer__bottom-links {
    justify-content: center;
  }
}
