.catagory h1 {
    font-weight: 600;
    font-size: 88px;
    text-align: center;
    color: #000000;
    line-height: 100px;
}

.catagory {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 12% 0px;
}
.catagory a{
    display: flex;
    justify-content: center;
}

.catagory p {
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    color: #000000;
    opacity: 0.5;
    line-height: 50px;
}

.mainCatagory {
    position: relative;
}

.loanvactor1 {
    position: absolute;
    top: 12%;
    left: 18%;
}

.loanvactor2 {
    position: absolute;
    top: 20%;
    left: 26%;
}

.loanvactor3 {
    position: absolute;
    right: 5%;
    top: 13%;
}

.loanvactor4 {
    position: absolute;
    right: 28%;
    top: 35%;
}

.loanvactor5 {
    position: absolute;
    right: 26%;
    top: 67%;
}

.loanvactor6 {
    position: absolute;
    top: 67%;
    left: 26%;
}

.loanvactor7 {
    position: absolute;
    top: 42%;
    left: 6%;
}

.backgroundhomes {
    padding: 0% 0px 3% 0px;
    position: relative;
}


.homecard {
    margin: 18% 0px;
}

.homecard h1 {
    font-size: 48px;
    color: #000000;
    font-weight: 600;
}

.homecard p {
    font-weight: 400;
    font-size: 24px;
    color: #000000;
    margin-bottom: 5%;
}

.homecard1 {
    margin: 15% 0px;
}

.homecard1 h1 {
    font-size: 48px;
    color: #000000;
    font-weight: 600;
}

.homecard1 p {
    font-weight: 400;
    font-size: 24px;
    color: #000000;
    margin-bottom: 5%;
}

.mainbutton {
    display: flex;
    gap: 4%;
}

.CardImage {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 999999;
}

.shape5 {
    position: absolute;
    top: 68%;
}

.backgroundhome {
    padding: 4% 0px 0px 0px;
    position: relative;
}

.shape6 {
    position: absolute;
    top: 66%;
    left: 51%;
}

@media screen and (max-width: 376px) {
    .navbar-nav .dropdown-menu {
        width: 100%;
    }

    .mainCatagory .catagory h1 {
        font-size: 31px !important;
        line-height: 39px !important;
    }

    .mainCatagory .catagory p {
        font-size: 23px !important;
        line-height: 35px !important;
    }

    .catagory a img {
        width: 60%;
    }

    .loanvactor1 {
        display: none;
    }

    .loanvactor2 {
        display: none;
    }

    .loanvactor3 {
        display: none;
    }

    .loanvactor4 {
        display: none;
    }

    .loanvactor5 {
        display: none;
    }

    .loanvactor6 {
        display: none;
    }

    .loanvactor7 {
        display: none;
    }

    .backgroundhomes .shape5 {
        display: none;
    }

    .backgroundhomes .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhomes .homecard h1 {
        font-size: 35px;
    }

    .CardImage img {
        width: 100%;
    }

    .Ellipse2 {
        left: 8%;
    }

    .Ellipse3 {
        left: 16%;
    }

    .Ellipse4 {
        left: 25%;
    }

    .Ellipse5 {
        left: 35%;
    }

    .backgroundhome .row {
        flex-direction: column-reverse;
    }

    .backgroundhome .shape6 {
        display: none;
    }

    .backgroundhome .homecard1 p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhome .homecard1 h1 {
        font-size: 35px;
    }

    .shape4 {
        display: none;
    }

    .mainbutton .button {
        padding: 15px 15px;
    }

    .homecard {
        margin: 1% 0px 15% 0px;
    }
}

@media screen and (max-width: 480px) {
    .navbar-nav .dropdown-menu {
        width: 100%;
    }

    .mainCatagory .catagory h1 {
        font-size: 31px !important;
        line-height: 39px !important;
    }

    .mainCatagory .catagory p {
        font-size: 23px !important;
        line-height: 35px !important;
    }

    .catagory a img {
        width: 60%;
    }

    .loanvactor1 {
        display: none;
    }

    .loanvactor2 {
        display: none;
    }

    .loanvactor3 {
        display: none;
    }

    .loanvactor4 {
        display: none;
    }

    .loanvactor5 {
        display: none;
    }

    .loanvactor6 {
        display: none;
    }

    .loanvactor7 {
        display: none;
    }

    .backgroundhomes .shape5 {
        display: none;
    }

    .backgroundhomes .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhomes .homecard h1 {
        font-size: 35px;
    }

    .CardImage img {
        width: 100%;
    }

    .Ellipse2 {
        left: 8%;
    }

    .Ellipse3 {
        left: 16%;
    }

    .Ellipse4 {
        left: 25%;
    }

    .Ellipse5 {
        left: 35%;
    }

    .backgroundhome .row {
        flex-direction: column-reverse;
    }

    .backgroundhome .shape6 {
        display: none;
    }

    .backgroundhome .homecard1 p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhome .homecard1 h1 {
        font-size: 35px;
    }

    .shape4 {
        display: none;
    }

    .mainbutton .button {
        padding: 15px 15px;
    }

    .homecard {
        margin: 1% 0px 15% 0px;
    }
}

