/********** Template CSS **********/
:root {
    --primary: #d03b32;
    --light: #edd5d5;
    --dark: #0c3b69;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

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

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.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 img {
        width: 120px;
        height: 120px;
    }

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

.header_logo h1 {
    font-style: italic;
    font-size: 30px;
}
/*** Topbar Start ***/

.container-fluid .nav-link {
    border: 1px solid white;
}

    .container-fluid .nav-link h5 {
        margin-top: 10px;
    }
/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

    .btn.btn-primary,
    .btn.btn-secondary {
        color: #FFFFFF;
        border-radius: 40px;
    }

.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;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #ffffff;
    border-radius: 50%;
}

    .btn-outline-body:hover {
        color: #FFFFFF;
        background: var(--primary);
        border-color: var(--primary);
    }


/*** Navbar ***/
.navbar .header_logo img {
    width: 15%;
    height: 15%;
}

.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: 30px 0;
    color: var(--dark);
    font-weight: 900;
    text-transform: uppercase;
    outline: none;
}

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

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

.navbar .collapse d-lg-block {
    border-radius: 15px;
}

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

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-70deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
.silde-inner-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}


.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-4.jpg) center center no-repeat;
    background-size: cover;
}

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


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/*Why choose us*/
.img-border {
    margin-top: 135px;
    position: relative;
    height: 100%;
    min-height: 400px;
}

    .img-border::before {
        position: absolute;
        content: "";
        width: 50%;
        height: 70%;
        top: -5%;
        right: 60%;
        border: 3px solid var(--primary);
        z-index: -3;
        border-radius: 6px;
    }

.container-xxl .fadeInUp p {
    text-align: justify;
}

.img-border .img-fluid {
    border-radius: 20px;
}

.container-xxl .container .fadeInUp button {
    border-radius: 15px;
}

.tab-content .position-relative img {
    border-radius: 10px;
}

.tab-content .col-md-6 a {
    border-radius: 15px;
}

.container-xxl .about-img .img-fluid {
    border-radius: 10px;
}

.team-item {
    padding: 0.40rem;
}

/*** Service ***/
.service-item .service-text {
    background: #F8F8F8;
    transition: .5s;
    border-radius: 50px;
}

.service-item:hover .service-text {
    background: #f2d9d8;
}

.service-item .btn {
    width: 150px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 20px;
}

/*** Portfolio ***/
.portfolio-item {
    padding: 30px;
    text-align: center;
}

    .portfolio-item h3 {
        margin-top: 0px;
        margin-bottom: 30px;
        padding-bottom: 8px;
        font-size: 23px;
        width: 100%;
        border-bottom: 1px solid #d9dde5;
    }

    .portfolio-item .text-content {
        background-color: #fff;
        padding: 20px 20px 10px 20px;
    }

    .portfolio-item p {
        margin-top: 15px;
        text-align: justify;
    }

    .portfolio-item img {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

.location {
    font-size: 17px;
    color: #f2745f;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    position: absolute;
    margin-top: -40px;
    background-color: rgba(250, 250, 250, 0.9);
}

/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

    .project .nav .nav-link.active {
        background: var(--primary);
    }

        .project .nav .nav-link.active h3 {
            color: #FFFFFF !important;
        }


/*** Footer ***/
.footer p {
    color: white;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    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(--primary);
        margin-right: 10px;
    }

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

.footer .form-control {
    border-color: #777777;
}

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

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

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

.container-fluid .me-6 {
    height: 90%;
    border-radius: 50px;
}

/*Contact Us*/
.info-item {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    padding: 20px 0 30px 0;
}

    .info-item i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        font-size: 24px;
        line-height: 0;
        color: var(--color-primary);
        border-radius: 50%;
        border: 2px dotted var(--dark);
    }

    .info-item h3 {
        font-size: 20px;
        color: #6c757d;
        font-weight: 700;
        margin: 10px 0;
    }

    .info-item p {
        padding: 0;
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

.php-email-form {
    width: 100%;
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

/* about */

.about_pic img {
    width: 100%;
    -webkit-transition: transform 0.9s ease;
    -o-transition: transform 0.9s ease;
    -moz-transition: transform 0.9s ease;
    transition: transform 0.9s ease;
}

.Pic_Border {
    position: relative;
    z-index: 1;
}

    .Pic_Border::before {
        bottom: -21px;
        left: -21px;
    }

    .Pic_Border::before {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        border: 3px solid var(--primary);
    }

/* Blog Section*/
.post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.post-img img {
    transition: 0.5s;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    padding: 5px;
    box-shadow: 2px 2px 5px #edd5d5;
}

.post-content {
    padding: 30px;
}

.post-item {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.position-relative {
    position: relative !important;
}

.blog-pagination {
    margin-top: 30px;
    color: var(--primary);
}

    .blog-pagination ul {
        display: flex;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .blog-pagination li {
        margin: 0 5px;
        transition: 0.3s;
    }

        .blog-pagination li a {
            color: #ffffff;
            padding: 7px 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .blog-pagination li.active, .blog-pagination li:hover {
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
        }

/* Portfolio */

#portfolio .folio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

    #portfolio .folio-item img {
        transition: 0.5s;
    }

    #portfolio .folio-item:hover img {
        transform: scale(1.2);
    }

    #portfolio .folio-item .folio-title {
        position: absolute;
        top: -1px;
        left: -1px;
        padding: 20px;
        border-top-right-radius: 40px;
        border-top-left-radius: 20px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 80px;
        color: #ffffff;
    }

/*Gallery*/
.Gallery-item {
    padding: 6px;
}

    .Gallery-item img {
        border-radius: 10px;
    }
