/* ----------------------
[Table of contents]
 
01.Default CSS
02.Preloader CSS
03.Top Header CSS
04.Navbar CSS
05.Sidemenu CSS
06.Page Title CSS
07.Main Banner CSS
08.About CSS
09.Services CSS
10.Quote CSS
11.Blogs CSS
12.Team CSS
13.Achievements CSS
14.Testimonials CSS
15.Footer CSS
16.About Us Page CSS
17.Blogs Detail Page CSS


 --------------------------*/


/*======================================
 ============== Default CSS =============
 ======================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    overflow-x: hidden;
}

header {
    overflow-x: hidden;
}

 :root {
    --primary: #680000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
}

section {
    padding: 100px 0;
    overflow-x: hidden;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

p {
    font-size: 15px;
    padding: 0;
    margin: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    margin-top: -6px;
}

.section-title h2 {
    font-size: 35px;
}

.section-title span {
    color: var(--primary);
    font-weight: bold;
}

a {
    text-decoration: none;
    font-size: 15px;
    color: #000;
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

a:hover {
    color: #000;
    text-decoration: none;
}

.btn {
    color: var(--primary);
    background-color: transparent;
    padding: 5px 14px;
    border: 1px solid var(--primary);
    border-radius: 0px;
    position: relative;
    overflow: hidden;
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.btn::before {
    content: "";
    height: 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.btn span {
    position: relative;
    text-transform: uppercase;
}

.btn:focus {
    box-shadow: none;
}

.btn:hover {
    color: #fff;
}

.btn:hover::before {
    height: 100%;
}

.pb-70 {
    padding-bottom: 70px;
}

.pb-50 {
    padding-bottom: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.color-black {
    color: #000!important;
}

.color-white {
    color: #fff!important;
}

.color-primary {
    color: var(--primary)!important;
}

.dark {
    filter: brightness(70%);
}

.bold {
    font-weight: bold;
}

.bold-500 {
    font-weight: 500;
}

.bold-600 {
    font-weight: 600;
}

.fs-18 {
    font-size: 18px;
}

.fs-16 {
    font-size: 16px;
}

.fs-15 {
    font-size: 15px;
}

.fs-14 {
    font-size: 14px;
}

.uppercase {
    text-transform: uppercase;
}

.underline {
    text-decoration: underline;
}

.italic {
    font-style: italic;
}

.align {
    align-self: center;
}

.relative {
    position: relative;
}

.no-overflow {
    overflow: hidden;
}

.transition {
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.form-control {
    height: 50px;
    border-radius: 0px;
    background: transparent;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px 0 var(--primary);
}

textarea {
    height: unset!important;
}

.sticky {
    position: fixed;
    top: -60px;
    left: 0;
    width: 100%;
    z-index: 9;
    transform: translateY(60px);
    transition: 1s all ease;
    -webkit-transition: 1s all ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
}


/*======================================
   ============ PreLoader CSS =============
   ======================================== */

.loader-wrap {
    position: fixed;
    z-index: 999999;
    background: #fff;
    width: 100%;
    height: 100%;
}

.loader {
    width: 80px;
    height: 67px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader .square {
    background: var(--primary);
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 3px;
    animation: motion 2s infinite cubic-bezier(0.89, 0.03, 0.06, 1.5);
}

.loader .path {
    height: 10px;
    width: 80px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
}

.loader .path>div {
    background: #222;
    width: 10px;
    height: 10px;
    margin: 0 15px;
    position: absolute;
    top: 0;
    left: 0;
    animation: dynamic 4s infinite cubic-bezier(0.89, 0.03, 0.06, 1.5);
}

.loader .path>div:nth-child(1) {
    left: 0px;
}

.loader .path>div:nth-child(2) {
    left: 40px;
}

.loader .path>div:nth-child(3) {
    left: 80px;
}

.loader .path>div:nth-child(4) {
    left: 120px;
}

.loader .path>div:nth-child(5) {
    left: 160px;
}

.loader .path>div:nth-child(6) {
    left: 200px;
}

@keyframes motion {
    50% {
        transform: rotate(90deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

@keyframes dynamic {
    0% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-40px);
    }
    50% {
        transform: translateX(-80px);
    }
    75% {
        transform: translateX(-120px);
    }
    100% {
        transform: translateX(-160px);
    }
}


/*======================================
   ============ Top Header CSS ============
   ======================================== */

.top-header {
    background-color: #f9f9f9;
    padding: 15px 0;
}

.top-header-contact-box {
    border: 1px solid #e8e8e8;
    cursor: pointer;
}

.top-header-contact-box-icon i {
    color: var(--primary);
    font-size: 14px;
}

.top-header-contact-box-txt a {
    font-size: 13px;
}

.top-header-contact-box-icon {
    padding: 5px 10px;
    border-right: 1px solid #e8e8e8;
}

.top-header-contact-box-txt {
    padding: 5px 10px;
}


/*======================================
   ================ Navbar CSS ============
   ======================================== */

.navbar {
    background-color: var(--primary);
}

.nav-item {
    padding: 0 8px;
}

.nav-link {
    color: #fff!important;
    position: relative;
    font-weight: 500;
    display: inline-block;
    padding: 5px 0!important;
}

.navbar-brand {
    font-family: 'Cookie', cursive;
    color: #fff!important;
    font-weight: bold;
    font-size: 30px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(to right, #fff, #680000);
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    box-shadow: none!important;
    border: none!important;
    border-radius: 0;
}

.navbar-toggle-icon {
    color: #fff;
    font-size: 20px;
}

.nav-search-box {
    position: relative;
    padding: 0 12px 0 10px;
}

.nav-search-box1 {
    display: inline;
    position: relative;
}

#search-box,
#search-box1 {
    position: absolute;
    bottom: -98px;
    right: 0px;
    width: 250px;
    z-index: 9;
    background-color: #fff;
}

.nav-search-icon i::before {
    content: "\f002";
}

.nav-search-icon:not(.collapsed) i::before {
    content: "\f00d";
    font-size: 18px;
}

#search-box form,
#search-box1 form {
    padding: 15px;
}

#search-box .form-control {
    box-shadow: none;
}