@media screen and (max-width: 800px) {

    .navbar-nav .dropdown-menu {
        width: 100% !important;
    }

    .mainatagory .catagory h1 {
        font-size: 60px;
        line-height: 80px;
    }

    .maincatagory .catagory p {
        font-size: 28px;
        line-height: 50px;
    }

    .catagory a img {
        width: 45%;
    }

    .loanvactor1 {
        position: absolute;
        top: 12%;
        left: 18%;
    }

    .loanvactor2 {
        position: absolute;
        top: 10%;
        left: 5%;
    }

    .loanvactor3 {
        position: absolute;
        right: 5%;
        top: 13%;
    }

    .loanvactor4 {
        position: absolute;
        right: 21%;
        top: 35%;
    }

    .loanvactor5 {
        position: absolute;
        right: 14%;
        top: 75%;
    }

    .loanvactor6 {
        position: absolute;
        top: 75%;
        left: 17%;
    }

    .loanvactor7 {
        position: absolute;
        top: 42%;
        left: 6%;
    }

    .Catagory {
        margin: 14% 0px 0px 0px;
    }

    .backgroundhomes .CardImage img {
        width: 100%;
    }

    .backgroundhomes .homecard h1 {
        font-size: 34px;
    }

    .backgroundhomes .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .Ellipse2 {
        left: 8%;
    }

    .Ellipse3 {
        left: 16%;
    }

    .Ellipse4 {
        left: 25%;
    }

    .Ellipse5 {
        left: 35%;
    }

    .mainbutton .button {
        padding: 15px 15px;
    }

    .backgroundhome .CardImage img {
        width: 100%;
    }

    .backgroundhome .homecard1 h1 {
        font-size: 34px;
    }

    .backgroundhome .homecard1 p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhomes .shape5 {
        width: 45%;
        top: 78%;
        left: 6%;
    }

    .backgroundhome .shape6 {
        width: 45%;
        top: 68%;
        left: 53%;
    }

    .backgroundhomes {
        padding: 9% 0px 3% 0px;
    }

    .backgroundhome {
        padding: 8% 0px;
        position: relative;
    }
}

@media screen and (max-width: 900px) {

    .navbar-nav .dropdown-menu {
        width: 100% !important;
    }

    .maincatagory .catagory h1 {
        font-size: 60px;
        line-height: 80px;
    }

    .maincatagory .catagory p {
        font-size: 28px;
        line-height: 50px;
    }

    .catagory a img {
        width: 45%;
    }

    .loanvactor1 {
        position: absolute;
        top: 12%;
        left: 18%;
    }

    .loanvactor2 {
        position: absolute;
        top: 10%;
        left: 5%;
    }

    .loanvactor3 {
        position: absolute;
        right: 5%;
        top: 13%;
    }

    .loanvactor4 {
        position: absolute;
        right: 21%;
        top: 35%;
    }

    .loanvactor5 {
        position: absolute;
        right: 14%;
        top: 75%;
    }

    .loanvactor6 {
        position: absolute;
        top: 75%;
        left: 17%;
    }

    .loanvactor7 {
        position: absolute;
        top: 42%;
        left: 6%;
    }

    .Catagory {
        margin: 14% 0px 0px 0px;
    }

    .backgroundhomes .CardImage img {
        width: 100%;
    }

    .backgroundhomes .homecard h1 {
        font-size: 34px;
    }

    .backgroundhomes .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .Ellipse2 {
        left: 8%;
    }

    .Ellipse3 {
        left: 16%;
    }

    .Ellipse4 {
        left: 25%;
    }

    .Ellipse5 {
        left: 35%;
    }

    .mainbutton .button {
        padding: 15px 15px;
    }

    .backgroundhome .CardImage img {
        width: 100%;
    }

    .backgroundhome .homecard1 h1 {
        font-size: 34px;
    }

    .backgroundhome .homecard1 p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhomes .shape5 {
        width: 45%;
        top: 81%;
        left: 6%;
    }

    .backgroundhome .shape6 {
        width: 45%;
        top: 68%;
        left: 53%;
    }

    .backgroundhomes {
        padding: 9% 0px 3% 0px;
    }

    .backgroundhome {
        padding: 8% 0px;
        position: relative;
    }
}