@media only screen and (max-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media only screen and (max-width: 991px) {
    .container-fluid {
        max-width: 740px;
    }

    .goal-sec .heading {
        text-align: center;
    }

    #prop-tab {
        margin-bottom: 20px;
    }

    .properties-head {
        text-align: center;
    }

    .calculator-bg {
        background-color: #2B2A29;
        color: white;
        text-align: center;
        padding: 100px 0;
    }

    .properties-sec #myTab {
        display: flex;
        justify-content: left;
        gap: 25px;
        border: none;
    }

    .properties-sec .location {
        position: absolute;
        top: 160px;
        left: 25px;
        right: 25px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 10px 10px;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
    }

    .navbar {
        background-image: linear-gradient(180deg, #ffffff 0%, #e2edff 100%);
        padding: 20px 40px;
        border-radius: 0;
        margin: 0;
        position: relative;
    }

    .navbar-nav {
        display: flex;
        align-items: start;
        gap: 4px;
    }

    .bg-image {
        background-image: url(../images/highyield-home-banner-black.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 170px 0 40px;
        min-height: 645px;
    }

    .banner-icon-box {
        display: flex;
        flex-direction: row;
        gap: 20px;
        width: 45px;
        margin-left: 50px;
    }

    .banner-icon-box i {
        background-color: #ffffff40;
        color: #000;
        padding: 15px 15px;
        border-radius: 50px;
        width: 100%;
        text-align: center;
        font-size: 14px;
    }

    .project-sec .location {
        position: absolute;
        top: 160px;
        left: 25px;
        right: 25px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 10px 10px;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
    }

    .work-sec .heading {
        text-align: center;
    }

    .testim-slider {
        width: 100%;
        margin-top: 100px;
    }

    .inner-banner .heading {
        color: #fff;
        text-align: center;
    }

    .team-sec .card {
        width: 240px;
        margin-left: 50px;
        background: #fff;
        border-radius: 25px;
        box-shadow: 0 0 20px #00000030;
    }

    .footer-tag {
        display: flex;
        justify-content: space-around;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    .result-panel {
        border-radius: 0 0 20px 20px;
    }

    .inner-banner .heading h1 {
        font-size: 30px;
        line-height: 48px;
    }

    .goal-sec .result-panel {
        background-color: #16222f;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
        height: 100%;
        border-radius: 0 0px 20px 0;
    }

    .properties-sec .heading h4 {
        font-size: 18px;
        font-weight: 300;
        line-height: 27px;
    }

    .properties-head span {
        font-size: 18px;
        font-weight: 400;
        line-height: 27px;
        margin-bottom: 15px;
    }

    .properties-head {
        text-align: center;
    }

    .properties-head h2 {
        font-size: 28px;
        font-weight: 700;
        line-height: 42px;
        margin-bottom: 30px;
    }

    .properties-sec #myTab {
        display: flex;
        justify-content: center;
        gap: 10px;
        border: none;
    }

    .properties-sec .nav-link {
        background-color: #EBF1FB;
        border: 0;
        border-radius: 5px;
        font-size: 14px;
        line-height: 24px;
        font-weight: 500;
    }

    .properties-sec .location {
        position: absolute;
        top: 160px;
        left: 25px;
        right: 25px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 10px 10px;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
    }

    .work-tab button {
        text-align: start;
        color: #2b2a29;
        width: 100%;
        border-left: 4px solid transparent;
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .testim-sec .swiper-button-next,
    .testim-sec .swiper-button-prev {
        position: absolute;
        top: var(--swiper-navigation-top-offset, 100%) !important;
        background-color: #2B2A29;
        color: #EBEDF2 !important;
        padding: 10px 20px;
        border-radius: 5px;
    }

    .input-forms {
        padding: 30px 10px;
    }

    #contact-bg {
        background-color: #F0FAFC;
        padding: 20px 10px;
        border-radius: 15px;
    }

    .footer-tag {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        text-align: center;
    }

    h5 {
        font-size: 14px;
    }

    h2 {
        font-size: 24px;
        line-height: 36px;
        font-weight: 700;
    }

    .project-sec .location {
        position: absolute;
        top: 160px;
        left: 25px;
        right: 25px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 10px 10px;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
    }

    .journey-item .journey-content {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 20px;
        max-width: 300px;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .team-sec .card {
        width: 240px;
        margin-left: 60px;
        background: #fff;
        border-radius: 25px;
        box-shadow: 0 0 20px #00000030;
    }

    .testim-sec .heading {
        margin-bottom: 70px;
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    .testim-sec .card {
        background-color: #2B2A29;
        border-radius: 15px;
        color: #fff;
        width: 100% !important;
        min-height: 435px;
        padding: 0px 20px;
        box-shadow: 0.7rem 0.7rem 0 0 #C29442;
    }

    .review-slider {
        position: relative;
        height: 500px;
    }

    .review-slider .swiper {
        margin-left: auto;
        margin-right: auto;
        position: relative;
        overflow: unset;
        list-style: none;
        padding: 0;
        z-index: 1;
        display: block;
    }

    .swiper-pagination-vertical.swiper-pagination-bullets,
    .swiper-vertical>.swiper-pagination-bullets {
        top: auto !important;
        left: 20% !important;
        bottom: -100px !important;
    }

    .work-sec {
        padding: 50px 10px;
    }

    .carousel-details {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .slide-img {
        position: relative;
        max-width: 305px;
        margin: auto;
    }

    .detail-box {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 275px;
        margin: auto;
    }

    .banner-btn {
        display: none;
    }

    h1 {
        font-size: 30px;
        font-weight: 700;
        line-height: 30px;
    }

    .banner-sec .heading span {
        color: #fff;
        font-size: 18px;
        line-height: 20px;
        font-weight: 300;
    }

    .banner-icon-box {
        display: none;
    }

    .banner-sec .heading {
        max-width: 460px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .bg-image {
        background-image: url(../images/highyield-home-banner-black.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 130px 0 40px;
        min-height: 645px;
    }

    .carousel-control-next {
        right: 20px;
    }

    .carousel-control-prev {
        left: 20px;
    }

    .work-tab .d-flex {
        display: flex !important;
        flex-direction: column;
    }
}