/* ----------- iPhone X ----------- */
/* and (-webkit-min-device-pixel-ratio: 3) */
/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) {
  .headerAnimation,
  .navAnimation,
  .btnAnimation,
  .textAnimationD,
  .textAnimationC,
  .counterTextAnimation,
  .counterImgAnimation,
  .counterUp,
  .visionAnimation,
  .cardAnimation,
  .uspAnimation,
  .uspAnimationX,
  .mapAnimation,
  .mapAnimationX,
  .heroAnimationC,
  .heroAnimationD,
  .indAnimationText,
  .cardInfoAnimationA,
  .cardInfoAnimationB,
  .cardAnimationC,
  .cardInfoAnimationC,
  .carouselContainerAnimationC,
  .cardInfoAnimationD,
  .cardAnimationE,
  .cardInfoAnimationE,
  .carouselContainerAnimationE,
  .cardInfoAnimationF,
  .carouselContainerAnimationA,
  .cardAnimationB,
  .carouselContainerAnimationD,
  .cardAnimationF,
  .heroAnimationD,
  .cardAnimationA,
  .carouselContainerAnimationB,
  .cardAnimationD,
  .carouselContainerAnimationF {
    transform: initial;
    opacity: 1;
  }
  body {
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .cursor,
  .cursor2 {
    display: none;
  }

  .loader {
    width: 100vw;
  }

  .loader a {
    font-size: 2em;
  }

  .loader h2 {
    font-size: 0.5em;
  }

  .loader .logo {
    right: -35vw;
  }

  .w-100 {
    width: 100vw !important;
  }

  .scrollTop {
    left: 84vw !important;
  }

  .sidebarBtn {
    right: -4rem;
    top: 6px;
  }

  .sidebar.active {
    width: 100vw;
    height: 100vh;
  }

  .sidebar.active ul {
    align-items: center;
  }

  .sidebar.active .sidebarBtn.toggle {
    left: 84vw;
    top: 0.5rem;
  }

  .sidebar.active li.py-3 {
    padding: 1.5rem 0 !important;
  }

  .sidebar.active li.py-3 a {
    font-size: 1.6rem !important;
  }

  .sidebar.active .socials a.px-3 {
    padding: 0 2rem !important;
  }

  .sidebar.active li.py-2.fs-3.logo a {
    font-size: 35px;
  }

  header #contact {
    visibility: hidden;
  }

  header i.fa-solid.fa-magnifying-glass.pt-2.ps-4.h5 {
    position: absolute;
  }

  .contact-in:nth-child(1) {
    flex: 100%;
  }

  .contact-in:nth-child(2) {
    flex: 100%;
  }

  .contact-in:nth-child(3) {
    flex: 100%;
  }

  .heroSection .carousel-item img {
    height: 50vh;
  }

  .heroSection .carousel-item p {
    display: none;
  }

  .heroSection .carousel-item h3.pb-2 {
    /* width: 75vw;
        padding: 0.5rem 0px; */
    display: none;
  }

  .heroSection .carousel-item h4.h4 {
    font-size: 1.8rem;
  }

  .heroSection .carousel-item h1.display-1 {
    font-size: 3rem;
  }

  .carousel-inner .container-fluid h1 span {
    font-size: 5rem;
  }

  .heroSection button.btn.primary-btn {
    position: relative;
    top: 1rem;
    left: 25%;
  }

  .heroSection .carousel-inner .container-fluid {
    top: 52vh;
    width: 70vw;
    left: 6vw;
  }

  .heroSection .carousel-caption.d-none.d-md-block {
    display: block !important;
    width: 100vw !important;
    left: 0;
    min-height: 25vh;
    padding: 1rem;
  }

  .leftnav {
    display: none !important;
    /* right: -3vw;
        top: 52vh; */
  }

  /* .leftnav .hr {
        width: 400px;
    } */

  .rightscroll {
    display: none;
    /* right: 6vw; */
  }

  .rightscroll::before {
    right: -5vw;
    top: 1rem;
  }

  .carousel-indicators {
    bottom: 8rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: 72.75vh;
  }

  .carousel-control-prev {
    left: 1rem;
  }

  .carousel-control-next {
    right: 1rem;
  }

  .carousel-control-prev-icon i,
  .carousel-control-next-icon i {
    font-size: 3rem;
  }

  #carouselIndicators .carousel-item .carousel-caption h4 {
    position: relative;
    top: -15vh;
  }

  .counterSection .about {
    top: 0;
    flex-direction: column-reverse;
    text-align: center;
  }

  .counterSection .about .col-6 {
    width: 100vw;
    justify-content: center !important;
  }

  .counterSection .about .col-6 img {
    margin: 1rem 0;
  }

  .counterSection .counterUp {
    top: 5vh;
    height: 42vh;
  }

  .counterSection br {
    display: none;
  }

  .counterSection .counterUp nav {
    top: 0vh;
  }

  .counterUp .flex-row {
    flex-direction: column !important;
  }

  .counterUp .flex-row .flex-column {
    flex-direction: unset !important;
    padding: 4px 0;
  }

  .counterUp .flex-row .flex-column h1,
  .counterUp .flex-row .flex-column h1 * {
    font-size: 35px;
  }

  .vision-text {
    width: 100vw;
    position: relative;
    left: 0.7rem;
  }

  .vision-img {
    background: none;
    backdrop-filter: none;
    margin: 0;
    padding: 0 !important;
    margin-top: 4vh;
    width: 75vw;
    right: 10vw;
  }

  .visionMission .header {
    top: 20vh;
    left: 0vw;
    text-align: center;
  }

  .vision-text .container {
    top: 24vh;
    left: 1vw;
    text-align: center;
    padding-bottom: 0em;
    margin-bottom: 25vh;
  }

  .vision-text .container .w-50 {
    width: 100% !important;
  }

  .vision-img button {
    display: none;
  }

  .cardsSection {
    gap: 9.5rem;
  }

  .cardsSection .cardHeader {
    bottom: 0;
    font-size: 140%;
  }

  .cardsSection .container {
    flex-direction: inherit !important;
    padding-bottom: 0 !important;
    height: 17rem;
  }

  .cardsSection .container.pb-5 {
    position: relative;
    bottom: 8.5rem;
  }

  .cardsSection .content .card-text {
    display: none;
  }

  .cardsSection .container .col-3 {
    width: 80%;
    margin: auto;
    margin-bottom: 0.5rem;
  }

  .uspSection .row .col-6:first-child {
    width: 100vw;
    display: none;
  }

  .uspContainer {
    height: 100vh;
    width: 100vw;
  }

  .h1.adverText {
    left: 0;
  }

  .adverText {
    position: relative;
    top: 0;
    left: 12vw;
    text-align: center;
  }

  .adverDiv {
    top: 30vh;
  }

  .mapSection {
    min-height: 80vh;
  }

  .mapText {
    text-align: center;
    margin-top: 5vh;
    left: 3vw;
  }

  .map {
    justify-content: center !important;
    position: relative;
    top: 25vh;
  }

  .map img {
    width: 100% !important;
  }

  .mapPointer {
    right: 27.6vw;
    margin-top: 14.5vh;
  }

  .popName {
    margin-top: 155px;
  }

  .mapPointer::after {
    bottom: -5px;
    right: 1px;
  }

  .contactFooter {
    width: 100vw;
    height: 15vh;
    margin-top: 65vh;
  }

  .footer {
    height: 85vh;
  }

  .footer .row {
    flex-direction: column !important;
  }

  .footer .row > div {
    width: 100vw !important;
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0.5rem 0;
  }

  .footer .branding {
    top: 0;
  }

  .footer .addr {
    text-align: center;
    position: relative;
    top: 1rem;
  }

  .footer .signature {
    margin-bottom: 6px;
  }

  .footer .blockquote {
    display: none;
  }

  .copyrightFooter {
    flex-direction: column;
    height: 8vh;
  }

  section:not(:nth-of-type(2)) .splide__track {
    opacity: 40%;
  }

  /* 
  .companyDesc p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  } */
}

