@font-face {
    font-family: "Bellarina";
    src: url("font/Bellarina.otf") format("opentype");
    font-weight: 400;
}

@font-face {
    font-family: "Chronicle";
    src: url("font/ChronicleTextG1-Bold-Pro.otf") format("opentype");
    font-weight: 600;
}

@font-face {
    font-family: "Fraternite";
    src: url("font/Fraternite.otf") format("opentype");
    font-weight: 400;
}

@font-face {
    font-family: "Poppins";
    src: url("font/Poppins-Medium.ttf") format("opentype");
    font-weight: 400;
}



* {
    position: relative;

}

body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#hero {
    position: relative;
    overflow: hidden;
    height: auto;
}

#hero>video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: -1;
}

#top-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100px;
    width: calc(100% - 80px);
    background-color: none;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    transition: all 0.3s ease;
}

#top-menu.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo-wrapper {
    height: 75%;
}

.logo-wrapper>img {
    height: 100%;
    object-fit: contain;
}

.left-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    align-self: flex-start;
    padding: 10px;
}

.menu-item {
    padding: 10px 20px;
    margin-left: 30px;
    text-decoration: none;
    font-weight: 300;
    color: #00382A;
    font-family: "Poppins";
}

#hero>.title-wrapper {
    position: absolute;
    top: 200px;
    left: 15%;
    z-index: 1;
    width: 470px;
    animation-name: left-to-right;
    animation-duration: 2s;
}

.hero-title {
    font-family: "Chronicle";
    font-size: 2em;
    line-height: 1.8em;
    color: #00382A;
}

.special-font {
    font-family: "Bellarina";
    font-size: 2.3em;
    font-weight: 300;
    margin-right: -40px;
}

#map {
    width: 100%;
    margin-top: -5px;
}

.map-image-wrapper {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.map-image-wrapper>img {
    width: 100%;
    height: 100%;
}

#building {
    width: 100%;
    margin-top: -5px;
    overflow: hidden;
}

#building>video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


#building-type {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin-top: -5px;
}

.building-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 10px 40px;
    flex: 1;
}

#sky-bungalow {
    background-image: url("img/bungalow-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#sky-semid {
    background-image: url("img/semi-d-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#loft-plus {
    background-image: url("img/loft-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.building-type-title {
    color: #fff;
    font-size: 1.8em;
    font-weight: 600;
    text-align: center;
    border-bottom: solid 0.5px #fff;
    width: fit-content;
    line-height: 1.8em;
    margin-bottom: 20px;
    display: flex;
}

.building-type-title>.special-font {
    margin-right: 7px;
    font-weight: 300;
    font-size: 1.6em;
}

#loft-plus>.building-type-title>.special-font {
    margin-right: 0;
    margin-left: 5px;
}

.building-type-item {
    padding: 40px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.building-type-icon {
    width: 90px;
}

.building-type-icon>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.building-type-icon-label {
    color: #fff;
    font-size: 1em;
    text-align: center;
    font-weight: 600;
    margin-top: 5px;
}

#special-features {
    background-color: #B89D75;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: calc(100% - 30px);
    padding: 0;
    margin-top: -5px;
    padding: 50px 15px 20px;
}

.special-features-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #00382A;
}

.special-features-title>.special-font {
    margin-right: 1px;
    font-weight: 300;
    font-size: 1.6em;
}

.slide-wrapper {
    width: 100%;
}

.swiper {
    margin: 10px auto 30px;
    width: 75%;
    position: relative;
}

.slider-image {
    width: 100%;
}

.slider-image>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* filter: brightness(80%); */
}

.slider-image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 4px;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.5) 100%);
}

.slider-controls-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.slider-arrow {
    height: 30px;
    width: 30px;
    z-index: 3;
}

.slider-arrow>img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

#slider-left {
    position: absolute;
    top: calc(50% - 40px);
    left: 8%;
}

#slider-right {
    position: absolute;
    top: calc(50% - 40px);
    right: 8%;
}

.swiper-pagination-bullets {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 20px !important;
    border-radius: 30px !important;
    background-color: #fff !important;
    opacity: 1 !important;
    height: 3px !important;
    margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
    background-color: #B89D75 !important;
}

.slider-caption-wrapper {
    position: absolute;
    bottom: 35px;
    width: 100%;
    z-index: 1;
}

.slider-remark {
    text-align: left;
    color: #fff;
    font-weight: 400;
    font-size: 0.6em;
    margin-left: 5%;
}

.slider-caption {
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9em;
}

#slider-popup-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.popup-image {
    width: 90%;
    height: fit-content;
}

.popup-image>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#floor-plan {
    background-image: url("img/floorplan-bg_1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: calc(100% - 30px);
    padding: 0;
    margin-top: -5px;
    padding: 80px 15px 20px;
}

.floor-plan-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #B89D75;
}