.form-icon {
    position: absolute;
    top: 12px;
    right: 10px;
    background: none;
    border: none;
}


/*======================================
   =============== Sidemenu CSS ===========
   ======================================== */

.offcanvas-header {
    display: block!important;
}

.offcanvas-header .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    box-shadow: none!important;
}

.offcanvas-body::-webkit-scrollbar {
    display: none;
}


/*======================================
   ============= Page Title CSS ===========
   ======================================== */

.page-title-area {
    background-image: url(../images/title-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    position: relative;
}

.page-title-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000000b2;
    height: 100%;
    width: 100%;
}


/*======================================
   ============ Main Banner CSS ===========
   ======================================== */

#main-carousel .item {
    height: 85vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: grabbing;
}

#main-carousel .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #000, transparent);
    height: 100%;
    width: 100%;
}

.main-textarea {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 100%;
}

.main-heading {
    font-size: 55px;
}

.main-textbox {
    width: 50%;
}

.main-btn {
    color: #fff;
    background-color: var(--primary);
}


/*======================================
   ================ About CSS ============
   ======================================== */

#about {
    background-image: url(../images/about/about-bg.jpg);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #ffffff94;
}


/*======================================
   ============= Services CSS ============
   ======================================== */

.services-box {
    position: relative;
    padding: 5px 0;
}

.services-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0%;
    box-shadow: 0 0 5px 0 #00000021;
    background-color: #e8e8e84a;
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.services-box:hover::before {
    width: 100%;
}

.services-txt {
    position: relative;
    user-select: none;
}

.services-img {
    position: relative;
}

.services-txt h4 {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}


/*======================================
   ================= Quote CSS ============
   ======================================== */

#quote {
    background-image: url(../images/quote-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.quote-form {
    background-color: #0000007c;
    padding: 20px 15px;
}

.quote-form .form-control {
    background: transparent!important;
    color: #fff;
}

.quote-form .nice-select {
    background: transparent;
}

.quote-form .nice-select span {
    color: #fff;
}

.quote-form .btn {
    padding: 10px;
    background-color: var(--primary);
    color: #fff;
}


/*======================================
   =============== Blogs CSS ==============
   ======================================== */

.blog-textarea {
    position: relative;
    margin-top: -40px;
    background-color: #fff;
    width: 90%;
    padding: 30px 30px 30px 0;
    border: 1px solid #f8f8f8;
}

.blog-textarea span {
    border-left: 4px solid var(--primary);
}

.blog-textarea h4 {
    font-size: 18px;
}


/*======================================
   ================ Team CSS ==============
   ======================================== */

.team-box {
    margin-bottom: 30px;
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    position: relative;
    overflow: hidden;
}

.team-txt {
    position: absolute;
    bottom: -36px;
    left: 0;
    width: 100%;
    color: #fff;
    border-top-right-radius: 70%;
    background-color: var(--primary);
    padding: 15px 0;
    text-align: center;
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.team-social a {
    color: #fff;
}

.team-box:hover {
    transform: translateY(-10px);
}

.team-box:hover .team-txt {
    border-radius: 0;
    bottom: 0;
}

.team-box-last::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: .95;
}

.team-counter {
    user-select: none;
    color: #fff;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-left: 25px;
}


/*======================================
   ============ Achievements CSS =========
   ======================================= */

.video-textarea {
    padding: 50px 15px 20px 15px;
}

.video-stat-box {
    padding: 0 30px;
}

.video-icon-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.play-icon {
    font-size: 35px;
}

.achievements-textarea {
    padding: 50px 15px;
}

.video-img:hover img {
    filter: brightness(50%);
}

.video-img:hover .play-icon {
    font-size: 40px;
}

.play-icon-txt {
    opacity: 0;
    color: #fff;
}

.video-img:hover .play-icon-txt {
    opacity: 1;
}


/*======================================
   ============= Testimonials CSS =========
   ======================================== */

#testimonial {
    background-image: url(../images/testim-bg.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

#testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: .7;
}

#testimonial .section-title {
    color: #fff;
    position: relative;
}

