/********** Template CSS **********/
:root {
    /* --primary: #00b98e; */
    --primary: #000;
    --secondary: #ff6922;
    --light: #fff;
    --dark: #284278;
    --grey: #d9d9d9;
    --lightgrey: #f2f2f2;
    --aomj-blue: #284278;
    --aomj-red: #c22d17;
    --aomj-green: #128c7e;
}

body {
    background-color: #e6e6e6;
}

.bg-dark {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--lightgrey) !important;
}

.bg-grey {
    background-color: var(--grey) !important;
}

.bg-aomj {
    background-color: var(--aomj-blue) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.text-primary {
    color: var(--dark) !important;
    font-family: "Helvetica Neue", sans-serif;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-primary:focus {
    background-color: var(--aomj-blue) !important;
    border-color: var(--aomj-blue) !important;
    color: #ffffff !important;
}

.btn.btn-secondary {
    background-color: var(--lightgrey) !important;
    border-color: var(--lightgrey) !important;
    color: var(--primary) !important;
}

.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;
    border-radius: 50px;
}

/*** Navbar ***/
.nav-bar {
    position: relative;
    /* margin-top: 45px; */
    padding: 0 3rem;
    transition: 0.5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.08); */
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: 0.5s;
}

/* .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
} */

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    font-family: "Helvetica Neue", sans-serif;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--aomj-blue);
    font-family: "Helvetica Neue", sans-serif;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 5px;
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #eeeeee;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--grey);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Header ***/
@media (min-width: 992px) {
    /* .header {
    margin-top: -120px;
  } */
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #dddddd;
}

/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background: #ffffff !important; */
    /* border-radius: 50px; */
    /* border: 1px dashed var(--primary) !important; */
}

/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img-right img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}

.about-img-right::before {
    position: absolute;
    content: "";
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}

/*** Category ***/
.cat-item div {
    /* background: #ffffff; */
    opacity: 0.7;
    /* border: 1px dashed rgba(0, 185, 142, 0.3); */
    transition: 0.5s;
}

a.cat-item.d-block.bg-light.rounded.p-3 {
    border-radius: 1rem !important;
    color: whitesmoke;
}

.cat-item:hover div {
    /* background: var(--primary); */
    opacity: 1;
    border-color: transparent;
}

.cat-item div * {
    transition: 0.5s;
}

.cat-item:hover div * {
    /* color: #ffffff !important; */
}

.original-parts-div {
    background-image: url("../img/Product/1.png");
    background-size: cover;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    height: 250px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.aftermarket-div {
    background-image: url("../img/Product/2.png");
    background-size: cover;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    height: 250px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.oem-div {
    background-image: url("../img/Product/3.png");
    background-size: cover;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    height: 250px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.rounded.p-4 > h3, h6{
    color: var(--aomj-blue);
}

/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #ffffff;
}

.property-item,
.newsletter-item {
    /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.08); */
}

.property-item img,
.newsletter-item img {
    transition: 0.5s;
}

.property-item:hover img,
.newsletter-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top,
.newsletter-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, 0.3) !important;
}

.property-item .border-end,
.newsletter-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, 0.3) !important;
}

/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
}

.team-item .btn {
    color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.team-item .btn:hover {
    color: #ffffff;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}

/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, 0.3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    transition: 0.3s;
}

.footer-menu a {
    color: var(--dark);
}

.footer .btn.btn-social:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
}

.footer .copyright a {
    color: white;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.testimonial-item {
    min-height: 620px;
}

.custom-testimonial {
    /* background: rgba(255, 255, 255, 0.4); */
    background: rgba(40, 66, 120, 0.2);
    backdrop-filter: saturate(180%) blur(10px);
    top: 35%;
    left: 5%;
    position: absolute;
    width: 55%;
    z-index: 99 !important;
    padding: 24px;
    min-height: 310px;
    overflow: auto;
}

.custom-testimonial p {
    color: var(--primary);
    width: 85% !important;
    /* text-shadow: -1px -1px 0 var(--light), 1px -1px 0 var(--light),
        -1px 1px 0 var(--light), 1px 1px 0 var(--light); */
}

.custom-testimonial p:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom: 80px solid var(--light);
    border-left: 80px solid rgba(40, 66, 120, 0.1);
    width: 0;
}

