body{
    overflow-x: hidden !important;
}

.slider_img{
    height: 500px;
}
.about_img1{
    height:482px;
    width: 100%;
}
.card_four{
height:170px;
width:100%;
}
.about_img2{
    height: 222px;
    width: 100%;
}
/* gallery */
/* Gallery Styles */
.gallery_container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .bg-primary {
    background-color: #e5353a !important;
}
.bg-secondary {
    background-color: #e5353a !important;
}
  @media (min-width: 1300px) and (max-width: 2560px) {
    .popup-gallery {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
  }

  @media (min-width: 700px) and (max-width: 1299px) {
    .popup-gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
  }

  @media (min-width: 300px) and (max-width: 699px) {
    .popup-gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 5px;
    }
  }

  .gallery_item {
    margin-bottom: 5px;
    overflow: hidden;
  }

  .popup-gallery a {
    display: block;
    width: 100%;
    border: 1px solid #fff;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .popup-gallery a:hover {
    transform: scale(1.05);
    border-color: #fff;
  }

  .popup-gallery img {
    display: block;
    width: 100%;
    object-fit: cover;
    min-height: 250px;
    max-height: 250px;
  }

  @media only screen and (max-width: 1000px) {
    .popup-gallery img {
      min-height: 150px;
      max-height: 150px;
    }
  }

  /* END  */

  .singicon_btn_nlf {
    position: absolute;
    top: 44%;
    bottom: 56%;
    left: 44%;
    right: 56%;
    opacity: 0;
  }

  .singicon_btn_nlf svg {
    color: #fff;
  }

  .popup-gallery a:hover .singicon_btn_nlf {
    opacity: 1;
  }

  .hover_affect_nlf:hover img {
    opacity: 0.5;
  }
/* our patner */


  section.client {
      background-color:#f8f8f8c9;
      padding: 27px;
  }

  .bx-controls {
      position: relative;
  }
  .bx-wrapper .bx-pager {
      text-align: center;
      display: flex;
  }
  .bx-wrapper .bx-pager .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
      display: inline-block;
      zoom: 1;
      display: inline;
  }
  .bx-wrapper .bx-pager.bx-default-pager a {
      background: #ad0a0a;
      text-indent: -9999px;
      display: block;
      width: 10px;
      height: 10px;
      margin: 0 5px;
      outline: 0;
      -moz-border-radius: 5px;
      -webkit-border-radius: 5px;
      border-radius: 5px;
  }


/* about us */
@keyframes down-btn {
    0% { bottom:20px; }
    100% { bottom:0px; }

    0% { opacity:0; }
    100% { opaicty:1; }
}

@-webkit-keyframes down-btn {
    0% { bottom:20px; }
    100% { bottom:0px; }

    0% { opacity:0; }
    100% { opaicty:1; }
}

@-moz-keyframes down-btn {
    0% { bottom:20px; }
    100% { bottom:0px; }

    0% { opacity:0; }
    100% { opaicty:1; }
}