@media (hover: hover) and (min-width: 600px) {
  .cardsSection .card:after {
    transform: translateY(0);
  }

  .cardsSection .content {
    transform: translateY(calc(100% - 4.5rem));
  }

  .cardsSection .content > *:not(.card-title) {
    opacity: 0;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
  }

  .cardsSection .card:hover,
  .cardsSection .card:focus-within {
    align-items: center;
  }

  .cardsSection .card:hover:before,
  .cardsSection .card:focus-within:before {
    transform: translateY(-4%);
  }

  .cardsSection .card:hover:after,
  .cardsSection .card:focus-within:after {
    transform: translateY(-50%);
  }

  .cardsSection .card:hover .content,
  .cardsSection .card:focus-within .content {
    transform: translateY(0);
  }

  .cardsSection .card:hover .content > *:not(.card-title),
  .cardsSection .card:focus-within .content > *:not(.card-title) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--d) / 8);
  }

  /* 
    .cardsSection .card:hover .content>*.card-title {
        border-bottom: 3px solid var(--primary-red);
        padding-bottom: 0;
        transition: 0.3s;
    } */

  .cardsSection .card:focus-within:before,
  .cardsSection .card:focus-within:after,
  .cardsSection .card:focus-within .content,
  .cardsSection .card:focus-within .content > *:not(.card-title) {
    transition-duration: 0s;
  }
}

