/* =====================================================
           ROOT / PAGE SAFETY
        ====================================================== */

html {
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: relative;
}

.property-page {
    width: 100%;
    position: relative;
    overflow: visible !important;
}

.property-page section {
    position: relative;
}

.property-page img {
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* =====================================================
           COMMON TYPOGRAPHY
        ====================================================== */

.property-kicker {
    display: inline-block;
    color: #ff5722;
    font-family: "Rubik", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.property-page-title {
    color: #193a70;
    font-family: "Rubik", sans-serif;
    font-weight: 700;
}

.section-intro {
    color: #5f6368;
    line-height: 1.8;
}


/* =====================================================
           SPINNER
        ====================================================== */

#spinner {
    z-index: 99999;
    transition:
        opacity .35s ease,
        visibility .35s ease;
}

#spinner.show {
    opacity: 1;
    visibility: visible;
}

#spinner:not(.show) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* =====================================================
           PREMIUM PAGE HEADER
        ====================================================== */

.properties-page-header {
    position: relative;
    min-height: 330px;

    background-image:
        linear-gradient(90deg,
            rgba(25, 58, 112, .92) 0%,
            rgba(25, 58, 112, .72) 45%,
            rgba(25, 58, 112, .38) 100%),
        url("img/properties.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    overflow: hidden;

    animation: propertiesHeaderZoom 12s ease-in-out infinite alternate;
}

.properties-page-header::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(25, 58, 112, .25),
            transparent 55%);

    z-index: 1;
    pointer-events: none;
}

.properties-page-header::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -140px;
    bottom: -200px;

    border: 55px solid rgba(255, 87, 34, .14);

    border-radius: 50%;

    animation: propertiesHeaderCircle 12s linear infinite;

    pointer-events: none;

    z-index: 1;
}

.properties-page-header .container {
    position: relative;
    z-index: 4;
}

.properties-header-content {
    position: relative;
    z-index: 5;
}

.properties-header-bubble {
    position: absolute;

    width: 220px;
    height: 220px;

    left: -80px;
    bottom: -130px;

    border: 1px solid rgba(255, 255, 255, .14);

    border-radius: 50%;

    z-index: 2;

    animation: propertiesBubbleFloat 8s ease-in-out infinite;

    pointer-events: none;
}

.properties-header-bubble::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    top: -35px;
    right: -30px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .07);
}

.properties-page-header h1 {
    color: #fff;

    font-family: "Rubik", sans-serif;

    font-weight: 700;

    font-size: clamp(42px, 5vw, 64px);

    line-height: 1.1;

    margin-bottom: 15px;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, .28);
}

.properties-page-header .breadcrumb {
    margin: 0;
}

.properties-page-header .breadcrumb-item,
.properties-page-header .breadcrumb-item a {
    color: #fff;

    font-size: 15px;

    text-decoration: none;
}

.properties-page-header .breadcrumb-item a {
    transition: color .3s ease;
}

.properties-page-header .breadcrumb-item a:hover {
    color: #ff8a65;
}

.properties-page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, .72);
}

.properties-page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .65);
}

@keyframes propertiesHeaderZoom {
    0% {
        background-size: 100%;
    }

    100% {
        background-size: 108%;
    }
}

@keyframes propertiesHeaderCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes propertiesBubbleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(16px);
    }
}


/* =====================================================
           INTRODUCTION
        ====================================================== */

.property-intro-image {
    position: relative;

    overflow: hidden;

    background: #edf0f4;

    box-shadow:
        0 22px 55px rgba(25, 58, 112, .14);
}

.property-intro-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(to top,
            rgba(25, 58, 112, .45),
            transparent 48%);

    pointer-events: none;
}

.property-intro-image img {
    width: 100%;
    height: 520px;

    object-fit: cover;
    object-position: center;

    transition:
        transform 1s cubic-bezier(.22, .61, .36, 1);
}

.property-intro-image:hover img {
    transform: scale(1.045);
}

.property-intro-badge {
    position: absolute;

    left: 25px;
    bottom: 25px;

    z-index: 3;

    min-width: 230px;

    padding: 18px 22px;

    background: rgba(25, 58, 112, .96);

    color: #fff;

    border-left: 4px solid #ff5722;

    box-shadow:
        0 14px 32px rgba(0, 0, 0, .22);

    animation:
        propertyBadgeFloat 4s ease-in-out infinite;
}

.property-intro-badge small {
    display: block;

    color: #dce5f2;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.3px;

    margin-bottom: 5px;
}

.property-intro-badge strong {
    display: block;

    color: #fff;

    font-family: "Rubik", sans-serif;

    font-size: 22px;
}

@keyframes propertyBadgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.property-location-line {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #e5e7eb;

    color: #5f6368;

    line-height: 1.7;
}

