/********** Template CSS **********/
:root {
    --primary: #1D1F34;
    --light: #F5F5F5;
    --dark: #353535;
}
body{font-family: 'Cairo', sans-serif;}

.breadcrumb-item a {
    color:#1D1F34
}
.breadcrumb-item a:hover {
    color:#1D1F34
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    font-family: 'Cairo', sans-serif;
}

.btn.btn-primary, .btn.btn-secondary {
    color: #FFFFFF;
    background: #EC2A2F;
    border: 1px solid #EC2A2F;
  }

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.text-primary {
    color: #88bbc4 !important;
  }

header {
    background:#1D1F34;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

 .navbar-brand
 {
    margin: 10px 0px !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-nav .nav-link {
    color:#fff;
}


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
      padding-right: 25px;
      padding-left: 25px;
    }
  }

/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
    .col-lg-8.contact-text.p-5.wow.fadeIn {
        padding: 10px 0px!important;
    }
    .container.valueabout {
        padding: 20px!important;
    }
    a.navbar-brand{width: 50%!important;}
    nav.navbar.navbar-expand-lg.bg-white.navbar-light.sticky-top.p-0 img {
        width: 100%!important;
    }
    .section-title h1 {
        margin-top: 15px!important;
        margin-bottom: 10px!important;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: url(../img/breadcrum.jpg) center center no-repeat;
    background-size: cover;
}

/* .breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
} */


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    /* padding: 0 60px; */
}

.section-title.text-start h1 {
    padding-left: 0;
}

/* .section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
} */

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.1);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: 10px;
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: 10px;
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: 10px;
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
/* .ms-auto {
    margin-left: 22% !important;
  } */
  .row.bg-grey {
    background: #f8f8f8;
    margin: 0;
    
}

