/* I align the left right content through chatgpt by giving my html and giving promt to alignt the text and image on opposite side of website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: poppins;
}
section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f4f4f4;
    padding: 20px 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: black;
}
nav {
    display: flex;
    gap: 20px;
}

nav li {
    list-style: none;
    display: inline;
}

nav li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: poppins-extralight;
}

nav li a:hover {
    color: rgb(108, 108, 255);
}
main {
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
}
.myintro {
    width: 50%;
    text-align: left;
}
.hello {
    font-size: 40px;
    border: 2px solid black;
    display: inline-block;
    padding: 10px;
    margin-bottom: 10px;
}
.intro {
    font-size: 36px;
    display: inline-block;
}

.name {
    font-size: 36px;
    color: rgb(108, 108, 255);
    display: inline-block;
}
h2 {
    font-size: 24px;
    margin-top: 15px;
}

p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
}
.mypicture {
    width: 50%;
    text-align: right;
}

.mypicture img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}
.container {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.Services {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Services Container */
.servicesoptions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}
/* Cards shape created through chatgpt */
.servicesoptions div {
    background-color: #f8f8f8;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1; /* Equal width for all */
    min-width: 250px;
}

.servicesoptions img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.servicesoptions h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.servicesoptions p {
    font-size: 16px;
    color: #555;
    line-height: 1.4;
}
.aboutme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Space between image and text */
    padding: 50px 10%;
}
.myprofile {
    flex: 1; /* Take equal space */
    max-width: 40%; /* Restrict image width */
}

.myprofile img {
    width: 100%;
    border-radius: 10px;
}
.myaboutme {
    flex: 1; /* Take equal space */
    max-width: 60%;
}

.myaboutme h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.myaboutme p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}
.myeducation{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-left: 40px;
}
.academic {
    width: 50%;
}
.experince {
    width: 50%;
}
.educationsetiontittle{
    color: rgb(108, 108, 255);
    padding-left: 40px;
}
footer{
    padding-bottom: 20px;
    align-items: start;

}
.highlight{
    color: rgb(108, 108, 255);
}
#message {
    display: none;}
button{
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 24px;
    padding: 12px;
}
/* Back to top button styling */
#scrollTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007acc;
    color: white;
    border-radius: 5px;
}
/* styling project tab  */
.project_container {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    padding-left: 40px;
}

.project {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project h3 {
    margin: 10px 0 5px;
}

.project p {
    color: #555;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}
.projectsidone ,h1{
    margin-left: 40px;
}
.projectsidone ,h3{
    margin-left: 40px;

}
#project_title{
    color: #007acc;
}