/********** Template CSS **********/



html, body{
     overflow-x: hidden;
   }
:root {
    --primary: #AD181B;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #AD181B;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.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;
}


/*** Navbar ***/
#collapse-profile{
    color: black; 
    padding-left: 10px; 
    width: 130px; 
    font-weight: bold; 
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

#collapse-profile:hover{
    color: white;
    background-color: #AD181B;
}

.top-bar .navbar-brand img{
    height: 70px;
    width: 250px;
    margin-left: 0px;
}

.logo-des{
    color: black;
    font-size: 13px;
    font-weight: bold;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.mb-4{
    text-align: justify;
}

.sp-img{
    height: 250px;
    max-width: 250px;
    margin-right: auto;
    margin-left: auto;
}

.sp-img:hover{
    transform: scale(1.08);
    transition: transform .2s;
}

h3{
    margin-left: 0 auto;
    text-align: center;
   height: 110px;
    font-weight: bold;
    font-size: 23px;
    line-height: 35px;
}

#product{
    margin-left: auto;
    margin-right: auto;
}

#product .project-item img{
    height:250px;
    width: 250px;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#product .project-item .pro-name{
    height:50px;
    width: 250px;
}
.p-sidebar{
     width: 100%;
     height: auto;
     
     
     position:static;
     box-sizing: border-box;
     
     margin: auto;
     margin-bottom: 30px;
}

.secondary-sidebar{
     position: sticky;
     display:flex;
     flex-wrap: wrap;
     align-items: center;
     text-align: center;
}


.sidebar-btn.active{
     background-color: #AD181B;
}
.secondary-sidebar>h3{
     color: #AD181B;
     padding-left: 30px;
     padding-right: 20px;
     font-weight: bold;
}

.p-catagory{
     color: #AD181B;
     padding: 0px 20px;
     font-weight: bold;
     margin-bottom: 0px;
    margin-left: -20px;
    display: flex;
    flex-wrap: wrap;
}

.sidebar-btn {
     font-size: 15px;
     background-color: #040268;
     color: #fff;
     padding: 6px 10px;
     width: 200px;
     text-align: center;
     margin-top: 10px;
     transition: ease-in all 0.5s;
     font-weight: 500;
     border-radius: 5px;
     height: 40px;
}

.sidebar-btn:hover {
     background: #AD181B;
     color: #fff;
     transition: ease-in all 0.5s;
}


/* The sidebar menu */
.p-toggle-sidebar {
     height: 100%; /* 100% Full-height */;
     width: 0; /* 0 width - change this with JavaScript */
     position:fixed; /* Stay in place */
     z-index: 1; /* Stay on top */
     top: 0;
     left: 0;
     background-color: #111; /* Black*/
     overflow-x: hidden; /* Disable horizontal scroll */
     padding-top: 160px; /* Place content 60px from the top */
     transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
    
   }
   
   /* The sidebar links */
   .p-toggle-sidebar a {
     padding: 8px 8px 8px 32px;
     text-decoration: none;
     font-size: 18px;
     color: #f1f1f1;
     display: block;
     transition: 0.3s;
   }
   
   /* When you mouse over the navigation links, change their color */
   .p-toggle-sidebar a:hover {
     color: white;
     background-color: #AD181B;
   }
   
   /* Position and style the close button (top right corner) */
   .p-toggle-sidebar .closebtn {
     position: absolute;
     top: 0;
     right: 25px;
     font-size: 36px;
     margin-left: 50px;
   }

   .p-toggle-sidebar .closebtn:hover {
     background-color: #111;
     color: #AD181B;
   }
   
   /* The button used to open the sidebar */
   .openbtn {
     font-size: 20px;
     cursor: pointer;
     background-color: #040268;
     color: white;
     padding: 7px 10px;
     border: none;
     font-weight: bold;
   }
   
   .openbtn:hover {
     background-color: #AD181B;
   }
   
   /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
   #main {
     transition: margin-left .5s; /* If you want a transition effect */
     padding: 20px;
     display: none;
   }
   
   /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
   @media screen and (max-height: 450px) {
     .sidebar {padding-top: 15px;}
     .sidebar a {font-size: 18px;}
   }


   .product-container {
     display: flex;
     justify-content: start;
     align-items: start;
     gap: 40px;
     margin-top: 50px;
     margin-left: 50px;
     margin-right: 50px;
   }
   
   .img-card{
       width: 30%;
       
   }
   
   #featured-image {
     width: 400px;
     border-radius: 4px;
     height: auto;
     object-fit: cover;
     border: 1px solid gray;
   }
   
   .small-Card {
     display: flex;
     justify-content: start;
     align-items: center;
     margin-top: 15px;
     
     gap: 16px;
     width: 21.5%;
    height: 100%;
    
   }
   
   .small-Card img {
     width: auto;
     height: auto;
     border-radius: 4px;
     cursor: pointer;
     object-fit: cover;
     
   }
   
   .small-Card img:active {
     border: 1px solid #17696a;
   }
   
   .small-Card img:hover {
     border: 1px solid gray;
   }
   
   .product-info{
     width: 70%;
   }
   .product-info h3 {
     font-size: 25px;
     font-weight: bold;
     line-height: 130%;
     text-align: left;
     margin-bottom: -50px;
   }
   
   
   
   .product-info del {
     color: #a9a9a9;
   }
   
   .product-info p {
     color: #424551;
     margin: 15px 0;
     width: 98%;
     text-align: justify;
     
   }

   .product-info li{
     list-style-type: disc;
     color: #424551;
     margin-left: 10px;
     line-height: 30px;
     font-size: 15px;

   }

   .product-info ul{
    margin-top: 30px;
   }

   .product-details-btn {
     font-size: 14px;
     background-color: #040268;
     color: #fff;
     padding: 13px;
     width:auto;
     margin-top: auto;
     text-align: center;
     display: inline-block;
     transition: ease-in all 0.5s;
     font-weight: 500;
     border-radius: 5px;
     height: auto;
}