.valueabout{padding: 20px 100px;
    margin-bottom: 20px;}
    .sidebar {
        padding: 30px;
        /* box-shadow: 0px 0 1px 2px #ddd; */
        /* border: 1px solid; */
      }
      .sidebar-title {
        font-size: 20px;
        font-weight: 700;
        padding: 0;
        margin: 0;
        color: var(--color-secondary);
      }
      .sidebar .search-form form {
        background: var(--color-white);
        border: 1px solid rgba(var(--color-secondary-rgb), 0.3);
        padding: 3px 10px;
        position: relative;
      }
      .sidebar .search-form form input[type="text"] {
        border: 1px solid;
        padding: 4px;
        border-radius: 4px;
        width: calc(100% - 40px);
      }
      .sidebar .search-form form button {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        border: 0;
        background: none;
        font-size: 16px;
        padding: 0 15px;
        margin: -1px;
        background: var(--color-primary);
        color: var(--color-white);
        transition: 0.3s;
        border-radius: 0 4px 4px 0;
        line-height: 0;
      }
      .sidebar .sidebar-item + .sidebar-item {
        margin-top: 40px;
      }
      .sidebar .categories ul {
        list-style: none;
        padding: 0;
      }
      .sidebar .categories ul li {
        margin-bottom: 10px;
        list-style-type: square;
        background: #1D1F34;
        padding: 5px;
        color: #fff;
      }
      .sidebar .categories ul li >:hover{
        cursor: pointer;
      }
      .sidebar .categories ul a {
        color: var(--color-secondary);
        transition: 0.3s;
      }
      .mt-3{margin-top:10px;}
      .container.py10{padding:10px;}
      /* .col-lg-6.about-text.py-5.wow.fadeIn p {
        font-size: 14px;
        line-height: 27px;
        text-align: justify;
      }
      .service-item h4 {
        font-size: 20px;
    }
    .service-item p {
        font-size: 14px;
    }
    .container.valueabout p {
        font-size: 15px;
        text-align: justify;
    } */

    /* contact css */
    .info-wrap {
        color: rgba(255, 255, 255, 0.8);
      }
      .bg-primary {
        background: #1D1F34 !important;
      }
      .info-wrap h3 {
        color: #fff;
      }
      .info-wrap .dbox {
        
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 25px;
      }
      .w-100 {
        width: 100% !important;
      }
      .align-items-start {
        
        align-items: flex-start !important;
      }
      .d-flex {
        
        display: flex !important;
      }
      .info-wrap .dbox .icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.2);
      }
      .info-wrap .dbox .icon span {
        font-size: 20px;
        color: #fff;
      }
      .info-wrap .dbox .text {
        width: calc(100% - 50px);
      }
      .info-wrap .dbox p {
        margin-bottom: 0;
        margin-left: 10px;
      }
      .info-wrap .dbox p span {
        font-weight: 500;
        color: #fff;
      }
      .col-lg-4.col-md-5.d-flex.align-items-stretch {
        margin: 0;
        padding: 0;
    }
    .col-lg-8.contact-text.py-5.wow.fadeIn{border: 1px solid #ddd;}
    .ms-right{margin-right: 0px;}
    .display-3.mb-3.animated.slideInDown {
        font-size: 45px;
        color: #222!important;
      }
      .abimg{float: left;
        margin-right: 25px;}
        .media-carousel 
        {
          margin-bottom: 0;
          padding: 0 40px 30px 40px;
          margin-top: 30px;
        }
        /* Previous button  */
        .media-carousel .carousel-control.left 
        {
          left: -12px;
          background-image: none;
          background: none repeat scroll 0 0 #222222;
          border: 4px solid #FFFFFF;
          border-radius: 23px 23px 23px 23px;
          height: 40px;
          width : 40px;
          margin-top: 30px
        }
        /* Next button  */
        .media-carousel .carousel-control.right 
        {
          right: -12px !important;
          background-image: none;
          background: none repeat scroll 0 0 #222222;
          border: 4px solid #FFFFFF;
          border-radius: 23px 23px 23px 23px;
          height: 40px;
          width : 40px;
          margin-top: 30px
        }
        /* Changes the position of the indicators */
        .media-carousel .carousel-indicators 
        {
          right: 50%;
          top: auto;
          bottom: 0px;
          margin-right: -19px;
        }
        /* Changes the colour of the indicators */
        .media-carousel .carousel-indicators li 
        {
          background: #c0c0c0;
        }
        .media-carousel .carousel-indicators .active 
        {
          background: #333333;
        }
        .media-carousel img
        {
          width: 250px;
          height: 100px
        }
        /* End carousel */

        .gallery_sec{
            width:100%;
          }
          .heading{
            width:100%;
            text-align:center;
          }
          .heading h2{
            font-size:30px;
            font-weight:bold;
            border-bottom:2px solid #000;
            padding-bottom:25px;
          }
          .gallery_sec img{
           max-width:100%;
            /* margin-bottom:30px;
            height:250px;
            border:1px solid lightgrey;  */
          }
          
          .gallery_sec a {
              position: relative;
              border: 1px solid #ddd;
              display: block;
              transition: 0.3s ease-in-out;
              -webkit-transition: 0.3s ease-in-out;
              -moz-transition: 0.3s ease-in-out;
              -ms-transition: 0.3s ease-in-out;
              -o-transition: 0.3s ease-in-out;
          }
          
          
          .gallery_sec a::before {
              position: absolute;
              content: "";
              width: 30px;
              height: 30px;
              background: none;
              background-size: contain;
              background-repeat: no-repeat;
            top:45%;
            left:50%;
            transform:translate(-50%, -50%);
          }
          
          .gallery_sec img {
              transition: 0.3s ease-in-out;
              -webkit-transition: 0.3s ease-in-out;
              -moz-transition: 0.3s ease-in-out;
              -ms-transition: 0.3s ease-in-out;
              -o-transition: 0.3s ease-in-out;
          }
          
          .gallery_sec a:hover img {
              position: relative;
              max-width: 100%;
          }
          
          .gallery_sec a:hover img {
              opacity: 0.2;
          }
          
          .gallery_sec a:hover::before {
              position: absolute;
              content: "";
              width: 50px;
              height: 50px;
              /*background: url(https://i.ibb.co/3fMkjjF/Resize.png);*/
              background-size: contain;
              background-repeat: no-repeat;
              z-index: 99;
          }

       
        .head-style{
          
            font-size: 30px;
            color: #1D1F34;
        }
        .font-30{
            font-size: 30px ;
        }

        ul{
            list-style: none !important;
        }
        .activem {
            color: #fff !important;
            background: #EC2A2F;
          }
        .sidebar .categories ul li.activecl {
            color: #fff aliceblue !important;
            background: #EC2A2F !important;
          }
        .p-4.text-center.border.border-5.border-light.border-top-0 p {
            color: #222;
        }
        .text-dark {
            color: #fff !important;
        }

        @media only screen and (max-width: 600px) {
            .bantext h1 {
                font-size: 30px !important;
            }

            .navbar{
                margin-bottom: 10px !important;
            }
        }
        .service-item h4 {
            font-size: 17px;
            text-transform: capitalize;
        }