/* ===========================================
   Responsive B - Enhanced Version
   Optimized spacing, readability, and visuals
   =========================================== */

/* ----- Universal Adjustments ----- */
html,
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  background-size: cover;
  background-position: center;
}

/* ----- Desktop (1200px+) ----- */
@media (min-width: 1600px) and (max-width: 1920px) {
  #flipboxesmerge{
    margin-left: -13%;
    }
  .container-operation /*VA*/{
    margin-left: -11%!important;
  }
  .container-services/*VA*/{
    margin-left: 7%!important;
  }
  #drivingBusiness /*VA*/ {
    margin-left: -1vw !important;
  }
  #drivingbusiness_sentence /*VA*/ {
    margin-left: 10vw;
  }
   #operationsHead/*VA*/ {
    margin-right: 1vw!important;
   }
   #platformAndSofware {
    scale: 1.2;
  }
   #iconsplatforms {
    scale: 1.3;
  }
   #section4-headerB /*B*/ {
    margin-left: 15vw;
   }
   #section4-headerWD /*WD*/{
    margin-left: 11vw;
   }
   #section4-img {
    margin-top: 10vw;
   }
   #flipboxesmerge {
    scale:1;
   }
   #mainimgB{
    scale: 1.5;
    transform: translate(-3vw,7vh);
   }
   #mainimgWD {
    scale: 1.3;
    transform: translate(-2vw,7vh);
     }
   #virtualAssistanceHeader {
    transform: translateX(-1.5vw)!important;
    
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1280px;
    margin: 0 auto;
  }
}
@media (max-width: 1367px) and (min-width: 1200px) {
   #flipboxesmerge {
    zoom: 0.9;
    margin-left: -5%;
    scale: .8;
  }
  .container-services {
    transform: translateX(0%);
  }
  #drivingbusiness_sentence {
    margin-left: -35px;
  }
}
@media (max-width: 1536px) and (min-width: 1400px) {
  #drivingbusiness_sentence {
    margin-left: -20px;
  }

  #flipboxesmerge {
    zoom: 0.9;
    margin-left: -5%;
    scale: .8;
  }

  #build-websites {
    margin-left: 10% ;
  }
   .container-services {
    transform: translateX(5%);
  }
  .container-operation {
    margin-left: -5%;
  }
}

@media (max-width: 1300px) {

.container-services,
.Sec2container,.Sec5container
.container-fluid {
    width: 100%;
    height: 80%;
    padding-right: calc(var(--lqd-row-gutter-x) * .5);
    padding-left: calc(var(--lqd-row-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
  }

  #flipboxesmerge {
    zoom: 1;
    margin-left: -20%;
  }

  #build-websites {
    margin-left: 10% !important;
  }
}

/* ----- Tablet (768px to 1199px) ----- */

@media (max-width: 1199px) {
#flipboxesmerge {
    zoom: 0.9;
    margin-left: -13%;
    scale: .8;
  }
  /* Banner */
  .banner .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .banner p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
  }

  .banner img {
    width: 85%;
    margin: 0 auto 30px auto;
  }

  /* Flipboxes */
  .flipbox {
    width: 46%;
    margin: 12px auto;
    transition: transform 0.3s ease;
  }

  .flipbox:hover {
    transform: scale(1.03);
  }

  .flipbox-front img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: -15px;
  }

  /* App Icons */
  .app-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5em;
    justify-items: center;
  }

  .app-item p {
    font-size: 15px;
  }

  /* Section Headings */
  h2,
  h3 {
    line-height: 1.2;
  }

  /* Shape and Waves */
  .lqd-shape svg {
    width: 100%;
    height: auto;
  }
}

