.pad-20 {
  padding: 20px;
}

.p-large {
  font-size: 22px;
  line-height: 1.5em;
  font-weight: 300;
  font-family: "Poppins", Sans-serif;
}
@media only screen and (max-width: 500px) {
  .p-large {
    font-size: 14px;
  }
}

.center-all {
  text-align: center;
}

@media only screen and (max-width: 500px) {
  .center-mobile {
    text-align: center;
  }
}

.fix-contrast {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(9px);
  padding: 20px;
}
.fix-contrast > div:first-of-type {
  padding-top: 20px;
}
.fix-contrast > div:last-of-type {
  padding-bottom: 20px;
}

.custom-list ul {
  list-style: none !important;
  padding: 0;
}
.custom-list li {
  margin-bottom: 1rem !important;
}

/*--- Accessibility ---*/
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body .focus-fix--light .elementor-button:focus-visible, body .focus-fix--light .elementor-button:focus {
  color: #1c244b !important;
}
body .focus-fix--pb .elementor-cta__button-wrapper {
  padding-bottom: 10px;
}
body .focus-fix--pl .elementor-cta__content {
  padding-left: 10px !important;
}

:focus-visible,
button:focus-visible,
.elementor-button:focus-visible,
.focus-visible {
  outline: 3px solid #0066ff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 8px rgba(0, 102, 255, 0.6) !important;
}

/*--- Components ---*/
/* Custom Swiper JS */
.swiper-button-next:after, .swiper-button-prev:after {
  display: none !important;
}

.swiper-header {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  padding-left: 0;
}
.swiper-header .swiper-navigation {
  display: flex;
  flex-direction: row;
}
.swiper-header .swiper-btn {
  position: static;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0 !important;
  border: 2px solid #fff !important;
  padding: 0 !important;
  appearance: none;
  background: transparent !important;
  cursor: pointer;
}
@media only screen and (max-width: 500px) {
  .swiper-header .swiper-btn {
    width: 32px;
    height: 32px;
  }
}
.light-mode .swiper-header .swiper-btn {
  border: 2px solid #1c244b !important;
}
.style-rounded .swiper-header .swiper-btn {
  border-radius: 50px !important;
}
.swiper-header .swiper-btn svg {
  width: 24px;
}
@media only screen and (max-width: 500px) {
  .swiper-header .swiper-btn svg {
    width: 18px;
  }
}
.swiper-header .swiper-btn svg path {
  fill: #fff;
}
.light-mode .swiper-header .swiper-btn svg path {
  fill: #1c244b;
}
.swiper-header .swiper-btn:hover, .swiper-header .swiper-btn:focus-visible {
  background: #fff !important;
}
.light-mode .swiper-header .swiper-btn:hover, .light-mode .swiper-header .swiper-btn:focus-visible {
  background: #1c244b !important;
}
.swiper-header .swiper-btn:hover svg path, .swiper-header .swiper-btn:focus-visible svg path {
  fill: #000;
}
.light-mode .swiper-header .swiper-btn:hover svg path, .light-mode .swiper-header .swiper-btn:focus-visible svg path {
  fill: #fff;
}
.swiper-header .swiper-btn.swiper-button-disabled {
  opacity: 0.3 !important;
  pointer-events: none;
}
.swiper-header .swiper-btn.swiper-button-next {
  margin-left: 16px;
  margin-right: 0;
}
.swiper-header .swiper-btn.swiper-button-prev {
  margin-right: 0;
}