/* ----------- iPad Pro 12.9" ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* ----------- iPad 1, 2, Mini and Air ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
  .cursor,
  .cursor2 {
    display: none;
  }

  .sidebarBtn {
    right: -5rem;
  }

  .sidebar.active {
    width: 45vw;
  }

  .sidebar.active .sidebarBtn.toggle {
    top: 0.5rem;
    left: 23rem;
    background: var(--primary-red);
  }

  .sidebar ul li a {
    font-size: 180% !important;
  }

  .scrollTop {
    left: 85vw;
  }

  .loader {
    width: 100vw;
  }

  .loader a {
    font-size: 5rem;
    left: 65vw !important;
    width: inherit;
  }

  header .logo {
    font-size: 2.5rem !important;
  }

  header
    .col-2.d-flex.align-items-center.justify-content-center.gap-3.text-white {
    position: absolute !important;
    width: 26%;
    top: 1rem;
    /* right: 2rem; */
  }

  .contactHead {
    left: 49rem;
  }

  .modal-dialog {
    max-width: 90vw;
  }

  .contact-in:nth-child(1) {
    flex: 50%;
  }

  .contact-in:nth-child(2) {
    flex: 50%;
  }

  .contact-in:nth-child(3) {
    flex: 100%;
  }

  .carousel-inner .container-fluid {
    width: min-content;
    top: 10vh;
    left: 10vw;
    text-align: center;
  }

  .carousel-inner h3.pb-2 {
    padding-bottom: 1rem !important;
  }

  .carousel-inner .pb-3 {
    padding-bottom: 3rem !important;
  }

  .heroSection .carousel-item img {
    height: 60vh;
  }

  #carouselIndicators .carousel-item .carousel-caption h4 {
    position: relative;
    top: -20vh;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: 69vh;
  }

  .carousel-control-prev-icon i,
  .carousel-control-next-icon i {
    font-size: 4.5rem;
    z-index: 10;
  }

  .carousel-caption.d-none.d-md-block {
    width: 80vw;
    left: 9.5vw;
  }

  .carousel-caption h4 {
    font-size: 3rem;
  }

  .carousel-control-prev {
    left: 4rem;
  }

  .carousel-control-next {
    right: 4rem;
  }

  .carousel-indicators {
    bottom: 20vh;
  }

  .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 5px;
  }

  #carouselIndicators .carousel-item {
    height: 93vh;
  }

  #carouselIndicators .carousel-item .carousel-caption ul li a {
    width: 60px;
    height: 60px;
  }

  #carouselIndicators .carousel-item .carousel-caption ul li a i {
    line-height: 60px;
  }

  #carouselIndicators .carousel-item .industryLogos {
    top: -4rem;
  }

  .carousel-caption ul li p {
    font-size: 16px;
  }

  .leftnav {
    top: 32.5vh;
    left: 55vw;
  }

  .leftnav .hr {
    width: 350px;
  }

  .rightscroll {
    right: 15vw;
    bottom: 36vh;
  }

  .rightscroll::before {
    top: 1rem;
    right: -1.5rem;
  }

  .rightscroll::after {
    height: 22vh;
    bottom: 32vh;
  }

  .rightscroll .socials {
    right: 40vw;
    bottom: 0vh;
  }

  .counterSection {
    min-height: 96vh;
  }

  .counterSection .about {
    top: 5vh;
  }

  .counterSection img {
    width: 100% !important;
  }

  section#AboutUs:before {
    height: 97vh;
  }

  .counterSection .counterUp {
    top: 12vh;
    height: 54vh;
  }

  .counterSection nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    width: 70vw;
    left: 14vw;
    grid-column-gap: 8rem;
    grid-row-gap: 8rem;
    top: 18% !important;
    left: 20vw;
  }

  .counterSection nav h1,
  .counterSection nav h1 * {
    font-size: 5rem !important;
  }

  .counterText {
    width: max-content;
  }

  .counterText * {
    font-size: 2rem !important;
  }

  .visionMission .header {
    left: 3rem;
  }

  .vision-text .container {
    left: 2rem;
    height: 70vh !important;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .visionMission .w-50 {
    width: 70% !important;
  }

  .vision-img {
    height: 50vh;
  }

  .vision-img .w-75 {
    width: 90% !important;
  }

  .vision-img button {
    right: 9rem;
  }

  section.cardsSection.d-flex.justify-content-center.align-items-center.flex-column {
    position: relative;
    gap: 1rem;
  }

  .cardsSection .cardHeader {
    bottom: 0;
    font-size: 3.5rem;
  }

  .cardsSection .container {
    flex-direction: inherit !important;
    padding-bottom: 0 !important;
  }

  .cardsSection .container.pb-5 {
    gap: 1rem;
    height: max-content;
  }

  .cardsSection .container .col-3 {
    width: 60%;
    margin: auto;
    margin-bottom: 2rem;
  }

  .cardsSection .content h2 {
    font-size: 2rem;
  }

  .uspSection {
    min-height: 96vh;
  }

  .uspContainer {
    height: 100vh;
    position: relative;
    left: 1vw;
  }

  .uspContainer ul {
    padding-left: 0 !important;
  }

  .adverDiv {
    top: 50%;
    width: 20rem;
    right: 10rem;
  }

  .adverText {
    left: 3rem;
    top: 32vh;
  }

  .advBtn {
    top: 3vh;
    left: 0rem;
  }

  .uspText {
    width: 90%;
    padding-bottom: 1rem;
    font-size: 1.6rem;
  }

  span.uspNum {
    font-size: 4rem;
    font-weight: 600 !important;
  }

  .mapText {
    margin-top: 5vh;
  }

  .mapText h1 {
    font-size: 4rem;
  }

  .mapText h4 {
    font-size: 2rem;
  }

  .mapText p.ps-4 {
    font-size: 1.5rem;
  }

  .map {
    justify-content: center !important;
    position: relative;
    top: 30vh;
  }

  .map img {
    width: 100% !important;
  }

  .mapPointer {
    right: 27.6vw;
    margin-top: 22vh;
  }

  .popName {
    margin-top: 12rem;
    right: 4vw;
  }

  .contactFooter {
    width: 100vw;
  }

  .contactFooter p {
    font-size: 3.5rem;
  }

  .contactFooter h5.text-dark {
    font-size: 1.6rem;
    padding-top: 0.75rem;
  }

  .footer {
    height: 26vh;
  }

  .footerLogo a {
    font-size: 20px !important;
  }

  .footer .branding {
    font-size: 8px;
  }

  .footerIndustries {
    justify-content: flex-start !important;
  }

  .footer .signature {
    font-size: 1.8rem;
  }

  .footer .col-3.d-flex.flex-column.align-items-end.justify-content-between {
    align-items: center !important;
  }

  .splide__slide .card {
    width: 18rem !important;
    height: 24rem !important;
  }

  .splide__slide img {
    left: 25% !important;
  }

  .splide__slide h5 {
    font-size: 2rem !important;
  }

  .splide__slide .btn-primary {
    font-size: 20px !important;
    width: 175px !important;
    left: 18% !important;
  }
}