@-o-keyframes down-btn {
    0% { bottom:20px; }
    100% { bottom:0px; }

    0% { opacity:0; }
    100% { opaicty:1; }
}




    /* Basic Card */
    .basic-card {
        width:300px;
        position: relative;

        -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        -o-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    }

        .basic-card .card-content {
            padding: 30px;
        }

        .basic-card .card-title {
            font-size: 25px;
            font-family: 'Open Sans', sans-serif;
        }

        .basic-card .card-text {
            line-height: 1.6;
        }

        .basic-card .card-link {
            padding: 25px;
            width: -webkit-fill-available;
        }

            .basic-card .card-link a {
                text-decoration: none;
                position: relative;
                padding: 10px 0px;
            }

            .basic-card .card-link a:after {
                top: 30px;
                content: "";
                display: block;
                height: 2px;
                left: 50%;
                position: absolute;
                width: 0;

                -webkit-transition: width 0.3s ease 0s, left 0.3s ease 0s;
                -moz-transition: width 0.3s ease 0s, left 0.3s ease 0s;
                -o-transition: width 0.3s ease 0s, left 0.3s ease 0s;
                transition: width 0.3s ease 0s, left 0.3s ease 0s;
            }

            .basic-card .card-link a:hover:after {
                width: 100%;
                left: 0;
            }


    .basic-card-aqua {
        background-image: linear-gradient(to bottom right, #00bfad, #99a3d4);
    }

        .basic-card-aqua .card-content, .basic-card .card-link a {
            color: #fff;
        }

        .basic-card-aqua .card-link {
            border-top:1px solid #82c1bb;
        }

            .basic-card-aqua .card-link a:after {
                background:#fff;
            }

    .basic-card-lips {
        background-image: linear-gradient(to bottom right, #ec407b, #ff7d94);
    }

        .basic-card-lips .card-content {
            color: #fff;
        }

        .basic-card-lips .card-link {
            border-top: 1px solid #ff97ba;
        }

            .basic-card-lips .card-link a:after {
                background:#fff;
            }

    .basic-card-light {
        border: 1px solid #eee;
    }

        .basic-card-light .card-title, .basic-card-light .card-link a {
            color: #636363;
        }

        .basic-card-light .card-text {
            color: #7b7b7b;
        }

        .basic-card-light .card-link {
            border-top: 1px solid #eee;
        }

            .basic-card-light .card-link a:after {
                background:#636363;
            }

    .basic-card-dark {
        background-image: linear-gradient(to bottom right, #252525, #4a4a4a);
    }

        .basic-card-dark .card-title, .basic-card-dark .card-link a {
            color:#eee;
        }

        .basic-card-dark .card-text {
            color: #dcdcdcdd;
        }

        .basic-card-dark .card-link {
            border-top: 1px solid #636363;
        }

        .basic-card-dark .card-link a:after {
            background:#eee;
        }


    /* Overlay Image Card */

    .ioverlay-card {
        position: relative;
        text-align: left;
    }

        .ioverlay-card img {
            height: 250px;
            width: 100%;
            border-radius: 4px;
        }

        .ioverlay-card .card-content {
            position: absolute;
            top: 42%;
            background-color: rgba(148, 20, 20, 0.795);
            padding: 20px;
            height: 150px !important;

        }

            .ioverlay-card .card-content .card-title{
                font-size: 25px;
            }

    .io-card-1 {
        color: #fff;
    }

    .io-card-1 .card-content .card-text {
        width: 95%;
        line-height: 1.5;
        padding-bottom: 10px;
    }

    .io-card-1 .card-link {
        position: absolute;
        top: 140px;
        left: 20px;
    }

        .io-card-1 .card-link a {
            color:#fff;
            text-decoration: none;
            padding: 10px;
            border: 1px solid;
            border-radius: 4px;
            background: #3F51B5;

            -webkit-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -o-transition: all 0.4s;
            transition: all 0.4s;
        }

        .io-card-1 .card-link a:hover {
            color:#3F51B5;
            background: #fff;
            border-color:#fff;
        }

    .io-card-2 .card-content {
        color: #fff;
    }

    .io-card-2 .card-link {
        position: absolute;
        bottom: 30px;
        left: 20px;
    }

        .io-card-2 .card-link a {
            color:#fff;
            text-decoration: none;
            padding: 10px;
            border: 1px solid #fff;
            border-radius: 4px;

            -webkit-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -o-transition: all 0.4s;
            transition: all 0.4s;
        }

        .io-card-2 .card-link a:hover {
            color:black;
            background-color: #fff;
        }

        .io-card-2 .card-content .card-text {
            line-height: 1.5;
            padding-bottom: 10px;
        }




    .card-category-5 .all-pr-cards {
        padding:0;
    }

    .card-category-5 .per-card-1 {
        text-align: center;
        width:250px;
        background-image: linear-gradient(#315386, #ffffff);

        -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        -moz-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        -o-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    }

    .card-category-5 .per-card-1 .card-image {
        padding:20px;
    }

        .card-category-5 .per-card-1 .card-image img {
            height: 200px;
        }

        .card-category-5 .per-card-1 .card-content .card-title {
            font-size: 20px;
            padding-bottom:6px;
        }

        .card-category-5 .per-card-1 .card-content .per-position {
            color: #002255;
            padding-bottom: 10px;
        }

        .card-category-5 .per-card-1 .card-content .social-icons i {
            font-size: 30px;
            padding: 5px;

            -webkit-transition: all .2s ease-in;
            -moz-transition: all .2s ease-in;
            -o-transition: all .2s ease-in;
            transition: all .2s ease-in;
        }

        .card-category-5 .per-card-1 .card-content .social-icons i:hover {
            color:#383838;
        }

        .card-category-5 .per-card-1 .card-content .card-btn button {
            margin-top: 15px;
            width: 100%;
            padding: 15px;
            background: black;
            color: #fff;
            border: none;
            font-size: 18px;
            cursor: pointer;

            -webkit-transition: all .2s ease-in;
            -moz-transition: all .2s ease-in;
            -o-transition: all .2s ease-in;
            transition: all .2s ease-in;
        }

        .card-category-5 .per-card-1 .card-content .card-btn button:hover {
            background: #383838;
        }


        .card-category-5 .per-card-2 {
            width: 300px;
            padding: 30px 0 0 0;
            margin:0 40px; /*You may have remove this CSS. I used this CSS for apply some margin from the card before*/

            -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
            -moz-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
            -o-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
            box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        }

            .card-category-5 .per-card-2 .card-image {
                padding: 10px 15px;
                background-image: linear-gradient(#3F51B5, #673AB7);
                width: 319px;
                position: relative;
                right: 25px;
            }

                .card-category-5 .per-card-2 .card-image::before {
                    content: '';
                    position: absolute;
                    width: 0px;
                    height: 0px;
                    border: 12px solid #430ca5;
                    top: -24px;
                    left: 0px;
                    border-left-color: transparent;
                    border-top-color: transparent;
                }

                .card-category-5 .per-card-2 .card-image::after {
                    content: '';
                    position: absolute;
                    width: 0px;
                    height: 0px;
                    border: 12px solid #430ca5;
                    top: 104px;
                    right: 0;
                    border-right-color: transparent;
                    border-bottom-color: transparent;
                }

                .card-category-5 .per-card-2 .card-image img {
                    border-radius: 40px;
                    height:80px;
                }

                .card-category-5 .per-card-2 .card-image ul {
                    padding:0;
                }

                .card-category-5 .per-card-2 .card-image .per-name {
                    font-size:23px;
                    color:#fff;
                    margin: 5px 0px 0px 10px;
                }

                .card-category-5 .per-card-2 .card-image .per-position {
                    font-size:18px;
                    color:#fff;
                    margin: 15px 0px 0px 15px;
                }

                .card-category-5 .per-card-2 .card-image .card-btn {
                    position: absolute;
                    width: 40px;
                    height: 40px;
                    top: 80px;
                    right: 40px;
                    border: 4px solid #fff;
                    border-radius: 30px;
                    background: #653cb7;
                    cursor:pointer;

                    -webkit-transform:rotate(0deg);
                    -moz-transform:rotate(0deg);
                    -o-transform:rotate(0deg);
                    transform:rotate(0deg);

                    -webkit-transition: all .3s ease-in-out;
                    -moz-transition: all .3s ease-in-out;
                    -o-transition: all .3s ease-in-out;
                    transition: all .3s ease-in-out;
                }

                .card-category-5 .per-card-2 .card-image .card-btn:hover {
                    -webkit-transform:rotate(90deg);
                    -moz-transform:rotate(90deg);
                    -o-transform:rotate(90deg);
                    transform:rotate(90deg);
                }

                    .card-category-5 .per-card-2 .card-image .card-btn span, .card-category-5 .per-card-2 .card-image .card-btn span::after {
                        content: '';
                        width: 23px;
                        height: 3px;
                        background: #fff;
                        position: absolute;
                        top: 18px;
                        left: 8px;
                    }

                    .card-category-5 .per-card-2 .card-image .card-btn span::after {
                        left:0;
                        top:0;

                        -webkit-transform: rotate(90deg);
                        -moz-transform: rotate(90deg);
                        -o-transform: rotate(90deg);
                        transform: rotate(90deg);
                    }

            .card-category-5 .per-card-2 .card-content {
                padding: 40px 30px 20px;
                text-align: justify;
            }

                .card-category-5 .per-card-2 .card-content .card-text {
                    line-height: 1.5;
                    color: #585858;
                    font-size: 15px;
                }

                .card-category-5 .per-card-2 .card-content .social-icons {
                    text-align:center;
                    padding-top:20px;
                }

                    .card-category-5 .per-card-2 .card-content .social-icons i {
                        padding:10px;
                        font-size:30px;
                        color: #430ca5;
                        cursor:pointer
                    }

                    .card-category-5 .per-card-2 .card-content .social-icons i:hover {
                        color:black;
                    }

        .card-category-5 .per-card-3 {
            width: 400px;
            height: 240px;

            -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
            -moz-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
            -o-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
            box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        }

        .card-category-5 .per-card-3:hover .card-content .social-icons {
            opacity: 1;
            height: 100%;
        }

        .card-category-5 .per-card-3:hover .social-icons .card-btn {
            bottom: 0px !important;

            -webkit-animation: down-btn 1.5s;
            -moz-animation: down-btn 1.5s;
            -o-animation: down-btn 1.5s;
            animation: down-btn 1.5s;
        }

            .card-category-5 .per-card-3 .card-image {
                position:relative;
                background: #009688;
                padding-left: 20px;
                text-align:left;
            }

                .card-category-5 .per-card-3 .card-image img {
                    height: 90px;
                    border-radius: 50px;
                    padding: 5px;
                    margin-right: 10px;
                }

                .card-category-5 .per-card-3 .card-image .per-name {
                    position: absolute;
                    top: 40%;
                    text-transform: uppercase;
                    letter-spacing: 7px;
                    font-size: 20px;
                    color: #fff;
                }

            .card-category-5 .per-card-3 .card-content {
                text-align: center;
                padding: 20px;
                position: relative;
            }

                .card-category-5 .per-card-3 .card-content .per-position {
                    font-size: 22px;
                    text-transform: uppercase;
                    letter-spacing: 4px;
                    color: #009688;
                }

                .card-category-5 .per-card-3 .card-content .card-text {
                    padding: 10px;
                }

                    .card-category-5 .per-card-3 .card-content .card-text span {
                        font-size: 13px;
                        color: #007368;
                    }

                .card-category-5 .per-card-3 .card-content .social-icons {
                    position: absolute;
                    top: 0;
                    width: 100%;
                    left: 0;
                    opacity: 0;
                    height: 0%;
                    background: #009688;
                    border-top: 1px solid #5eada5;
                    cursor: pointer;

                    -webkit-transition: all .5s ease-in-out;
                    -moz-transition: all .5s ease-in-out;
                    -o-transition: all .5s ease-in-out;
                    transition: all .5s ease-in-out;
                }

                    .card-category-5 .per-card-3 .card-content .social-icons i {
                        margin: 15px;
                        font-size:30px;
                        color: #fff;
                        cursor:pointer;

                        -webkit-transition: all .3s ease-in-out;
                        -moz-transition: all .3s ease-in-out;
                        -o-transition: all .3s ease-in-out;
                        transition: all .3s ease-in-out;
                    }

                    .card-category-5 .per-card-3 .card-content .social-icons i:hover {
                        -webkit-transform: scale(2);
                        -moz-transform: scale(2);
                        -o-transform: scale(2);
                        transform: scale(2);
                    }

                    .card-category-5 .per-card-3 .card-content .social-icons .card-btn {
                        position: absolute;
                        bottom: 10px;
                        text-align: center;
                        width: 100%;
                    }

                        .card-category-5 .per-card-3 .card-content .social-icons .card-btn button {
                            cursor: pointer;
                            width: 100%;
                            padding: 15px;
                            font-size: 18px;
                            color: #fff;
                            background: #03695f;
                            border: none;
                        }


@media only screen and (max-width: 480px) {
    .io-card-1 .card-content .card-text {
        display: none;
    }

    .io-card-1 .card-link {
        top:85px;
    }


}

@media only screen and (max-width: 360px) {
    .ioverlay-card .card-content {
        top: 10px;
    }

    .io-card-1 .card-link {
        top: 70px;
    }


}
.team_img{
    height: 300px;
    width: 100%;
    /* border-radius: 50%; */
    /* margin-bottom: 20px; */
}
.text-primary {
    color: #c41219 !important;
}
.text-dark {
    color: #000000 !important;
}

/* responsive */
@media (max-width:576px) {

    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        position: absolute;
        width: 100%;
        height:300px;
    }
    .carousel-header .carousel-inner .carousel-item {
        min-height: 300px;
    }
    .carousel-header .carousel-control-prev .carousel-control-prev-icon, .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 50%;
    }
        .carousel-header {
            height: 301px !important;
        }
        .about_img1 {
            height: 181px;
            width: 100%;
        }
        .counter-facts .counter {
            width: 75% !important;
        }
        .bg-breadcrumb {
            padding: 32px 0 38px 0;
        }
}