.custom-testimonial-img {
    max-height: 320px;
    object-fit: contain;
}

.property-item {
    height: 200px;
    overflow: hidden;
}

.property-tall {
    height: 416px !important;
}

.property-image {
    height: 100%;
    width: 100%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.property-image:hover {
    -webkit-transform: scale(1.25, 1.25);
    transform: scale(1.25, 1.25);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.prop-1 {
    background-image: url("../img/Rectangle\ 1870.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.prop-2 {
    background-image: url("../img/Rectangle\ 1869.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.prop-3 {
    background-image: url("../img/Rectangle\ 1873.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.prop-4 {
    background-image: url("../img/Rectangle\ 1875.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.prop-5 {
    background-image: url("../img/Electrical.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.prop-6 {
    background-image: url("../img/merci.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.prop-7 {
    background-image: url("../img/Rectangle\ 1872.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.prop-title {
    position: relative;
    text-align: center;
    width: fit-content;
    padding: 10px 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background-color: rgba(255, 255, 255, 0.25); */
    font-weight: bold;
}

.footer-text {
    color: white;
}
.footer-text a {
    color: white;
}

.about-wide {
    height: 380px;
    background-image: url("../img/About/header.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.newsletter-wide {
    height: 420px;
    background-image: url("../img/About/image\ 37.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.product-wide {
    height: 380px;
    background-image: url("../img/Product/header.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.about-title,
.product-title {
    position: relative;
    text-align: center;
    width: fit-content;
    padding: 10px 20px;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2vh;
    width: 50%;
}

.about-title-large {
    position: relative;
    text-align: center;
    width: fit-content;
    padding: 10px 20px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 5vh;
    width: 50%;
}

.product-title-large {
    position: relative;
    text-align: center;
    width: fit-content;
    padding: 10px 20px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 5vh;
    width: 75%;
}

.container-about{
    padding: 3rem 3rem 0 3rem !important;
}

@media (max-width: 480px) {
    .about-title-large,
    .product-title-large {
        font-size: 4vh;
        width: 100%;
    }
}

#page-container {
    position: relative;
    min-height: 100vh;
    width: 100% !important;
}

#main-container {
    padding-bottom: 12.5rem; /* Footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    height: 12.5rem; /* Footer height */
}

.btn-aomj {
    background: var(--aomj-blue);
    color: var(--light);
}

.btn-whatsapp {
    background: var(--aomj-green);
    color: var(--light);
}

.form-control:focus {
    border-color: var(--aomj-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(40, 66, 120, 0.25);
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--aomj-blue);
}

.newsletter-img img {
    position: relative;
    height: 480px;
    object-fit: cover;
    z-index: 2;
}

.newsletter-img-sm img {
    position: relative;
    height: 180px;
    object-fit: cover;
    z-index: 2;
}

.newsletter-item-sm {
    border-top: 1px solid var(--aomj-blue);
    border-bottom: 1px solid var(--aomj-blue);
    margin-bottom: 2rem;
}

.newsletter-category {
    background-color: mistyrose;
    padding: 8px 16px;
    margin-right: 1rem;
}

a {
    color: var(--aomj-blue);
}

.img-carousel {
    color: white;
    opacity: 0.75;
}

.aomj-background{
    background-image: url("../img/logo-faded.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0 !important;
}

.aomj-sub{
    margin-top: 2rem;
    font-size: x-large;
    color: #000;
}

.img-contact{
    padding: 6rem 4rem 6rem 0;
}

.img-restoration{
    padding-left: 0;
}

.img-legacy{
    padding-right: 0;
}

.img-brand{
    max-height: 150px !important;
}

.extensive-selection > h3, h6{
    color: white !important;
}

.form-floating > input, textarea{
    background-color: rgb(194, 45, 23, 0.1) !important;
}