.testimonial-box {
    background-color: #fff;
    position: relative;
    padding: 40px 0;
}

.testimonial-namebox {
    display: flex;
    position: relative;
    color: #fff;
    background-color: var(--primary);
    box-shadow: 0 0 3px 0 #680000;
    padding: 10px;
}

.testimonial-rating {
    position: absolute;
    top: 7px;
    right: 10px;
}

.testimonial-quote {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 80px;
    opacity: .08;
}

.testimonial-rating i {
    color: #f9b403;
}

.testimonial-img {
    border-radius: 100%;
    width: 50px!important;
}


/*======================================
   ================ Footer CSS ============
   ======================================== */

footer {
    background-image: url(../images/footer-bg.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: .9;
}

.footer-logo {
    text-transform: uppercase;
    font-size: 40px;
    font-family: 'Cookie', cursive;
    color: #fff!important;
    font-weight: bold;
}

.footer-links h4 {
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-links li {
    line-height: 30px;
}

.footer-links li a {
    color: #ffff;
}

.footer-links li a::before {
    content: '\f0da';
    font-family: "Font Awesome 5 Pro";
    color: #fff;
    padding-right: 5px;
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.footer-links li:hover a::before {
    padding-right: 8px;
}

.footer-subbox {
    background-color: var(--primary);
    color: #fff;
    padding: 50px 30px;
    position: relative;
}

.footer-subbox .form-control {
    color: #fff;
    background-color: transparent!important;
    border-color: #fff!important;
}

.sub-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    color: var(--primary);
    background-color: #fff;
    height: 100%;
    padding: 0 15px;
    line-height: 45px;
    border: none;
    outline: none;
}

.footer-subbox h4 {
    border-bottom: 2px solid #fff;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.lower-footer {
    position: relative;
    border-top: 2px solid #fff;
    padding: 10px 0;
}


/*======================================
   ============= About Us Page CSS ========
   ======================================== */


/* About Us Section */

.about-us-tag {
    text-align: center;
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
    background-color: var(--primary);
    padding: 40px 20px;
    border-top-right-radius: 20px;
}

.about-us-tag h2 {
    font-size: 40px;
}

.about-us-heading {
    text-transform: uppercase;
    font-weight: bold;
}

.about-us-box {
    padding: 40px 20px;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.about-us-box-icon {
    font-size: 30px;
    color: var(--primary);
    border-bottom: 1px solid #e8e8e8;
    padding: 0 15px 10px 0;
    margin-bottom: 10px;
    display: inline-block;
}

.about-us-box-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 70px;
    color: #e8e8e8;
    border-bottom: none;
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.about-us-box:hover .about-us-box-bg-icon {
    right: -20px;
}


/* Our Goal Section */

#our-goal {
    background-color: #f8f8f8;
    padding-bottom: 70px;
}

.goal-box {
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}

.goal-box h4,
.goal-box p {
    position: relative;
    z-index: 1;
}

.goal-box-bg {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    font-size: 100px;
    color: #e8e8e8ad;
}


/* Video Section */

#about-video {
    background-image: url(../images/about-page/2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 150px 0;
}

#about-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: .6;
}

.about-video-icon {
    padding-left: 4px;
    font-size: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: inline-block;
    height: 50px;
    width: 50px;
    line-height: 48px;
}

.about-video-icon:hover {
    background-color: #fff;
    color: var(--primary)!important;
}


/* Client Carousel */

#client-carousel img {
    width: 100px!important;
    margin: 0 auto;
    filter: grayscale(1);
}


/*======================================
   ======== Blogs Detail Page CSS ========
   ======================================= */

.blogs-detail-highlighted-box {
    border-left: 4px solid #000;
    padding: 40px 25px;
    position: relative;
    overflow: hidden;
}

.blogs-detail-highlighted-box::before {
    content: '\f10d';
    font-family: "Font Awesome 5 Pro";
    font-size: 30px;
    color: #dbdbdb;
    position: absolute;
    top: 0;
    left: 10px;
}

.panel-search-btn {
    background: none;
    border: none;
    outline: none!important;
}

.blogs-detail-panel-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.blogs-detail-panel-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 80%;
    background-color: #000;
}

.blogs-detail-panel-list a {
    text-transform: uppercase;
    line-height: 35px;
    position: relative;
    padding-bottom: 5px;
}

.blogs-detail-panel-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 1px;
    width: 20%;
    background-color: #000;
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
}

.blogs-detail-panel-list a:hover::after {
    width: 60%;
}

.blogs-detail-tags ul li {
    display: inline;
    margin: 5px;
    line-height: 40px;
}

.blogs-detail-tags ul li::after {
    content: '\f148';
    font-family: "Font Awesome 5 Pro";
    font-size: 10px;
    padding-left: 5px;
}

.blogs-detail-posts .left-box {
    width: 200px;
    margin-right: 10px;
}

.popular-post-title {
    line-height: 25px;
    font-size: 18px;
}