body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: poppins;
    
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}

ul{
    margin: 0;
    padding: 0;

}

ul li{
    list-style: none;
}


@font-face {
    font-family: 'montserrat-regular';
    src: url("../fonts/montserrat-regular.ttf");
}




.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
    background-color: #262626;
    border-color: #262626;
}



.hero-img{
   position: relative;
    left: 100px;
    top: -40px;
}


/*HEADER*/

nav{
    height: 130px;
    background-color: #fff;
}

.nav-link{
    font-size: 23px;
    color: #6a6375;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #200745;
}

.main-btn{
    height: 60px;
    background-color: #ff4c70;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 0 30px;
    border-radius: 50px;
    border:none;
}

p{
    font-size: 22px;
    color: #6a6375;
}


#hero-section .main-btn:hover{
    background-color: #220849;
}







/*hero-section*/

.main-heading{
    font-size: 65px;
    color: #000000;
    font-weight: 700;
    line-height: 80px;
}

.main-heading span{
    color: #ff4c70;
}

#hero-section{
    background-image: url("../img/hero-bg.jpg"); /* The image used */
      background-position: 100% 100%;
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  padding: 70px 0 0 0;
  background-color: #fff;
  
}

#hero-section .main-btn {
    padding: 0 50px;
}



/*COMMUNITIES*/


#community-section{
    /*background-image: url("../img/community-section-bg.png");*/
      background-position: 100% 0%;
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
    padding-top: 130px;
    position: relative;
    top: -90px;
}

.sub-heading{
    font-size: 55px;
    color: #000000;
    font-weight: 700;
    line-height: 70px;
    padding: 0 20%;
}

.sub-heading span{
    color: #f97590;
}

#community-section h4{
    font-size: 32px;
    color: #000;
    font-weight: 700;
}

#community-section p{
    font-size: 20px;
    color: #6a6375;
    line-height: 28px;
}

#community-section .text-right{
    text-align: right;
}



.mt-20{
    margin-top: 200px !important;
}

.mt-10{
    margin-top: 100px !important;
}



.back-to-top {
    position: fixed;
    display: none;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
}

.back-to-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #3c97e8;
    color: #fff;
    transition: all 0.4s;
}

#button {
    display: inline-block;
    background-color: #ff4c70;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    text-decoration: initial;
}

#button::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 50px;
    color: #fff;
}

#button:hover {
    cursor: pointer;
    background-color: #262626;
}
#button:active {
    background-color: #555;
}
#button.show {
    opacity: 1;
    visibility: visible;
}






/*FOOTER*/

footer{
    background-color: #220849;
    padding: 140px 0;
}

footer .pre-footer{
    border-bottom: 1px solid #4a356a;
    padding-bottom: 70px;
    margin-bottom: 70px;
}

footer .pre-footer h2{
    font-size: 55px;
    color: #fff;
    font-weight: 700;
}

footer .pre-footer h5 {
    font-size: 21px;
    color: #fff;
}
footer .pre-footer ul {
    display: flex;
    margin: 0;
    padding: 0;
}

footer .pre-footer ul li {
    margin-right: 0px;
}

footer .pre-footer ul li img{
    width: 160px;
}

footer h5{
    font-size: 21px;
    color: #b6b6b6;
}

footer h4{
    font-size: 21px;
    color: #fff;
}

footer ul{
    display: flex;
}
/*
footer ul li{
    margin-right: 40px;
}*/

footer .main-btn:hover {
    background-color: #fff;
    color: #220849;
}








@media (max-width: 1440px) {
    #hero-section {
    background-position: 70% 100%;
}

}

@media (max-width: 1366px) {
    
    footer .pre-footer h2 {
    font-size: 48px;
}
footer h5 {
    font-size: 21px;
}
.nav-link {
    font-size: 22px;
}
.main-btn {
    font-size: 17px;
}

    .main-heading {
        font-size: 48px;
        line-height: 60px;
    }
#hero-section p {
    font-size: 19px;
    color: #6a6375;
}
.sub-heading {
    font-size: 48px;
    line-height: 60px;
}
#community-section h4 {
    font-size: 28px;
    line-height: 40px;
}
#community-section p {
    font-size: 21px;
}
#community-section .text-right {
    text-align: right;
    padding: 0 !important;
}

}


@media (max-width: 1199px) {
       
        .main-btn {
        font-size: 16px;
    }
    .nav-link {
        font-size: 18px;
    }
        footer .pre-footer h2 {
        font-size: 36px;
    }
        footer h5 {
        font-size: 17px;
    }
    footer h4 {
    font-size: 19px;
}

    .main-heading {
        font-size: 38px;
        line-height: 50px;
}
    #hero-section p {
        font-size: 18px;
    }
    .sub-heading {
        font-size: 40px;
        line-height: 55px;
    }
    #community-section h4 {
        font-size: 22px;
        line-height: 30px;
    }
        #community-section p {
        font-size: 17px;
        line-height: 23px;
    }

    

}

