.vista-section {
  float: left;
  width: 100%;
  padding: 90px 0;
}

html {
  scroll-behavior: auto; /* prevent browser native anchor conflict */
}

.banner-logo-img {
  padding-top: 50px;
}

.hero-gridvista {
  position: relative;
  padding: 0 !important;
}

.hero-bg {
  padding: 48px 0 0 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner-logo-img img {
  max-width: 300px;
}

.video-slider .video-slider-img img {
  width: 100% !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center !important;
}
.hero-content p {
  text-align: center !important;
}

.hero-content h1 {
  font-weight: bold;
}

.hero-content p {
  color: #fff;
  font-size: 22px;
}

.video-overlay {
  max-width: 900px;
  margin: auto;
}

.video-slider .owl-stage {
  display: flex;
  align-items: center;
}

.video-card {
  height: 230px;
  border-radius: 14px;
  background: #f1f3f5;
  position: relative;
  opacity: 0.8;
  transition: all 0.4s ease;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  margin-left: 6px;
  margin-bottom: -4px;
}

.video-slider .owl-item.center .video-card {
  transform: scale(1);
  opacity: 1;
}

.play-btn {
  width: 70px;
  height: 70px;
  border: 2px solid #005da6;
  border-radius: 50%;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  opacity: 0;
}

.play-btn::before {
  content: "Play Video";
  color: #005da6;
  position: absolute;
  text-align: center;
  width: 87px;
  top: -33px;
  font-weight: bold;
  font-size: 19px;
  left: -9px;
  right: 0;
  margin: auto;
}

.play-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #005da6;
}

.video-slider .owl-item {
  margin-top: 15px;
}

.video-slider .owl-item.active.center {
  transform: scale(1.1);
  margin-top: 15px;
  margin-bottom: 25px;
  z-index: 2;
}

.video-slider .owl-item.active.center .play-btn {
  visibility: visible;
  opacity: 1;
}

.gridvista-features {
  background: #123457;
  color: #fff;
}

.gridvista-features .section-title {
  color: #fff !important;
}

.section-line {
  display: inline-block;
  width: 80px;
  height: 4px;
  background: #ff7a18;
  margin-bottom: 20px;
}

.feature-card {
  text-align: left;
}

.feature-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 25px;
}

.feature-card h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  min-height: 68px;
  line-height: 30px;
}

.feature-card p {
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
}

.gridvista-insights {
  background: #fff;
}

.gridvista-insights .section-title {
  margin-bottom: 25px;
}

.section-desc {
  margin: 0 auto;
  color: #6c757d;
}

.feature-row {
  margin-top: 80px;
}

.feature-title {
  font-size: 26px;
  font-weight: 700;
  color: #005da6;
  margin-bottom: 25px;
}

.feature-img {
  max-width: 85%;
}

.how-it-works-btm {
  background-image: url(../images/new/works-bg.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  padding: 30px 0 100px;
}

.section-title {
  font-weight: 700;
  color: #113154;
}

.how-accordion .accordion-item {
  border: 1px solid #d6dce2 !important;
  margin-bottom: 0;
  background: #ecf2f6 !important;
}

.how-accordion .accordion-button {
  background: #fff;
  font-weight: 600;
  color: #005da6;
  padding: 23px 25px;
}

.how-accordion .accordion-button::after {
  display: none;
}

.how-accordion .accordion-button:not(.collapsed) {
  background: #ecf2f6 !important;
  box-shadow: none;
}

.how-accordion .accordion-body {
  font-size: 17px;
  color: #757575;
  line-height: 1.7;
  padding-top: 0;
  padding-left: 25px;
  padding-right: 25px;
}

.how-accordion .accordion-collapse.collapse.show {
  background: #ecf2f6 !important;
  border-bottom: 2px solid #005da6;
}

.how-img {
  max-width: 85%;
}

.btn-orange {
  background: #f36f21;
  color: #fff;
  border-radius: 0;
  padding: 11px 35px;
  font-weight: 600;
  line-height: normal;
}

.btn-orange:hover {
  background: #e86910;
  color: #fff;
}

.btn-outline-dark {
  color: #757575;
  border-radius: 0;
  padding: 11px 35px;
  font-weight: 600;
  line-height: normal;
}

/* .hero-video-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000000;
    max-height: 650px;
}

.hero-video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.video-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.video-overlay-content h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
} */

/* ===============================
   HERO VIDEO BASE
================================ */
.hero-video-section {
  position: relative;
  width: 100%;
  max-height: 650px;
  overflow: hidden;
  background: #000;
}

/* ===============================
   VIDEO STYLING + FILTER
================================ */
.hero-video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: brightness(0.65) contrast(1.1) saturate(1.05);
  z-index: 1;
}