.gallery__list {
  column-count: 4;
  column-gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media only screen and (max-width: 500px) {
  .gallery__list {
    column-count: 2;
    column-gap: 0.4rem;
  }
}
.gallery__btn {
  width: 100%;
  display: block;
  margin-bottom: 0.4rem;
  break-inside: avoid;
  background: none;
  border: none;
  border-radius: 0 !important;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.gallery__btn:focus {
  outline: revert;
}
.gallery__btn:focus:not(:focus-visible) {
  outline: none;
}
.gallery__btn img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.gallery__btn img:hover {
  opacity: 0.7;
}

.gform_wrapper input[type=submit] {
  background-color: #1c244b !important;
  border: 1px solid #1c244b !important;
  border-radius: 33px !important;
  padding: 15px 44px !important;
  font-family: "Poppins", Sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: capitalize !important;
  font-style: italic !important;
  line-height: 1em !important;
  letter-spacing: 0px !important;
}
.gform_wrapper input[type=submit]:hover, .gform_wrapper input[type=submit]:focus, .gform_wrapper input[type=submit]:focus-visible {
  background-color: transparent !important;
  color: #1c244b !important;
}

html.custom-popup-open {
  overflow-y: hidden;
}

/*--- Dialog Popups ---*/
.dialogPopup {
  position: relative;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.dialogPopup.is-visible {
  display: flex;
}
.dialogPopup__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.dialogPopup .gallerySwiperWrapper {
  width: 100%;
}
@media only screen and (max-width: 500px) {
  .dialogPopup .gallerySwiperWrapper {
    padding: 0 20px;
  }
}
.dialogPopup img {
  width: 100%;
  max-width: 1200px;
  max-height: 100%;
  object-fit: contain;
}
.dialogPopup__close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
  border: none;
  border-radius: 0 !important;
  background-color: transparent !important;
}
@media only screen and (max-width: 500px) {
  .dialogPopup__close {
    right: 20px;
    font-size: 40px;
  }
}
.dialogPopup__close:hover, .dialogPopup__close:focus-visible {
  transform: scale(1.1);
  background-color: transparent !important;
  background-image: none !important;
}

body.modal-open {
  overflow: hidden;
}

.dialogPopup section {
  padding: 0 0 0 40px;
}
.dialogPopup .swiper-wrapper {
  margin-bottom: 20px;
}
.dialogPopup .swiper {
  width: 100%;
  height: 70vh;
  padding-bottom: 50px;
}
@media only screen and (max-width: 500px) {
  .dialogPopup .swiper {
    height: auto;
  }
}
.dialogPopup .swiper .swiper-slide {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}
@media only screen and (max-width: 500px) {
  .dialogPopup .swiper .swiper-slide {
    max-width: 100%;
  }
}
.dialogPopup .swiper img {
  height: 100%;
  object-fit: contain;
}
.dialogPopup .swiper-section-wrapper {
  width: 100%;
  box-sizing: border-box;
}
.dialogPopup .swiper-pagination {
  display: none;
  text-align: left !important;
  padding: 20px 0 0 0 !important;
  background-color: transparent !important;
}
@media only screen and (max-width: 1024px) {
  .dialogPopup .swiper-pagination {
    display: none;
  }
}
.dialogPopup .swiper-pagination button {
  width: 15px !important;
  height: 15px !important;
  margin-right: 14px !important;
  opacity: 1 !important;
  border: 1px solid #fff !important;
  background: transparent !important;
}
.dialogPopup .swiper-pagination button:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}
.dialogPopup .swiper-pagination button[aria-current=true] {
  background: #fff !important;
}

.elementor .testimonials-swiper.swiper-full-width .swiper-slide {
  opacity: 0;
}
.elementor .testimonials-swiper.swiper-full-width .swiper-slide-active {
  opacity: 1;
}
.elementor .testimonials-swiper__review {
  margin: 0;
}
.elementor .testimonials-swiper__logo {
  width: 52px;
  height: 52px;
  margin-left: 2rem;
  border-radius: 50px;
  object-fit: cover;
}
.elementor .testimonials-swiper__attribution {
  display: flex;
  margin-top: 1rem;
  font-weight: 500;
}
.elementor .testimonials-swiper__company {
  display: block;
}
.elementor .testimonials-swiper .swiper-notification {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-shortcode {
  position: absolute !important;
  left: 20px !important;
  top: 20px !important;
}

body .video-control {
  appearance: none;
  background-color: rgba(0, 0, 0, 0.6) !important;
  border: 2px solid #ffffff;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: background-color 0.3s ease;
  width: 50px;
  height: 50px;
  z-index: 10;
}
@media only screen and (max-width: 767px) {
  body .video-control {
    display: none;
  }
}
@media only screen and (max-width: 500px) {
  body .video-control {
    width: 40px;
    height: 40px;
  }
}
body .video-control__icon {
  display: none; /* Hidden by default */
  line-height: 0;
}
body .video-control__icon svg {
  fill: #ffffff;
  width: 20px;
  height: 20px;
}
@media only screen and (max-width: 500px) {
  body .video-control__icon svg {
    width: 16px;
    height: 16px;
  }
}
body .video-control:hover .video-control__icon svg, body .video-control:focus .video-control__icon svg, body .video-control:focus-visible .video-control__icon svg {
  fill: #000000;
}

/* Modifier: State toggling */
.video-control--playing .video-control__icon--pause {
  display: block;
}

.video-control--paused .video-control__icon--play {
  display: block;
}

/*--- Layout ---*/
footer .elementor-screen-only {
  position: absolute !important;
  top: 0 !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*--- Pages ---*/
body .review-grid {
  --e-con-grid-template-rows: auto !important;
}
body .review-grid__item {
  display: flex;
  align-items: flex-start;
  flex-direction: row !important;
  gap: 1rem;
}
body .review-grid__item img {
  flex: 0 0 90px;
  width: 90px;
  min-width: 90px;
  height: 90px;
  border-radius: 999px;
}
body .review-grid__item p {
  flex: 1;
}
body .review-grid__text {
  padding-left: 1.5rem;
}
body .review-grid__text > div:last-of-type {
  margin-top: 1rem;
}
body .review-grid__text > div:last-of-type p {
  font-style: italic;
}

.hero-hdr {
  min-width: 720px !important;
}
@media only screen and (max-width: 500px) {
  .hero-hdr {
    min-width: 100% !important;
  }
}
