/* 
Theme Name: GBS
Theme URI: https://sweans.com/
Description: GBS is a child theme of Hello Elementor, created by Sweans team
Author: Sweans Team
Author URI: https://sweans.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Align search input + button horizontally */
header .e-search .e-search-form {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

/* Input wrapper starts collapsed */
header .e-search .e-search-input-wrapper {
  width: 0;
  overflow: hidden;
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

/* Expand input field smoothly from right to left */
header .e-search.is-open .e-search-input-wrapper {
  width: 240px;
  opacity: 1;
  position: absolute;
  right: 70px;
}
header .e-search .e-search-label{
  opacity: 0;
  transition: width 0.3s ease, opacity 0.3s ease;
}
header .e-search.is-open .e-search-label{
  opacity: 1;
}

/* Keep button fixed on right */
header .e-search .e-search-submit {
  margin-left: 8px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Active button style when open */
header .e-search .e-search-submit.active {
  background-color: #222;
  /* customize */
  color: #fff;
  transform: scale(1.05);
}

.card {
  position: relative;
  background: #f3f3f4;
  border-radius: 24px;
  padding: 44px 32px 52px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 12px 32px rgba(0, 0, 0, 0.04);
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
}

.blob-wrapper {
  width: 100%;
}

.blob {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  width: 200px;
  height: 200px;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.blob-navy {
  background: linear-gradient(223deg, #e31f26 -3.87%, #232c64 22.17%);
}

.blob-navy2 {
  background: linear-gradient(223deg, #232c64 22.17%, #232c64 -3.87%);
}

.blob-red1 {
  background: linear-gradient(240deg, #232c64 -15.62%, #e31f26 86.12%);
}

.blob-red {
  background: linear-gradient(327deg, #232c64 -15.62%, #e31f26 86.12%);
}

.card--1 .blob-red1 {
  bottom: -100px;
  right: -100px;
  transform-origin: bottom right;
}

.card--1 .blob-red {
  bottom: -100px;
  right: -100px;
  transform-origin: bottom right;
}

.card--2 .blob-navy {
  top: -140px;
  right: -140px;
  transform-origin: top right;
}

.card--3 .blob-navy2 {
  bottom: -100px;
  left: -100px;
  transform-origin: bottom left;
}

.card--4 .blob-red {
  top: -140px;
  right: -140px;
  transform-origin: top right;
}

.card::before {
  content: "";
  position: absolute;
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
  transition: clip-path 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  clip-path: circle(0% at 0 0);
}

.card--1::before {
  background: linear-gradient(327deg, #2b2c31 -15.62%, #e31f26 86.12%);
}

.card--2::before {
  background: linear-gradient(223deg, #803b3d -3.87%, #232c64 12%);
}

.card--3::before {
  background: linear-gradient(45deg, #b52d32 -28%, #232c64 30%);
}

.card--4::before {
  background: linear-gradient(250deg, #2b2c31 -15.62%, #e31f26 86.12%);
}

.card--1::before {
  clip-path: circle(8% at 100% 100%);
}

.card--2::before {
  clip-path: circle(8% at 100% 0%);
}

.card--3::before {
  clip-path: circle(8% at 0% 100%);
}

.card--4::before {
  clip-path: circle(8% at 100% 0%);
}

.card--1:hover::before {
  clip-path: circle(150% at 100% 100%);
}

.card--2:hover::before {
  clip-path: circle(150% at 100% 0%);
}

.card--3:hover::before {
  clip-path: circle(150% at 0% 100%);
}

.card--4:hover::before {
  clip-path: circle(150% at 100% 0%);
}

.card:hover .blob {
  opacity: 0;
  transform: scale(0.8);
}

.card .card-title .elementor-heading-title,
.card .card-description {
  transition: all 0.3s ease-in-out;
}

.card:hover .card-title .elementor-heading-title,
.card:hover .card-description {
  color: #fff;
}

.home-insight-block,
.home-insight-block p {
  transition: all 0.5s ease-in-out;
}
.home-insight-block:hover p {
  padding-top: 5px;
}
.home-insight-read-block {
  transition: transform 0.6s ease;
}
.home-insight-block:hover .home-insight-read-block {
  transform: translateY(-5px);
}
.home-insight-block {
  position: relative;
}
.home-insight-block.block1{
  border: 1px solid #787676 !important;
  border-radius: 10px 0 0 10px;
}
.home-insight-block.block1:hover{
  border: 1px solid #000 !important;
  border-radius: 10px 0 0 10px;
}
.home-insight-block.block2{
  border-top: 1px solid #787676 !important;
  border-right: 1px solid #787676 !important;
  border-bottom: 1px solid #787676 !important;
  border-radius: 0px;
}
.home-insight-block.block2:hover{
  border-top: 1px solid #000 !important;
  border-right: 1px solid #000 !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0px;
}
.home-insight-block.block3{
  border-top: 1px solid #787676 !important;
  border-right: 1px solid #787676 !important;
  border-bottom: 1px solid #787676 !important;
  border-radius: 0px;
}
.home-insight-block.block3:hover{
  border-top: 1px solid #000 !important;
  border-right: 1px solid #000 !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0px;
}
.home-insight-block.block4{
  border-top: 1px solid #787676 !important;
  border-right: 1px solid #787676 !important;
  border-bottom: 1px solid #787676 !important;
  border-radius: 0 10px 10px 0;
}
.home-insight-block.block4:hover{
  border-top: 1px solid #000 !important;
  border-right: 1px solid #000 !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 10px 10px 0;
}
.home-insight-block::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  background-color: #000;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-insight-block:hover::before {
  opacity: 0;
}

.solutions-menu-wrapper ul li a {
  padding: 5px 0 !important;
}

.solutions-menu-wrapper ul li a:hover {
  color: #B11035;
}

.solutions-menu-wrapper ul li a::after {
  display: none !important;
}

.bottom-to-top-arrow {
  bottom: 10%;
  display: none;
  height: 30px;
  position: fixed;
  right: 30px;
  transition: all 0.3s linear 0s;
  width: 30px;
  z-index: 9999;
  border-radius: 50%;
  outline: none;
  border: none;
  background-image: url('images/up-arrow-red.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-align: center;
  line-height: 56px;
  color: #fff;
}
.bottom-to-top-arrow:hover {
  opacity: .8;
  transition: all 0.3s linear 0s;
}
.elementor-heading-title a,
.elementor-kit-6 a {
    text-transform: none !important;
}

#video-outer {
  position: relative;
}

/* Full clickable overlay */
#videocontrolerWrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
}

/* Button base */
.video-control {
  height: 102px;
  width: 102px;
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  margin-top: -51px;
  margin-left: -51px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
}

/* PLAY state */
.video-control.play {
  background-image: url('images/video-play-button.svg');
}

/* PAUSE state */
.video-control.pause {
  background-image: url('images/video-pause-button.svg');
}



@media only screen and (max-width: 1600px) {
  .card {
    min-height: 330px;
  }
  .solutions-menu-wrapper ul li a {
    padding: 4px 0 !important;
  }

}
@media only screen and (max-width: 1366px) {
  .card {
    min-height: 320px;
  }

  .card--1 .blob-red1 {
    bottom: -120px;
    right: -120px;
  }

  .card--2 .blob-navy {
    top: -160px;
    right: -160px;
  }

  .card--3 .blob-navy2 {
    bottom: -120px;
    left: -120px;
  }

  .card--4 .blob-red {
    top: -160px;
    right: -160px;
  }
  .video-control {
    height: 70px;
    width: 70px;
    margin-top: -35px;
    margin-left: -35px;
  }
}

@media only screen and (max-width: 992px) {
   .home-insight-block-outer {
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 30px;
    justify-content: space-between;
  }
  .home-insight-block{
    width: 48%;
    border-radius: 10px;
  }
  .home-insight-block::before{
    border-radius: 10px;
  }
  .tust-box-wrapper{
    flex-wrap: wrap;
  }
  .tust-box-wrapper .card{
    width: 48%;
  }
  
}
@media only screen and (max-width: 900px) {
  .home-insight-block-outer {
    row-gap: 20px;
    column-gap: 20px;
  }

}
@media only screen and (max-width: 768px) {
  .bottom-to-top-arrow {
    right: 0px;
  }

  .card {
    padding: 30px;
  }

}

@media only screen and (max-width: 767px) {
  .footer-logo-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 10px;
    row-gap: 0px;
  }

  .footer-logo-wrapper .elementor-widget-image img {
    max-width: 100%;
  }
  .video-control {
    height: 50px;
    width: 50px;
    margin-top: -25px;
    margin-left: -25px;
  }
  .tust-box-wrapper .card{
    width: 47%;
  }
  .home-insight-block{
    width: 47%;
  }
}

@media only screen and (max-width: 500px) {
  .bottom-to-top-arrow {
    height: 30px;
    width: 30px;
  }
  .solutions-menu-wrapper ul li a {
    padding: 5px 0 !important;
  }
  .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    margin-top: 0;
  }
  .tust-box-wrapper .card{
    width: 100%;
  }
  .home-insight-block{
    width: 100%;
  }
}