/* Real Estate Page */

.realestate-hero-section {
    position: relative;
    min-height: 88vh;
    margin-top: -80px;
    overflow: hidden;
}

.realestate-hero-bg,
.realestate-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.realestate-hero-bg img {
    object-fit: cover;
}

.realestate-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(1, 75, 111, 0.8), rgba(23, 156, 216, 0.65));
}

.realestate-intro-section {
    padding-top: 70px;
}

.realestate-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0;
    margin-left: clamp(1rem, 4vw, 3rem);
    padding-top: clamp(9rem, 14vw, 12rem);
    color: #fff;
}

.realestate-hero-content h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 8px;
}

.realestate-hero-content h2 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 18px;
    color: #d9f3ff;
}

.realestate-hero-content p,
.realestate-hero-content li {
    font-size: 1rem;
    line-height: 1.75;
}

.realestate-hero-content ul {
    margin-top: 14px;
    padding-left: 20px;
}

.service-block {
    padding: 90px 0;
    background: #fff;
    --section-image-height: 460px;
}

.service-block.alt {
    background: #f8fafc;
}

.service-grid {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.service-grid.single-col {
    grid-template-columns: 1fr;
    max-width: 1100px;
}

.service-text h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: #000;
    margin-bottom: 8px;
}

.service-text h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
    color: #000;
}

.service-text h3 {
    color: #179cd8;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.service-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.service-text ul {
    margin-top: 10px;
    padding-left: 20px;
    color: #444;
}

.two-col-lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 18px;
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
}

.service-text li {
    margin-bottom: 6px;
}

.service-image {
    position: relative;
    width: 100%;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    height: var(--section-image-height);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-image iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.mobile-flow-heading {
    display: none;
}

@media (max-width: 991.98px) {
    .service-block {
        --section-image-height: 360px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        padding: 0 25px;
    }

    .two-col-lists {
        grid-template-columns: 1fr;
    }

    .areas-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767.98px) {
    .realestate-hero-section .container-fluid,
    .service-block .container-fluid,
    .faq-section .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .realestate-hero-overlay {
        /* Match About page hero tint on mobile */
        background: linear-gradient(135deg, rgba(1, 75, 111, 0.75) 0%, rgba(23, 156, 216, 0.65) 100%) !important;
        z-index: 2 !important;
    }

    .realestate-hero-content {
        margin-left: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .service-grid,
    .faq-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .mobile-flow-grid {
        display: flex;
        flex-direction: column;
    }

    .mobile-flow-grid .mobile-flow-heading {
        display: block;
        order: 1;
        margin-bottom: 14px;
    }

    .mobile-flow-grid .service-image {
        order: 2;
    }

    .mobile-flow-grid .service-text {
        order: 3;
    }

    .mobile-flow-grid .service-text > h1,
    .mobile-flow-grid .service-text > h2 {
        display: none;
    }

    .service-block {
        --section-image-height: 300px;
    }
}
