:root {
    --primary-color: #e9e6e0;
    --secondary-color: #c68800;
    --accent-color: #790025;
    --background-color: #ffffff;
    --text-color: #192a3a;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-light {
    background-color: var(--background-color) !important;
}

.text-primary {
    color: var(--text-color) !important;
}

.carousel-item {
    min-height: 100vh;
    max-height: 100vh;
}

.tb_filter_round_edged_button_text,
.tb_filter_round_edged_button {
    background-color: #d2d0cc !important;
    color: var(--background-color) !important;
    border: 0px !important;
}

.tb_see_more_btn:hover,
.tb_filter_round_edged_button_text:hover,
.tb_filter_round_edged_button:hover {
    background-color: #fffefb !important;
}

.tb_filter_round_edge_ico {
    color: var(--background-color) !important;
}

.tb_see_more_btn {
    background-color: #d2d0cc !important;
    color: var(--text-color) !important;
    border: 0px !important;
    font-family: "husainFont" !important;
    font-size: 20px !important;
}

#header {
    min-height: 190px;
}

.logoDiv {
    position: absolute;
    top: 90px;
    width: 100%;
    z-index: 1000;
    text-align: center;
}

.mobile-nav-toggle {
    margin-top: 30px;
    color: var(--accent-color);
}

#navbar {
    float: left;
    left: 10px;
    margin-top: -65px;
    z-index: 3000;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: #e9e4d9;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: #000;
}

.navbar-mobile {
    margin-top: 0px !important;
    background: transparent;
}

.navbar-mobile ul {
    height: fit-content;
    padding-top: 40px;
    padding-bottom: 40px;
}

.navbar .getstarted,
.navbar .getstarted:focus,
.navbar .getstarted:hover,
.navbar .getstarted:focus:hover,
.btn,
.btn:focus,
.btn:hover,
.btn:focus:hover {
    background-color: #c08f2d !important;
    color: var(--text-color) !important;
}

.bg-red {
    background-color: var(--primary-color) !important;
    padding: 0px !important;
    margin-top: -15px !important;
}

#preloader {
    background: var(--accent-color);
}

#footer {
    background: #572650;
}

.husainFont {
    font-family: "husainFont", sans-serif !important;
    letter-spacing: -1px;
}

.font-20 {
    font-size: 20px !important;
}

.font-25 {
    font-size: 25px !important;
}

.font-30 {
    font-size: 30px !important;
}

.font-35 {
    font-size: 35px !important;
}

.font-40 {
    font-size: 40px !important;
}

.font-50 {
    font-size: 50px !important;
}

.font-60 {
    font-size: 60px !important;
}

.font-70 {
    font-size: 60px !important;
}

.font-bold {
    font-weight: bold !important;
}

.font-bolder {
    font-weight: bolder !important;
}

.btn-w-250 {
    width: 250px !important;
}

.btn-w-200 {
    width: 200px !important;
}

.nocurve .section-curved-divider {
    display: none;
}

.nocurve .testimonials-section {
    padding-top: 100px !important;
}

.naskhFont {
    font-family: "Naskh", sans-serif !important;
}

.justify {
    text-align: justify !important;
}

#header .logo {
    /* margin-bottom: -145px; */
    margin-bottom: -40px;
}

.flip-card-container {
    background-color: rgba(128, 34, 58, 0.2);
    align-content: center;
    /* padding-top: 60px; */
}

.flip-card {
    margin: auto;
    width: 5.5rem !important;
    height: 5.5rem !important;
    padding: 0.1rem !important;
}

.flip-card-front {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.flip-card-back {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.card-active .flip-card-front {
    background: transparent;
    backdrop-filter: blur(0px);
}

.card-active .flip-card-back {
    background: transparent;
    backdrop-filter: blur(0px);
}

#headMobile {
    display: none;
}

.navbar-mobile .mobile-nav-toggle {
    color: #5b5b4c;
    top: 40px;
    left: 20px;
    right: auto;
}

.post iframe {
    width: 100% !important;
    min-width: 100% !important;
}

.post iframe div[data-testid="newsFeedStream"] {
    width: 100% !important;
}

.aboutCpf .section-title p {
    text-align: right;
}

#footer .copyright {
    border-top: 1px solid #dce3e5;
}

.testimonials .testimonial-item {
    min-height: 300px;
}

.flip-card-back {
    font-size: 14px !important;
    padding: 5px !important;
}

