/* font  */
.font-primary {
    font-family: "DM Sans", sans-serif;
}

.font-secondary {
    font-family: "DM Serif Text", serif;
}

.font-tertiary {
    font-family: "Playfair Display", serif;
}

/* line height  */
.fleading-0 {
    line-height: 1;
}

.fleading-1 {
    line-height: 1.1;
}

.fleading-2 {
    line-height: 1.2;
}

.fleading-3 {
    line-height: 1.3;
}

.fleading-4 {
    line-height: 1.4;
}

.fleading-5 {
    line-height: 1.5;
}

.fleading-6 {
    line-height: 1.6;
}

.fleading-7 {
    line-height: 1.7;
}

.fleading-8 {
    line-height: 1.8;
}

.fleading-9 {
    line-height: 1.9;
}

.fleading-10 {
    line-height: 2;
}

/* icon height  */
.icon-h2 {
    height: 2px;
}
.icon-h4 {
    height: 4px;
}
.icon-h6 {
    height: 6px;
}
.icon-h8 {
    height: 8px;
}
.icon-h10 {
    height: 10px;
}
.icon-h12 {
    height: 12px;
}
.icon-h14 {
    height: 14px;
}
.icon-h16 {
    height: 16px;
}
.icon-h18 {
    height: 18px;
}
.icon-h20 {
    height: 20px;
}
.icon-h22 {
    height: 22px;
}
.icon-h24 {
    height: 24px;
}
.icon-h26 {
    height: 26px;
}
.icon-h28 {
    height: 28px;
}
.icon-h30 {
    height: 30px;
}
.icon-h32 {
    height: 32px;
}
.icon-h34 {
    height: 34px;
}
.icon-h36 {
    height: 36px;
}
.icon-h38 {
    height: 38px;
}
.icon-h40 {
    height: 40px;
}
.icon-h42 {
    height: 42px;
}
.icon-h44 {
    height: 44px;
}
.icon-h46 {
    height: 46px;
}
.icon-h48 {
    height: 48px;
}
.icon-h50 {
    height: 50px;
}
.icon-h52 {
    height: 52px;
}
.icon-h54 {
    height: 54px;
}
.icon-h56 {
    height: 56px;
}
.icon-h58 {
    height: 58px;
}
.icon-h60 {
    height: 60px;
}
.icon-h62 {
    height: 62px;
}
.icon-h64 {
    height: 64px;
}
.icon-h66 {
    height: 66px;
}
.icon-h68 {
    height: 68px;
}
.icon-h70 {
    height: 70px;
}
.icon-h72 {
    height: 72px;
}
.icon-h74 {
    height: 74px;
}
.icon-h76 {
    height: 76px;
}
.icon-h78 {
    height: 78px;
}
.icon-h80 {
    height: 80px;
}
.icon-h82 {
    height: 82px;
}
.icon-h84 {
    height: 84px;
}
.icon-h86 {
    height: 86px;
}
.icon-h88 {
    height: 88px;
}
.icon-h90 {
    height: 90px;
}
.icon-h92 {
    height: 92px;
}
.icon-h94 {
    height: 94px;
}
.icon-h96 {
    height: 96px;
}
.icon-h98 {
    height: 98px;
}
.icon-h100 {
    height: 100px;
}

/* spinner  */
.spinner-wrapper {
    height: 400px;
}

.spinner-box {
    height: 100%;
    width: 100%;
}

.spinner-box img {
    height: 50px;
}

/* hamburger */
.hamburger-box {
    display: none;
    cursor: pointer;
    row-gap: 5px;
}

