@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz@0,14..32;1,14..32&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

/*styling the nav bar*/
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: brown;
    height: 58px;
    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{
    background-image: url('abtus.jpg');
    background-size: cover; /* Covers the entire screen */
    background-repeat: no-repeat; /* Prevents repeating */
    background-position: center; /* Centers the image */
    height: 595px;
}

/*positioning the whole container in the header*/
.styling{
    position: absolute;
    top: 70%;
    margin-left: 105px;
}
/*contact us words*/
.styling h1{
    color: white;
}
/*styling the underline of contact us*/
.styling 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: 70px;
}

/*animated txt container*/
.animated {
    color: white;
    font-size: larger;
}

/*styling the animated txt*/
.animated .animatedtxt{
    color: #F26522;
}

/*styling the line below the animated txt*/
.animated p.underlined::after{
    content: "";
    display: block;
    margin-top: 5px;
    width: 270px; /* Custom underline length */
    height: 1px; /* Thickness */
    background-color: grey; /* Color */
}

.animated p.below{
    position: absolute;
    top: 95%;
}

/*leaving space btn header and form section*/
.contsec{
    padding-top: 50px;
    margin-top: 20px;
}

.forsmall{          /*hiding to be displayed on small screens only*/
    display: none;
}

/*form div */

.forms{             

    background-color: #453A34;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 300px;
    height: 425px;
    margin: 10px;

}

.forms form{        /*form */
    width: 200px;
    margin: 10px;
    text-align: center;
    width: 300px;
}

.forms .inputbox{  /*input box container*/
    position: relative;
    height: 50px;
    width: 300px;
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 16px 0;
}

.forms .inputbox input{     /* styling form input */
    outline: none;
    border-radius: 5px;
    border: 1px solid transparent;
    position: absolute;
    height: 70%;
    width: 70%;
    top: 15px;
    background-color: #453A34;
    border-bottom: 1px solid grey;
    border-radius: 0px;
    color: white;
    
}

.forms .inputbox label{      /* styling form label input */
    position: absolute;
    left: 60px;
    top: 20px;
    font-size: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.forms .inputbox input:focus ~ label,
.forms .inputbox input:valid ~ label{  /* styling form label input  for focus and valid iput data*/
    top: 0%;
    transform: translateY(-50);
    font-size: small;
    color: #F26522;
    display: block;
}

.forms .inputbox input:focus {      /* styling form input for focus input data*/
    background-color: #453A34;
    border-bottom: 1px solid grey;
    border-radius: 0px;
    color: white;
}
.forms .inputbox input:valid{    /* styling form input for valid iput data*/
    background-color: #453A34;
    border-bottom: 1px solid grey;
    border-radius: 0px;
}

/*textarea container */

.forms .textbox{
    min-height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
}

/*textarea*/
.forms .textbox textarea{

    position: absolute;
    resize: none;
    outline: none;
    border-radius: 5px;
    width: 70%;
    height: 80px;
    top: 20px;
    background-color: #453A34;
    border-bottom: 1px solid grey;
    color: white;
}

/*textlabel*/
.forms .textbox label{  
    position: relative;
    top: 20px;
    left: 0px;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.forms .textbox textarea:focus ~ label{
    top: 0px;
    transform: translateY(-50);
    font-size: small;
    color: #F26522;
    display: block;
}


/*sumit button styling */

.forms .submit input{

    background-color: #F26522;
    color: white;
    outline: none;
    border: none;
    border-radius: 5px;
    width: 170px;
    margin-top: 10px;
}

/*map container */

.map{

    display: flex;
    justify-content: center;
    height: 500px;
    margin-bottom: 20px;

}

/*map styling */

.map iframe{

    border-radius: 10px;
    width: 100%;
    height: 500px;

}

/*left picture on the contact section*/

.iconrows{        /*rows in the icon section on the left*/
    display: flex;
    justify-content: center;
}

.iconic{            /*each icon segment in the section on the left*/
    background-color: #453A34;
    border-radius: 8px;
    margin: 10px;
    width: 250px;
    height: 200px;
}

.iconic p{              /*each paragraph in the icon segment in the section on the left*/
    color: white;
    font-size: small;
}


/*styling footer*/
.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;
}


/*creating the responsiveness of the page*/

/*tablets screens*/
@media only screen and (min-width: 601px) and (max-width: 1000px){

    /*eliminating spaces*/
    .contsec{
        padding: 0%;
        margin: 0%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .forsmall{
        display: block;     /*displaying hidden content*/
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        background-color: aliceblue;
        margin-right: 0px;
        padding: 20px;
        text-align: center;
        width: 100%;
    }

    /*hiding contents*/
    .icons{
        display: none;
        padding: 0px;
        margin: 0px;
    }

    /*styling the form container*/
    .forms{
        margin-top: 50px;
        margin-bottom: 50px;
    }

}

/*for small screen such as phoones*/

@media (max-width: 600px) {
    /*styling the nav bar*/

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

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

    nav ul{
        position: absolute;
        top: 58px;
        left: 0;
        right: 0;
        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: 5%;
        display: flex;
        margin-right: 8px;
    }

    /*styling header height*/
    .header{
        height: 380px;
        padding: 0px 10px;
        background-size: cover;
        margin-block: 0px;
    }

    /*positioning contact us words section*/
    .styling{
        position: absolute;
        top: 40%;
        left: 2%;
        margin-left: 0px;
    }
    /* margin bottom in the underline of contact us*/
    .styling h1::after{
        margin-bottom: 10px;
    }

    /*eliminating spaces*/
    .contsec{
        padding: 0%;
        margin: 0%;
        display: flex;
        justify-content: center;
        text-align: center;
    }
    
    .forsmall{
        display: block;     /*displaying hidden content*/
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        background-color: aliceblue;
        margin-right: 0px;
        padding: 20px;
        text-align: center;
        width: 100%;
    }

    .forsmall .meetus p , .briefus p , .workingtime p {
        font-style: italic;
    }

    /*hiding contents*/
    .icons{
        display: none;
        padding: 0px;
        margin: 0px;
    }

    .forms{
        margin-top: 50px;
        margin-bottom: 50px;
    }

    /*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;
    } 


}