/* ----- iPad (max-width: 767px) ----- */
@media(min-width:767px) and (max-width: 1024px) {
  .sec-v {
    width: 100vw;
    /* Full viewport width */
    min-height: 100vh;
    /* At least full viewport height */
    box-sizing: border-box;
    /* Include padding/border in width/height */
    overflow: hidden;
    /* Optional: prevent scrollbars if you want strict containment */
    padding: 2rem;
    padding-top: 100px;
    padding-bottom: 0%;
    /* Optional: consistent spacing */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
  }

  .sec-op {
    width: 100vw;
    /* Full viewport width */
    min-height: 30vh;
    /* At least full viewport height */
    box-sizing: border-box;
    /* Include padding/border in width/height */
    overflow: hidden;
    /* Optional: prevent scrollbars if you want strict containment */
    padding: 1rem;
    padding-top: 1px;
    padding-bottom: 0%;
    /* Optional: consistent spacing */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
  }

  .sec-operation {
    width: 100vw;
    /* Full viewport width */
    min-height: 30vh;
    height: 950px;
    /* At least full viewport height */
    box-sizing: border-box;
    /* Include padding/border in width/height */
    overflow: hidden;
    /* Optional: prevent scrollbars if you want strict containment */
    padding: 2rem;
    padding-top: 100px;
    padding-bottom: 0%;
    /* Optional: consistent spacing */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */

  }

  .container-banner {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    margin: auto;
    padding: 0vh;
    padding-top: 10vh;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 90%;
  }

  .sm\:hidden {
    display: none;
  }

  .banner p {
    font-size: 30px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
  }

  #services .flipbox-back p {
    font-size: 2rem;
  }

  #flipboxesmerge {
    zoom: 1;
    margin-left: -8%;
  }

  .scaled-gif {
    scale: 1.4;
  }


  .container-operation,
  .container-fluid {
    width: 100%;
    height: 80%;
    padding-right: calc(var(--lqd-row-gutter-x) * .5);
    padding-left: calc(var(--lqd-row-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
  }

  #op-services #flipboxesmerge {
    zoom: 1;
    margin-left: -12%;
  }

  #op-services .flipbox-back p {
    font-size: 2rem;
  }

  .container-operation .flipbox .flipbox-inner .flipbox-front h3,.Sec5container .flipbox .flipbox-inner .flipbox-front h3 {
    transform: translateY(6vh);
  }

  .container-services .flipbox .flipbox-inner .flipbox-front h3,.Sec2container .flipbox .flipbox-inner .flipbox-front h3{
    transform: translateY(-6vh);
  }

  .flipbox-front h3 {
    font-size: 1.8rem;
    text-align: center;
    padding: 0 10px;
    display: inline-block;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

  .box1 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-columns: 15vw !important;
    /* set the width of each column to 15% of the viewport width */
    grid-row-gap: 1.5vw;
    /* set the gap between columns to 1% of the viewport width */
    margin-left: 9% !important;
    /* remove the margin */
    margin-right: 5% !important;
    padding-bottom: 10vh !important;
    /* set the padding to 10% of the viewport height */
    padding-top: 0vh !important;
    /* set the padding to 5% of the viewport height */
    width: 100vw !important;
    /* set the width to 100% of the viewport width */
    height: 250vh !important;
    /* set the height to 50% of the viewport height */
    overflow: hidden !important;
    opacity: 1 !important;
    font-size: 1em !important;
    margin-top: -25vh !important;
    margin-bottom: -25vh !important;
  }
  .box3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-columns: 15vw !important;
    /* set the width of each column to 15% of the viewport width */
    grid-row-gap: 1.5vw;
    /* set the gap between columns to 1% of the viewport width */
    margin-left: 9% !important;
    /* remove the margin */
    margin-right: 5% !important;
    padding-bottom: 10vh !important;
    /* set the padding to 10% of the viewport height */
    padding-top: 0vh !important;
    /* set the padding to 5% of the viewport height */
    width: 100vw !important;
    /* set the width to 100% of the viewport width */
    height: 250vh !important;
    /* set the height to 50% of the viewport height */
    overflow: hidden !important;
    opacity: 1 !important;
    font-size: 1em !important;
    margin-top: -25vh !important;
    margin-bottom: -25vh !important;
  }

  .flipbox-front h3 {
    font-size: 1.9rem !important;
  }

  .heading-with-bg .heading-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 60%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 1;
  }

  .app-row {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em !important;
    scale: 1.2 !important;
  }

  .app-icon {
    width: 100px !important;
    height: 100px !important;
  }

  .app-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 25px;
  }

  .services {
    padding: 70px 0 20px 10px;
  }

  .container-banner2 {
    padding: 1vh;
  }

  .bg-heading-services2 {
    font-size: 4vh !important;
  }

  .col-11 {
    flex: 0 0 auto;
    width: 75%;
  }

  .container-banner3 .ld-fancy-heading h2 {
    font-size: 10vw;
  }

  .container-banner3 {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    margin: auto;
    padding: 1vh;
    padding-top: 20px;
  }

  .container-banner3 p {
    font-size: 30px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    text-align: center !important;
  }

  .footer-menu .module-content {
    padding: 10px;
  }

  .footer-menu p {
    font-size: 30px;
    line-height: 1.6;
  }

  .foot-menu {
    scale: 1.5 !important;
    margin-left: 18vh;
  }

  .footer-menu .lqd-imggrp-single .lqd-imggrp-img-container figure img {
    width: 165%;
    max-width: none;
    border-radius: 20px;
  }

}

