@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Unbounded:wght@200..900&display=swap');
html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100% !important;
}
body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
.bg-3, .bg-4, .hero {
  position: relative !important;
}
.bg-3 h2, .bg-4 h2, .bg-3 .text-white, .bg-4 .text-white {
  color: #ffffff !important;
}
.bg-4 h2 {
  top: 72% !important;
  margin-top: 0 !important;
}
#services {
  scroll-margin-top: 80px;
}
:root{
--primary-color: #00DDD0;
}
.navbar {
  transition: background-color 0.3s ease-in-out;
}
.scrolled {
  background-color: black !important; /* Change to your desired color */
}
.unbounded {
  font-family: "Unbounded", sans-serif;
  font-optical-sizing: auto;
}


span{
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3.2px;
  display: inline-block;
  padding-bottom: 15px;
  font-family: "Poppins", sans-serif;
  color: var(--primary-color);
  margin-top: 50px;
}
@media only screen and (max-width: 500px) {
  h1{
    font-size: 40px !important;
    line-height: 82px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
  color: #ffffff !important;
  }
  h2{
    font-size: 30px !important;
    line-height: 82px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
  color: #000000 !important;
  }
  h3{
    font-size: 20px !important;
    line-height: 82px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
  color: #000000 !important;
  }
  span{
    padding-top: 0px;
    margin-top: 60px;
  }
  
  .about-img{
    display: block;
    width: 220px !important;
    position: absolute !important;
  }
  .about{
    min-height: 260px !important;
    height: 260px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0.5rem !important;
  }
  .about-img1{
    width: 240px !important;
    max-width: 75% !important;
  }
  .about-img2{
    width: 170px !important;
  }
  .about-img3{
    width: 170px !important;
    max-width: 60% !important;
    margin-top: 90px !important;
    margin-left: 70px !important;
  }
  }
  .about {
    position: relative;
    min-height: 490px;
  }
  .about-img{
    width: 300px;
  }
  .about-img3 {
    margin-top: 150px;
    margin-left: 140px;
  }
 
