:root {
    --font-base: clamp(8px, 2vw, 10px);
    --font-color: #333;
    --font-color-primary: #162b75;
    --font-color-secondary: #c48c37;
    --font-color-cream: #f6e9d5;
    --cream: #f5f1e6;
    --line-height-rem: 3.2;
    --lines-to-show: 2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    font-size: var(--font-base);
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: var(--font-color);
    font-size: 1.6rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

body main {
    flex: 1 0 auto;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
}

header img {
    width: auto;
    height: 100%;
    max-height: 8.3rem;
}

header .navbar-collapse {
    flex-grow: unset !important;
}

.intro-home {
    color: var(--font-color-primary);
    font-size: 2.2rem;
    padding: 4.7rem 0 7.5rem;
}

.intro-home p:not(:last-child) {
    margin-bottom: 0.5rem;
}

.project-slider .project-item {
    position: relative;
    overflow: hidden;
    margin: 0 2rem;
    display: flex;
    background: #fff;
    width: 100%;
    max-width: 1320px;
}

.project-slider .project-item:not(.slick-active) {
    opacity: 0.3;
}

.project-slider .project-item .project-item_des {
    display: flex;
    flex-direction: column;
    padding: 3.5rem 2.4rem;
    min-width: 25%;
    max-width: 350px;
    gap: 1rem;
}

.project-slider .project-item .project-item_des p {
    margin: 0;
}

.project-slider .project-item .project-item_des .project-item_des-sup {
    font-size: 1.8rem;
    color: #000;
    font-weight: bold;
}

.project-slider .project-item .project-item_des h4 {
    font-size: 3.4rem;
    color: var(--font-color-secondary);
    font-weight: bold;
}

.project-slider .project-item .project-item_des .project-item_des-content {
    font-size: 1.8rem;
    flex: 1 0 auto;
}

.project-slider .project-item .project-item_img {
    flex: 1 0 auto;
    width: 75%;
}

.project-slider .project-item .project-item_img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.project-slider .project-item .project-item_des a {
    color: var(--font-color-primary);
    font-size: 1.8rem;
    font-weight: bold;
}

.bg-cream {
    background: var(--font-color-cream);
}

.bg-cream2 {
    background: var(--cream);
}

.project-home {
    padding: 6.4rem 0 14rem;
    max-width: 100vw;
    overflow: hidden;
}

.project-home h3 {
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 35rem;
}

.project-home .project-home_all {
    font-size: 1.6rem;
    color: var(--font-color-primary);
    font-weight: bold;
    border: 0.1rem solid var(--font-color-primary);
    padding: 1.5rem 2rem;
    margin-bottom: 5rem;
    display: inline-flex;
    align-items: center;
}

.project-home .slick-dots {
    bottom: -7rem;
}

.project-home .slick-dots li {
    margin: 0 1rem;
}

.project-home .slick-dots li button:before {
    font-size: 1.2rem;
    color: var(--font-color-secondary);
}

.project-home .slick-dots li.slick-active button:before {
    font-size: 1.6rem;
}

.bg-light {
    background-color: #fff !important;
}

.slick-prev,
.slick-next {
    z-index: 1;
}

.project-home .slick-prev,
.project-home .slick-next {
    width: 6rem;
    height: 6rem;
}

.project-home .slick-prev:before,
.project-home .slick-next:before {
    font-size: 6rem;
}

.project-home .slick-prev {
    left: 3rem;
}

.project-home .slick-next {
    right: 3rem;
}

.project-apartment-lease {
    padding: 6.5rem 0;
}

.project-apartment-lease_header {
    margin-bottom: 4.5rem;
}

.project-apartment-lease_header h3 {
    margin: 0px;
    font-size: 2.6rem;
    font-weight: bold;
}

.project-apartment-lease_header .project-apartment-lease_link {
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    color: #162b75;
}

.project-apartment-lease_header .project-apartment-lease_link a {
    text-decoration: underline;
    color: #162b75;
    margin-right: 1.5rem;
}

.project-apartment-lease .slick-prev,
.project-apartment-lease .slick-next {
    width: 2.6rem;
    height: 3.4rem;
}

.project-apartment-lease .slick-prev:before,
.project-apartment-lease .slick-next:before {
    content: "";
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    width: 100%;
    height: 100%;
}

.project-apartment-lease .slick-prev:before {
    background-image: url('../images/arrow-left.png');
}

.project-apartment-lease .slick-next:before {
    background-image: url('../images/arrow-right.png');
}

.project-card,
.project-card:hover,
.project-card:focus,
.project-card:active,
.project-card:visited {
    display: flex;
    position: relative;
    color: #1a1a1b;
    flex-direction: column;
    background: #fff;
    border-radius: 0.4rem;
}

.project-card p,
.project-card h5 {
    margin: 0;
}

.project-card .project-card_tag {
    position: absolute;
    top: 1.4rem;
    left: 1.7rem;
    z-index: 1;
    font-size: 1.449rem;
    background: #c48c37;
    padding: 0.4rem 0.4rem;
    color: #fff;
    border-radius: 0.4rem;
}

.project-card .project-card_body {
    padding: 3.5rem 0;
}

.project-card .project-card_body-name {
    font-size: 2rem;
    font-weight: bold;
}

.project-card .project-card_body-price {
    font-size: 2rem;
    font-weight: bold;
}

.project-card .project-card_body-des {
    font-size: 1.6rem;
    margin-top: 0.5rem;
}

.apartment-slider .project-card {
    margin: 0 2.5rem;
}

.apartment-slider .project-card .project-card_body-name {
    color: #c48c37;
}

.limit-lines {
    display: -webkit-box;
    -webkit-line-clamp: var(--lines-to-show);
    line-clamp: var(--lines-to-show);
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: var(--line-height-rem)rem;
    max-height: calc(var(--line-height-rem) * var(--lines-to-show) * 1rem);
    position: relative;
    min-height: 4.8rem;
}

.navbar .navbar-collapse .navbar-nav li a {
    font-size: 2rem;
}

footer {
    padding: 5.4rem 0 7.7rem;
}

.footer-social {
    margin-bottom: 6.2rem;
    gap: 4rem;
}

.footer-social ul {
    padding: 0;
    flex-direction: row;
    gap: 2.7rem;
    margin-bottom: 0;
}

.footer-social ul li {
    list-style: none;
}

.footer-social ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social img {
    height: 2.7rem;
    width: 2.9rem;
    object-fit: contain;
}

.footer-social::before,
.footer-social::after {
    content: '';
    top: 50%;
    width: 100%;
    height: 0.1rem;
    background: #000;
}

.footer-info {
    gap: 9rem;
}

.footer-info .footer-logo img {
    width: 13.2rem;
    height: auto;
    text-align: center;
}

.footer-infor_left {
    gap: 8.2rem;
    flex: 1 0 auto;
    max-width: 50%;
}

.footer-infor_right {
    flex: 1 0 auto;
    max-width: 50%;
}


.footer-infor_des {
    color: #162b75;
    font-size: 1.2rem;
    line-height: 2.2rem;
}

.footer-infor_des p {
    margin-bottom: 0;
}

.footer-hotline,
.footer-hotline:hover,
.footer-hotline:active,
.footer-hotline:visited {
    display: flex;
    margin-top: 4rem;
    width: fit-content;
    background: #e0af59;
    border-radius: 0.4rem;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 1.2rem 2rem;
    flex-direction: row;
    align-items: center;
    color: #fff;
}

.footer-hotline span {
    display: inline-block;
    padding: 1rem 2rem;
}

.footer-hotline span:nth-child(1) {
    border-right: 0.05rem solid #fff;
}

.footer-hotline span:nth-child(2) {
    border-left: 0.05rem solid #fff;
}


.footer-infor_right .form-control {
    font-size: 1.6rem;
    padding: 1rem 1.8rem;
    margin-bottom: 0.5rem;
    border-radius: 0.4rem;
    width: 100%;
}

.footer-infor_right .btn {
    background: #e0af59;
    width: 100%;
    border-radius: 0.4rem;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    padding: 1rem;
}

.breadcrumb {
    font-size: 2rem;
    padding-top: 3.8rem;
    padding-bottom: 3.8rem;
    margin-bottom: 0;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 2rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\f138";
    font-family: bootstrap-icons, sans-serif !important;
    padding-right: 2rem;
    color: #000;
}

.breadcrumb-item.active {
    color: #000;
}

.projects {
    padding-top: 5.3rem;
}

.projects .project-card .project-card_body {
    padding-left: 2rem;
    padding-right: 2rem;
}

.project-area,
.project-policy {
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.project-area:before,
.project-policy:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.project-area .container-lg,
.project-policy .container-lg {
    display: flex;
    flex-direction: column;
    gap: 10rem;
    z-index: 1;
    position: relative;
}

.project-area_title,
.project-policy_title,
.project-virtual_title {
    font-size: 2.6rem;
    text-transform: uppercase;
    color: #e0af59;
    text-align: center;
    font-weight: bold;
}

.project-area_list,
.project-policy_list {
    font-size: 1.54rem;
    color: #fff;
    line-height: 1.5;
}

.project-area_list ul,
.project-policy_list ul {
    list-style: none;
    padding-left: 0;
    overflow-y: auto;
    max-height: 20rem;
}

.project-area_list ul li,
.project-policy_list ul li {
    position: relative;
    padding-left: 2rem;
}

.project-area_list ul li:not(:last-child),
.project-policy_list ul li:not(:last-child) {
    margin-bottom: 1.5rem;
}

.project-area_list ul li::before,
.project-policy_list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 1.1rem;
    height: 1.3rem;
    background-image: url('../images/arrow-left-white.png');
    background-size: contain;
    background-repeat: no-repeat;
}


.project-virtual {
    padding-top: 5rem;
    padding-bottom: 7.5rem;
    position: relative;
}

.project-virtual .container-lg {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

.project-virtual_title {
    color: #000;
}

.project-virtual_view {
    padding-bottom: 50%;
    position: relative;
}

.project-virtual_view iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-slider a {
    display: block;
    position: relative;
}

.banner-slider_des {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}

.banner-slider_title {
    font-size: 5.4rem;
}

.banner-slider_content {
    font-size: 2rem;
}

.view-pdf {
    cursor: pointer;
}

#popup-pdf .modal-dialog {
    max-width: 85vw !important;
    height: 85vh;
    margin: 10px auto 0;
}

#popup-pdf .modal-body {
    padding-bottom: 50%;
    position: relative;
    height: 85vh;
}

