@media only screen and (min-width: 576px) {
  .second>li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 5px 0;
  }

  .second {
    position: relative;
    display: inline-flex;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .second::before {
    content: '';
    border-top: 1px solid #9e9f9e;
    display: block;
    width: calc(50% + 6px);
    height: 0;
    position: absolute;
    top: 9px;
    left: -6px;
  }

  .second::after {
    content: '';
    border-left: 1px solid #9e9f9e;
    display: block;
    width: 0;
    height: calc(100% - 33px);
    position: absolute;
    top: 9px;
    left: -6px
  }

  .second>li>a:before {
    /* border-right: none;
    border-left: none;
    width: 10px;
    left: -10px;
    top: 25px; */
    display: none
  }

  .second>li:before {
    content: "";
    position: absolute;
    border: 1px solid #9e9f9e;
    border-right-color: rgb(158, 159, 158);
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: rgb(158, 159, 158);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: rgb(158, 159, 158);
    border-left-style: solid;
    border-left-width: 1px;
    border-left: none;
    border-right: none;
    border-top: none;
    height: 0px;
    width: 10px;
    top: 25px;
    left: -5px;
  }
}
@media only screen and (min-width: 768px) {
  .side-buttons {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    flex-direction: column;
    align-items: flex-end;
  }
  .enquire-button {
    width: 42px;
    height: 125px;
    writing-mode: vertical-lr;
    transform: rotate(-180deg);
  }
  .side-button {
    margin: 3px 0;
  }
  .headertop .menu {
    padding-right: 60px;
  }
  .logo {
    padding-left: 60px;
  }
  
  .clients-part-list {
    margin-top: 50px;
  }
  .gotop-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 999;
  }
  
  .gotop-btn:hover {
    background-color: #555;
  }
  .statistics-section {
    padding: 20px 0;
  }
  .contact-in-section {
    margin-top: -100px;
    box-shadow: 0 0 16px #00000020;
  }
  .contact-section-left {
    min-height: 600px;
  }
}

@media only screen and (min-width: 992px) {
  .myraa-content {
    padding: 15px 30px;  
  }
  .right-myraa-section {
    padding-left: 40px;
  }
  .text-box {
    padding-right: 30px;
  }
  .owl-carousel-about {
    background: url(../images/line6.png) repeat-x center;
  }
  .owl-carousel-about .owl-item .legacy-box::after {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../images/round-icon.svg) no-repeat center bottom;
    background-size: 30px 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .owl-carousel-about .owl-item:nth-child(odd) .legacy-box::after {
    bottom: -14px;
  }
  .owl-carousel-about .owl-item:nth-child(even) .legacy-box::after {
    top: -14px;
  }
  .owl-carousel-about .owl-item .legacy-box h3 {
    margin: 30px 0;
  }
  .about-inner-section4-round {
    border-radius: 50%;
  }
  .item-m6l4:not(:nth-child(-n+3)) {
    margin-top: 30px;
  }
  .contact-section-right {
    padding: 0 30px;
  }
}
@media only screen and (min-width: 1200px) {
  #menu-footer-bottom-menu {
    justify-content: end;
  }
  .custom-nav button {
    padding: 15px 18px;
  }
  .key-box {
    padding: 0 30px;
  }
}
@media only screen and (max-width: 1399px) {
  :root {
    --headlinefontsize: 45px;
  }

  .owl-carousel-about .owl-item .legacy-box {
    width: 319px
  }
}

@media only screen and (max-width: 1277px) {
  .rmp_menu_trigger {
    top: 30px!important;
  }
}
@media only screen and (max-width: 1199px) {
  #menu-footer-bottom-menu {
    justify-content: center;
    margin-bottom: 0;
  }
  .location-items svg {
    width: 18px;
  }  
  .custom-nav button {
    padding: 9px 12px;
  }
}
@media only screen and (max-width: 1024px) {
  .menu ul {
    display: none;
  }

  .mobilemenu {
    display: block;
  }

  :root {
    --pdtop: 30px;
    --pdbottom: 30px;
    --headlinefontsize: 30px;
  }

  .cta-section {
    padding: 50px 30px;
  }

  .cta-btn {
    padding: 5px 5px 5px 14px;
  }

  .trust-part::before {
    width: 55px;
    height: 55px;
    background-size: 28px;
  }

  .location-items {
    width: 18px;
    height: 22px;
  }

  .trust-part .container .owl-nav button.owl-prev {
    left: 5%;
  }

  .trust-part .container .owl-nav button.owl-next {
    right: 5%;
  }


}