/* ===============================
   OVERLAY (GRADIENT)
================================ */
.hero-video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ===============================
   TEXT CONTENT
================================ */
.video-overlay-content {
  position: relative;
  z-index: 3;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

/* ===============================
   HEADING STYLING
================================ */
.video-overlay-content h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.6),
    0 1px 3px rgba(0, 0, 0, 0.8);
  max-width: 900px;
  margin: 0 auto;
}

.gridvista-faq {
  background: #fff;
}

.faq-line {
  display: inline-block;
  width: 80px;
  height: 4px;
  background: #ff7a18;
  margin-bottom: 20px;
}

.faq-title {
  font-weight: 700;
  color: #113154;
}

.faq-accordion {
  max-width: 950px;
  margin: 0 auto;
  background: #ecf2f6;
}

.faq-item {
  border: 1px solid #d6dce2;
  margin-bottom: 0;
  border-left: 0;
  border-right: 0;
}

.faq-btn {
  background: #fff;
  font-weight: 600;
  color: #757575;
  padding: 22px 44px;
  position: relative;
}

.faq-btn:not(.collapsed) {
  background: #ecf2f6 !important;
  color: #757575;
  border-bottom: 0 solid #005da6;
  box-shadow: none;
  font-size: 18px;
}

.faq-accordion .accordion-collapse.collapse.show {
  background: #ecf2f6;
  border-bottom: 2px solid #005da6;
}

.faq-btn::after {
  display: none;
}

.faq-icon {
  position: absolute;
  right: 24px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #005da6;
  border-bottom: 2px solid #005da6;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-btn:not(.collapsed) .faq-icon {
  transform: rotate(-135deg);
}

.faq-body {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  padding: 0 45px 25px;
}

.cta-gridvista {
  background-color: #0f3458;
  padding: 80px 20px;
}

.cta-gridvista h2 {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  margin-bottom: 15px;
}

.cta-gridvista p {
  color: #ffffff;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 30px;
}

.cta-btn {
  background-color: #f36f21;
  color: #ffffff;
  padding: 7px 50px;
  font-size: 19px;
  font-weight: 600;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
}

.cta-btn:hover {
  background-color: #e65f15;
  color: #ffffff;
}

.new-top-header {
  background: #2a2a2a;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: end;
  width: 100%;
}

.new-top-header .top-nav {
  display: flex;
  justify-content: flex-end;
}

.new-top-header .nav-menu {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.new-top-header .nav-menu li {
  position: relative;
}

.new-top-header .nav-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.new-top-header .nav-menu li a:hover {
  color: #0db0e5;
}

.new-top-header .nav-menu li.active a {
  color: #ffffff;
}

.new-top-header .nav-menu li.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background: #0db0e5;
}

.new-top-header .nav-menu li.cta a {
  color: #0db0e5;
  font-weight: 500;
}

/* .new-top-header.is-fixed {
  position: fixed;
  top: 112px;
  left: 0;
  width: 100%;
  z-index: 999;
  animation: slideDown 0.25s ease;
} */

/* @media (max-width: 767px) {
  .new-top-header.is-fixed {
    position: relative;
    top: auto;
  }
} */

/* @keyframes slideDown {
  from {
    transform: translateY(-12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
} */

.header-top-sec {
  background: #113154;
  padding: 6px 0;
}

/* PRODUCT INQUIRY MODAL */
.product-inquiry-modal {
  padding: 40px;
  border-radius: 6px;
  border: none;
  position: relative;
  z-index: 999999;
}

.product-inquiry-modal .modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #0b3b5b;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.product-inquiry-modal .form-control {
  height: 52px;
  border-radius: 8px;
  border: 1px solid #bdbdbd;
  font-size: 16px;
  padding: 10px 16px;
}

.product-inquiry-modal textarea.form-control {
  height: auto;
}

.product-inquiry-modal .form-control::placeholder {
  color: #8c8c8c;
}

.product-inquiry-modal .privacy-text {
  margin: 25px 0 15px;
  font-size: 14px;
  color: #6b6b6b;
  text-align: center;
}

.product-inquiry-modal .privacy-text a {
  color: #6b6b6b;
  text-decoration: underline;
}

.product-inquiry-modal .submit-btn {
  background: #f37021;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  padding: 10px 50px;
  border-radius: 8px;
  border: none;
  text-transform: capitalize;
}

.product-inquiry-modal .submit-btn:hover {
  opacity: 0.9;
}
/* CLOSE BUTTON */
.product-inquiry-modal {
  position: relative;
  padding: 40px;
  border-radius: 6px;
  border: none;
}

.product-inquiry-modal .modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  opacity: 0.6;
}