.product-details-btn:hover {
     background: #AD181B;
     color: #fff;
     transition: ease-in all 0.5s;
}

.product-back-btn {
     font-size: 14px;
     background-color: #AD181B;
     color: #fff;
     padding: 13px;
     width:auto;
     margin-bottom: 15px;
     text-align: center;
     display: inline-block;
     transition: ease-in all 0.5s;
     font-weight: 500;
     border-radius: 5px;
     height: auto;
}

.product-back-btn:hover {
     background: white;
     color: black;
     transition: ease-in all 0.5s;
}



.fil-p{
     padding: 15px 15px;
     background-color: white;
     margin: 7px 0;
     cursor: pointer;
     color: #333;
     text-align: justify;
}

.fil-p:hover{
     color: #E20618;
     background-color: #aaa;
}

.service-expert{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.service-expert p i:hover{
    color: #AD181B;
    cursor: pointer;
}

.service-email{
    margin-left: 20px;
}


@media (max-width: 991.98px) {
    #collapse-profile{
        display: block;
    }

    .carousel-caption h1{
        font-size: 40px;
    }
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }

    #product .product-item{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .img-card{
       width:auto;
       
   }
    .product-info{
     width: auto;
   }

   .product-info p {
     margin-top: 0px;
   }

   .product-info h3{
    margin-bottom: 0px;
   }
   
}

@media (min-width: 992px) and (max-width: 1399px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    #product .product-item{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .img-card{
       width:auto;
       
   }
    .product-info{
     width: auto;
   }
   #footer-img{
    width: 100%;
    
   }
}


/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;

}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #collapse-profile{
        display: block;
    }
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #product .product-item{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    #product .project-item img{
    height:auto;
    width: auto;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#product .project-item .pro-name{
    height:auto;
    width: auto;
}

    .product-container {
     display: block;
   }

   .img-card{
       width:100%;
       align-items: center;
       justify-content: center;
       text-align: center;
       margin-right: 50px;
   }

   #featured-image {
     width:220px;
     margin-left: 0px;
     margin-right: 0px;
     
   }
    .product-info{
     width:100%;
     margin-top: 30px;
   }

   .product-info p{
    margin-top: 30px;
   }

   .product-info h3{
    margin: auto;
   }

   #main{
    display: block;
    margin-left: -20px;
}

.secondary-sidebar{
    display: none;
}

.navbar{
    position: inherit;
}
.client-carousel .client-item{
    margin-left: -25px;
    margin-bottom: -70px;
}

.service-expert{
    display: inline-block;
    
}

.service-email{
    margin-left: 0px;
}

}



#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}


/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/

.client-item{
    height: 200px;
    width: 200px;
    cursor: grab;
}
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}



.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
    
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


.project-carousel2 .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel2 .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel2 .owl-dot:hover,
.project-carousel2 .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}

/***products ***/

 .product-item{
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(4,1fr); */
    gap: 20px;
}



/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 160px;
    height: 160px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

/* .testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
} */

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/

.footer-logo img{
    height: 100px;
    width: 100%;
    margin-bottom: 20px;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    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;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .mb-2{
    text-align: justify;
}

table {
     border-collapse: collapse;
     
   }
   
   table{
     border: 1px solid #AD181B;
   }

   td{
     padding-left: 20px;
     padding-right: 10px;
     padding-top: 5px;
     padding-bottom: 5px;
   }
   th{
     padding-left: 10px;
   }

.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);
}