body{
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100vw;
}
*{
    margin: 0px;
    padding: 0px;
    max-width: 100vw;
}

/*styling the navbar*/
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: brown;
    height: 58px;
    max-width: 100%;
    margin-left: 0px;
    position: relative;
    padding-left: 50px;
    background-color:#4D413A;
}
/*styling the logo in navbar*/ 

nav .logo img{      /*logo icon*/
    width: 100px;
    cursor: pointer;
}

nav ul{
    display: flex;
    gap: 50px;
    justify-content: space-between;
}

nav ul li{
list-style: none;
display: flex;
align-items: center;
}
 
nav ul li a{
padding-top: 18px;
text-decoration: none;
color: grey;
text-align: center;
font-size: small;
}

nav ul li a:hover{      /*hover effect in navbar*/
    color: #F26522;
}

.menuicon{  /*styling the resonsive bar icon in nav bar*/
font-size: 2rem;
color: white;
display: none;
}
.navbtn{        /*contact us btn in nav bar*/
    background:#F26522;
    border-radius: 10px;
    display: inline-flex;
    padding: 5px 10px;
}



/*header */

.header{
    background-image: url('servicesbg.jpg');
    background-size: cover; /* Covers the entire screen */
    background-repeat: no-repeat; /* Prevents repeating */
    background-position: center; /* Centers the image */
    height: 500px;
    max-height: 100vh;
    overflow: hidden;
    color: white;
    position: relative;
}

.header-words{
    position: absolute;
    bottom: 13%;
    left: 6%;
    gap: 10%;
}

/*styling the underline of our services*/
.header-words h1::after{
    content: "";
    display: block;
    width: 70px; /* Custom underline length */
    height: 3px; /* Thickness */
    background-color: #F26522;; /* Color */
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}

.header-words .animatedtxt{
    color: #453A34;
}


.services{
    display: flex;
    justify-content: center;
    margin-left: 0.5%;
}

/*styling the servie list column*/

.servicelist{
    background-color: #453A34;
    width: 250px;
    border-radius: 15px;
}

/*styling heading in service list column*/

.servicelist h3{
    color: #F26522;
    border-bottom: 1px solid #665D58;
    padding: 15px;
    
}

/*styling paragraphs in service list column*/

.servicelist p {
    color: white;
    border-bottom: 1px solid #665D58;
    display: block;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers text and content between columns */
    font-size: 14px;
}

/*services content*/

.service-content{
    margin: 0px;
    padding: 0px;
}

.webdev{
    background-color: aliceblue;
    padding: 20px;
    width: 100%;
    margin: 0px;
}

/*styling the image container*/
.webdev-img {
    height: 280px;
    width: 280px;
    text-align: center; 
    padding: 20px;
}

/*styling the image*/

.webdev-img img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container */
    border-radius: 50%;
    border: 3px solid #F26522;
    margin-left: 8%;       /*positioning the image to the right*/
}

/*Styling the webdev-details container*/