.modal {
    background: rgba(0, 0, 0, 0.8);
}

#popup-pdf_iframe {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
}

.pagination {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}


.pagination .page-item {
    aspect-ratio: 1/1;
    min-width: 3.4rem;
    min-height: 3.4rem;
    text-align: center;
}

/* Loading */
body .loader {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
}

body .loader_overlay {
    width: 150px;
    height: 150px;
    background: transparent;
    box-shadow: 0px 0px 0px 1000px rgba(255, 255, 255, 0.67), 0px 0px 19px 0px rgba(0, 0, 0, 0.16) inset;
    border-radius: 100%;
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

body .loader_cogs {
    z-index: -2;
    width: 100px;
    height: 100px;
    top: -120px !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

body .loader_cogs__top {
    position: relative;
    width: 100px;
    height: 100px;
    transform-origin: 50px 50px;
    animation: rotate 10s infinite linear;
}

body .loader_cogs__top div:nth-of-type(1) {
    transform: rotate(30deg);
}

body .loader_cogs__top div:nth-of-type(2) {
    transform: rotate(60deg);
}

body .loader_cogs__top div:nth-of-type(3) {
    transform: rotate(90deg);
}

body .loader_cogs__top .top_part {
    width: 100px;
    border-radius: 10px;
    position: absolute;
    height: 100px;
    background: #f98db9;
}

body .loader_cogs__top .top_hole {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: white;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

body .loader_cogs__left {
    position: relative;
    width: 80px;
    transform: rotate(16deg);
    top: 28px;
    transform-origin: 40px 40px;
    animation: rotate_left 10s .1s infinite reverse linear;
    left: -24px;
    height: 80px;
}

body .loader_cogs__left div:nth-of-type(1) {
    transform: rotate(30deg);
}

body .loader_cogs__left div:nth-of-type(2) {
    transform: rotate(60deg);
}

body .loader_cogs__left div:nth-of-type(3) {
    transform: rotate(90deg);
}

body .loader_cogs__left .left_part {
    width: 80px;
    border-radius: 6px;
    position: absolute;
    height: 80px;
    background: #97ddff;
}

body .loader_cogs__left .left_hole {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: white;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

body .loader_cogs__bottom {
    position: relative;
    width: 60px;
    top: -65px;
    transform-origin: 30px 30px;
    animation: rotate_left 10.2s .4s infinite linear;
    transform: rotate(4deg);
    left: 79px;
    height: 60px;
}

body .loader_cogs__bottom div:nth-of-type(1) {
    transform: rotate(30deg);
}

body .loader_cogs__bottom div:nth-of-type(2) {
    transform: rotate(60deg);
}

body .loader_cogs__bottom div:nth-of-type(3) {
    transform: rotate(90deg);
}

body .loader_cogs__bottom .bottom_part {
    width: 60px;
    border-radius: 5px;
    position: absolute;
    height: 60px;
    background: #ffcd66;
}

body .loader_cogs__bottom .bottom_hole {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background: white;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate_left {
    from {
        transform: rotate(16deg);
    }

    to {
        transform: rotate(376deg);
    }
}

@keyframes rotate_right {
    from {
        transform: rotate(4deg);
    }

    to {
        transform: rotate(364deg);
    }
}

/* End Loading */
