.gallery {
  padding: 0;
}

#block-views-block-gallery-block-block-1 {
  padding: 34px 30px;
}

#block-views-block-gallery-block-block-1 .view-header {
  position: absolute;
  top: 22px;
  width: 35%;
  z-index: 9;
  padding: 22px;
}

#block-views-block-gallery-block-block-1 .view-content {
  position: relative;
}

.gallery-wrap {
  display: flex;
  gap: 20px;
}

.gallery-content {
  background-color: #fff;
  border: 1px solid rgba(2, 41, 105, .14);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(11, 18, 32, .07);
  padding: 18px;
  padding-bottom: 31px;
  width: 35%;
  padding-top: 125px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-heading {
  margin: 0;
  font-size: 22px;
  font-family: var(--ff-head);
  color: var(--theme);
  font-weight: 900;
  letter-spacing: -.01em;
}

.gallery-para {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--ff-body);
  text-align: justify;
  padding-right: 30px;
}

.galler-content-inner {
  margin-top: 28px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px dashed rgba(2, 41, 105, .22);
  background: radial-gradient(520px 160px at 20% 0%, rgba(200, 31, 77, .06) 0%, rgba(200, 31, 77, 0) 60%), linear-gradient(180deg, rgba(2, 41, 105, .06), rgba(2, 41, 105, .02));
}

.gallery-title a {
  color: var(--theme);
  font-size: 15px;
  font-family: var(--ff-head);
  line-height: 1.25;
}

.gallery-body {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  font-family: var(--ff-body);
  text-align: justify;
}

.gallery-btn a {
  width: fit-content;
  background: radial-gradient(18px 18px at 30% 25%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, var(--theme) 0%, var(--theme-2) 100%);
  padding: 11px 14px;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(11, 18, 32, .10);
  transition: transform .15s ease, filter .15s ease;
  color: #fff;
  text-decoration: none;
}

.gallery-image-wrap {
  width: 65%;
}

.gallery-image img {
  border-radius: 22px;
}

/* .gallery-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: none;
  box-shadow: 0 14px 40px rgba(11,18,32,.16);
  background: #fff;
  min-height: 560px;
}

.gallery-image img {
  inset: 0;
  object-fit: cover;
  object-position: center;
  transition: opacity .35s ease;
} */

#block-views-block-gallery-block-block-1 .views-slideshow-controls-bottom {
  position: absolute;
  left: 37%;
  bottom: 18px;
  width: min(520px, calc(100% - 28px));
  background: rgba(0, 0, 0, .34);
  backdrop-filter: blur(3px);
  border: 2px solid rgba(255, 255, 255, .42);
  border-radius: 18px;
  padding: 10px 10px;
  z-index: 10;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
}

/* #widget_pager_bottom_gallery_block-block_1 .views_slideshow_pager_field_item {
  display: none;
}

#widget_pager_bottom_gallery_block-block_1 .views_slideshow_pager_field_item:first-child {
  display: block;
} */

#widget_pager_bottom_gallery_block-block_1 {
  display: flex;
  gap: 10px;
}

#widget_pager_bottom_gallery_block-block_1 .views-content-field-images img {
  width: 86px;
  height: 60px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .55);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

#views_slideshow_controls_text_pause_gallery_block-block_1 a {
  display: none;
}

#views_slideshow_controls_text_gallery_block-block_1 {
  margin-bottom: 18px;
  text-align: right;
}

#views_slideshow_controls_text_previous_gallery_block-block_1 a,
#views_slideshow_controls_text_next_gallery_block-block_1 a {
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--ff-head);
}

.partners-head {
  max-width: 100%;
}

.marquee a {
  text-decoration: none;
}

#block-views-block-our-partners-block-1 .view-content {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: partnersScroll 8s linear infinite;
}

/* Make outer block hide overflow */
#block-views-block-our-partners-block-1 {
  overflow: hidden;
  border-top: 1px solid rgba(2, 41, 105, .12);
  border-bottom: 1px solid rgba(2, 41, 105, .12);
  background: rgba(255, 255, 255, .70);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  padding: 14px 18px;
}