/* Large screens ----------- */
@media only screen and (min-width: 1824px) {
  button {
    padding: 0.5rem 1rem;
  }

  i.fa-solid.fa-magnifying-glass.pt-2.ps-4.h5.headerAnimation {
    position: relative;
    left: 12vw;
  }

  .carousel-inner {
    height: 95vh;
  }

  .carousel-control-prev-icon i,
  .carousel-control-next-icon i {
    font-size: 4rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: 74vh;
  }

  .rightscroll {
    left: 6vw;
  }

  .rightscroll .socials {
    right: 5.5vw;
  }

  .leftnav .hr {
    width: 445px;
  }

  .carousel-inner .container-fluid {
    left: 12.6vw;
    top: 24vh;
  }

  .industryLogos {
    position: relative;
    top: 2.5rem;
  }

  .carousel-caption.d-none.d-md-block {
    margin-bottom: -3rem;
  }

  .carousel-caption h4 {
    top: -8vh !important;
    font-size: 1.25rem;
  }

  .carousel-caption ul li p {
    font-size: 14px;
  }

  .counterSection .counterUp {
    top: 30vh;
  }

  .counterSection p {
    font-size: 1.2rem;
  }

  .visionMission .fs-5 {
    font-size: 1.5rem !important;
  }

  .vision-img {
    margin-top: 18vh;
  }

  .cardsSection .col-3 {
    width: 30%;
  }

  .cardsSection .card {
    height: 18rem;
  }

  .cardsSection .content {
    transform: translateY(calc(100% - 1.5rem));
  }

  .uspContainer {
    position: relative;
    left: 0.65vh;
  }

  .uspText {
    font-size: 2.25rem;
  }

  .uspText .display-2 {
    font-weight: 700;
    font-size: 5rem;
  }

  .adverText h1 {
    font-size: 4rem;
  }

  .adverText p {
    font-size: 1.25rem;
  }

  .mapText h1 {
    font-size: 6rem;
  }

  .mapText h4 {
    font-size: 2.5rem;
  }

  .mapText p {
    font-size: 1.25rem;
  }

  .popName {
    width: 210px;
    right: 10vw;
    margin-top: 395px;
    height: 50px;
  }

  .contactFooter p {
    font-size: 4rem;
  }

  .contactFooter h5 {
    font-size: 1.5rem;
  }

  .footer .container {
    position: relative;
    top: 3vh;
  }
}
