*{
    box-sizing: border-box;
}
.up{
    position: fixed;
    bottom: 10px;
    right: 20px;
    background-color: #ec1c23;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-size: 20px;
    z-index: 10;
    display: none;
}
/* start upper bar */
.upper-bar{
    background-color: #08526d;
    color: #fff;
}
.upper-bar .info{
    margin: 15px 0;
}
@media (max-width: 576px) {
    .upper-bar .info:first-child{
        margin-bottom: 0;
    }
}
.upper-bar span{
    color: #bfc6c9;
}
.upper-bar .get-quote{
    display: inline-block;
    border: 1px solid #6d9cae;
    padding: 2px 10px;
    margin-left: 20px;
}
@media (max-width: 576px) {
    .upper-bar .get-quote{
        border: none;
        margin-left: 5px;
    }
}
.upper-bar .left{
    text-align: left;
}
.upper-bar .right{
    text-align: right;
}
/* end upper bar */
/* start navbar */

.navbar-brand span{
    font-size: 35px;
}
.navbar-brand span:first-child{
    color: #08526d;
    font-weight: bold;
}
.navbar-brand span:last-child{
    color: #ec1c23;
}
.navbar-nav .nav-link{
    font-size: 16px;
    text-transform: uppercase;
    margin-left: 20px;
    color: #08526d;
    font-weight: 500;
}
.navbar-nav .nav-link.active{
    color: #ec1c23;
}
/* end navbar */
/* start slider */
.slider{
    background-color: #ddd;
}
.carousel-item{
    background-size: cover;
}
.slider .carousel-one{
    background-image: url(../photo/1.jpg);
}
.slider .carousel-tow{
    background-image: url(../photo/4.jpg);
}
.slider .carousel-three{
    background-image: url(../photo/3.jpeg);
}
.carousel-indicators [data-bs-target]{
    height: 5px;
}
.slider .carousel-inner {
    /* position: relative; */
    display: flex;
    align-items: center;
    justify-content: left;
}