.property-location-line i {
    color: #ff5722;

    margin-top: 5px;
}


/* =====================================================
           STATISTICS
        ====================================================== */

.property-stat-strip {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #193a70,
            #122a52);
}

.property-stat-strip::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -130px;
    top: -170px;

    border: 45px solid rgba(255, 87, 34, .11);

    border-radius: 50%;
}

.property-stat-strip::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: -100px;
    bottom: -110px;

    border: 25px solid rgba(255, 255, 255, .05);

    border-radius: 50%;
}

.property-stat {
    position: relative;

    z-index: 2;

    height: 100%;

    padding: 34px 25px;

    border-right: 1px solid rgba(255, 255, 255, .13);

    transition:
        background .35s ease,
        transform .35s ease;
}

.property-stat:hover {
    background: rgba(255, 255, 255, .055);

    transform: translateY(-4px);
}

.property-stat:last-child {
    border-right: 0;
}

.property-stat-number {
    color: #fff;

    font-family: "Rubik", sans-serif;

    font-size: 30px;

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 8px;
}

.property-stat-label {
    color: #d9e0eb;

    font-size: 13px;
}


/* =====================================================
           PROPERTY CARDS
        ====================================================== */

.property-block {
    height: 100%;

    background: #fff;

    border: 1px solid #e5e7eb;

    position: relative;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(25, 58, 112, .055);

    transition:
        transform .45s ease,
        box-shadow .45s ease,
        border-color .45s ease;
}

.property-block::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    background: #ff5722;

    z-index: 10;

    transition: width .45s ease;
}

.property-block:hover::before {
    width: 100%;
}

.property-block:hover {
    transform: translateY(-9px);

    border-color: #d8dde5;

    box-shadow:
        0 22px 48px rgba(25, 58, 112, .13);
}

.property-block-image {
    position: relative;

    overflow: hidden;

    background: #edf0f4;
}

.property-block-image img {
    width: 100%;
    height: 330px;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(.22, .61, .36, 1);
}

.property-block:hover .property-block-image img {
    transform: scale(1.06);
}

.property-block-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(to top,
            rgba(25, 58, 112, .52),
            transparent 52%);

    opacity: 0;

    transition: opacity .4s ease;
}

.property-block:hover .property-block-image::after {
    opacity: 1;
}

.property-number {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 4;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ff5722;

    color: #fff;

    font-family: "Rubik", sans-serif;

    font-size: 16px;
    font-weight: 700;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .18);

    transition:
        transform .35s ease,
        background .35s ease;
}

.property-block:hover .property-number {
    transform: rotate(5deg) scale(1.08);

    background: #193a70;
}

.property-block-content {
    padding: 30px;
}

.property-subtitle {
    color: #ff5722;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.3px;

    margin-bottom: 8px;
}

.property-block-content h3 {
    color: #193a70;

    font-family: "Rubik", sans-serif;

    font-size: 27px;
    font-weight: 700;

    margin-bottom: 12px;

    transition: color .3s ease;
}

.property-block:hover h3 {
    color: #ff5722;
}

.property-description {
    color: #5f6368;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* =====================================================
           SPECIFICATIONS
        ====================================================== */

.property-specs {
    border-top: 1px solid #eeeeee;
}

.property-spec-row {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 13px 0;

    border-bottom: 1px solid #eeeeee;

    transition:
        padding-left .25s ease,
        background .25s ease;
}

.property-spec-row:hover {
    padding-left: 6px;

    background: #fafafa;
}

.property-spec-label {
    color: #777;

    font-size: 14px;
}

.property-spec-value {
    color: #193a70;

    font-size: 14px;
    font-weight: 700;

    text-align: right;
}

.property-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}

.property-tag {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 11px;

    background: #f5f7fa;

    color: #4f5660;

    font-size: 12px;
    font-weight: 600;

    transition:
        transform .3s ease,
        background .3s ease;
}

.property-tag:hover {
    background: #fff0eb;

    transform: translateY(-3px);
}

.property-tag i {
    color: #ff5722;
}


/* =====================================================
           SITE OVERVIEW
        ====================================================== */

.site-overview {
    position: relative;

    overflow: hidden;

    background: #f5f7fa;

    box-shadow:
        0 10px 30px rgba(25, 58, 112, .07);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.site-overview:hover {
    transform: translateY(-4px);

    box-shadow:
        0 22px 48px rgba(25, 58, 112, .11);
}

.site-overview-image {
    height: 100%;
    min-height: 520px;

    overflow: hidden;
}

.site-overview-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(.22, .61, .36, 1);
}

.site-overview:hover .site-overview-image img {
    transform: scale(1.045);
}

.site-overview-content {
    padding: 60px;
}

.site-overview-content h2 {
    color: #193a70;

    font-family: "Rubik", sans-serif;

    font-weight: 700;
}

