/********** Template CSS **********/
:root {
    --primary: #F77D0A;
    --secondary: #2B2E4A;
    --light: #F4F5F8;
    --dark: #1C1E32;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.nav-bar::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: var(--dark);
}

.nav-bar::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: #ffffff;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 30px 15px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
}
.logo-img{
    height: 110px;
}
.logo-text{
    position: relative;
}
.logo-text::after{
    content: "GARAGE AND SCRAP";
    font-size: 1rem;
    position: absolute;
    bottom: -20px;
    left: 50px;
}
.navbar-brand{
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        padding: 10px 15px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 30, 50, .7);
    z-index: 1;
}
.carousel-item{
    max-height: 100vh;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.page-header {
    height: 400px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)), url(../img/bg-banner.jpg);
    background-attachment: fixed;
}

@media (max-width: 991.98px) {
    .page-header {
        height: 300px;
    }
}

.service-item {
    height: 420px;
    background: var(--light);
    transition: .5s;
}

.service-item:hover,
.service-item.active {
    background: var(--secondary);
}

.service-item h1,
.service-item h4 {
    transition: .5s;
}

.service-item:hover h1,
.service-item.active h1 {
    color: var(--dark) !important;
}

.service-item:hover h4,
.service-item.active h4 {
    color: var(--light);
}

.rent-item {
    padding: 30px;
    text-align: center;
    background: var(--light);
    transition: .5s;
}

.rent-item:hover,
.rent-item.active {
    background: var(--secondary);
}

.rent-item h4 {
    transition: .5s;
}

.rent-item:hover h4,
.rent-item.active h4 {
    color: var(--light);
}

.team-item {
    padding: 30px 30px 0 30px;
    text-align: center;
    background: var(--light);
    transition: .5s;
}

.team-item:hover,
.owl-item.center .team-item {
    background: var(--secondary);
}

.team-item h4 {
    transition: .5s;
}

.owl-item.center .team-item h4,
.owl-item.center .rent-item h4 {
    color: var(--light);
}

.team-item .team-social {
    top: 0;
    left: 0;
    opacity: 0;
    transition: .5s;
    background: var(--light);
}

.owl-item.center .team-item .team-social,
.owl-item.center .rent-item {
    background: var(--secondary);
}

.team-item:hover .team-social {
    opacity: 1;
    background: var(--secondary);
}

.team-carousel .owl-nav,
.related-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 60px;
    top: calc(50% - 30px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next,
.related-carousel .owl-nav .owl-prev,
.related-carousel .owl-nav .owl-next {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover,
.related-carousel .owl-nav .owl-prev:hover,
.related-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.vendor-carousel .owl-dots,
.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-carousel .owl-dot,
.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    transition: .5s;
}

.vendor-carousel .owl-dot.active,
.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 80px;
    height: 80px;
}

.testimonial-carousel .owl-item .testimonial-item {
    height: 420px;
    transition: .5s;
    background: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--secondary);
}

.testimonial-carousel .owl-item .testimonial-item h1,
.testimonial-carousel .owl-item .testimonial-item h4 {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item h1 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h4 {
    color: var(--light);
}

.bg-banner {
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)), url(../img/bg-banner.jpg);
    background-attachment: fixed;
}
p a{
    color:#8486A0;
}
p a:hover{
    text-decoration: none;
    color:#8486A0;

}
.service-img{
    width:100%;
    object-fit: contain;
}
@media (max-width:692px){
    .large-only{
        display: none;
    }
}
.brand{

}
.brand img{
    height: 65px;
    aspect-ratio: 1/1;
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
}
.brand h5.logo-text{
    justify-self: center;
    align-self: center;
}
.brand h5.logo-text::after{
    font-size: 0.8rem;
    bottom:-15px;
    left:25px;
}
@media (min-width:992px){
 .blog-content{
    padding-right: 2.5rem;
}
}

.blog{
    row-gap: 1rem;
    column-gap: 0.5rem;
}
.blog-box{
    box-shadow: 0 0 5px 0 rgb(128, 128, 128,0.3);
    border-radius: 5px;
    padding:1rem;
    
}
.blog-box h4{
    margin-top: 1rem;
}
.blog-box h4 a{
    color:#1C1E32;
}
.blog-box h4 a:hover{
    text-decoration: none;
    color: #F77D0A;
}

@media (max-width:500px){
	.logo-text{
	font-size: 18px;
	}
}

@media (min-width:768px){
.blog-box:first-of-type{
    margin-left: -19px;
}
.blog-box:last-of-type{
    margin-right: -20px;
}
}
.blog-img img{
    width:100%;
    object-fit: contain;
}
ol.blog-list{
    margin-block: 1rem;
}
.figure img{
    width: 80%;
    object-fit: contain;
}
.blog-preview{
    box-shadow: 0 0 5px 0 rgb(128, 128, 128,0.3);
    padding: 1rem 1rem;
    border-radius: 5px;
}
.preview-img{
    height:70px;
    width:80px;
    margin-right: 1rem;

}
.preview-img img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.blog-name h5 a{
    color: #1C1E32;
}
.blog-name h5::after{
    content:"by Germany Garage, Qatar";
    font-size: 1rem;
    display: block;
    font-weight: 400;
    margin-top: 0.4rem;
}
h5 a:hover{
    color: #F77D0A;
    text-decoration: none;
}
.gallery-images img{
    width:100%;
    object-fit: contain;
    margin-bottom:1rem;
}