.webdev-details{
    padding-block: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*Styling the webdev-details container*/

.webdev-details h3{
    margin-right: 67%;     /*positioning the text more to the left*/
    padding-bottom: 20px;
    padding-top: 10px;
}

/*styling consultation section*/
.consultation{
    padding: 20px;
    width: 100%;
    margin: 0;
}
/*Styling the consultation-details container*/
.consultation-details{
    padding-block: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/*styling the image container*/
.consultation-img{
    height: 280px;
    width: 280px;
    text-align: center; 
    padding: 20px;
}

/*styling the image*/

.consultation-img img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container */
    border-radius: 50%;
    border: 3px solid #F26522;
    margin-left: 8%;       /*positioning the image to the right*/
}

/*Styling the consultation-details h3 container*/

.consultation-details h3{
    margin-right:78%;     /*positioning the text more to the left*/
    padding-bottom: 20px;
    padding-top: 10px;
}

/*styling contact section*/
.contact{
    direction: flex;
    justify-content: center;
}

.contact{
    background-color: aliceblue;
}

/*styling the contact column*/
.contactsec{
    background-color: #453A34;
    width: 250px;
    border-radius: 15px;
}


/*styling contact us word*/
.contactsec h3{
    color: #F26522;
    border-bottom: 1px solid #665D58;
    padding: 15px;
}

/*styling paragraphs in contact list column*/

.contact .paragraphs{
    text-align: center;
    padding: 30px;
}


.contactsec p {
    color: white;
    border-bottom: 1px solid #665D58;
    display: block;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers text and content between columns */
    font-size: 14px;
}

/*styling button */

.paragraphs a{
    text-decoration: none;
    background-color: #F26522;
    color: white;
    display: block;
    height: fit-content;
    width: 120px;
    height: 40px;
    margin: 0 auto;
    padding-top: 5px;
    border-radius: 10px;
}


/*styling footer*/
footer{
    max-width: 100vw;
    margin: 0px;
    padding: 0px;
}
.footerhd{
    display: flex;
    justify-content: center;
    color: #4A4A4C;
}
.mfooter ul,li{
        list-style: none; 
        padding: 0;
        margin: 0;
      
}
/*styling links in footer*/
.mfooter ul li a {    
    text-decoration: none;
    color: #4A4A4C;
    gap: 0;
}
/*adding hover effect in footer*/
.mfooter ul li a:hover{     
    color: #F26522;
    text-decoration: underline;
}

/*styling the icons container in the footer*/

.logofooter{
    margin-left: 150px;
    margin-bottom: 10px;
}
/*styling the icons in the footer*/
.logofooter i{
    padding: 10px;
}

/*styling the undeline in the gheading of the footer*/

.lfooter h3::after{
        content: "";
        display: block;
        width: 70px; /* Custom underline length */
        height: 3px; /* Thickness */
        background-color: #F26522;; /* Color */    
}
.mfooter h3::after{
    content: "";
    display: block;
    width: 70px; /* Custom underline length */ 
    height: 3px; /* Thickness */
    background-color: #F26522;; /* Color */
  
}
.rfooter h3::after{
    content: "";
    display: block;
    width: 70px; /* Custom underline length */
    height: 3px; /* Thickness */
    background-color: #F26522;; /* Color */
}

/*styling the line above copyright in the footer*/

.copyfoot p::before{
    content: "";
    display: block;
    width: 950px; /* Custom underline length */
    height: 1px; /* Thickness */
    background-color: #4A4A4C;; /* Color */
    margin-left: 170px;
    margin-bottom: 20px;
}

/*responsivenes */


/*for phones screen */

@media (max-width: 600px) {

    html,body{
        overflow-x: hidden;
        overflow-y: auto;
        max-width: 100vw;
        margin: 0px;
        padding: 0px;
    }

     /*styling the nav bar*/

    nav {
        flex-direction: column; /* Stack items vertically */
        align-items: center;   
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    nav .logo img{      /*logo icon*/
        width: 100px;
        cursor: pointer;
        position: absolute;
        top: 25%;
        left: 2%;
    }

    nav ul{
        position: absolute;
        top: 55px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background-color: #453a34;
        display: none;
    }
    nav ul li{
        padding: 10px;
        margin-left: 150px;
    }

    nav .menuicon{   /*menu icon in nav bar*/
        display: block;   
    } 
    nav .grpbtn{
        position: absolute;
        right: 6%;
        top: 10%;
        display: flex;
        margin-right: 10px;
    }

    /*styling the words in the header*/

    .header-words{  /*styling the header words position*/
    position: absolute;
    bottom: 3%;
    left: 6%;
    gap: 5%;
    }

    /*styling the underline of our services*/
    .header-words h1::after{
        content: "";
        display: block;
        width: 70px; /* Custom underline length */
        height: 3px; /* Thickness */
        background-color: #F26522;; /* Color */
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
        margin-bottom: 8px;
    }

    .header-words .animatedtxt{     /*styling the color of animated txt*/
    color: #F26522;
    }

    /*styling the services words*/

    .serviceexplain p{
        text-align: center;     /*alighning the text center horizantally*/
        padding-right: 30px;
    }

    .webdev-details h3{
    margin-right: 40%;     /*positioning the text more to the left*/
    }

    /*Styling the consultation-details h3 container*/

    .consultation-details h3{
        margin-right:58%;     /*positioning the text more to the left*/
    }




    /*styling footer*/

    .mfooter{           /*useful link column*/
        margin-top: 20px;
    }

    .mfooter ul li a:hover{
        color: #F26522;
        text-decoration: underline;
    }

    .rfooter{
        margin-top: 20px;
    }

    /*styling the icons container in the footer*/
    .logofooter{
        margin-left: 0px;
    }

    /*styling the icons in the footer*/
        .logofooter i{
            padding: 10px;
            padding-left: 0px;
        }

    /*styling the line above copyright in the footer*/

    .copyfoot p::before{
        content: "";
        display: block;
        width: 300px; /* Custom underline length */
        height: 1px; /* Thickness */
        background-color: #4A4A4C;; /* Color */
        margin-left: 10px;
        margin-bottom: 20px;
    }

    .paragraphs h3 {
        display: none;
    }

    /*styling button */

    .paragraphs a{
    text-align: center;
    }

    

}