.site-overview-content>p {
    color: #5f6368;

    line-height: 1.8;
}

.site-detail {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 22px;
}

.site-detail-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #193a70;

    color: #fff;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.site-detail:hover .site-detail-icon {
    background: #ff5722;

    transform:
        translateY(-4px) rotate(3deg);

    box-shadow:
        0 8px 18px rgba(255, 87, 34, .20);
}

.site-detail h4 {
    color: #193a70;

    font-family: "Rubik", sans-serif;

    font-size: 17px;

    margin-bottom: 4px;
}

.site-detail p {
    color: #5f6368;

    font-size: 14px;

    margin-bottom: 0;

    line-height: 1.7;
}


/* =====================================================
           OFFICE FACILITIES
        ====================================================== */

.office-section {
    background: #fff;
}

.office-card {
    height: 100%;

    background: #fff;

    border: 1px solid #e5e7eb;

    position: relative;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(25, 58, 112, .05);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.office-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    background: #ff5722;

    z-index: 5;

    transition: width .45s ease;
}

.office-card:hover::before {
    width: 100%;
}

.office-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 42px rgba(25, 58, 112, .11);
}

.office-card-image {
    height: 250px;

    overflow: hidden;

    background: #edf0f4;
}

.office-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(.22, .61, .36, 1);
}

.office-card:hover .office-card-image img {
    transform: scale(1.06);
}

.office-card-content {
    padding: 28px;
}

.office-card-content h3 {
    color: #193a70;

    font-family: "Rubik", sans-serif;

    font-size: 21px;
    font-weight: 700;

    margin-bottom: 18px;

    transition: color .3s ease;
}

.office-card:hover h3 {
    color: #ff5722;
}

.office-card-content p {
    color: #5f6368;

    line-height: 1.7;

    margin-bottom: 10px;
}

.office-card-content strong {
    color: #193a70;
}


/* =====================================================
           PROPERTY IMAGE BOXES
        ====================================================== */

.property-image-box,
.gallery-item {
    position: relative;

    overflow: hidden;

    background: #edf0f4;

    box-shadow:
        0 9px 26px rgba(25, 58, 112, .07);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.property-image-box:hover,
.gallery-item:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 38px rgba(25, 58, 112, .12);
}

.property-image-box img,
.gallery-item img {
    width: 100%;

    height: 280px;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(.22, .61, .36, 1),
        filter .4s ease;
}

.property-image-box:hover img {
    transform: scale(1.07);
}

.gallery-item:hover img {
    transform: scale(1.07);

    filter: brightness(.84);
}

.gallery-label {
    position: absolute;

    left: 16px;
    bottom: 16px;

    padding: 8px 14px;

    background: rgba(25, 58, 112, .94);

    color: #fff;

    font-family: "Rubik", sans-serif;

    font-size: 12px;
    font-weight: 600;

    transition:
        transform .3s ease,
        background .3s ease;
}

.gallery-item:hover .gallery-label {
    transform: translateY(-4px);

    background: rgba(255, 87, 34, .96);
}


/* =====================================================
           APPROVAL / KEY INFORMATION
        ====================================================== */

.approval-section {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #193a70,
            #122a52);
}

.approval-section::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -160px;
    bottom: -180px;

    border-radius: 50%;

    border: 55px solid rgba(255, 87, 34, .08);

    animation:
        approvalRotate 10s linear infinite;
}

.approval-section::after {
    content: "";

    position: absolute;

    width: 370px;
    height: 370px;

    right: -180px;
    top: -210px;

    border-radius: 50%;

    border: 65px solid rgba(255, 87, 34, .08);

    animation:
        approvalRotateReverse 13s linear infinite;
}

.approval-section .container {
    position: relative;

    z-index: 2;
}

@keyframes approvalRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes approvalRotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.approval-image {
    height: 390px;

    overflow: hidden;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, .22);
}

.approval-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(.22, .61, .36, 1);
}

.approval-image:hover img {
    transform: scale(1.05);
}

.approval-item {
    display: flex;

    align-items: center;

    gap: 18px;
}

.approval-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ff5722;

    color: #fff;

    font-size: 22px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.approval-item:hover .approval-icon {
    transform:
        scale(1.08) rotate(4deg);

    box-shadow:
        0 10px 25px rgba(255, 87, 34, .25);
}

.approval-item h3 {
    color: #fff;

    font-family: "Rubik", sans-serif;

    font-size: 20px;

    margin-bottom: 4px;
}

.approval-item p {
    color: #d9e0eb;

    margin-bottom: 0;

    font-size: 14px;
}


/* =====================================================
           PROPERTY ENQUIRY
        ====================================================== */