.floor-plan-title>.special-font {
    margin-right: 1px;
    font-weight: 300;
    font-size: 1.6em;
}

.floor-plan-label-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    flex: 1;
    flex-wrap: wrap;
}

.floor-plan-label {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 2em;
}

.floor-plan-label.active,
.floor-plan-label:hover {
    color: #B89D75;
}

.floor-plan-label-divider {
    margin: 0 15px;
    width: 1px;
    height: 10px;
    border-left: solid #fff 1px;
}

.floor-plan-desc-wrapper {
    margin: 10px auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.floor-plan-desc-text {
    font-size: 1.8em;
    line-height: 1.8em;
    font-weight: 600;
    color: #B89D75;
    text-align: center;
    margin: 150px auto;
}

.floor-plan-remark {
    font-size: 0.6em;
    font-family: "Poppins";
}

.floor-plan-desc {
    display: none;
}

.floor-plan-image {
    width: 80%;
    margin: 30px auto 50px;
}

.floor-plan-image>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#location-map {
    background-color: #E4DCD5;
    /* display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between; */
    width: 100%;
    padding: 0;
    margin-top: -5px;
    display: grid;
    grid-template-columns: 60% 40%;
    overflow: hidden;
}

.map-wrapper {
    /* width: 60%; */
    width: calc(100% - 40px);
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* height: 100%; */
}

.location-wrapper {
    background-color: #6E3F44;
    /* width: 40%; */
    width: calc(100% - 80px);
    padding: 60px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* height: 100%; */
}

.map-title {
    line-height: 1.5em;
    font-size: 1.4em;
    font-weight: 600;
    color: #00382A;
    width: 80%;
    text-align: center;
}

.map-title>.special-font {
    margin-right: 11px;
}

.map-image {
    width: 80%;
}

.map-image>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.location-item-wrapper {
    width: 70%;
    padding: 15px 10px;
}

.location-item-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 5px;
}

.location-item-title-wrapper:hover {
    cursor: pointer;
}

.location-item-title {
    color: #B89D75;
    font-size: 1em;
    font-weight: 600;
}

.location-item-expand {
    width: 11px;
    height: 11px;
}

.location-item-expand>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.location-item-desc-wrapper {
    height: 0;
    opacity: 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

.location-item-desc {
    width: 100%;
    color: #B89D75;
    font-size: 0.8em;
    font-weight: 300;
    font-family: "Poppins";
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.location-item-desc-name {
    margin-right: 8px;
}

.location-item-divider {
    margin: 10px;
    width: 70%;
    height: 1px;
    border-bottom: solid #B89D75 1px;
}

#register {
    background-image: url("img/registerinterest-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: calc(100% - 30px);
    padding: 0;
    margin-top: -5px;
    padding: 80px 15px 20px;
    min-height: 500px;
}

.register-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #00382A;
}

.register-title>.special-font {
    margin-right: 1px;
    font-weight: 300;
    font-size: 1.6em;
}

.form-section {
    margin: 20px auto 30px;
}

input,
textarea,
select {
    -webkit-appearance: none;
    width: 100%;
    padding: 20px;
    border: 1px solid #00382A;
    background: transparent;
    font-weight: bold;
    font-size: 18px;
    color: #00382A;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-family: "Chronicle";
}

input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible select:focus,
select:focus-visible {
    outline: none;
    border-width: 2px;
}

input::placeholder {
    color: #00382A;
    font-family: "Chronicle";
}

.phone-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
}


textarea::placeholder {
    color: #00382A;
    font-family: "Poppins";
    font-weight: 300;
    font-size: 0.9em;

}

textarea {
    resize: none;
    overflow: hidden;
    height: 50px;
    font-size: 16px;
    font-weight: normal;
    font-family: "Chronicle";
    border-top: none;
    border-left: none;
    border-right: none;
    font-weight: 400;
}

.form-section {
    max-width: 600px;
    margin: 0 auto;
}

#interest-form {
    display: flex;
    flex-direction: column;
}

.form-section .label {
    font-size: 1.2em;
    font-weight: bold;
    color: #00382A;
    margin-top: 20px;
    margin-bottom: 8px;
    margin-left: 21px;
}

.terms {
    font-size: 0.7em;
    line-height: 1.5;
    color: #00382A;
    font-family: "Poppins";
    text-align: justify;
    margin-left: 10px;
}

.terms a {
    color: #00382A;
}

.submit-button {
    background-color: #00382A;
    color: #B89D75;
    padding: 15px 30px;
    border: none;
    font-size: 20px;
    font-weight: bold;
    margin: 30px auto;
    cursor: pointer;
    width: auto;
}

.footer-wrapper {
    width: 90%;
    margin: -5px auto 5px;
    padding: 30px 5% 20px;
    background-color: #fff;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.footer-logo {
    width: 20%;
    margin-top: 20px;
}

.footer-logo>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-contact {
    color: #00382A;
    text-align: right;
}

