*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* .header{
    width: 100%;
    background-color: white;
} */
.nav-link{
    position: relative;
}
.navbar .container-fluid{
    background-color: white;
}  
.nav-link::after{
    content: '';
    opacity: 0;
    transition: all 0.2s;
    height: 2px;
    width: 100%;
    background-color: #0C6813;
    color: black;
    position: absolute;
    bottom: 0;
    left: 0;
}
.nav-link:hover::after{
    opacity: 1;
}
.main{
    position: relative;
}
nav{
    background-color: #FDFEFF;
}
.no{
    background-color: #F26E23;
    
    border-radius: 10px;
    padding: 10px 25px;

    /* margin-left: 20px;
    margin-right: 4px;
    margin-top: 2px;
    margin-bottom: 4px;
    width: 104px;
    height: 40.41px; */
    border: none;
    
    }
    .contact{
    text-decoration: none;
    color:white;
    font-size: 14px;
    
    }
    .logo1{
        height: 79px;
        width: 96px;
    }
   
nav{
    background-color: #FDFEFF;
    height: 79px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
   
.logo,.logo1{
    border: none;
}
.navbar-nav{
    /* position: relative;
    left: 80px; */
    /* margin-left: 80px; */
   
    text-align: center;
    }
    .navbar-collapse {
        /* position: relative;
        left: 50px; */
        /* flex-basis: 100%; */
    flex-basis: 100%;
    flex-grow: 1;
    /* right: 50px; */
    align-items: center;
    }
    li{

        border-radius: 10px;
        margin-right: 20px;
        display: inline-block;
        
        }
        .nav-link{
            color: #121313;
        }
.offer{
    margin-top: 330px;
}
#containoff{
    width: 1326px;
    height: 412px;
    background-color:#E9FBFC;
    border-radius: 35px;
}
.contain{
    display: flex;
}
.offhead{
    font-size: 100px;
    color: #105B65;
    font-family: 'Lato';
    width: 700px;
    font-weight: bold;
    transform: translate(5%,-16%);
}
.card1{
    width:360px;
    height:261px;
    background-color:#FEE4C9;
    border-radius: 40px;
    position: relative;
    top: 100px;
    right: 50px;
}
.x{
    height:47px;
    width:47px;
    border-radius: 25px;
   position: relative;
   right: 10px;
    background-color:#D9D9FF;
}
.circle1{
    height:72.83px;
    width:72.83px;
    border-radius: 50px;
    background-color: #FFFFFF;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.cirimg{
    height:43.48px;
    width: 43.48px;
    position: relative;
   
}
#smiles{
    display: flex;
    justify-content: space-evenly;
}
.im{
    position: relative;
    bottom:200px ;
}
.oldhome{
    height: 705px;
    width: 100%;
    background-color: #FFF3F3;
    margin-top: 70px;
}
.oldhead{
    font-size: 28px;
    color: #055221;
}
#oldhomedet{
    display: flex;
    position: relative;
    top: 70px;
    gap: 50px;
    width: 86%;

}
.oldimg{
    width:705px;
    height:469px;
    /* margin-top:100px; */
}
.oldhomecon{
    margin-top: 55px;
}
.oldpara{
    font-size: 15px;
    text-align: justify;
    line-height: 30px;
}
.footer{
    height: 473px;
    width: 100%;
    margin-top: 200px;
    background-color:#1C1C1C;
}
.para{
    font-size: 15px;
    color:#EEEEEE;
    line-height: 25px;
}
#foots{
    display: flex;
    justify-content: space-around;
    /* margin-bottom: 100px; */
    position: relative;
    top: 50px;
}
footer{
    margin-top: 80px;
}

.footbut{
    background-color: #0C6813;
    padding: 12px 30px;
    border-radius: 15px !important;
    color:#FFFFFF;
    font-size: 18px;
    font-family: 'Lato';
    border: none;

}
.icons{
    display: flex;
  gap: 20px;
}
.black{
    background-color:#000000;
    height: 61px;
    position: relative;
    top: 75px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
}
.number{
    display: flex;
    color: #EEEEEE;
}

