/* Real Estate Website Development – full width (col-lg-12) intro */
.rewd-about-wrap {
    width: 100%;
    background: #fff;
    border: 1px solid #e8edf2;
    border-left: 5px solid #ff541e;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 6px 22px rgba(0, 33, 71, 0.07);
}

.rewd-about-wrap p {
    margin: 0 0 16px 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
    text-align: left;
}

.rewd-about-wrap p:last-child {
    margin-bottom: 0;
    padding-top: 16px;
    border-top: 1px dashed #dce3ea;
}

@media (max-width: 767px) {
    .rewd-about-wrap {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .rewd-about-wrap p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* Why Choose section */
.rewd-why-sec {
    background: #f7f9fc;
    padding: 28px 0;
    border-top: 1px solid #e8edf2;
}

.rewd-why-sec .mumbai-why-heading,
.rewd-design-sec .mumbai-why-heading,
.rewd-lead-sec .mumbai-why-heading {
    margin: 0 0 20px 0;
}

.rewd-why-row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.rewd-why-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.rewd-why-content {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 6px 22px rgba(0, 33, 71, 0.06);
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rewd-why-content h2 {
    margin: 0 auto 10px auto;
    padding: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #002147;
    line-height: 1.3;
    border-bottom: 3px solid #ff541e;
    display: table;
    text-align: center;
}

.rewd-why-content p {
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #4a5568;
    text-align: left;
}

.rewd-why-content p:last-child {
    margin-bottom: 0;
}

.rewd-why-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 33, 71, 0.12);
    margin-bottom: 0;
    background: #fff;
    padding: 8px;
    border: 1px solid #e8edf2;
    height: 100%;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rewd-why-image::before {
    content: '';
    position: absolute;
    top: -6px;
    right: -6px;
    width: 50px;
    height: 50px;
    border-top: 3px solid #ff541e;
    border-right: 3px solid #ff541e;
    border-radius: 0 12px 0 0;
    z-index: 1;
    pointer-events: none;
}

.rewd-why-image img {
    width: 100%;
    height: 100%;
    max-height: 304px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Desktop: image height matches adjacent content */
@media (min-width: 992px) {
    .rewd-why-image {
        max-height: none;
        align-self: stretch;
        flex: 1 1 auto;
        min-height: 0;
    }

    .rewd-why-image img {
        max-height: none;
        flex: 1 1 auto;
        align-self: stretch;
        height: 100%;
        min-height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 991px) {
    .rewd-why-sec {
        padding: 22px 0;
    }

    .rewd-why-content h2 {
        font-size: 18px;
    }

    .rewd-why-content {
        padding: 16px 14px;
        margin-bottom: 14px;
        height: auto;
    }

    .rewd-why-image {
        height: auto;
        max-height: none;
        min-height: 0;
        padding: 6px;
    }

    .rewd-why-image img {
        height: auto;
        max-height: none;
        min-height: 0;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }
}

/* Design company section */
.rewd-design-sec {
    background: #fff;
    padding: 28px 0;
    border-top: 1px solid #e8edf2;
}

@media (max-width: 991px) {
    .rewd-design-sec {
        padding: 22px 0;
    }

}

/* Lead generation section */
.rewd-lead-sec {
    background: #f7f9fc;
    padding: 28px 0;
    border-top: 1px solid #e8edf2;
}

@media (max-width: 991px) {
    .rewd-lead-sec {
        padding: 22px 0;
    }
}

/* City location points */
.rewd-locations-sec {
    background: #fff;
    padding: 36px 0 40px;
    border-top: 1px solid #e8edf2;
}

.rewd-location-box {
    background: #f7f9fc;
    border: 1px solid #e8edf2;
    border-top: 3px solid #ff541e;
    border-radius: 12px;
    padding: 22px 20px;
    margin-bottom: 20px;
    height: 100%;
    box-shadow: 0 6px 22px rgba(0, 33, 71, 0.06);
}

.rewd-location-box h3 {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #002147;
    line-height: 1.35;
}

.rewd-location-box p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #4a5568;
}

@media (max-width: 767px) {
    .rewd-locations-sec {
        padding: 24px 0 28px;
    }

    .rewd-location-box h3 {
        font-size: 16px;
    }
}