@media(max-width: 1024px) and (min-width: 768px) {
  .container-operation .flipbox .flipbox-inner .flipbox-front h3 {
    transform: translateY(3.5vh) !important;
  }

  footer {
    text-align: center;
    padding: 20px 10px;
  }

  .footer-menu .lqd-imggrp-single .lqd-imggrp-img-container figure img {
    width: 180%;
    max-width: none;
    border-radius: 20px;
  }
}

/* ----- Mobile (max-width: 767px) ----- */
@media(max-width: 600px) {
  .sec-v {
    width: 100vw;
    /* Full viewport width */
    min-height: 100vh;
    /* At least full viewport height */
    box-sizing: border-box;
    /* Include padding/border in width/height */
    overflow: hidden;
    /* Optional: prevent scrollbars if you want strict containment */
    padding: 2rem;
    padding-top: 100px;
    padding-bottom: 0%;
    /* Optional: consistent spacing */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
  }

  .sec-op {
    width: 100vw;
    /* Full viewport width */
    min-height: 30vh;
    /* At least full viewport height */
    box-sizing: border-box;
    /* Include padding/border in width/height */
    overflow: hidden;
    /* Optional: prevent scrollbars if you want strict containment */
    padding: 2rem;
    padding-top: 100px;
    padding-bottom: 0%;
    /* Optional: consistent spacing */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
  }

  .sec-operation {
    width: 100vw;
    /* Full viewport width */
    min-height: 30vh;
    height: 800px;
    /* At least full viewport height */
    box-sizing: border-box;
    /* Include padding/border in width/height */
    overflow: hidden;
    /* Optional: prevent scrollbars if you want strict containment */
    padding: 2rem;
    padding-top: 100px;
    padding-bottom: 0%;
    /* Optional: consistent spacing */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */

  }

}


@media (max-width: 600px) {

  /* App Icons */
  .app-row {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
    scale: 1.2;
  }

  .app-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 25px;
  }

  .app-item p {
    font-size: 15px;
  }

  /* Banner */
  .banner2 {
    padding: 0px 15px;
    text-align: center;
  }

  .banner2 img {
    width: 90%;
    margin-bottom: 25px;
  }

  .container-banner {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    /* default */
    margin: auto;
    padding: 0vh;
    padding-top: 10vh;

  }

  .container-banner3 {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    /* default */
    margin: auto;
    padding: 0vh;
    padding-top: 10vh;
    padding-left: 1vh;
  }

  .bg-heading-services2 {
    font-size: 4vh !important;
  }

  .text-100 {
    font-size: 60px;
  }

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

  .container-banner2 {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    /* default */
    margin: auto;
    padding: 0vh;

  }

  .text-100 {
    font-size: 60px;
  }

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

  .container-banner3 .ld-fancy-heading h2 {
    font-size: 10vw;
  }

  .container-banner3 p {
    font-size: 20px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    text-align: center !important;
  }

  .box1 {
    margin-top: -30vh !important;
    margin-left: 12vw !important;
    padding-bottom: 280vh !important;

  }
   .box3 {
    margin-top: -30vh !important;
    margin-left: 12vw !important;
    padding-bottom: 280vh !important;

  }

  .footer-menu .lqd-imggrp-single .lqd-imggrp-img-container figure img {
    width: 220%;
    max-width: none;
    border-radius: 20px;

  }

}


@media (max-width: 600px) {
  .container-banner-video {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    /* default */
    margin: auto;
    padding: 0vh;
    transform: translateX(-200px);
    /* moves up */

  }

  .text-100 {
    font-size: 60px;
  }

  .text-left {
    text-align: center;
    justify-content: center;
  }
}