h1{
  font-size: 50px !important;
  line-height: 50px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
color: #ffffff !important;
}
h2{
  font-size: 40px !important;
  line-height: 40px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
color: #000000 !important;
}
h3{
  font-size: 50px !important;
  line-height: 30px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
color: #000000 !important;
}
.hero{
  background-image: url('../img/bg-img.jpg');
  background-position: center;
  object-fit: contain;
  background-repeat: no-repeat;
  position: relative;
  /* top: -100px; */
  height: 100vh;
  overflow: hidden;
}
.shape{
  opacity: 1;
  visibility: visible;
  position: absolute;
  left: -130px;
}


        .button {
            display: flex;
            align-items: center;
            border: 1.5px solid #0053FE;
            overflow: hidden;
            border-radius: 50px;
            cursor: pointer;
            position: relative;
            background: #03346F;
            color: white;
            width: 180px;
            transform: rotate(0deg);
            transition: transform 0.4s ease-in-out;
        }

        .button .text, .button .icon {
            /* padding: 12px 20px; */
            background: transparent;
            color: white;
            font-size: 18px;
            font-weight: bold;
            position: relative;
            z-index: 1;
        }

        .button .icon {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px;
            
        }

        /* Background fill effect */
        .button::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(0,219,209,1) 14%, rgba(0,128,239,1) 76%);
            transition: left 0.4s ease-in-out;
            z-index: 0;
        }

        /* Hover effect */
        .button:hover::before {
            left: 0;
        }

        /* Unhover effect */
        .button:not(:hover)::before {
            left: 100%;
        }

        /* Keep text and icon visible
        .button .text, .button .icon i {
            mix-blend-mode: difference;
        } */

        /* Rotate icon on hover */
        .button:hover .icon i {
            transform: rotate(315deg);
            transition: transform 0.4s ease-in-out;
        }
  .bg-1{
    background-color: #F7F7F7;
    height: auto;
  }
  ol, ul, menu {
    list-style: none;
  }
  :root {
    /* colors */
    --sg0-color-primary-hsl: 250, 84%, 54%;
    --sg0-color-bg-hsl: 0, 0%, 100%;
    --sg0-color-contrast-high-hsl: 230, 7%, 23%;
    --sg0-color-contrast-higher-hsl: 230, 13%, 9%;
    --sg0-color-bg-light-hsl: 0, 0%, 100%;
  
    /* spacing */
    --sg0-space-sm: 0.75rem;
    --sg0-space-md: 1.25rem;
  }
  
  @media(min-width: 64rem){
    :root {
      /* spacing */
      --sg0-space-sm: 1.125rem;
      --sg0-space-md: 2rem;
    }
  }
  
  /* component */
  .stack-cards {
    --stack-cards-gap: var(--sg0-space-sm);
    --stack-cards-item-ratio: 2/1;
  }
  
  .stack-cards__item {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: var(--sg0-space-md);
    height: 0;
    padding-bottom: calc(100%/(var(--stack-cards-item-ratio)));
    -webkit-transform-origin: center top;
            transform-origin: center top;
  }
  .stack-cards__item > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  
  /* utility classes */
  .sg0-overflow-hidden {
    overflow: hidden;
  }
  
  .sg0-shadow-md {
    box-shadow:0 0.9px 1.5px rgba(0, 0, 0, 0.03),0 3.1px 5.5px rgba(0, 0, 0, 0.08),0 14px 25px rgba(0, 0, 0, 0.12);
  }
  
  .sg0-radius-lg {
    border-radius: 0.5em;
  }
  
  .sg0-bg {
    --sg0-bg-o: 1;
    background-color: hsla(var(--sg0-color-bg-hsl), var(--sg0-bg-o, 1));
  }
  
  .sg0-flex-center {
    justify-content: center;
    align-items: center;
  }
  
  .sg0-flex {
    display: flex;
  }
  
  :where(.sg0-inner-glow) {
    position: relative;
  }
  
  .sg0-inner-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075);
  }
  
  .sg0-bg-light {
    --sg0-bg-o: 1;
    background-color: hsla(var(--sg0-color-bg-light-hsl), var(--sg0-bg-o, 1));
  }
  .bg-2{
    background: url('../img/bg-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 140vh;
  }
  .cardx{
    background:
    #03346F;
    padding: 10px;
    border-radius: 15px;
    color: white;
  }
  /* .ph{
    background: url('/assets/img/cn-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 3;
  } */
  
  .ts{
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    padding-top: 80px;
    top: 100px;
    height:190px;
    padding-bottom: calc(100%/(var(--stack-cards-item-ratio)));
    -webkit-transform-origin: center top;
            transform-origin: center top;
  }
  .bg-3{
    background: linear-gradient(90deg, rgba(0,0,0,0.745704903054972) 0%, rgba(0,0,0,0.7008869758841037) 100%),
    url('../img/bg-3.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 90vh;
  }
  .bg-4{
    background: url('../img/s1-img-1-1.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 70vh;
    border-radius: 18px;
  }
  .gtb-solutions-1-content {
    background: #000;
    padding: 75px 70px;
    clip-path: polygon(0% 0%, 100% 10%, 90% 90%, 3% 98%);
    border: 10px solid var(--primary-color);
  }

  @media (max-width: 991.98px) {
    .service-cta-banner {
      background-image: none !important;
      background: transparent !important;
      height: auto !important;
    }
    .service-cta-banner .gtb-solutions-1-content {
      margin-top: 0 !important;
      padding: 55px 35px !important;
    }
  }

  @media (max-width: 576px) {
    .service-cta-banner .gtb-solutions-1-content {
      padding: 45px 24px !important;
      clip-path: polygon(0% 0%, 100% 6%, 95% 94%, 0% 100%) !important;
    }
  }
  .cardy{
    border: 2px solid var(--primary-color);
    border-radius: 0 30px 30px 30px;
    padding: 22px 30px;
    display: inline-grid;
    gap: 10px 0;
  }
  .card{
    background:  linear-gradient(90deg, rgba(2,45,113,1) 0%, rgba(2,83,130,1) 31%, rgba(2,113,143,1) 60%, rgba(2,126,149,1) 70%, rgba(1,149,159,1) 100%) !important;
    color: white !important;
  }

  /* Why Viva Info Tek Tab Images */
  .pill-img {
    width: 100%;
    aspect-ratio: 5000 / 2814;
    object-fit: cover;
    object-position: top center;
    border-radius: 2rem !important;
  }

  /* 3D Service Flip Cards */
  .service-flip-card {
    perspective: 1200px;
    height: 270px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .service-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
  }

  /* Desktop Hover: Flip to back on hover */
  @media (hover: hover) and (pointer: fine) {
    .service-flip-card:hover .service-flip-card-inner {
      transform: rotateY(180deg);
    }
  }

  /* Class-based Flip: for mobile click/tap and auto-preview */
  .service-flip-card.is-flipped .service-flip-card-inner {
    transform: rotateY(180deg);
  }

  .service-card-front,
  .service-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 2rem !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.8rem 1.4rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  }

  .service-card-front {
    background: linear-gradient(135deg, rgba(2,45,113,1) 0%, rgba(2,83,130,1) 40%, rgba(1,149,159,1) 100%) !important;
    transform: rotateY(0deg);
    z-index: 2;
  }

  .service-card-back {
    background: linear-gradient(135deg, rgba(1,149,159,1) 0%, rgba(2,83,130,1) 60%, rgba(2,45,113,1) 100%) !important;
    transform: rotateY(180deg);
    z-index: 1;
  }

  .service-icon-wrapper img {
    transition: transform 0.35s ease;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
  }

  .service-flip-card:hover .service-icon-wrapper img {
    transform: scale(1.1);
  }

  .service-title {
    font-size: 1.3rem !important;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 !important;
    font-family: "Poppins", sans-serif;
  }

  .service-back-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #00DDD0 !important;
    font-family: "Poppins", sans-serif;
  }

  .service-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #f2fafa !important;
    font-family: "Poppins", sans-serif;
  }

  .btn-outline-primary{
    border-color: var(--primary-color) !important;
    color: black !important;
  }
   .btn-outline-primary:hover, .active{
    border-color: var(--primary-color) !important;
    color: black !important;
    background: white !important;
    box-shadow:  0px 10px 20px 0px #00919A !important;
  }
  .navbar-nav .dropdown:hover>.dropdown-menu {
    display: block;
  }

  .dropdown-menu .dropdown-submenu:hover>.dropdown-menu {
    display: block;
    left: 100%;
    /* Position submenu to the right */
    top: 0;
    margin-left: 0.1rem;

    /* Small offset for clarity */
  }

  .dropdown-menu .dropdown-submenu {
    position: relative;
  }

  .dropdown-menu .dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    /* Align to the right of the parent */
    top: 0;
    margin-top: 0;
  }

  .dropdown-menu .dropdown-item.dropdown-toggle::after {
    content: none;
    float: right;
    background-color: var(--secondary-color) !important;
  }
  .nav-bg:hover{
    color: #ffffff;
    background: linear-gradient(90deg, rgba(2,45,113,1) 0%, rgba(2,83,130,1) 31%, rgba(2,113,143,1) 60%, rgba(2,126,149,1) 70%, rgba(1,149,159,1) 100%);
  }
  .navbar-collapse .nav-item:hover {
    border-bottom: 1px solid #ffffff !important;
  }
  .offcanvas-nav .sublink:hover {
    color: var(--primary-color) !important;
    padding-left: 6px;
    transition: all 0.2s ease;
  }
  .quick-link-btn {
    display: inline-block;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
  }
  .quick-link-btn:hover {
    color: var(--primary-color) !important;
    transform: translateX(4px);
  }
.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(1, 221, 208, 0.2);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(1, 221, 208, 0);
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  #pills-tab .btn-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  #pills-tab .btn-group .btn {
    width: 100% !important;
    margin-bottom: 0.5rem !important;
    border-radius: 0.5rem !important;
    white-space: normal !important;
  }
  .about {
    position: relative !important;
    max-width: 100% !important;
    overflow: hidden !important;
    min-height: 260px !important;
    height: 260px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0.5rem !important;
  }
  .about-img {
    max-width: 80% !important;
  }
  .about-img3 {
    margin-top: 90px !important;
    margin-left: 70px !important;
    width: 170px !important;
  }
  .animate__fadeInRightBig {
    animation-name: fadeInRight !important;
  }
}