.card4{
    height:553px;
    width:279px ;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); 
    /* box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1); */
    /* border: 1px solid black; */
    border: none;
    background-color:#FFFFFF;
    margin-top: 15px;
    /* margin-left: 200px; */
    border-radius: 30px;
    transform: rotate(5deg);
}
.services{
    font-family: 'Lato';
}
.card2{
    background-color: #000000;
    height:553px;
    width:525px;
    border-radius: 30px;
}
#smileypara{
    font-size: 22px; font-family: 'Lato';font-weight: 700;
}
.card3{
    height:553px;
    width:279px ;
    background-color:#F5F6F1;
    border-radius: 30px;
}
#provide{
    display: flex; gap: 50px; margin-top: 50px;
    justify-content: center;
}
#servicehead{
    color:#BE4D45;font-size: 75px; font-weight: bold;
}
#servicepara{
    font-size: 23px;
}
@media screen and (max-width: 550px){
    .proimg{
        width: 98vw;
    }
    .services {
        margin-top: 25px;
        font-family: 'Lato';
    }
    #servicehead{
        color:#BE4D45;font-size: 65px; font-weight: bold;
    }
    #servicepara{
        font-size: 17px;
    }
    .proimg{
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    #provide{
        
        justify-content: center;
    }
}
@media screen and (max-width: 1170px){
.im{
    display: none;
}
}
@media screen and (min-width: 1100px) and (max-width:1419px){
    .oldpara {
        font-size: 11px;
        text-align: justify;
        line-height: 18px;
    }
    .oldimg {
        width: 560px;
        height: 469px;
        /* margin-top: 100px; */
    }
}
@media screen and (min-width: 769px) and (max-width:877px){
    .oldpara {
        font-size: 12px;
        text-align: justify;
        line-height: 18px;
    }
    .oldimg {
        width: 372px;
        height: 469px;
        /* margin-top: 100px; */
    }
    .oldhome{
        height: 900px !important;
    }
}
@media screen and (min-width: 769px) and (max-width:1100px){
    .oldpara {
        font-size: 12px;
        text-align: justify;
        line-height: 18px;
    }
    .oldimg {
        width: 372px;
        height: 469px;
        /* margin-top: 100px; */
    }
}
@media screen and (min-width: 551px) and (max-width:1366px){
    .proimg{
        width: 81vw;
        margin-left:55px;
    }
    .services {
        margin-top: 30px;
        font-family: 'Lato';
    }
}
@media screen and (max-width: 342px){
    .services {
        margin-top: 20px;
        font-family: 'Lato';
    }
    .card1 {
        width: 83%;
        position: relative;
        height: 230px;
        top: 151px;
        right: 100px;
    }
    #smileypara{
        font-size: 15px;
    }
}
/* Default styles for screens above 768px */
@media screen and (min-width: 769px) {
    .offhead {
        font-size: 100px;
        width: 700px;
        transform: translate(5%, -37%);
    }

    .card1 {
        width: 360px;
        height: 261px;
        position: relative;
        top: 100px;
        right: 50px;
    }

    .im {
        bottom: 200px;
    }

    .offer {
        margin-top: 330px;
    }

    #oldhomedet {
        top: 70px;
        width: 86%;
    }

    .footer {
        margin-top: 200px;
    }

    .footer,
    footer {
        margin-top: 80px;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-link::after {
        height: 2px;
        width: 100%;
        bottom: 0;
        left: 0;
    }

    .nav-link:hover::after {
        opacity: 1;
    }
}

@media screen and (min-width: 270px) and (max-width: 370px) {
    .oldhome {
        height: auto;
    }

    #oldhomedet {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        height: 1016px;
    }
    .oldpara{
        position: relative;
        bottom: 45px;
        font-size: 12px;
        text-align: justify;
        line-height: 19px;
    }

    .oldimg {
        width: 100%;
        height: auto;
    }
}
@media screen and (min-width: 370px) and (max-width: 768px) {
    .oldhome {
        height: auto;
    }

    #oldhomedet {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        height: 1016px;
    }
    .oldpara{
        font-size: 13px;
        text-align: justify;
        line-height: 22px;
    }

    .oldimg {
        width: 100%;
        height: auto;
    }
    #provide{
        display: block !important; margin-top: 50px;
    }
}
/* @media screen and (min-width: 270px) and (max-width: 306px) {
    .card1 {
        width: 80%;
        position: relative;
        height:249px;
        top:151px;
       
    }
} */
@media screen and (min-width: 306px) and (max-width: 768px) {
    .card1 {
        width: 80%;
        position: relative;
        height:249px;
        top:151px;
        /* margin-right: 0;
        margin-bottom: 20px; */
    }
}
@media screen and (min-width: 270px) and (max-width: 768px) {
    #containoff {
        width: 90%;
        border-radius: 20px;
    }

    .contain {
        flex-direction: row;
    }

    .offhead {
        font-size: 36px;
        width: auto;
        transform: translate(0, 0);
        margin-bottom: 20px;
    }
    .finalcard{
        display: block !important;
    }

 

    .x {
        position: static;
        margin-bottom: 10px;
    }

    .im {
        bottom: 0;
        display: none;
    }

   
    #provide{
        display: block !important; margin-top: 50px;
    }
}


@media only screen and (min-width: 769px) and (max-width: 1030px) {
    .black {
        /* flex-direction: column; */
        align-items: center;
        padding: 10px;
        /* text-align: center; */
        position: relative;
        top: 10px;
    }
}
@media only screen and (min-width: 700px) and (max-width: 768px) {
    .black {
        flex-direction: flex;
        align-items: center;
        padding: 10px;
        text-align: center;
        position: relative;
        top: 60px;
    }
}

@media only screen and (max-width: 699px) {
 .black {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        text-align: center;
        position: relative;
        top: 60px;
    }
}
@media only screen and (min-width: 550px)  and (max-width: 768px) {
    .services{
        height: 400px !important;
    }
}
@media only screen and (max-width: 550px) {
    .services{
        height: 344px !important;
    }
}
@media only screen and (max-width: 768px) {
    .offer{
        margin-top:180px !important;
    }

    .number{
        justify-content: center;
    }
    .footer {
        height: auto;
    }
    #foots {
        flex-direction: column;
        align-items: center;
    }
    .icons{
        justify-content: center;
      }
}

/* Adjustments for even smaller screens */
@media only screen and (max-width: 480px) {
    .para {
        font-size: 14px;
        line-height: 20px;
    }
    .black{
    position: relative;
    top: 60px;
    height: 60%;
    }
    .foot1 {
        text-align: center;
    }
}