.main_content {
    padding-top: 0px;
    background-color: #f6f6f8;

    @media (max-width: 568px) {
        padding-top: 60px;
    }

    & .light_badge {
        display: inline-flex;
        padding: 10px 20px;
        justify-content: center;
        align-items: center;
        border-radius: 30px;
        background: #e1f0f8;

        & span {
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
        }
    }

    /*   TODO Hero section css   */

    .hero-bg-img {
        /* background-image: url(../images/hero-bg.jpeg); */
        background-size: cover;
        height: 100%;
        width: 100%;
        padding: 100px 50px;
    }

    /* For tablets and below (<= 991px) */
    @media (max-width: 991px) {
        .hero-bg-img {
            padding: 0;
        }
    }

    /* For mobile only (<= 576px) */
    @media (max-width: 576px) {
        .hero-bg-img {
            padding: 0;
        }
    }

    & .hero_section {
        position: relative;
        /* padding-left: 155px; */
        overflow: hidden;
        /* padding-top: 16rem; */

        @media (max-width: 1280px) {
            padding-left: 100px;
        }

        @media (max-width: 568px) {
            padding-left: 1px;
        }

        & h1 {
            color: #ffffff;
            font-size: 50px;
            font-weight: 700;
            line-height: 118%;

            @media (max-width: 568px) {
                font-size: 30px;
                padding-top: 30px;
            }
        }

        & .desc {
            color: #ffffff;
            font-size: 24px;
            font-weight: 400;
            line-height: 180%;
            margin-top: 25px;
            max-width: 840px;

            @media (max-width: 568px) {
                font-size: 14px;
                margin-top: 15px;
            }
        }

        & .green_desc {
            color: #000;
            font-size: 18px;
            font-weight: 400;
            line-height: 140%;
            margin-left: 10px;

            @media (max-width: 568px) {
                font-size: 14px;
            }
        }
    }

    & .customer_say_section {
        max-width: 88%;

        @media (max-width: 1024px) {
            max-width: 100%;
        }

        & h2 {
            color: #06040a;
            font-size: 38px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;

            @media (max-width: 568px) {
                font-size: 24px;
            }
        }

        & .desc {
            max-width: 870px;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 180%;
        }

        & .google_rating_card {
            max-width: 288px;
            height: 179px;
            border-radius: 15px;
            display: flex;
            justify-content: center;
            flex-direction: column;
            text-align: center;
            position: relative;
            z-index: 100;

            @media (max-width: 568px) {
                max-width: 100% !important;
            }

            & p {
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                color: #06040a;
            }
        }

        & .customer_say_card {
            width: 100%;
            height: 359px;
            border-radius: 15px;
            background: #fff;
            position: relative;
            padding-left: 102px;
            padding-right: 20px;
            padding-top: 74px;
            border: 1px solid #8080802e;

            @media (max-width: 1500px) {
                padding-left: 40px;
                padding-top: 60px;
            }

            @media (max-width: 1024px) {
                padding-left: 60px;
            }

            & .cots_img {
                position: absolute;
                left: 10%;
                top: 13%;

                @media (max-width: 568px) {
                    top: 8%;
                }
            }

            & h2 {
                color: var(--black);
                font-size: 22px;
                font-style: normal;
                font-weight: 700;
                line-height: 140%;
            }

            & p {
                max-width: 400px;
                color: var(--black);
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;

                @media (max-width: 1500px) {
                    font-size: 14px;
                }
            }

            & .user_details {
                display: flex;

                & .user_img {
                    display: inline-block;
                    border-radius: 50%;
                    overflow: hidden;
                }

                & .user_name {
                    color: var(--black);
                    font-size: 22px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 113%;
                }

                & .user_desc {
                    color: var(--black);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%;
                }
            }
        }

        & .carousel .carousel-control-prev {
            width: 50px;
            height: 50px;
            border: 1px solid black !important;
            top: 43%;
            border-radius: 50%;
            left: -4%;
        }

        & .carousel .carousel-control-next {
            width: 50px;
            height: 50px;
            border: 1px solid black !important;
            top: 43%;
            border-radius: 50%;
            right: -4%;
        }

        @media (min-width: 1025px) {
            .carousel-item {
                margin-right: 20px;
                flex: 0 0 50%;
                display: block;
                margin-left: -6px;
            }

            .carousel-inner {
                display: flex;
            }
        }

        @media (min-width: 768px) {
            .carousel-inner {
                padding-left: 1em;
                padding-right: 1em;
                padding-bottom: 77px;
            }

            .carousel-control-prev,
            .carousel-control-next {
                opacity: 1;
                position: absolute;
                transform: translateY(-50%);
            }
        }
    }

    /*   TODO  Discover Cities   */

    & .discover_cities {
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;

        @media (max-width: 768px) {
            background-repeat: repeat;
            background-size: unset;
        }

        & h2 {
            color: var(--black);
            font-size: 38px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;

            @media (max-width: 568px) {
                font-size: 20px;
            }
        }

        & .search_bar {
            max-width: 488.863px;
            height: 55px;
            border-radius: 40px;
            border: 1px solid var(--blue);
            background: #ffffff;
            overflow: hidden;
            position: relative;

            & input {
                width: 100%;
                height: 55px;
                padding-left: 20px;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                color: var(--black);
                padding-bottom: 4px;
            }

            & button {
                background-image: var(--bg-primary);
                position: absolute;
                right: 10px;
                top: 6px;
                border: 0;
                border-radius: 50%;
                width: 40px;
                height: 40px;
            }
        }

        & ul {
            & li {
                margin-bottom: 15px;

                & .city_img {
                    aspect-ratio: 1 / 1;
                    max-width: 156px;
                    width: 100%;
                    border-radius: 12px;
                    overflow: hidden;
                    background-position: center;
                    background-size: cover;

                    & .bg_light_gray {
                        width: 100%;
                        height: 100%;
                        background-color: rgb(0 0 0 / 48%);
                    }
                }

                & p {
                    color: var(--black);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 180%;
                    margin-top: 15px;
                }
            }
        }
    }

    /*   TODO  Our Services   */

    & .our_services {
        position: relative;

        & h2 {
            color: var(--black);
            font-size: 38px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;

            @media (max-width: 568px) {
                font-size: 26px;
            }
        }

        & .desc {
            color: var(--black);
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 180%;
            max-width: 790px;
            text-align: center;
        }

        & ul {
            display: flex;
            flex-wrap: wrap;

            & li {
                margin-right: 15px;
                margin-bottom: 15px;

                @media (max-width: 568px) {
                    margin-right: 0;
                }
            }
        }

        & .service_card {
            max-width: 305px;
            display: inline-flex;
            padding: 18px;
            flex-direction: column;
            align-items: flex-start;
            border-radius: 10px;
            background: #ffffff;
            box-shadow: 10px 40px 80px 0px rgba(45, 51, 81, 0.1);
            height: 460px;
            justify-content: space-between;
            transition: 0.8s;
            border: 4px solid transparent;
            animation-delay: 0.8s;

            &:hover {
                border: 4px solid var(--blue);
            }

            @media (min-width: 1100px) and (max-width: 1450px) {
                max-width: 280px;
            }

            & .top_img {
                border-radius: 10px;
                overflow: hidden;

                & img {
                    width: 100%;
                    height: 208px;
                }
            }

            & h2 {
                color: var(--black);
                font-size: 22px;
                font-style: normal;
                font-weight: 700;
                line-height: 140%;
            }

            & p {
                color: var(--black);
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: 145%;
            }
        }
    }

    /*   TODO   How It Work   */

    & .how_it_work {
        & .how_it_container {
            width: 78%;

            @media (max-width: 1440px) {
                width: 100%;
            }
        }

        & h2 {
            color: var(--black);
            font-size: 38px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;

            @media (max-width: 568px) {
                font-size: 26px;
            }
        }

        & .desc {
            color: var(--black);
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 180%;
            max-width: 790px;
            text-align: center;
        }

        & ul {
            display: flex;
            flex-wrap: wrap;

            & li {
                margin-right: 15px;
                margin-bottom: 15px;

                @media (max-width: 568px) {
                    margin-right: 0;
                }
            }
        }

        & .how_work_card {
            display: flex;
            max-width: 361px;
            height: 294px;
            padding: 22px 37.5px;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            border-radius: 10px;
            border: 0.75px solid #fff;
            background: #f6f6f8;
            box-shadow: 10px 40px 80px 0px rgba(45, 51, 81, 0.02);
            position: relative;
            transition: 0.4s;

            &:hover {
                background: #ffffff;
                box-shadow: 10px 40px 80px 0px rgba(45, 51, 81, 0.1);
                transform: scale(1.09);
                z-index: 10;
            }

            & .top_img img {
                width: 60px;
                height: 60px;
            }

            & p {
                color: var(--black);
                font-size: 18px;
                font-style: normal;
                font-weight: 700;
                line-height: 140%;
            }

            & span {
                color: var(--black);
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: 145%;
            }

            & .number {
                font-size: 140px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
                opacity: 0.3;
                background: linear-gradient(
                    180deg,
                    rgba(15, 137, 202, 0.45) 0%,
                    rgba(46, 190, 190, 0) 100%
                );
                background-clip: text;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                position: absolute;
                right: 27px;
                bottom: 6px;
            }
        }
    }

    /*   TODO   How It Work   */

    & .counter {
        & .counter_card {
            max-width: 1120px;
            height: 197px;
            flex-shrink: 0;
            border-radius: 10px;

            @media (max-width: 1024px) {
                height: 100%;
                border-radius: 0;
                padding-bottom: 54px;
            }

            & .counter_box {
                width: 100%;
                display: inline-flex;
                align-items: center;
                justify-content: space-evenly;
                gap: 24px;

                @media (max-width: 1024px) {
                    display: flex;
                    flex-direction: column;
                }

                & div {
                    width: 142px;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;

                    @media (max-width: 1024px) {
                        align-items: center;
                    }
                }

                & .border_x_y {
                    border-right: 1px solid var(--blue);
                    border-left: 1px solid var(--blue);
                    padding-left: 15px;

                    @media (max-width: 1024px) {
                        border-bottom: 1px solid var(--blue);
                        border-top: 1px solid var(--blue);
                        padding-left: 0;
                        border-right: 0;
                        border-left: 0;
                        padding-top: 15px;
                        padding-bottom: 15px;
                    }
                }

                & p {
                    color: #ffffff;
                    font-size: 38px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 140%;

                    @media (max-width: 1024px) {
                        text-align: center;
                    }
                }

                & span {
                    color: #ffffff;
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%;

                    @media (max-width: 1024px) {
                        text-align: center;
                    }
                }
            }

            & .counter_heading {
                padding: 54px 44px;
                max-width: 468px;

                & h2 {
                    color: #ffffff;
                    font-size: 28px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 140%;
                    /* 39.2px */
                }
            }
        }
    }

    /*   TODO   Choose Plan   */

    & .choose_plan {
        & h2 {
            color: var(--black);
            font-size: 38px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;

            @media (max-width: 568px) {
                font-size: 26px;
            }
        }

        & .monthly_yearly_btn {
            max-width: 380px;
            position: relative;

            & .check_section {
                width: 300px;
                height: 58px;
                border-radius: 29px;
                background: #e1f0f8;
                display: flex;
                justify-content: space-evenly;
                align-items: center;

                @media (max-width: 425px) {
                    width: 290px;
                }

                & span {
                    color: var(--black);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 180%;
                }

                & .switch {
                    font-size: 17px;
                    position: relative;
                    display: inline-block;
                    width: 4.5em;
                    height: 2em;
                }

                & .switch input {
                    opacity: 0;
                    width: 0;
                    height: 0;
                }

                & .slider {
                    position: absolute;
                    cursor: pointer;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    transition: 0.4s;
                    border-radius: 30px;
                    background: #cbeafa;
                    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1) inset;
                }

                & .slider:before {
                    position: absolute;
                    content: "";
                    height: 1.4em;
                    width: 1.4em;
                    border-radius: 20px;
                    left: 0.3em;
                    bottom: 0.3em;
                    background-image: var(--blue-primary);
                    transition: 0.4s;
                    box-shadow: 5px 4px 4px 0px rgba(0, 0, 0, 0.1),
                        0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
                }

                & .switch input:focus + .slider {
                    box-shadow: inset 3px 2px 4px rgba(22, 22, 22, 0.253);
                }

                & .switch input:checked + .slider:before {
                    transform: translateX(2.5em);
                }
            }

            & .save_price {
                color: #d74b4b;
                text-align: center;
                font-family: Querina Handwritten;
                font-size: 18px;
                font-style: normal;
                font-weight: 400;
                line-height: 180%;
                display: flex;
                align-items: center;
            }

            & .svg_arrow_icon {
                position: absolute;
                bottom: 0;
                right: 33px;
            }
        }

        & .plan_card {
            display: flex;
            width: 100%;
            height: 450px;
            justify-content: space-evenly;
            align-items: center;
            flex-direction: column;
            gap: 23.5px;
            border-radius: 10px;
            border: 0.75px solid #eee;
            background: #ffffff;
            margin-bottom: 15px;
            box-shadow: 10px 40px 80px 0px rgba(45, 51, 81, 0.1);
            padding: 20px 0;

            & .plan_title {
                font-size: 22px;
                font-style: normal;
                font-weight: 700;
                line-height: normal;
                background-image: var(--bg-primary);
                background-clip: text;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                text-align: center;
            }

            & .plan_price {
                color: var(--black);
                font-feature-settings: "clig" off, "liga" off;
                font-size: 26px;
                font-style: normal;
                font-weight: 700;
                line-height: 43.5px;
                margin-left: 7px;
            }

            & ul {
                & li {
                    color: var(--black);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 180%;

                    & img {
                        margin-right: 10px;
                    }
                }
            }

            & a {
                display: flex;
                padding: 18px 30px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                color: #ffffff;
                font-size: 18px;
                font-style: normal;
                font-weight: 700;
                border-radius: 14px;
                background: var(--blue);
                height: 48px;

                &:hover {
                    color: #ffffff;
                }
            }

            &:hover {
                background-image: var(--blue-primary) !important;

                & span {
                    color: #ffffff !important;
                }

                & .plan_title {
                    background-image: var(--white);
                    background-clip: text;
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: #ffffff;
                }

                & .dollar_sign_white {
                    font-size: 22px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: normal;
                    color: #ffffff !important;
                }

                & li {
                    color: #ffffff !important;
                }

                & a {
                    background: #ffffff !important;
                    color: var(--blue) !important;
                }
            }
        }
    }

    /*   TODO   Choose Us   */

    & .choose_us {
        & h2 {
            color: var(--black);
            font-size: 38px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;

            @media (max-width: 568px) {
                font-size: 26px;
            }
        }

        & .desc {
            color: var(--black);
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 180%;
            max-width: 640px;
            text-align: center;
        }

        & .choose_us_card {
            display: inline-flex;
            padding: 30px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 25px;
            transition: 0.5s;
            position: relative;
            width: 100%;
            height: 100%;

            & p {
                color: var(--black);
                font-size: 22px;
                font-style: normal;
                font-weight: 700;
                line-height: 140%;
            }

            & span {
                color: var(--black);
                text-align: center;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 160%;
            }
        }

        @media (max-width: 991px) {
            & .col-sm-6 {
                border-top: 0 !important;
                border-left: 0 !important;
                border-right: 0 !important;
                border-bottom: 1px solid #dedede;
            }

            & .col-sm-6:last-child {
                border-bottom: 0 !important;
            }
        }

        & .choose_us_card:hover {
            border-radius: 15px;
            background: #ffffff;
            box-shadow: 10px 40px 80px 0px rgba(45, 51, 81, 0.1);
            transform: scale(1.09);
            z-index: 10;
        }

        & .bb {
            border-bottom: 1px solid #dedede;
        }

        & .lrb {
            border-right: 1px solid #dedede;
            border-left: 1px solid #dedede;
            border-bottom: 1px solid #dedede;
        }

        & .blr {
            border-right: 1px solid #dedede;
            border-left: 1px solid #dedede;
        }
    }

    /*   TODO   Property Management    */

    & .property_management {
        & .property_detail {
            display: flex;
            max-width: 507px;
            height: 398px;
            padding: 35px 37.5px;
            justify-content: center;
            align-items: flex-start;
            gap: 23px;
            flex-direction: column;

            @media (max-width: 768px) {
                padding: 0;
            }

            & h2 {
                color: var(--black);
                font-size: 38px;
                font-style: normal;
                font-weight: 700;
                line-height: 140%;

                @media (max-width: 768px) {
                    font-size: 26px;
                }
            }

            & p {
                color: var(--black);
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 180%;

                @media (max-width: 568px) {
                    font-size: 14px;
                }
            }
        }
    }

    /*   TODO  The news   */

    & .the_news {
        & h2 {
            color: var(--black);
            font-size: 38px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;

            @media (max-width: 568px) {
                font-size: 26px;
            }
        }

        & ul {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 45px;

            @media (max-width: 768px) {
                flex-direction: column;
            }

            & li {
                width: 297px;
                height: 110px;
                border-radius: 16px;
                display: flex;
                justify-content: center;
                align-items: center;
                background: #ffffff;
                box-shadow: 10px 40px 80px 0px rgba(45, 51, 81, 0.1);
                overflow: hidden;
            }
        }
    }
}