/* Pause entire ticker on hover */
#block-views-block-our-partners-block-1:hover .view-content {
  animation-play-state: paused;
}

.marquee {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(2, 41, 105, .18);
  background: radial-gradient(260px 120px at 20% 0%, rgba(23, 57, 100, .06) 0%, rgba(23, 57, 100, 0) 60%), #fff;
  color: var(--theme);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(11, 18, 32, .08);
  white-space: nowrap;
}

.marquee span::before {
  content: "";
  height: 8px;
  width: 8px;
  display: inline-block;
  background: var(--accent);
  margin-right: 10px;
  border: 0;
  box-shadow: 0 0 0 3px rgba(255, 199, 44, .14);
  border-radius: 50%;
}

/* Pause on hover */
.marquee-wrapper:hover .marquee {
  animation-play-state: paused;
}

/* Smooth scrolling animation */
@keyframes partnersScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.footer-inner {
  padding-left: 30px;
  padding-right: 30px;
}

/* ----------------------------------------- */
/* PARTNERS */
/* ----------------------------------------- */

/** Clients Section **/
.clients-section {
  position: relative;
  display: block;
  /* padding: 50px 0; */
}

.clients-section .clients-outer {
  position: relative;
}

.clients-section .image-box {
  position: relative;
  display: block;
  text-align: center;
  margin-bottom: 0;
}

.clients-section .image-box img {
  display: block;
  max-width: 100%;
  width: auto;
  margin: 0 auto 18px;
  /* opacity: 0.5;
  filter: grayscale(1005);
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease; */
}

/* .clients-section .image-box:hover img {
  opacity: 1;
  -webkit-filter: grayscale(50%);
  filter: grayscale(50%);
} */

.partners-title {
  text-align: center;
}

.partners-title a {
  color: var(--theme);
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
}

.clients-section .owl-nav.disabled {
  display: none;
}

/** End Clients Section **/
/* CUSTOMIZATION */
.clients-section .slick-slide {
  /* margin-right: 30px; */
}

.clients-section .slide__caption {
  padding: 0;
}

@media only screen and (max-width: 760px) {

  .glance-wrap {
    padding: 0 6px;
  }

  .glance-grid {
    gap: 8px;
  }

  .gcard {
    padding: 16px 8px;
  }

  .gicon {
    width: 36px;
    height: 36px;
  }

  .gnum {
    font-size: 16px;
  }

  .glabel {
    font-size: 11px;
  }

  .gsub {
    font-size: 12px;
  }

  .gcard {
    gap: 8px;
  }

  #block-views-block-gallery-block-block-1 {
    padding-top: 0;
  }

  #block-views-block-gallery-block-block-1 .views-slideshow-controls-bottom {
    margin-top: 28px;
  }

  #block-views-block-gallery-block-block-1 .view-header {
    width: 100%;
    position: initial;
    padding: 0;
  }

  .gallery-content {
    width: 100%;
    display: block;
    padding: 0;
    box-shadow: unset;
    border: 0;
    margin-bottom: 28px;
  }

  .views-slideshow-controls-bottom {
    margin-bottom: 28px;
    margin-top: 28px;
  }

  .galler-content-inner {
    background-color: none;
    min-height: 392px;
  }

  .gallery-btn {
    margin-top: 28px;
  }

  .gallery-image-wrap {
    width: 100%;
  }

  #widget_pager_bottom_gallery_block-block_1 .views-content-field-images img {
    object-fit: cover;
  }

  #block-views-block-gallery-block-block-1 .views-slideshow-controls-bottom {
    width: 100%;
    position: initial;
  }

  #block-views-block-gallery-block-block-1 .view-header {
    /* position: initial; */
  }

  .gallery-wrap {
    display: block;
  }

  .qbtn {
    width: 48%;
    font-size: 12px;
  }

  .ql-box {
    padding: 14px 7px;
  }

  .quicklinks {
    padding: 18px 8px;
  }

  .qbtn {
    padding: 10px 5px;
    gap: 4px;
  }

  #block-views-block-gallery-block-block-1 {
    padding: 30px 15px;
  }

  .partners-head {
    padding: 0 15px;
  }

  .footer-inner {
    padding: 0 15px;
  }

}