@media (max-width: 914px) {

  /* General */
  body {
    font-size: 14px;
  }

  h2 {
    font-size: 22px;
    text-align: center;
  }

  p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Banner */
  .banner {
    padding: 60px 15px;
    text-align: center;
  }

  .banner img {
    width: 90%;
    margin-bottom: 25px;
  }

  /* Flipboxes */
  .flipbox {
    width: 100%;
    margin-bottom: 20px;
  }

  .flipbox h3 {
    font-size: 18px;
  }

  .flipbox-front img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: -15px;
  }

  /* App Icons */
  .app-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
  }

  .app-item p {
    font-size: 13px;
  }

  /* Circle Menu */
  #circleMenu {
    bottom: 15px;
    right: 15px;
    transform: scale(1);
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 20px 10px;
  }
}

@media (min-width:401px) and (max-width: 767px) {

  .flipbox {
    width: 100%;
    max-width: 100vw;
    height: 40vh !important;
  }

  .scaled-gif {
    scale: 1.3;
  }

  .container-services .flipbox .flipbox-inner .flipbox-front h3,.Sec2container .flipbox .flipbox-inner .flipbox-front h3 {
    transform: translateY(-4vh);
  }

  .flipbox-front h3 {
    transform: translateY(5vh);
  }


  .box1 {
    margin-top: -30vh !important;
    margin-left: 13vw !important;
    padding-bottom: 250vh !important;
  }
    .box3 {
    margin-top: -30vh !important;
    margin-left: 13vw !important;
    padding-bottom: 250vh !important;
  }


  .heading-with-bg .heading-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 60%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 1;
  }

  .flipbox-front h3 {
    font-size: 2.5rem;
    text-align: center;
    padding: 0 10px;
    display: inline-block;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

}

@media (max-width: 400px) {
  .flipbox {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  margin: 0;
  /* remove the margin */
  padding: 0;
  /* remove the padding */
}
.flipbox-front img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin-bottom: -15px;
}
  #virtualAssistanceHeader .text-30 {
    font-size: 20px !important;
  }

  .flipbox {
    width: 100%;
    max-width: 100vw;
    height: 40vh !important;
  }

  .scaled-gif {
    scale: .9;
  }

  .box1 {
    margin-top: -30vh !important;
    margin-left: 12vw !important;
    padding-bottom: 280vh !important;

  }
    .box3 {
    margin-top: -30vh !important;
    margin-left: 12vw !important;
    padding-bottom: 280vh !important;

  }

  .flipbox-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2px !important;
    box-sizing: border-box;
  }

  .container-services .flipbox .flipbox-inner .flipbox-front h3,
  .Sec2container .flipbox .flipbox-inner .flipbox-front h3 {
    transform: translateY(2vh);
  }


  .heading-with-bg .heading-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 60%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 1;
  }

  /*.scaled-gif {
    scale: 2;
  }*/

  #services1 {
    margin-bottom: -30vh !important;
  }

  #services {
    margin-bottom: -20vh !important;
  }
}

@media (max-width: 399px) {
  .banner p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
  }

  #services1 {
    margin-bottom: -0vh !important;
  }

  #services {
    margin-bottom: 0vh !important;
  }

  .box1 {
    margin-top: -30vh !important;
    margin-left: 12vw !important;
    padding-bottom: 250vh !important;

  }
  .box3 {
    margin-top: -30vh !important;
    margin-left: -1vw !important;
    padding-bottom: 250vh !important;

  }

  .container-operation .container-fluid .box1 {
    margin-left: -3vw !important;
  }
  .Sec5container .container-fluid .box3 {
    margin-left: -3vw !important;
  }

  .sec-op {
    width: 100vw;
    min-height: 80vh;
    box-sizing: border-box;
    overflow: hidden;
    padding: 2rem;
    padding-top: 100px;
    padding-bottom: 0%;
    align-items: center;
    justify-content: center;
  }

  .col-11 {
    flex: 0 0 auto;
    width: 90%;
  }

}

@media (min-width:850px) and (max-width:1050px) {
  .flipbox {
    width: 100%;
    max-width: 80vw;
    height: 35vh !important;
    transform: translateX(10vw);
  }

  .container-services .flipbox .flipbox-inner .flipbox-front h3,.Sec2container .flipbox .flipbox-inner .flipbox-front h3 {
    transform: translateY(-3vh);
  }

  .scaled-gif {
    scale: 1.7;
  }

  /*.scaled-gif {
    scale: 4;
  }*/

  .flipbox h3 {
    transform: translateY(5vh);
    scale: 1.8;
  }

}