:root {
    --primary-color: #b58749;
    --secondary-color: #85a742;
}

* {
    font-family: "Cairo", sans-serif;
}

body {
    padding-top: 7.7rem;
}

.card {
    border: none;
    box-shadow: 0 0 12px #9b9b9b;
    height: auto;
}
.bg-opacity-low {
    background-color: rgba(var(--bs-light-rgb), 0.8);
}
.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.btn-primary, .bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.text-primary {
    color: var(--primary-color) !important;
}

p {
    margin: 0 !important;
}

.main-slider .fa-arrow-left, .main-slider .fa-arrow-right {
    color: black !important;
    font-size: 30px;
}

.main-slider .carousel-control-prev {
    right: 50%;
    left: auto;
}
.main-slider .carousel-control-next {
    left: 50%;
    right: auto;
}

.main-slider .carousel-caption {
    color: #454545;
    top: 50%;
    bottom: 50%;
}

.navbar{
    position: fixed;
    width:100%;
    z-index: 1000000;
    top:0;
}

.navbar .nav-link {
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
}
.navbar .nav-link:before {
    content: '';
    width: 50px;
    scale: 0;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 5px;
    border-radius: 50%;
    transition: all .5s;
}
.navbar .nav-link:hover:before {
    scale: 1;
}
.navbar .nav-link.active:before {
    scale: 1;
}

.title {
    position: relative;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    font-size: 40px;
}
.title:before {
    content: '';
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 5px;
    border-radius: 50%;
}

footer {
    background-color: var(--primary-color);
}
footer li {
    list-style: none;
}
footer i {
    font-size: 30px;
}

@media (max-width: 992px) {
    #carouselProducts {
        height: auto !important;
    }

    .product_slider {
        grid-template-columns: 1fr !important;
        padding: 4rem 0;
    }

    .product_slider img {
        display: none !important;
    }
}

@media (min-width: 992px) {
    body p {
        font-size: 27px !important;
    }
    .fa-brands {
        font-size: 40px !important;
    }
    .nav-link, .dropdown-item {
        font-size: 23px !important;
    }

    .navbar-expand-lg .navbar-collapse {
        justify-content: center;
    }

    /*.main-slider img {*/
    /*    height: calc(100vh - 124px);*/
    /*}*/

    .grid_split {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        align-items: center;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        direction: ltr;
    }
    .grid_split.grid_reverse {
        direction: rtl;
    }
    .top_foot {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
    .top_foot .logo {
        width: 30%;
    }
}

.top_btn {
    position: fixed;
    bottom: 1rem;
    right: 2rem;
}

/* ============== Sub Pagesِ =============== */
header {
    position: relative;
}
.bg_image {
    background-attachment: fixed;
    background-size: 100%;
    position: absolute;
    width: 100%;
    height: 100%;
    filter: brightness(0.6);
    z-index: -1;
}

@media (max-width: 992px) {
    .bg_image {
        background-size: cover;
    }
}

header.sub_page {
    height: 520px;
}
header.sub_page .banner {
    color: #ffffff;
}

.banner ul li {
    list-style: none;
}
.banner ul li:before {
    content: '/';
    padding: 0 5px;
    color: #ffffff;
    font-weight: normal;
}
.banner ul li:first-child:before {
    display: none;
}

/* ========================= Products Page ========================= */
.product_card {
    background-attachment: fixed;
    background-size: 45% auto;
    background-position: 50% 0;
    background-repeat: no-repeat;
    position: relative;
    padding: 5rem 3rem;
}
.bg_right {
    background-position: right;
}
.bg_left h2 {
    text-align: end;
}
.bg_left {
    background-position: left;
}

.none_filter {
    filter: none !important;
}

.product_size {
    line-height: 3rem;
}
@media (min-width: 992px) {
    .product_size {
        font-size: 20px;
    }
}

.animation-visible {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-out, transform 1.4s ease-out;
    will-change: opacity, visibility;
}

.animation-visible.animation-top {
    transform: translateY(20vh);
}
.animation-visible.animation-down {
    transform: translateY(-20vh);
}
.animation-visible.animation-right {
    transform: translateX(20vw);
}
.animation-visible.animation-left {
    transform: translateX(-20vw);
}

@media screen and (max-width: 968px) {
    .animation-visible.animation-right, .animation-visible.animation-left {
        transform: translateY(20vh);
    }
}

.animation-visible.is-visible {
    opacity: 1;
    transform: none !important;
    visibility: visible;
}