/* new-css- from-23/9/25 */

.compact-property-form {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
}

.form-header {
    text-align: center;
    /* margin-bottom: 20px; */
}

.form-header h2 {
    color: #118bca;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-header p {
    color: #7f8c8d;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}

.form-label.required::after {
    content: " *";
    color: #e74c3c;
}

.form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.form-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.services-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 15px 0;
}

.service-compact {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.service-compact:hover {
    border-color: #3498db;
}

.service-compact.selected {
    border-color: #3498db;
    background-color: #e3f2fd;
}

.service-compact i {
    margin-right: 6px;
    font-size: 14px;
    color: #3498db;
}

.cta-button-compact {
    width: 100%;
    padding: 12px;
    background: #118bca;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-button-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}
.back-button-compact {
    width: 100%;
    padding: 12px;
    background: #636c70;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-button-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}
/* 
.nav-link:hover {
    color: white !important;
} */

/* .nav-link span:hover {
    color: black !important;
}  */

/* hero section responsive css  */
/* ==========================
   HERO SECTION RESPONSIVE FIX
   ========================== */
/* Mobile & tablet adjustments */
@media (max-width: 991px) {
    .hero_section .col-lg-4.d-none.d-lg-block {
        display: flex !important; /* make it flex */
        justify-content: center; /* center horizontally */
        margin-top: 30px; /* spacing below banner */
        width: 100%; /* take full row */
    }

    .hero_section .compact-property-form {
        max-width: 500px; /* optional: limit form width */
        width: 100%; /* responsive */
    }

    .hero_section {
        padding-bottom: 50px; /* pushes form below image */
    }
}