@media (max-width: 1199px) {
    .hero-img {
    top: -30px;
}
}

@media (max-width: 1024px) {
    
    .main-heading {
        font-size: 34px;
        line-height: 43px;
    }
        #hero-section p {
        font-size: 17px;
        line-height: 25px;
    }
        .sub-heading {
        font-size: 32px;
        line-height: 50px;
    }
        #community-section h4 {
        font-size: 20px;
        line-height: 30px;
    }
        #community-section p {
        font-size: 17px;
        line-height: 23px;
    }
    .count-img{
        width: 50%;
    }
        footer .pre-footer h2 {
        font-size: 34px;
    }
    .main-btn {
    height: 50px;
}
}

@media (max-width: 991px) {
    nav {
    height: auto;
    }
.header-logo{
    width: 60% !important;
}
.nav-link {
    margin-left: 0px;
}
    .nav-link {
        font-size: 18px;
    }
    .main-btn {
        font-size: 16px;
        height: 45px;
        /* width: 100%; */
    }
        footer .pre-footer h2 {
        font-size: 30px;
    }
    .mt-20 {
    margin-top: 80px !important;
}
        nav {
        height: auto;
        padding: 20px 0 !important;
    }
        .main-heading {
        font-size: 32px;
        line-height: 42px;
    }
        #hero-section p {
        font-size: 18px;
    }
    #community-section {
    padding-top: 110px;
}
    .sub-heading {
        font-size: 30px;
        line-height: 40px;
    }
    #how-to-use-section {
    padding: 70px 0;
}
footer {
    padding: 80px 0;
}
    .hero-img {
        top: -23px;
    }

}

    


@media (max-width: 768px) {
    footer .pre-footer h2 {
        font-size: 26px;
    }
        footer h5 {
        font-size: 17px;
    }
        footer h4 {
        font-size: 20px;
    }
        #hero-section p {
        font-size: 16px;
    }
    .main-heading {
        font-size: 28px;
        line-height: 35px;
    }
        .sub-heading {
        font-size: 26px;
        line-height: 40px;
    }
        #community-section p {
        font-size: 16px;
        line-height: 23px;
        margin-top: 10px !important;
    }
        #community-section h4 {
        font-size: 19px;
        line-height: 30px;
    }
    .main-heading {
        font-size: 26px;
        line-height: 35px;
                margin-top: 10px !important;
    }
    #browse-page-section h1 {
        font-size: 26px;
    }
    .hero-img {
    left: 30px;
}

}

@media (max-width: 767px) {
    .main-btn {
        width: 100%;
    }
        footer .pre-footer h2 {
        font-size: 28px;
    }
        footer h5 {
        font-size: 16px;
    }
        footer h4 {
        font-size: 18px;
    }
            .main-heading {
        font-size: 28px;
        line-height: 40px;
        text-align: center;
    }
        #hero-section p {
        font-size: 16px;
        text-align: center;
    }
    #hero-section {
    padding: 40px 0 0 0;
}
        .sub-heading {
        font-size: 24px;
        line-height: 39px;
        padding: 0;
    }
        #community-section {
        padding-top: 150px;
        background:none;
    }
            #community-section h4 {
        font-size: 21px;
        line-height: 33px;
    }
    #how-to-use-section .mt-10 {
    margin-top: 0px !important;
}
#how-to-use-section .mt-20 {
    margin-top: 0px !important;
}

.count-img{
    width: 25%;
}
.how-to-use-img{
    width: 50%;
}
    #browse-page-section h1 {
        font-size: 24px;
    }


}

@media (max-width: 430px) {

   
        footer .pre-footer h2 {
        font-size: 24px;
    }
        footer h4 {
        font-size: 17px;
    }
    footer {
    background-color: #220849;
    padding: 80px 0;
}
    .main-heading {
        font-size: 26px;
        line-height: 35px;
    }
        .sub-heading {
        font-size: 26px;
        line-height: 35px;
    }
    #community-section h4 {
        text-align: center !important;
    }
    #community-section p {
        text-align: center !important;
    }
    
.map-pin {
    position: absolute;
    left: 20px;
} 
}

@media (max-width: 375px) {
        .main-heading {
        font-size: 24px;
        line-height: 35px;
        text-align: center;
    }
    footer .pre-footer ul li img {
    width: 135px;
}
}