*{
    padding: 0px;
    margin:0px;
    box-sizing: border-box;
}
html{
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
    overflow-y: scroll;
    scroll-behavior: smooth;
}
nav.Header{
    height: 11vh;
    border-bottom: 0.01px groove #d6d3d3; 
    position:sticky;
    display: flexbox;
    top:0;
    padding-left: 2.5%;
    background-color: white;
    z-index: 1000; /* Keeps it above other content */
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
h1.Name{
    text-align: center;
    vertical-align: middle;
    line-height: 140%;
    font-size: 2em;
}
button.nav-button{
    border:none;
    color:black;
    font-size: 15px;
    background-color: white;
    display:inline-block;
    cursor: pointer;
    padding: 2px 14px;
    position: relative;
    line-height:140%;
    top: 30px;
    margin-left: 5px;
}
.nav-button:hover{
    text-decoration: underline;
    text-decoration-thickness:10%; 
    text-decoration-color: rgb(240, 112, 7);
    color:rgb(240, 112, 7);
}
/* button.Home,.About,.Projects,.DownloadCV{
    top: 30px;
    margin-left: 5px;
}
button.Home{
    padding-left: 50px;
} */
button.Hire{
   position:absolute;
   background-color: white;
   top:25px;
   right: 100px;
   border: 2px solid rgb(240, 112, 7);
   font-size: 27px;
   width: 160px;
   height: 45px;
}
button.Hire:hover{
    transition-duration: 0.3s ease-in-out;
    background-color: rgb(240, 112, 7);
    color:white;
    text-decoration: none;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
    opacity: 0.8;
}
button.Hire span {
    position: relative;
    transition: 0.1s ease-in-out;
    font-size: 18px;
    top:-2px;
  }
button.Hire span:after {
    content: '\00bb';
    position: absolute;
    opacity: 1;
    padding-top: 7%;
    right: -8px;
    transition: 0.5s ease-in-out;
    color:white;
  }
button.Hire:hover span{
    padding-right: 15px;
    transition: 0.2s ease-in-out;
}
.button.Hire:hover span:after {
    opacity: 1;
    right: 0;
    top:2;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }
  
  /* Modal Content Box */
  .modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
    position: relative;
  }
  
  /* Close Button */
  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
  }
  
  /* Form Styling */
  form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  button.send{
    background: #121212;
    color: white;
    padding: 15px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
  }
  
  button.send:hover {
    background: #333;
  }
div.intro{
    padding-top: 5%;
    display: flex;
    /* flex-direction: row; */
    height: 600px;
}
Section.ProfileImg{
    margin-left: 60px;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
    width:40%;
}
img{
    width:750px;
    max-width: 100%;
    display:inline-block;
    margin:auto;
    transition: 3s ease-in,1s ease-out;
}
img:hover{
    transform:scale(1.05);
    transform-origin: 50% 50%;
}
div.IntroText{
    margin-left:50px;
}
.PersonalDisc{
    position: relative;
    padding-top: 10px;
    font-size: 3.5em;
    font-weight: 800;
}
.PersonalDiscName{
    padding-top: 10%;
    position: relative;
    text-align: justify;
    font-size: 3em;
    font-weight: 500;
}
div.Qualifications{
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
    background-color:#F5F5F5;
}
.QualificationsHeader{
    display:block;
    padding-top: 7px;
    text-align: center;
    font-size:2em;
}
.Education{
    margin-left: 200px;
    width:800px;
    display: flex;
    justify-content: space-between;
    font-size: 2em;
}
p.QualificationsTitle{
    margin-top: 16%;
    height: auto;
    width:auto;
    display: block;
}
.EduDesc{
    width: auto;
    padding-top: 50px;
    padding-left: 50px;
    display:flex;
    flex-direction: column;
}
.EnggTitle{
    font-size: 20px;
    padding-bottom: 10px;
}
.EnggDesc{
    font-size: 20px;
    font-weight: lighter;
}
.Plus2Title{
    font-size: 20px;
    padding-bottom: 10px;
    padding-top: 30px;
}
.Plus2Desc{
    font-size: 20px;
    font-weight: lighter;
}

.About_Me{
    margin:20px 5px 20px 5px;
    padding:20px 0 20px 50px;
    display: flex;
    background-color: #F5F5F5;
}
.AboutDesc{
    margin-left: 10px;
    margin-right: 20px;
    margin-top: 20px;
    width:55%;
    text-align: justify;
    font-size: 20px;
    line-height: 1.4;
}

.AboutTitle{
    text-align: center;
    width:40%;
    vertical-align: center;
    line-height:300px;
    font-size: 3em;
    font-weight: 500;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    font-size: 0.9rem;
    color: #6c757d;
  }
  
  footer a {
    color: #007bff;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  #scrollTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #7a7f83;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
  }
  
  /* dark mode button */
  /* body.dark-mode {
    background: #121212;
    color: #ffffff;
  }
  button.dark-mode {
    background: white;
    color: black;
  } */

  #projects {
    text-align: center;
    padding: 50px 20px;
    background: #f4f4f4;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1rem;
    color: #555;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

.project-card a:hover {
    text-decoration: underline;
}