.footer-contact-no {
    font-size: 2em;
    font-weight: 600;
    line-height: 1.8em;
}

.footer-contact-addr {
    font-size: 0.8em;
    font-family: "Poppins";
}

.footer-copyright {
    color: #00382A;
    font-size: 0.7em;
    font-family: "Poppins";
}

#register-popup-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.register-popup {
    width: 90%;
    max-width: 500px;
    background-color: #B89D75;
    text-align: center;
    padding: 30px 60px;
    margin: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.popup-title {
    font-size: 2em;
    font-weight: 600;
    line-height: 1.8em;
    color: #00382A;
}

.popup-desc {
    color: #00382A;
    font-size: 0.7em;
    font-family: "Poppins";
}

.popup-btn {
    background-color: #00382A;
    color: #B89D75;
    padding: 10px 20px;
    border: none;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px auto 0;
    cursor: pointer;
    width: fit-content;
}

.fab-wrapper {
    position: fixed;
    bottom: 5%;
    right: 2%;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: auto;
}

.fab-wrapper>a {
    display: inline-block;
    width: auto;
}

.whatsapp-icon,
.register-btn {
    width: 80px;
    height: 80px;
}

.whatsapp-icon>img,
.register-btn>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-top: 15px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #f5f5f5;
    border: 2px solid #00382A;
    /* border-radius: 4px; */
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.custom-checkbox input:checked+.checkmark {
    background-color: #00382A;
}

.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked+.checkmark::after {
    display: block;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}



@keyframes left-to-right {
    from {
        left: 0px;
        opacity: 0;
    }

    to {
        left: 15%;
        opacity: 1;
    }
}



@media (min-width: 768px) and (max-width: 1024px) {
    #hero>.title-wrapper {
        top: 120px;
    }

    .hero-title {
        font-size: 1.5em;
    }

    .menu-item {
        margin-left: 5px;
    }

    #building>video {
        transform: scale(1.2);
    }

    .swiper {
        width: 90%;
    }

    #slider-left {
        left: 6%;
    }

    #slider-right {
        right: 6%;
    }

    .location-wrapper {
        width: 100%;
        padding: 30px 0 20px;
    }

    .location-item-wrapper {
        padding: 5px;
        width: 80%;
    }

    .location-item-title-wrapper {
        padding-bottom: 0;
    }

    .location-item-title {
        font-size: 0.8em;
    }

    .location-item-desc {
        font-size: 0.7em;
    }

    .location-item-divider {
        width: 80%;
    }

    .footer-logo {
        width: 30%;
    }
}

@media (max-width: 767px) {
    #hero>.title-wrapper {
        top: 120px;
    }

    .hero-title {
        font-size: 1.5em;
    }

    .menu-item {
        margin-left: 5px;
    }

    .left-menu {
        display: none;
    }

    #building>video {
        transform: scale(1.3);
    }

    #building-type {
        flex-direction: column;
    }

    .building-type {
        margin-top: -1px;
    }

    .swiper {
        width: 100%;
    }

    #slider-left {
        left: 3%;
    }

    #slider-right {
        right: 3%;
    }

    #location-map {
        display: block;
    }

    .footer-contact-no {
        font-size: 1.5em;
        line-height: 1.4em;
    }

    .footer-contact-addr {
        font-size: 0.7em;
    }

    .footer-logo {
        width: 33%;
    }

    .whatsapp-icon,
    .register-btn {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    #top-menu {
        height: 60px;
    }

    #hero>.title-wrapper {
        top: 70px;
    }

    .hero-title {
        font-size: 1.2em;
    }

    .hero-title>.special-font {
        margin-right: -30px;
    }

    .map-image-wrapper {
        transform: scale(1.1);
    }

    .map-image {
        width: 100%;
    }

    .menu-item {
        margin-left: 5px;
    }

    .left-menu {
        display: none;
    }

    #building>video {
        transform: scale(1.3);
    }

    #building-type {
        flex-direction: column;
    }

    .building-type {
        margin-top: -1px;
    }

    .swiper {
        width: 100%;
    }

    #slider-left {
        left: 3%;
    }

    #slider-right {
        right: 3%;
    }

    #location-map {
        display: block;
    }

    .location-item-wrapper,
    .location-item-divider {
        width: 100%;
    }

    .location-item-title-wrapper {
        padding-bottom: 0;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .footer-contact {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-contact-no {
        font-size: 1.5em;
        line-height: 1.4em;
    }

    .footer-contact-addr {
        font-size: 0.7em;
    }

    .footer-logo {
        width: 50%;
        margin-bottom: 20px;
    }

    .floor-plan-desc-text {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .whatsapp-icon,
    .register-btn {
        width: 65px;
        height: 65px;
    }
}


.iphone .hero-title .special-font {
    margin-right: -10px;
}
.iphone .slider-image::after {
    bottom: 5px;
}