.flip-card-back p {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

@media only screen and (max-width: 600px) {

    .cpf-logo,
    #cpf-logo-text {
        display: none;
    }

    #headMobile {
        display: inherit;
    }

    #headScreen {
        display: none;
    }

    #header .logo {
        margin-bottom: -105px;
    }

    .flip-card {
        margin: auto;
        width: 5rem !important;
        height: 5rem !important;
        padding: 0.1rem !important;
    }

    .carousel-item {
        margin-top: 120px;
    }

    #header {
        text-align: center !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .footer-top img {
        width: 50%;
    }

    /* .aboutCpf {
        margin-top: 350px;
    } */

    .aboutCpf img {
        width: 90%;
    }

    .carousel-item {
        margin-top: 0px !important;
    }

    #header {
        min-height: 175px !important;
    }

    .logoDiv {
        top: 200px;
    }

    .carousel-item {
        min-height: 50vh;
        max-height: 50vh !important;
    }
}

/* .about::after,
.testimonials::after {
    content: '';
    background-image: url('https://celebratinghashemite.makana360.com/celebrating.png');
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    width: 20vw;
    height: 25vw;
    right: 50px;
    opacity: 10%;
    margin-top: -150px;
    filter: contrast(0.5);
}

.testimonials::before,
#footer::before {
    content: '';
    background-image: url('https://celebratinghashemite.makana360.com/hashemite.png');
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    width: 40vw;
    height: 25vw;
    left: 0px;
    opacity: 10%;
    margin-top: -250px;
    filter: contrast(0.5);
} */

.pattren::before {
    content: "";
    background-image: url("https://d1l1dgl6ga9b0z.cloudfront.net/celebratinghashemite/public/v2/assets/logo_new_2_w.png");
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    width: 40vw;
    height: 25vw;
    left: 0px;
    opacity: 10%;
    margin-top: -50px;
    filter: contrast(0.5);
}

.pattren::after {
    content: "";
    background-image: url("https://d1l1dgl6ga9b0z.cloudfront.net/celebratinghashemite/public/v2/assets/logo_new_2_w.png");
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    width: 40vw;
    height: 25vw;
    right: 0px;
    opacity: 10%;
    margin-top: -50px;
    filter: contrast(0.5);
}

#socialPost {
    padding: 0px;
    background-color: #572650;

    .section-content {
        padding-top: 60px;
    }

    .section-title {
        text-align: center;
        color: #dce3e5;
        width: 100% !important;
    }
}

.testimonials-slider .swiper-slide {
    transition: transform 0.3s ease-in-out;
}

.testimonial-slide {
    /* opacity: 0.5; */
    opacity: 1;
    transform: scale(0.8);
}

.center-slide {
    opacity: 1;
    transform: scale(1.1) !important;
}

.left-slide,
.right-slide {
    opacity: 1;
    transform: scale(0.9) !important;
}

.txt-purble {
    color: var(--background-color) !important;
}

@media only screen and (max-width: 600px) {

    .pattren::after,
    .pattren::before {
        width: 70vw;
        height: 45vw;
    }

    .left-slide,
    .right-slide,
    .center-slide {
        opacity: 1;
        transform: scale(1) !important;
    }
}

.carousel-indicators {
    display: none;
}

.footerNav {
    float: none !important;
    text-align: center;
    margin: auto;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    left: auto !important;
}

.footerNav ul {
    margin-right: auto;
    margin-left: auto;
}

.testimonials .testimonial-wrap {
    padding-left: 0px !important;
}

#cpf-logo-text {
    color: white;
    margin-top: -80px;
    position: absolute;
    right: 80px;
}

@media (max-width: 991px) {
    .footerNav {
        width: 100%;
    }

    .footer-top .navbar ul {
        display: flex;
    }
}

@media (prefers-color-scheme: dark) {
    * {
        forced-color-adjust: none;
    }

    body {
        background-color: var(--background-color) !important;
    }

    .bg-primary {
        background-color: var(--primary-color) !important;
    }

    .bg-secondary {
        background-color: var(--secondary-color) !important;
    }

    .bg-accent {
        background-color: var(--accent-color) !important;
    }

    .bg-light {
        background-color: var(--background-color) !important;
    }
}

@media (forced-colors: active) {
    * {
        forced-color-adjust: none;
    }

    body {
        background-color: var(--background-color) !important;
    }

    .bg-primary {
        background-color: var(--primary-color) !important;
    }

    .bg-secondary {
        background-color: var(--secondary-color) !important;
    }

    .bg-accent {
        background-color: var(--accent-color) !important;
    }

    .bg-light {
        background-color: var(--background-color) !important;
    }
}