/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .top_nav {
        display: none;
    }

    .hero_slider .owl-carousel .owl-item img {
        object-fit: cover;
        height: 30vh;
    }

    .hero_slider .owl-carousel .owl-item .item h2 {
        position: absolute;
        bottom: 10%;
        right: 3%;
        background: #f6b90e4f;
        padding: .3rem;
        border-radius: 0.5rem;
        color: #fff;
        font-size: 0.85rem;
        text-transform: capitalize;
    }

    #hero_slider .owl-nav .owl-prev,
    #hero_slider .owl-nav .owl-next {
        font-size: 1rem;
        background: #0000008a;
        width: 30px;
        height: 30px;
    }

    .about img {
        border-radius: 1rem;
        margin-bottom: 1rem;
    }

    .a_heading {
        font-size: 1.9rem;
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .lead {
        font-size: 1.1rem;
        font-weight: 400;
    }

    .discover .row.py-5 {
        padding: 1.5rem 0 !important;
    }

    .discover .col {
        margin-top: 0.5rem;
    }

    .section {
        padding: 1.8rem 0;
    }

    .lProBx {
        height: 300px;
    }

    .lProBx h4 {
        font-size: 1.5rem;
    }

    .proIns .active .item a,
    .proIns .item a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
    }

    .proIns .active .item a,
    .proIns .item a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 215px;
    }

    .client-logo {
        width: 136px;
    }

    #customers-testimonials .item {
        padding: 30px 20px;
    }

    .cta .p-5 {
        padding: 1rem !important;
    }

    .footer span {
        margin: 0 !important;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link.show,
    .navbar-nav .nav-link {
        padding-left: .5rem;
    }

    .a_hero {
        margin: 0rem 0;
        padding: 2rem 0 0rem 7px;
    }

    .a_hero .title {
        /* font-size: 4rem; */
        /* font-weight: 500; */
        /* font-style: oblique; */
        font-family: var(--font-family);
        border-bottom: 4px solid var(--primary-color);
        width: 60%;
        margin: 0.5rem auto;
    }

    .lead {
        font-size: 1rem;
        font-weight: 400;
    }

    .mission_vision .mr {
        margin-top: 1.5rem;
    }

    .teams.section {
        padding: 3rem 0;
    }

    #customers-teams .item {
        height: 370px !important;
        text-align: center;
        padding: 20px 30px;
    }

    .teams h2 {
        margin-top: 2rem;
    }

    .hero_bg {
        width: 100%;
        height: 100%;
        background: no-repeat center center / cover;
        padding: 1rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        text-align: center;
    }

    .hero_bg h1 {
        font-size: 1.8rem;
        font-weight: 500;
        font-family: var(--font-family);
        color: #fff;
        z-index: 9;
    }

    .hero_bg h5 {
        font-family: var(--font-family);
        font-size: 1rem;
        font-weight: 400;
        color: #fff;
        z-index: 9;
    }

    .hero_header {
        width: 100%;
        height: 270px;
    }

    .section.proIns {
        padding: 2rem 0 0rem 0;
    }


    .proIns .owl-nav .owl-prev,
    .proIns .owl-nav .owl-next {
        width: 30px;
        height: 30px;
        font-size: 1rem !important;
    }

  .shadow-effect {
      min-height: 240px;
      margin-bottom: 1.5rem;
  }


}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width:768px) {
    .navbar-brand.logo img {
        width: 100px;
    }

    .hero_slider .owl-carousel .owl-item img {
        object-fit: cover;
        height: 70vh;
    }

    #hero_slider .owl-nav .owl-prev,
    #hero_slider .owl-nav .owl-next {
        position: absolute;
        top: 50%;
        font-size: 1.8rem;
        color: #fff;
        background: #0000008a;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2rem;
        line-height: normal;
        font-family: var(--font-family);
        transform: translate(0%, -50%);
        transition: all 54ms ease-in-out;
    }

    .section {
        padding: 2rem 0;
    }

    .a_heading {
        font-size: 2.2rem;
        font-weight: 400;
    }

    .lead {
        font-size: 1rem;
        font-weight: 300;
    }

    .about img {
        border-radius: 1rem;
        margin-bottom: 1.5rem;
    }

    .discover .row.py-5 {
        padding: 1.5rem 0 !important;
    }

    .discover .col {
        margin-top: 0.5rem;
    }

    .lProBx h4 {
        font-size: 1.5rem;
        font-weight: 500;
        color: #fff;
        z-index: 9;
        transition: all 0.3s ease-in-out;
        text-shadow: 1px 1px 1px #000;
    }

    .proIns .active .item a {
        height: 230px;
    }

    .proIns .item a {
        height: 230px;
    }

    .proIns .inner {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        text-align: center;
    }

    .proIns .inner span {
        font-size: 0.8rem;
    }

    .client-logo {
        width: 95px;
    }

    #customers-testimonials .item {
        padding: 35px 30px;
    }

    .cta .p-5 {
        padding: 1.5rem !important;
    }

    .cta h1 {
        font-size: 1.5rem;
    }

    .cta h4 {
        font-size: 1rem;
    }

    .navbar-nav .nav-item {
        margin-right: .5rem;
        transition: all .5s ease-in-out;
        margin-bottom: .5rem;
    }

    .hero_bg {
        width: 100%;
        height: 100%;
        background: no-repeat center center / cover;
        padding: 1rem 1rem;
    }

    .hero_bg h1 {
        font-size: 2rem;
    }

    .hero_bg h5 {
        font-family: var(--font-family);
        font-size: 1rem;
    }

    .hero_header {
        width: 100%;
        height: 300px;
    }

    .proIns .owl-nav .owl-prev:hover,
    .proIns .owl-nav .owl-prev,
    .proIns .owl-nav .owl-next,
    .proIns .owl-nav .owl-next:hover {
        background-color: #313131 !important;
    }

    .proIns .owl-nav .owl-prev,
    .proIns .owl-nav .owl-next {
        position: absolute;
        top: 50%;
        font-size: 1.5rem !important;
        color: #fff !important;
        background: #00000074 !important;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2rem;
        line-height: normal;
        font-family: var(--font-family);
        transform: translate(0%, -50%);
        transition: all .5s ease-in-out;
    }

    .section.proIns {
        padding: 2rem 0 0rem 0;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width:992px) {
    .top_nav .nav-link {
        padding: 0;
        font-size: .9rem;
    }

    .top_nav .nav span {
        line-height: unset !important;
    }

    .nav-item.social-icon .nav-link {
        padding: 4px 8px;
    }

    button.navbar-toggler {
        background: var(--primary-color);
        color: #fff;
    }

    .navbar-brand.logo img {
        width: 98px;
    }

    .hero_slider .owl-carousel .owl-item img {
        object-fit: cover;
        height: 80vh;
    }

    .about {
        margin-top: 0rem !important;
    }

    .a_heading {
        font-size: 2.2rem;
        font-weight: 400;
    }

    .lead {
        font-size: 1rem;
        font-weight: 300;
    }

    .about img {
        border-radius: 1rem;
        margin-bottom: 2rem;
    }

    .section {
        padding: 1.8rem 0;
    }

    .discover .row.py-5 {
        padding: 1.5rem 0 !important;
    }

    .discover .col.d-flex {
        margin-top: 0.5rem;
    }

    .lProBx h4 {
        font-size: 1.7rem;
    }

    .lProBx {
        height: 270px;
    }

    .proIns .owl-item img {
        border-radius: 1rem;
    }

    .clients {
        margin-top: 0 !important;
    }

    #customers-testimonials .item {
        text-align: center;
        padding: 20px;
    }

    #customers-testimonials .shadow-effect p {
        font-family: var(--font-family);
        font-size: 16px;
    }

    .cta .p-5 {
        padding: 2rem !important;
    }

    .cta h1 {
        font-size: 1.7rem;
    }

    .cta h4 {
        font-size: 1.3rem;
    }

    .cta .lead {
        font-size: 0.9rem;
        font-weight: 300;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link.show {
        color: #000 !important;
        border-radius: 0.5rem;
        border-bottom: 2px solid var(--primary-color);
        transition: all .5s ease-in-out;
        padding: .5rem;
    }

    .navbar-nav .nav-item {
        margin-right: .5rem;
        transition: all .5s ease-in-out;
        padding: 0.3rem .5rem;
    }

    #hero_slider .owl-nav .owl-prev,
    #hero_slider .owl-nav .owl-next {
        font-size: 1.8rem;
    }

    .a_hero .title {
        /* font-size: 4rem; */
        /* font-weight: 500; */
        /* font-style: oblique; */
        font-family: var(--font-family);
        border-bottom: 4px solid var(--primary-color);
        width: 33%;
        margin: 0.5rem auto;
    }

    #customers-teams .item {
        height: 340px !important;
        text-align: center;
        padding: 20px;
    }

    #customers-teams .item h2 {
        font-size: 22px !important;
        font-weight: 500 !important;
    }

    .hero_bg h1 {
        font-size: 1.8rem;
        font-weight: 500;
        font-family: var(--font-family);
        color: #fff;
        z-index: 9;
    }

    .hero_bg h5 {
        font-family: var(--font-family);
        font-size: 1rem;
        font-weight: 400;
        color: #fff;
        z-index: 9;
        line-height: 1.4;
    }

    .hero_header {
        width: 100%;
        height: 260px;
    }

    .proIns .active .item a {
        height: 310px;
    }

    .proIns .item a {
        height: 310px;
    }

    .section.proIns {
        padding: 2rem 0 2rem 0;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width:1200px) {
    .a_heading {
        font-size: 2.2rem;
        font-weight: 400;
    }

    .lead {
        font-size: 1.05rem;
        font-weight: 300;
    }

    .about {
        margin-top: 0rem !important;
    }

    .section {
        padding: 2rem 0;
    }

    .discover .row.py-5 {
        padding: 1.5rem 0 !important;
    }

    .discover .col {
        margin-top: 0.5rem;
    }

    .discover h2 {
        font-size: 2rem;
    }

    .discover p {
        font-size: 1rem;
    }

    .discover h4 {
        font-size: 1.2rem;
    }

    .lProBx {
        height: 215px;
        padding: 0 1rem 1rem 1rem;
    }

    .lProBx h4 {
        font-size: 1.75rem;
    }

    .top_nav .nav-link {
        padding: 0;
        font-size: .9rem;
    }

    .top_nav .nav span {
        line-height: unset !important;
    }

    .nav-item.social-icon .nav-link {
        padding: 4px 8px;
    }

    .hero_bg h1 {
        font-size: 2.8rem;
        font-weight: 500;
        font-family: var(--font-family);
        color: #fff;
        z-index: 9;
    }

    .hero_bg h5 {
        font-family: var(--font-family);
        font-size: 1.125rem;
        font-weight: 400;
        color: #fff;
        z-index: 9;
    }

    #customers-teams .item h2 {
        font-size: 22px !important;
        font-weight: 500 !important;
    }

    #pastexp {
        margin-top: .3rem;
    }

    #customers-teams .item {
        height: 340px !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .hero_slider .owl-carousel .owl-item img {
        object-fit: cover;
        height: 85vh;
    }

    .discover .row.py-5 {
        padding: 1.5rem 0 !important;
    }

    .discover .col {
        margin-top: 0.5rem;
    }
}