@media only screen and (max-width: 1000px) {
  img {
    max-width: 100% !important;
  }

  .clients-items img {
    max-width: 100% !important;
    width: auto !important;
  }

  .statistics-section {
    background-size: cover;
  }

  .inside-myraa-section::after {
    z-index: -1;
  }

  .leftcon-box {
    width: 100%;
  }

  .left-myraa-section {
    flex-wrap: wrap;
  }

  .icon-boxes {
    max-width: 100% !important;
    position: relative;
  }

  .milestones-section .owl-nav,
  .trust-part .container .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .milestones-section .owl-nav button,
  .trust-part .container .owl-nav button {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto !important;
    right: auto !important;
  }

  .industries-section .container .owl-nav {
    display: flex;
    justify-content: center;
  }

  .industries-section .container .owl-nav button {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .industries-section {
    padding: 50px 0 50px;
    margin-top: 0;
  }

  .menu ul {
    display: none;
  }

  .mobilemenu {
    display: block;
  }

  .cta-section {
    background-size: cover;
  }

  .left-after,
  .right-after {
    display: none;
  }
}

@media only screen and (max-width: 991px) {
  .icon-box {
    width: 100%;
  }

  .right-image1 {
    height: auto;
  }

  .cta-section {
    padding: 50px 34px;
  }

  .cta-btn {
    padding: 5px 5px 5px 5px;
  }

  .stat-item h3 {
    font-size: 46px;
  }
  .stat-icon {
    width: auto;
    height: 40px;
  }
  .stat-item p {
    font-size: 14px;
  }

  :root {
    --pdtop: 30px;
    --pdbottom: 30px;
    --headlinefontsize: 30px;
  }

  .location-items {
    width: 18px;
    height: 22px;
  }

  .clients-part {
    padding: 30px 0;
  }

  .trust-part::before {
    width: 55px;
    height: 55px;
    background-size: 28px;
  }

  .cta-section .cta-btn span {
    margin-left: 7px;
    padding: 4px 11px;
  }

  .cta-section .cta-btn {
    white-space: nowrap;
    font-size: 14px !important;
  }

  .cta-section .col-md-10 .cta-btn {
    padding-left: 15px;
  }

  .listcontact li {
    gap: 2px;
  }


  .service-listing-section::after,
  .service-listing-section2::after,
  .service-listing-section3 .myraa-image::after {
    display: none;
  }

  .service-listing-section3 .myraa-content {
    margin: 30px 0;
  }

  .logosocial span {
    display: block;
    flex: 0 0 100%;
    margin-bottom: 15px;
  }

  .logosocial {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logosocial a {
    margin-left: 0;
  }

  .milestones-headerback {
    display: none;
  }

  .solutions-box .solutions-box-items {
    max-width: 100%;
  }

  .contact-section-left .listcontact li {
    gap: 12px;
  }

  .about-inner-section3 .about-vm-pic img {
    margin-bottom: 20px;
    height: auto;
  }

  .owl-carousel-about2 .legacy-box-text2 img {
    max-height: 100%;
  }

  .owl-carousel-about .owl-item .legacy-box {
    width: 100%;
  }

  .owl-carousel-about .owl-item:nth-child(even) {
    margin-top: 0;
  }

  .owl-carousel-about .owl-item:nth-child(even) .legacy-box .legacy-box-text::after {
    bottom: -12px;
    top: auto;
    transform: rotate(0deg);
  }

  .owl-carousel-about .owl-item:nth-child(even) .legacy-box {
    flex-direction: column;
    padding-bottom: 0;
    padding-top: 0;
  }

  .owl-carousel-about .owl-item:nth-child(even) .legacy-box .legacy-box-text {
    border-top: 3px solid #C12B13;
    border-bottom: 0;
  }
  .owl-carousel-about .owl-item .legacy-box h3 {
    margin: 30px 0 0;
  }
  /* .location-items[data-tooltip="Bulgaria"] {
    left: 51.3%;
    top: 69%;
  }
  .location-items[data-tooltip="Czech Republic"] {
    left: 50%;
    top: 57%;
  }
  .location-items[data-tooltip="Egypt"] {
    left: 53%;
    top: 68.5%;
  }
  .location-items[data-tooltip="Ethiopia"] {
    left: 55.2%;
    top: 64.5%;
  }
  .location-items[data-tooltip="Greece"] {
    left: 51.5%;
    top: 63%;
  }
  .location-items[data-tooltip="India"] {
    left: 65.5%;
    top: 54%;
  }
  .location-items[data-tooltip="Indonesia"] {
    left: 77.5%;
    top: 55%;
  }
  .location-items[data-tooltip="Italy"] {
    left: 48%;
    top: 59%;
  }
  .location-items[data-tooltip="Poland"] {
    left: 49.5%;
    top: 65%;
  }
  .location-items[data-tooltip="Serbia"] {
    left: 55%;
    top: 59%;
  }
  .location-items[data-tooltip="South Africa"] {
    left: 50.7%;
    top: 73%;
  }
  .location-items[data-tooltip="UK"] {
    left: 44%;
    top: 55%;
  }
  .location-items[data-tooltip="UAE"] {
    left: 59%;
    top: 51.4%;
  }
  .location-items[data-tooltip="Madagaskar"] {
    left: 57.4%;
    top: 68%;
  }
  .location-items[data-tooltip="Congo"] {
    left: 49%;
    top: 59%;
  }
  .location-items[data-tooltip="Zambia"] {
    left: 53%;
    top: 61%;
  } */
  .item-m6l4:not(:nth-child(-n+2)) {
    margin-top: 30px;
  }
  .key-widget {
    padding: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .headertop {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .topheader-gap {
    height: 76px;
  }
  .logo img {
    max-height: 40px;
  }
  .home .headertop.homehead {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .tagline {
    font-size: 0.625rem;
  }
  .cta-section .col-md-3 {
    text-align: left;
    margin-top: 15px;
  }

  .footer H4 {
    margin-top: 30px;
  }

  .service-listing-container .row.align-items-end {
    flex-direction: column-reverse;
  }

  .left-full-img {
    display: none;
  }

  .milestones-headerback {
    display: none;
  }

  .contact-in-section {
    padding: 40px 10px;
  }

  .contact-section-right {
    margin-top: 20px;
    padding: 0 14px;
  }

  .contact-section-left .listcontact li.logosocial span {
    display: block;
    flex: 0 0 117px;
    margin-bottom: 0;
  }

  .owl-carousel-about .owl-nav button,
  .owl-carousel-about2 .owl-nav button {
    top: -42px;
    width: 39px;
    height: 39px;
  }

  .owl-carousel-about .owl-nav button.owl-prev,
  .owl-carousel-about2 .owl-nav button.owl-prev {
    right: 41px;
  }

  .owl-carousel-about .owl-item .legacy-box {
    width: 100%;
  }

  .owl-carousel-about .owl-item:nth-child(even) {
    margin-top: 0;
  }

  .owl-carousel-about .owl-item:nth-child(even) .legacy-box .legacy-box-text::after {
    bottom: -12px;
    top: auto;
    transform: rotate(0deg);
  }

  .owl-carousel-about .owl-item:nth-child(even) .legacy-box {
    flex-direction: column;
    background: url(../images/round-icon.svg) no-repeat center top;
    background-size: 30px 30px;
    padding-bottom: 0;
    padding-top: 0;
  }

  .owl-carousel-about .owl-item:nth-child(even) .legacy-box .legacy-box-text {
    border-top: 3px solid #C12B13;
    border-bottom: 0;
  }

  .section-subtitle {
    font-size: 17px;
    margin-top: 5px;
    margin-bottom: 15px;
  }
  .icon-boxes {
    padding: 10px 4px;
  }
  .side-buttons {
    bottom: 0;
    width: 100%;
  }
  .industries-section .container .owl-nav button {
    width: 38px;
    height: 38px;
    font-size: 1.5rem!important;
  }
  .industry .icon {
    width: 89px;
    height: 99px;
  }
  .industry .icon img {
    width: 41px;
    height: 41px;
  }
  .location-items svg {
    width: 14px;
  }

  .icon {
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  
  .icon-fly {
    width: 22px;
    height: 21px;
  }
  
  .icon-man {
    width: 21px;
    height: 22px;
  }
  
  .icon-star {
    width: 24px;
    height: 23px;
  }
  
  .icon-email-menu {
    width: 27px;
    height: 21px;
  }
  
  .container-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 8px;
    width: 100%;
    background-color: #0d1a25;
    z-index: 99;
  }
  .container-menu input[type=checkbox] {
    display: none;
  }
  .container-menu input[type=checkbox] + label {
    cursor: pointer;
    position: absolute;
    z-index: 2;
    left: 50%;
    margin-left: -28.5px;
    bottom: 0;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    display: block;
    background-color: #dd3333;
    background: -webkit-linear-gradient(-90deg, #ee4949 0%, #ce2b2b 100%);
    box-shadow: 0px 0px 40px 4px #dd3333, 0px 0px 0px 2px rgba(255, 255, 255, 0.19) inset;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  .container-menu input[type=checkbox] + label:hover {
    background: -webkit-linear-gradient(-90deg, #ce2b2b 0%, #ce2b2b 100%);
    box-shadow: 0px 0px 20px 4px #dd3333, 0px 0px 0px 2px rgba(255, 255, 255, 0.19) inset;
  }
  .container-menu input[type=checkbox] + label:before {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "+";
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    -moz-transform: rotate(0deg) translate(-50%, -50%);
    -ms-transform: rotate(0deg) translate(-50%, -50%);
    -webkit-transform: rotate(0deg) translate(-50%, -50%);
    transform: rotate(0deg) translate(-50%, -50%);
    display: block;
    line-height: 1;
  }
  .container-menu input[type=checkbox]:checked + label {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .container-menu input[type=checkbox]:checked + label:hover {
    background: -webkit-linear-gradient(-90deg, #ee4949 0%, #ee4949 100%);
    box-shadow: 0px 0px 40px 4px #dd3333, 0px 0px 0px 2px rgba(255, 255, 255, 0.19) inset;
  }
  .container-menu input[type=checkbox]:checked + label + .menu-btns {
    width: 320px;
    margin-left: -160px;
    box-shadow: 0px 0px 18px 1px #ee4949, 0px 0px 0px 2px rgba(255, 255, 255, 0.19) inset;
  }
  .container-menu input[type=checkbox]:checked + label + .menu-btns .menu-item {
    opacity: 1;
    -moz-animation: item 0.5s forwards ease-in-out;
    -webkit-animation: item 0.5s forwards ease-in-out;
    animation: item 0.5s forwards ease-in-out;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  .container-menu input[type=checkbox]:checked + label + .menu-btns .menu-item svg {
    opacity: 0.5;
  }
  .container-menu input[type=checkbox]:checked + label + .menu-btns .menu-item:hover svg {
    opacity: 1;
  }
  
  .menu-btns {
    position: absolute;
    left: 50%;
    right: 0;
    bottom:0;
    width: 56px;
    margin-left: -28px;
    background-color: #dd3333;
    text-align: center;
    font-size: 0;
    padding: 0 10px;
    border-radius: 30px;
    box-shadow: 0px 0px 0px 4px #dd3333, 0px 0px 0px 2px rgba(255, 255, 255, 0.19) inset;
    overflow: hidden;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  .menu-btns .menu-item {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    width: 20%;
    height: 100%;
    padding: 17px 0;
    opacity: 0;
    -moz-transition: all 0.6s;
    -o-transition: all 0.6s;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
  }
  .menu-btns .menu-item svg {
    fill: #fff;
  }
  
  @-webkit-keyframes item {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 0;
    }
    60% {
      opacity: 1;
    }
  }
  @-moz-keyframes item {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 0;
    }
    60% {
      opacity: 1;
    }
  }
  @keyframes item {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 0;
    }
    60% {
      opacity: 1;
    }
  }
  .rabbit {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    fill: #fff;
  }
  .copyrighht {
    padding-bottom: 85px;
    margin-top: 5px;
  }
  .all-inner-baner {
    min-height: 300px;
  }
  button.gotop-btn {
    display: none!important;
  }
  .rmp_menu_trigger {
    top: 9px !important;
  }
  .stat-item {    
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid #fff;
  }
  .stat-item:not(:nth-child(-n+2)) {
    border-top: 1px solid #fff;
  }
  .myraa-content p,
  .text-box p {
    text-align: justify;
  }
  .myraa-content h2 {
    margin-bottom: 5px;
  }
  .myraa-content p {
    margin-bottom: 10px;
  }
  .cta-button {
    margin-top: 10px;
  }
  .cta-section .cta-btn span {
    padding: 4px 6px;
    line-height: 1;
  }
  .right-arrow img {
    width: 14px;
  } 
  .owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
    font-size: 1.8rem !important;
  } 
  .about-inner-section3 {
    margin-bottom: 30px;
  }
  .milestones-header {
    margin-bottom: 0px;
  }
  .bannertext p {
    font-size: 18px;
  }
  .item-m6l4:not(:first-child) {
    margin-top: 30px;
  }
  .contact-in-section p {
    font-size: 1rem;
  }
  .location-name {
    font-size: 0.875rem;
    margin: 3px 4px;
  }
  .location-name small {
    width: 8px;
    height: 8px;
    display: block;
    margin-right: 3px;
  }
  .homebanner .owl-dots {
    bottom: 80px;
  }
}


@media only screen and (max-width: 600px) {
  img {
    max-width: 100% !important;
  }

  .clients-items img {
    max-width: 100% !important;
    width: auto !important;
  }

  .statistics-section {
    background-size: cover;
  }

  .inside-myraa-section::after,
  .milestones-headerback,
  .industries-section::after,
  .contact-map-sec::after {
    display: none;
    z-index: -1;
  }

  .left-myraa-section {
    flex-wrap: wrap;
  }

  .milestones-section .owl-nav,
  .trust-part .container .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .milestones-section .owl-nav button,
  .trust-part .container .owl-nav button {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto !important;
    right: auto !important;
  }

  .industries-section .container .owl-nav {
    display: flex;
    justify-content: center;
  }

  .industries-section .container .owl-nav button {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 0 5px
  }

  .industries-section {
    padding: 15px 0 15px;
    margin-top: 0;
  }

  .menu ul {
    display: none;
  }

  .mobilemenu {
    display: block;
  }

  .bannertext h1 {
    font-size: 42px;
  }

  :root {
    --headlinefontsize: 30px;
    --pdtop: 20px;
    --pdbottom: 20px;
  }

  .cta-section {
    background-size: cover;
  }

  .cta-section .col-md-3 {
    text-align: left;
    margin-top: 20px;
  }

  .milestones-section {
    padding-bottom: 15px;
  }

  .clients-part {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0;
  }

  .clients-part {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .trust-part::before {
    width: 52px;
    height: 48px;
    background-size: 23px;
  }

  .service-listing-section3-round {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .service-listing-section3 .row.align-items-center {
    flex-direction: column-reverse;
    padding: 30px 0;
  }

  .left-full-img {
    display: none;
  }

  .solutions-box {
    padding: 10px;
  }

  .industries-box {
    justify-content: center;
    padding: 10px;
  }

  .industries-box-img {
    width: 100%;
    height: auto;
  }

  .about-inner-section4-round {
    width: 100%;
    height: auto;
    border-radius: 0;
    flex: 0 0 100%;
    right: 0;
  }

  .about-inner-section4 .myraa-image::after {
    display: none;
  }

}

@media only screen and (max-width: 575px) {
  .icon-box {
    width: 100%;
  }  
  .cta-section {
    padding: 20px;
  }
  .cta-section p {
    font-size: 1rem;
  }
  .myraa-way-section {
    padding-bottom: 134px;
  }
  .copyrighht {
    text-align: center;
  }
  #menu-footer-bottom-menu li:not(:first-child)::before {
    margin: 0 4px;
  }
  .map-layout img,
  .map-layout > svg {
    width: 320px !important;
    height: auto;
    margin: 0 auto;
  }
  .location-items[data-tooltip="Ethiopia"] {
    left: 55%;
    top: 39%;
  }
  .location-items[data-tooltip="India"] {
    left: 68%;
    top: 28%;
  }
  .location-items[data-tooltip="South Africa"] {
    left: 50%;
    top: 67%;
  }
  .location-items[data-tooltip="UAE"] {
    left: 60%;
    top: 24.4%;
  }
  .location-items[data-tooltip="Madagascar"] {
    left: 58%;
    top: 59%;
  }
  .location-items[data-tooltip="DR Congo"] {
    left: 40%;
    top: 37%;
  }
  .location-items[data-tooltip="Zambia"] {
    left: 51%;
    top: 54%;
  }
  .location-items[data-tooltip="Guinea"] {
    left: 40%;
    top: 37%;
  }
  
  .all-inner-baner {
    min-height: 240px;
    padding: 50px 0;
  }
}