.product-inquiry-modal .modal-close-btn:hover {
  opacity: 1;
}

.topsearch-btn {
  background: #35d26c;
}

.whitepaper-modal {
  padding: 40px;
  border-radius: 6px;
  border: none;
  position: relative;
}

.whitepaper-modal .modal-title {
  font-size: 36px;
  color: #0b5a6d;
  margin-bottom: 30px;
  font-weight: 500;
}

.whitepaper-modal label {
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.whitepaper-modal label span {
  color: red;
}

.whitepaper-modal label small {
  color: #4f7f8b;
  font-size: 13px;
  margin-left: 6px;
}

.whitepaper-modal .form-control {
  height: 48px;
  border-radius: 4px;
  border: 1px solid #cfcfcf;
}

.whitepaper-modal .request-btn {
  background: #f36f21;
  color: #fff;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
}

.whitepaper-modal .request-btn:hover {
  opacity: 0.9;
}

/* Close button */
.whitepaper-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

@media (max-width: 1199px) {
  .video-card {
    height: auto;
    margin-bottom: -11px;
  }
}

@media (max-width: 991px) {
  .hero-video-section {
    max-height: 480px;
  }

  .feature-img {
    max-width: 100%;
  }
  .video-overlay-content {
    min-height: 480px;
  }

  .vista-section {
    padding: 50px 0;
  }

  .feature-row {
    margin-top: 40px;
  }

  .video-card {
    margin-bottom: -17px;
  }
  .product-inquiry-modal .modal-title {
    font-size: 24px;
  }
  .new-top-header .top-nav {
    justify-content: center;
  }
  .new-top-header .nav-menu {
    gap: 20px;
  }

  .new-top-header .nav-menu li a {
    font-size: 18px;
  }

  .new-top-header.is-fixed {
    top: 135px;
  }

  input[type="text"] {
    font-size: 14px;
  }

  .topmenu li a {
    padding: 6px 4px;
  }
}

@media (max-width: 767px) {
  .hero-video-section {
    max-height: 350px;
  }
  .video-overlay-content {
    min-height: 350px;
  }

  .banner-logo-img img {
    max-width: 60%;
  }

  .hero-bg {
    padding: 28px 0 0 0;
  }

  .section-title {
    font-size: 22px;
  }

  .feature-card h4 {
    min-height: auto;
    line-height: normal;
    font-size: 20px;
  }

  .feature-card p,
  .feature-row p {
    text-align: left !important;
  }

  .feature-title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .how-accordion .accordion-body {
    font-size: 15px;
  }

  .how-it-works-btm {
    padding: 30px 0 50px;
  }
  .stellarnav .menu-toggle span.bars span {
    width: 22px;
    height: 3px;
  }

  .stellarnav .menu-toggle span.bars {
    top: 7px;
  }
}

@media (max-width: 575px) {
  .new-top-header {
    display: none;
  }

  .play-btn {
    width: 50px;
    height: 50px;
  }

  .play-btn::before {
    width: 65px;
    top: -29px;
    font-size: 14px;
    left: -10px;
  }

  .btn-orange {
    margin-bottom: 12px;
  }

  .btn-orange,
  .btn-outline-dark {
    padding: 11px 15px;
    width: 100%;
  }

  .faq-btn {
    padding: 20px 14px;
    padding-right: 40px;
  }

  .faq-body {
    padding: 0 15px 25px;
  }
}

.fancybox__container {
  z-index: 999999 !important;
}

/* HERO BACKGROUND */
.hero-gridvista .hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* OVERLAY */
.hero-gridvista .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;

  /* corporate deep blue gradient */
  background: linear-gradient(
    90deg,
    rgba(6, 32, 66, 0.35) 0%,
    rgba(6, 32, 66, 0.25) 30%,
    rgba(6, 32, 66, 0.25) 55%,
    rgba(6, 32, 66, 0.35) 75%,
    rgba(6, 32, 66, 0.15) 90%,
    rgba(6, 32, 66, 0.05) 100%
  );

  z-index: 1;
}

/* Make content ABOVE overlay */
.hero-gridvista .container {
  position: relative;
  z-index: 2;
}

/* slider above overlay */
.hero-gridvista .video-overlay {
  position: relative;
  z-index: 2;
}

.fancybox__content {
  max-width: 100% !important;
  padding: 0 !important;
  background: none !important;
}

.feature-text-2 {
  text-align: right;
}

.fancybox__content > .carousel__button.is-close {
  position: absolute;
  top: -80px;
  background: red;
  padding: 4px;
}

.fancybox__nav {
  display: none;
}

@media (max-width: 991px) {
  .feature-text-2 {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .hero-content p {
    max-width: 100%;
  }
}