.carousel-indicators{
z-index: 3;
}
.slider .carousel-inner .over-lay{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00000063;
}
.slider .carousel-inner h2{
    position:absolute;
    z-index: 2;
    color: white;
    font-size: 60px;
    line-height: 1.5;
    max-width: 900px;
    left: 100px;
}
@media (max-width: 992px) {
    .slider .carousel-inner h2{
        font-size: 50px;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .slider .carousel-inner h2{
        font-size: 35px;
        max-width: 100%;
    }
}
@media (max-width: 576px) {
    .slider .carousel-inner h2{
        font-size: 25px;
        max-width: 100%;
        left: 30px;
    }
}
.slider .carousel-inner h2 span{
    background-color: #ec1c23;
    border-radius: 6px;
    display: inline-block;
    padding: 2px 10px;
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
    z-index: 2;
}
/* end slider */
/* start featuers */
.featuers{
    padding: 50px 0;
}
.featuers i{
    background-color: #ed1d24;
    padding: 12px;
    margin-bottom: 10px;
    color: white;
}
.featuers h3{
    color: #08526d;
    font-size: 23px;
}
.featuers p{
    color: #603b3b;
    margin-bottom: 30px;
}
/* end featuers */

/* start overview */
.overview{
    padding: 100px;
    background-color: #f0f5f7;
}
@media (max-width: 576px) {
    .overview {
        padding: 90px 0;
    }
}
.overview h2{
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 30px;
}
@media (max-width: 992px) {
    .overview h2{
        font-size: 30px;
        margin-bottom: 15px;
    }
}
@media (max-width: 576px) {
    .overview h2{
        font-size: 25px;
    }
}
.overview p{
    line-height: 2;
    font-size: 20px;
    width: 80%;
    margin:0 auto 15px;
    color: #6a6a6a;
}
@media (max-width: 992px) {
    .overview p{
        font-size: 20px;
        width: 100%;
    }
}
@media (max-width: 576px) {
    .overview p{
        font-size: 15px;
    }
}
.overview h4 {
    letter-spacing: 2px;
    font-weight: normal;
    color: #8b8a8a;
    margin-bottom: 40px;
}
.overview button{
    background-color: #ed1d24;
    color: white;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid #ed1d24;
}
/* end overview */
/* start featured-work */
.featured-work{
    padding: 100px 0;
}
.featured-work h2{
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
}
.featured-work p{
    line-height: 1.6;
    font-size: 20px;
    width: 80%;
    margin:0 auto 15px;
    color: #6a6a6a;
}
.featured-work ul{
    margin-top: 40px;
    margin-bottom: 50px;
}
.featured-work ul li{
    color: #08526d;
    border: 2px solid #08526d;
    margin: 0 5px;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 0.4s;
}
.featured-work ul li.active,
.featured-work ul li:hover{
    color: white;
    background-color: #ec1c23;
    border: 2px solid #ec1c23;
}
.featured-work ul li:hover{
    cursor: pointer;
}
.featured-work .shuffle-images{
    background-color: #ededed;
}
.featured-work .shuffle-images .row{
    margin: 0;
}
.featured-work .shuffle-images .row .col-md{
    padding: 0;
    transition: 0.6s;
}
.featured-work .row img{
    width: 100%;
}
/* end featured-work */
/* start latest-post */
.latest-post{
    padding: 0 0 100px;
}
.latest-post h2{
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
}
.latest-post .section-des{
    line-height: 1.6;
    font-size: 20px;
    width: 80%;
    margin:0 auto 15px;
    color: #6a6a6a;
}
.latest-post .card{
    margin-top: 20px;
}
.latest-post .card .card-title{
    font-size: 20px;
    line-height: 1.5;
    color: #08526d;
}
.latest-post .card .card-text{
    color: #787878;
}
.latest-post .card .card-link{
    text-decoration: none;
    color: #ec1c23;
    font-weight: bold;
}
/* end latest-post */
/* start testimonials */
.testimonials{
    background-image: url(../photo/3.jpeg);
    background-size: cover;
    position: relative;
    /* height: 600px; */
}
.testimonials .overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00000063;
}
.testimonials .carousel-caption{
    top: 50%;
    margin-top: -158px;
}
.testimonials .carousel-caption img{
    margin-bottom: 30px;
}
.testimonials .carousel-caption h3{
    margin-bottom: 10px;
}
.testimonials .carousel-caption h3 + span{
    font-size: 18px;
    display: inline-block;
    margin-bottom: 30px;
}
.carousel-inner{z-index: 2;}
.d-block {border-radius: 50%;
margin: auto;}
/* end testimonials */
/* start pricing table */
.pricing-table{
    padding: 100px 0 100px;
    background-color: #f7f7f7;
}
@media (max-width: 992px) {
    .pricing-table {
        padding: 100px 0 65px;
    }
}
.pricing-table h2{
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
}
@media (max-width: 540px) {
    .pricing-table h2{
        font-size: 25;
    }
}
.pricing-table .section-des{
    line-height: 1.6;
    font-size: 20px;
    width: 80%;
    margin:0 auto 85px;
    color: #6a6a6a;
}
@media (max-width: 992px) {
    .pricing-table .section-des{
        margin-bottom: 40px;
    }
}
@media (max-width: 540px) {
    .pricing-table .section-des{
        font-size: 15;
    }
}
.pricing-table .card{
    margin-top: 20px;
}
.pricing-table .card .card-body{
    padding: 0;
}
.pricing-table .card .card-title{
    font-size: 25px;
    /* padding: 40px 0 10px; */
    margin-top: 40px;
    color: #08526d;
    font-weight: bold;
}
.pricing-table .card .card-text{
    color: #08526d;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 30px;
    margin:30px 0 10px;
    padding: 10px;
    background-color: #f7f7f7;
}
.pricing-table .card .card-text > span{
    color: #08526d;
    font-weight: bold;
    font-size: 15px;
}