.property-enquiry {
    position: relative;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e5e7eb;

    padding: 48px;

    box-shadow:
        0 12px 35px rgba(25, 58, 112, .07);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.property-enquiry::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #ff5722;
}

.property-enquiry:hover {
    transform: translateY(-5px);

    box-shadow:
        0 22px 46px rgba(25, 58, 112, .11);
}

.property-enquiry h2 {
    color: #193a70;

    font-family: "Rubik", sans-serif;

    font-weight: 700;
}

.property-enquiry p {
    color: #5f6368;

    line-height: 1.8;
}

.property-enquiry-list {
    list-style: none;

    padding: 0;
    margin: 0;
}

.property-enquiry-list li {
    margin-bottom: 13px;

    color: #555;

    transition:
        transform .25s ease;
}

.property-enquiry-list li:hover {
    transform: translateX(5px);
}

.property-enquiry-list i {
    color: #ff5722;

    margin-right: 10px;

    width: 17px;
}


/* =====================================================
           FINAL CTA
        ====================================================== */

.property-final-cta {
    position: relative;

    overflow: hidden;

    background: #f5f7fa;

    border-top: 1px solid #e5e7eb;

    border-bottom: 1px solid #e5e7eb;
}

.property-final-cta::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    left: -120px;
    top: -150px;

    border: 35px solid rgba(25, 58, 112, .06);

    border-radius: 50%;
}

.property-final-cta::after {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    right: -120px;
    bottom: -155px;

    border: 35px solid rgba(255, 87, 34, .08);

    border-radius: 50%;
}

.property-final-cta .container {
    position: relative;

    z-index: 2;
}

.property-final-cta h2 {
    color: #193a70;

    font-family: "Rubik", sans-serif;

    font-weight: 700;
}

.property-final-cta p {
    color: #5f6368;

    line-height: 1.8;
}


/* =====================================================
           BUTTON
        ====================================================== */

.property-page .btn-primary {
    position: relative;

    overflow: hidden;

    background: #ff5722;

    border-color: #ff5722;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.property-page .btn-primary::after {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background: rgba(255, 255, 255, .18);

    transform: skewX(-25deg);

    transition: left .6s ease;
}

.property-page .btn-primary:hover {
    background: #e64a19;

    border-color: #e64a19;

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(255, 87, 34, .24);
}

.property-page .btn-primary:hover::after {
    left: 140%;
}

.property-page .btn-primary i {
    transition: transform .3s ease;
}

.property-page .btn-primary:hover i {
    transform: translateX(4px);
}


/* =====================================================
           RESPONSIVE
        ====================================================== */

@media (max-width: 991.98px) {

    .property-intro-image img {
        height: 430px;
    }

    .property-stat {
        border-right: 0;

        border-bottom:
            1px solid rgba(255, 255, 255, .13);
    }

    .property-stat:last-child {
        border-bottom: 0;
    }

    .site-overview-content {
        padding: 45px 35px;
    }

    .approval-image {
        height: 350px;
    }
}


@media (max-width: 767.98px) {

    .properties-page-header {
        min-height: 300px;

        background-size: cover;

        animation: none;
    }

    .properties-header-content {
        padding: 35px 0;
    }

    .properties-page-header h1 {
        font-size: 40px;
    }

    .property-intro-image img {
        height: 320px;
    }

    .property-intro-badge {
        left: 15px;
        bottom: 15px;

        min-width: auto;

        padding: 15px 18px;
    }

    .property-intro-badge strong {
        font-size: 18px;
    }

    .property-block-image img {
        height: 250px;
    }

    .property-block-content {
        padding: 25px;
    }

    .office-card-image {
        height: 230px;
    }

    .site-overview-image,
    .site-overview-image img {
        min-height: 300px;
    }

    .site-overview-content {
        padding: 35px 25px;
    }

    .approval-image {
        height: 280px;
    }

    .property-enquiry {
        padding: 30px 22px;
    }

    .property-spec-row {
        flex-direction: column;

        gap: 4px;
    }

    .property-spec-value {
        text-align: left;
    }

    .property-image-box img,
    .gallery-item img {
        height: 230px;
    }

    .property-stat {
        padding: 25px 20px;
    }
}


@media (max-width: 575.98px) {

    .properties-page-header {
        min-height: 280px;
    }

    .properties-header-content {
        padding: 30px 0;
    }

    .properties-page-header h1 {
        font-size: 32px;
    }

    .property-kicker {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .property-block-content h3 {
        font-size: 23px;
    }

    .site-overview-content {
        padding: 30px 20px;
    }

    .property-final-cta h2 {
        font-size: 30px;
    }
}


/* =====================================================
           REDUCED MOTION
        ====================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .properties-page-header,
    .properties-page-header::after,
    .properties-header-bubble,
    .property-intro-badge,
    .approval-section::before,
    .approval-section::after {
        animation: none !important;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}