.hamburger-box span {
    height: 2px;
    background-color: var(--black-color);
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

.hamburger-box span:nth-child(1) {
    width: 8px;
}

.hamburger-box span:nth-child(2) {
    width: 18px;
}

.hamburger-box span:nth-child(3) {
    width: 12px;
}

/* button  */
.markq-btn {
    padding: 14px 22px;
    text-decoration: none;
    color: var(--black-color);
    font-weight: 500;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;

    -webkit-appearance: none;
}

.markq-btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

.markq-btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.markq-btn-black {
    background-color: var(--black-color);
    color: #ffffff;
    border: 1px solid var(--black-color);
}

/* text  */
.section-title {
    font-size: 40px;
    font-weight: normal;
    font-family: "Playfair Display", serif;
}

.section-tag {
    display: inline-block;
    padding: 6px 10px;
    background-color: #fdf0e7;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary-color);
    /* font-family: "DM Serif Text", serif; */
    font-style: italic;
    font-weight: 400;
}

.section-info {
    color: #655f5f;
    line-height: 1.5;
}

/* input  */

.markq-label {
    color: var(--black-color);
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.markq-label span {
    color: #f04438;
}

.markq-input input,
.markq-input select,
.markq-input textarea {
    border: none;
    outline: none;
    width: 100%;
    background-color: #ffffff;
    color: var(--black-color);
    padding: 12px;
    border: 1px solid #d8d5d4;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;

    /* safari fix*/
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.markq-input input::placeholder {
    font-size: 14px;
}

.markq-input-box {
    position: relative;
}

.markq-input-box .icon-box {
    position: absolute;
    width: 38px;
    border-right: 1px solid #d8d5d4;
    top: calc(50% - 9px);
}

.markq-input-box .icon-box img {
    max-height: 18px;
    margin-right: -4px;
}

.markq-input-box .markq-input input,
.markq-input-box .markq-input select {
    padding-left: 48px;
}

.markq-input-box .icon-box.input-right {
    right: 0;
    border: none;
    border-left: 1px solid #d8d5d4;
}

.markq-input-box .icon-box.input-right img {
    margin: 0;
    margin-left: -2px;
}

.markq-input-box .markq-input input.input-right,
.markq-input-box .markq-input select.input-right {
    padding-left: 12px;
    padding-right: 48px;
}

/* home card  */
.home-card-box .img-box {
    position: relative;
    display: block;
    height: 260px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.home-card-box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    -webkit-border-radius: inherit;
    -moz-border-radius: inherit;
    -ms-border-radius: inherit;
    -o-border-radius: inherit;
}

.property-av-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    background-color: var(--primary-color);
    font-size: 14px;
    color: #ffffff;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}
.property-av-tag.av-1 {
    background-color: #28a745;
}
.property-av-tag.av-2 {
    background-color: #ffc107;
}
.property-av-tag.av-3 {
    background-color: #17a2b8;
}
.property-av-tag.av-4 {
    background-color: #6f42c1;
}
.property-av-tag.av-5 {
    background-color: #fd7e14;
}
.property-av-tag.av-6 {
    background-color: #6c757d;
}
.property-av-tag.av-7 {
    background-color: #0d6efd;
}
.property-av-tag.av-8 {
    background-color: #dc3545;
}
.property-av-tag.av-9 {
    background-color: #28a745;
}

.home-card-box .info-box .title {
    text-decoration: none;
    color: var(--black-color);
}

.home-card-box .info-box .title h1 {
    font-size: 22px;
    font-weight: 500;
    font-family: "Playfair Display", serif;
}

.home-card-box .info-box .info {
    padding-top: 10px;
}

.home-card-box .info-box .info p {
    color: #655f5f;
    font-size: 16px;
    line-height: 1.5;
}

.home-card-box .info-box .floor-plan .tab-title h1 {
    color: #655f5f;
}

.home-card-box .info-box .floor-plan .tab-box span {
    display: block;
    background: #f3f4f5;
    color: var(--black-color);
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: 1px solid #1526381a;
    border-bottom: none;
    white-space: nowrap;
    cursor: pointer;
    opacity: 0.5;
}

.home-card-box .info-box .floor-plan .tab-box span:hover {
    background-color: #ffffff;
    opacity: 1;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.home-card-box .info-box .floor-plan .tab-box span.active {
    font-weight: 600;
    color: var(--black-color);
    background-color: #ffffff;
    opacity: 1;
}

.home-card-box .info-box .floor-plan .tab-content {
    display: none;
    border: 1px solid #1526381a;
    padding: 10px;
}

.home-card-box .info-box .floor-plan .tab-content.active {
    display: block;
}

.home-card-box .info-box .floor-plan .tab-content p {
    font-size: 14px;
    color: #655f5f;
}

.home-card-box .info-box .floor-plan .tab-content p img {
    opacity: 0.6;
}

.home-card-box .info-box .floor-plan .fixtures-box p {
    font-size: 14px;
    color: #655f5f;
}

.home-card-box .info-box .floor-plan .fixtures-box p img {
    opacity: 0.6;
}

/* inspiration card  */
.inspiration-card-box .img-box {
    display: block;
    height: 260px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.inspiration-card-box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    -webkit-border-radius: inherit;
    -moz-border-radius: inherit;
    -ms-border-radius: inherit;
    -o-border-radius: inherit;
}

.inspiration-card-box .date-box span {
    font-size: 14px;
    color: var(--primary-color);
}

.inspiration-card-box .date-box {
    padding-bottom: 14px;
}

.inspiration-card-box .date-box p {
    color: #655f5f;
    font-size: 14px;
}

.inspiration-card-box .info-box .title {
    text-decoration: none;
    color: var(--black-color);
}

.inspiration-card-box .info-box .title h1 {
    font-size: 20px;
    font-weight: 700;
}

.inspiration-card-box .info-box .info {
    padding-top: 14px;
}

.inspiration-card-box .info-box .info p {
    color: #655f5f;
    font-size: 16px;
    line-height: 1.5;
}

.inspiration-card-box .info-box .tags span {
    font-size: 14px;
    background-color: #e8e7e6;
    padding: 8px;
    color: var(--black-color);
    text-transform: capitalize;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

/* blog card  */
.blog-card-box .img-box {
    display: block;
    height: 260px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.blog-card-box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    -webkit-border-radius: inherit;
    -moz-border-radius: inherit;
    -ms-border-radius: inherit;
    -o-border-radius: inherit;
}

.blog-card-box .date-box span {
    font-size: 14px;
    color: var(--primary-color);
}

.blog-card-box .date-box {
    padding-bottom: 14px;
}

.blog-card-box .date-box p {
    color: #655f5f;
    font-size: 14px;
}

.blog-card-box .info-box .title {
    text-decoration: none;
    color: var(--black-color);
}

.blog-card-box .info-box .title h1 {
    font-size: 20px;
    font-weight: 700;
}

.blog-card-box .info-box .info {
    padding-top: 14px;
}

.blog-card-box .info-box .info p {
    color: #655f5f;
    font-size: 16px;
    line-height: 1.5;
}

/* no data  */
.no-data-container {
    height: 400px;
}

.no-data-box {
    border: 1px solid #e8e7e6;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

.no-data-box p {
    font-size: 22px;
    font-weight: 600;
    color: #655f5f;
}

.no-data-box p span {
    color: var(--primary-color);
}

/* swiper */
.swiper-wrapper {
    height: auto;
    align-items: stretch;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: larger;
    color: var(--primary-color);
}

.swiper-button-prev {
    padding-right: 20px;
}

.swiper-button-next {
    padding-left: 20px;
}

/* modal container  */
.modal-container {
    position: fixed;
    width: 100%;
    height: 100vh;
    padding: 10px;
    top: 0;
    left: 0;
    z-index: 999999;
    backdrop-filter: blur(10px);
    background: rgba(38, 50, 56, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-container .modal-box {
    position: relative;
    padding: 40px;
    width: 100%;
    max-height: calc(100vh - 20px);
    max-width: 740px;
    background-color: #ffffff;
    overflow-y: auto;
    border: 1px solid #e8e7e6;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.modal-container .modal-box .modal-close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.modal-container .modal-box .modal-title {
    border-bottom: 1px solid #e8e7e6;
}

.modal-container .modal-box .modal-title h1 span {
    color: var(--primary-color);
    font-family: "DM Serif Text", serif;
    font-style: italic;
    font-weight: 400;
}

.modal-container .modal-box .modal-title h1 span:nth-child(1) {
    color: var(--black-color);
}

.modal-container .modal-box .modal-title p {
    color: #655f5f;
    line-height: 1.6;
}

/* popup  */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 50px;
    z-index: 999999;
    backdrop-filter: blur(10px);
    background: rgba(38, 50, 56, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-container .close-popup-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.popimg-trigger,
.popvideo-trigger {
    cursor: pointer;
}

.popimg-container .popimg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.popvideo-container .popvideo {
    width: 100%;
    height: 100%;
}

/* marquee  */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    animation: scroll 25s linear infinite;
    -webkit-animation: marquee_scroll 25s linear infinite;
}

@keyframes marquee_scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* responsive */
@media (max-width: 1250px) {
    .hamburger-box {
        display: flex;
    }
}

@media (max-width: 1023px) {
    .section-box {
        padding: 60px 0;
    }
    .section-title {
        font-size: 38px;
    }

    .home-card-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .inspiration-card-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .blog-card-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .section-box {
        padding: 50px 0;
    }
    .section-title {
        font-size: 36px;
    }

    .home-card-wrapper {
        grid-template-columns: 1fr;
    }

    .inspiration-card-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-card-wrapper {
        grid-template-columns: 1fr;
    }

    .popup-container {
        padding: 22px;
    }

    .popup-wrapper .close-popup-btn {
        top: 2px;
        right: 2px;
    }
}

@media (max-width: 500px) {
    .section-title {
        font-size: 34px;
    }
    .popup-container {
        padding: 22px 14px;
    }
    .popup-wrapper .close-popup-btn {
        top: 0px;
        right: 0px;
    }
}

@media (max-width: 400px) {
    .markq-btn {
        padding: 14px 20px;
    }
    .section-title {
        font-size: 32px;
    }
    .popup-container {
        padding: 22px 10px;
    }
}

@media (max-width: 374px) {
    .section-title {
        font-size: 30px;
    }
}