.pricing-table .tow .card-text,
.pricing-table .tow .card-text > span{
    background-color: red;
    color: white;

}
.pricing-table .card.tow .card-link{
    background-color: #08526d;
}
@media (min-width: 992px) {
    .pricing-table .card.tow{
        position: relative;
        top: -20px;
    }
}
.pricing-table .card .card-link{
    text-decoration: none;
    display: inline-block;
    color: white;
    background-color: #ec1c23;
    font-weight: bold;
    margin-bottom: 30px;
    padding: 10px 15px;
    font-size: 20px;
    margin-top: 15px;
}
.list-group-item{
    border: none;
    margin: 10px 0;
}
/* end pricing table */
/* start choose us */
.choose-us img{
    max-width: 100%;
    height: 100%;
}
.choose-us .info{
    padding: 0;
}
.choose-us .info:last-child{
    background-color: #08526d;
    color: white;
    padding-top: 50px;
}
.choose-us .h1{
    margin: 10px 40px;
}
.choose-us p{
    margin: 40px;
    line-height: 2;
}

.choose-us .read-more{
    display: inline-block;
    padding: 6px 20px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 0 20px 40px;
    background-color: #ed1d24;
    color: white;
    font-size: 22px;
}
/* end choose us */
/* start stats */
.stats{
    padding: 100px 0;
    color: #08526d;
}
.stats span{
    font-size: 50px;
    font-weight: bold;
}
.stats p{
    color: #ec1c23;
    font-size: 20px;
    font-weight: bold;
}
/* end stats */
/* start contact-us */
.contact-us{
    background-color: #ec1c23;
    padding: 80px;
    color: white;
}
.contact-us p{
    font-size: 30px;
    font-weight: bold;
    text-transform: capitalize;
}
@media (max-width: 768px) {
    .contact-us{
        padding: 30px 0;
    }
    .contact-us p{
        margin-bottom: 30px;
    }
}
.contact-us a{
    display:inline-block;
    padding: 10px;
    text-decoration: none;
    background-color: #ec1c23;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    font-size: 25px;
}
/* end contact-us */
/* start footer */ 
.footer{
    padding: 100px 0;
}
@media (max-width: 992px) {
    .footer{
        padding: 50px;
    }
}
.footer .site-info h2{
    font-size: 50px;
    margin-bottom: 35px;
}
@media (max-width: 992px) {
    .footer .site-info h2{
        margin-bottom: 10px;
    }
}
.footer .site-info h2 span:first-child{
    color: #08526d;
    font-weight: bold;
}
.footer .site-info p{
    line-height: 1.8;
    color: #727272;
}
.footer .site-info a{
    color: #08526d;
    font-size: 15px;
    font-weight: bold;
}
.footer .site-info a::before{
    font-family: "FontAwesome";
    content: "\f138";
    display: inline-block;
    margin-right: 5px;
}
.footer .site-info h2 span:last-child{
    color: #ec1c23;
}
.footer .helpful-links h2,
.footer .contact h2{
    font-size: 20px;
    font-weight: bold;
    color: #08526d;
    margin-bottom: 45px;
    margin-top: 20px;
}
@media (max-width: 992px) {
    .footer .helpful-links h2,
.footer .contact h2{
    margin-bottom: 10px;
    margin-top: 25px;
    }
.footer .contact ul li {
    margin-bottom: 5px;
    }
}
.footer .helpful-links ul li{
    padding: 5px 0;
}
.footer .helpful-links ul li::before{
    font-family: "FontAwesome";
    content: "\f054";
    margin-right: 5px;
    color: #08526d;
}
.footer .contact ul li{
    margin-bottom: 25px;
}
@media (max-width: 992px) {
.footer .contact ul li {
    margin-bottom: 5px;
    }
}
/* end footer */
/* start copyright */
.copyright{
    border-top: 1px solid rgb(163, 163, 163);
    padding: 20px;
}
.copyright ul{
    margin: 0;
}
.copyright ul li{
    display: inline-block;
    margin-left: 20px;
    font-size: 18px;
}
.copyright ul li a{
    color: #777;
    transition: 0.4s;
}
.copyright ul li a:hover{
    color: rgb(54, 142, 251);
}
/* end copyright */
