* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

body {
    background-color: rgb(16, 16, 60);
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* ................Header styling................ */

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 65px;
    background-color: rgb(13, 13, 70);
}

nav ul {
    display: flex;
    justify-content: center;

}

nav ul li {
    list-style: none;
    margin: 0 18px;


}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
}

nav ul li a:hover {
    color: rgb(115, 169, 122);
    font-size: 1.15rem;
}


.left {
    font-size: 2.7rem;
    margin-top: 15px;
    margin-right: 200px;

}

.left a{
    text-decoration: none;
    color:#fff;
  
}
.left a:hover{
    font-size:2.9rem;
  
}


/*.............Home styling ...............*/

.container{
    padding: 3px 20px;
}

.Home {
    display: flex;
    justify-content: center;
    margin: 0 0;
}

.Home>div {
    width: 40%;
}

.LeftSec {
    font-size: 2.2rem;
    margin: 105px 58px;
    /* margin-inline-start: 69px; */
}

.LeftSec .btn {

    padding: 12px;
    background-color: rgb(0 0 46);
    color: rgb(240 240 244);
    border: 2px solid white;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;

}

.buttons {
    padding: 23px;
}

.buttons .btn a {
    text-decoration: none;
    color: white;
}

.buttons .btn a:hover {
    color: rgb(115, 169, 122);
    font-size: 1.05rem;
}


.RightSec img {
    width: 90%;
    margin: 44px 13px;

}

.rcol {
    color: rgb(115, 169, 122);
}



#element {
    color: rgb(115, 169, 122);
}

main hr {
    margin: 10px 97px;
}



/* .........About styling....... */




.About {
    padding: 3% 0;
    color: white;
}


.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.image {
    flex-basis: 35%;

}

.image img {
    width: 100%;
    border-radius: 15px;
    margin: 13px 26px;

}

.Atext {
    flex-basis: 60%;
}
.text {
    font-family: 'Lato', sans-serif;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: rgb(200, 200, 200);

}

.sub-title {
    font-size: 40px;
    font-weight: 600;
    color: rgb(115, 169, 122);
}



.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: rgb(115, 169, 122);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: rgb(115, 169, 122);
    font-size: 13px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}


/* .............Services.............. */

.Services{
    padding: 20px 0;
}



.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    margin-top: 50px;
}

.services-list p{
        font-family: 'Lato', sans-serif;
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: rgb(200, 200, 200);
    
    
}

.services-list div{
    background: #262626;
    padding: 30px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 15px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    font-size: 50px;
    margin-top: 30px;
    margin-bottom: 5px;
}
.services-list div h2{
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a{
    text-decoration: none;
    padding: 10px;
    background-color:rgb(115, 169, 122);
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div a:hover{
    font-size: 14px;
}

.services-list div:hover{
   background: purple;
   transform: translateY(-10px);
}


/* ........Contact Section...... */
.container1{
    padding: 10px 10%;
}

.contact-left{
    flex-basis: 35%;
}

.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 8px;
    font-size: 13px;
}

.mail{
    text-decoration: none;
    color: #fff;
}



.contact-left p i{
    color: rgb(115, 169, 122) ;
    margin-right: 10px;
    font-size: 25px;

}

.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color:rgb(115, 169, 122);
    transform: translateY(-5px);
}

.btn2 {
    height: 50px;
    width: 100px;
    display: inline-block;
    background: rgb(115, 169, 122);
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.5s;
    
}

.btn2:hover {
    height: 50px;
    width: 105px;
    background: red;
    transform: translateY(-5px);
}

.contact-right form{
    width: 100%;

}

form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626 ;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

.Copyright div {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: #262626;
    margin-top: 10px;

}

.Copyright div p{
    font-family: 'Lato', sans-serif;
    font-size: 12px;
}



/* .............CSS for smaller screem........ */

nav .fa-solid{
    display: none;
}


@media only screen and (max-width: 767px){


    /* .Home {
        display: flex;
        justify-content: center;
        margin: 0 0;
        overflow-x: hidden;
    } */

    nav .left{
        margin-top: 13px;
        margin-right: 220px;
        font-size: 40px;
    }

    .Home {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    
   
    .Home .RightSec{
        width:0;
    }

    .Home .LeftSec {
        font-size: 1.5rem;
        margin: 60px -56px;
        margin-inline-start: 10px;
        margin-bottom: 5%;
        width: 100%;
    }

    .btn{
        margin-block-end: 10px;
        padding: 12px;
        background-color: rgb(0 0 46);
        color: rgb(240 240 244);
        border: 1px solid white;
        border-radius: 10px;
        font-size: .5rem;
        cursor: pointer;
    }

    nav .fa-solid{
        display: block;
        font-size: 30px;

    }
    nav ul{
        
    background-color: transparent;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    /* height: 100vh; */
    margin: 100px 0;
    /* padding-top: 50px; */
    z-index: 2;
    transition: 0.5s;
    }
    nav ul li{
        /* display: flex; */
        padding: 10px;
        margin-bottom: 10px;
        background: rgb(115, 169, 122) ;
        border-radius: 10px;
    }
    nav ul li a:hover{
        color: white;
    }

    nav ul .fa-solid{
        position: absolute;
        top: -40px;
        left: 25px;
        cursor: pointer;
    }
    nav .fa-solid{
        position: absolute;
        top: 20px;
        left: 90%;
        cursor: pointer;
    }

    .sub-title{
        font-size: 35px;
    }
    .image{
        flex-basis: 80%;
        
    }
    .Atext{
        flex-basis: 100%;
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }

    .contact-left, .contact-right{
        flex-basis: 100%;
    }

    .Copyright{
        font-size: 14px;
        margin-top: 6px;
    }



}

