body{
    background-color: rgb(59, 58, 58);
}
html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    font-family: Arial, sans-serif;
    flex-direction: column;
}
.headerresume{
    text-align: center;
}
.resume{
    display:flex;
    flex-direction: column;
    color:white;
    margin-left:50px;
}
.projects{
    font-size:30px;
    flex:1;

}
.projtitle {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px; 
    text-align: center;
    color: white;
}

.etchproj, .calcproj {
    border: 2px solid black;
    background-color: rgb(247, 160, 160);
    border-radius: 50px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);  
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.etchproj:hover, .calcproj:hover {
    transform: scale(1.02);  
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);  
}

.container{
    flex:1;
}

.links{
    display:flex;
    gap:60px;
    justify-content: flex-end;
    margin:30px;
    padding:40px;
    font-size:30px;
}

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

.links a:hover{
    opacity: 70%;
}

footer{
    color:white;
    padding:30px;
    text-align: center;
    font-size: 20px;
    margin-top:auto;
}


.resume h1 {
    font-size: 100px;
    margin-bottom: 10px;
}

.resume h2 {
    font-size: 50px;
    margin-top: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.resume h3 {
    font-size: 40px;
    margin-top: 10px;
}

.resume p, .resume li {
    font-size: 35px;
}

.resume ul {
    padding-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.resume a {
    color: #007bff;
    text-decoration: none;
}

.resume a:hover {
    text-decoration: underline;
}

.resume section {
    margin-bottom: 30px;
}


.projectsp > div {
    margin-bottom: 30px;
    padding-bottom: 20px;
}



.projects {
  color: white;
  font-family: Arial, sans-serif;
  max-width: 900px;
  margin: 80px auto 40px auto; 
  padding: 0 20px;
}


.projects {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}


.projects .project {
  font-size: 28px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 8px;
}

.projects video {
  display: block;
  max-width: 100%;
  height: auto;
  margin:0 auto 10px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}


.projects a {
  color: #1b6eb1;
  font-size: 25px;
  display: inline-block;
  margin-right: 20px;
  text-decoration: none;
}

.projects a:hover {
  text-decoration: underline;
}


.projects a:last-child {
  margin-bottom: 30px;
  display: inline-block;
}

.projrow {
  display: flex;
  gap: 40px; 
  flex-wrap: wrap; 
  justify-content: center; 
}
.calcproj, .etchproj {
    width: 430px;
    box-sizing: border-box; 
}

.tech-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-logos {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.tech-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.tech-description {
  margin-top: 8px;
  margin-bottom: 8px;
  color: white;
  font-size: 20px;
  opacity: 0;
  height: auto;
  text-align: center;
  transition: opacity 0.3s ease;
}

.tech-wrapper:hover .tech-description {
  opacity: 1;
}

.videowrappercalc,
.videowrapperetch {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.videowrappercalc video,
.videowrapperetch video {
  width: 400px;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.linksa {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px;
    padding: 40px;
    font-size: 30px;
    color: white;
}

.name {
  display: flex;
  align-items: center; 
  gap: 20px;          
  font-weight: bold;
  font-size: 36px;
  color: white;
  line-height: 1;
}


.navlinks {
    display: flex;
    gap: 30px;
}


.navlinks a, .navlinksr a { 
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white; 
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px; 
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    font-weight: 500;
    display: inline-block;
    font-size: 30px; 
    line-height: 1;
}

.navlinks a:hover, .navlinksr a:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
    border-color: #ffffff40;
    opacity: 1; 
}

.navlinks a:active, .navlinksr a:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.ppic {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border: 2px solid darkslategrey;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3); ;
}


.ppic:hover{
  transform: scale(1.2);
}

.linksa {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  margin: 30px;
  font-size: 30px;
  color: white;
  flex-wrap: wrap; 
  min-height: 60px;
}

.navlinks {
  display: flex;
  gap: 60px;
  align-items: center; 
  line-height: 1; 
}



.navlinksr a:hover {
  opacity: 70%;
}
.resume .contact span,
.resume .contact #downloadbtn {
    vertical-align: middle;
}
#downloadbtn {
  display: inline-block;
  padding: 6px 15px; 
  background-color: #007bff; 
  color: white;              
  text-decoration: none;    
  border-radius: 5px;
  font-size: 1rem;           
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}


#downloadbtn:hover {
  background-color: #0056b3; 
  color: white;            
  text-decoration: none;    
}

.linkedimg {
  width: 40px;
  height: 40px;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.gmailimg{
  width: 40px;
  height: 40px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gmailimg:hover{
  transform: rotate(360deg) scale(1.2);
  filter: hue-rotate(120deg) brightness(1.3);
}
.githubimg{
  width: 40px;
  height: 40px;
  transition: transform 0.4s ease, fill 0.4s ease;
  color: white;
}
.linkedimg:hover{
  transform: rotate(360deg) scale(1.2);
  filter: hue-rotate(120deg) brightness(1.3);
}

.email a, .linkedin a, .github a{
  text-decoration: none;
  color: #007bff;

}
.email a:hover, .linkedin a:hover, .github a:hover{
  text-decoration: underline;
}

.githubimg:hover{
  transform: rotate(360deg) scale(1.2);
  fill: #00bfff;
}

.contactinfo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px auto;
  font-size: 25px;
  color: white;
  max-width: 700px;
  justify-content: center;
  align-items: center;
}

.contactinfo div {
  display: flex;
  align-items: center;
  gap: 15px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 30px; 
  margin: 40px auto;
  max-width: 600px;
  color: white;
  font-size: 20px;
  background: #2d2d2d;
  border-radius: 12px;
  padding:20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
label {
  margin-bottom: 5px;     
  display: block;
}
input,
textarea {
  padding: 10px;
  border-radius: 12px;
  border: 2px solid #555;
  font-size: 18px;
  width: 100%;
  color: white;
  box-sizing: border-box;
  background: #444;
  margin-bottom: 20px;
}
fieldset {  
  border: 2px solid #555;
  border-radius: 8px;
  padding: 20px;
}
legend {  
  color: #00bfff;
  font-weight: bold;
  padding: 0 10px;
}
textarea {
  min-height: 120px;
  resize: vertical;
  vertical-align: top;
  text-align: left;
  font-family: Arial, sans-serif;
}

button {
  padding: 10px;
  font-size: 18px;
  background-color: #00bfff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
}

button:hover {
  background-color: #009acc;
}

.required {
  color: red;
  font-weight: bold;
}

body.home {
      background-color: rgb(59, 58, 58);
      color: white;
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
    }

    .containerh {
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px;
    }

    /* Header */
    header {
      text-align: center;
      margin-bottom: 30px;
    }

    header h1 {
      font-size: 3rem;
      margin-bottom: 0;
    }

    header .tagline {
      font-size: 1.2rem;
      color: #ccc;
      margin-top: 5px;
    }

    
    .links {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-top: 15px;
      margin-bottom: 40px;
      font-size: 1.25rem;
    }

    .links a {
      color: white;
      text-decoration: none;
      transition: opacity 0.3s ease;
    }

    .links a:hover {
      opacity: 0.7;
    }

   
    .intro-comment {
      display: flex;
      gap: 40px;
      align-items: flex-start;
      max-width: 1200px;
      margin: 0 auto;
    }

    
    .leftside {
      flex: 1 1 65%;
      display: flex;
      flex-direction: column;
      gap: 30px;
      min-width: 300px;
    }

   
    .leftside h1 {
      text-align: center;
      font-size: 2.2rem;
      margin-bottom: 20px;
      color: #00bfff;
    }

   
    .profile-pic {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #ccc;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
      transition: transform 0.4s ease;
      align-self: center;
    }

    .profile-pic:hover {
      transform: scale(1.05);
    }

   
    .about-me {
      text-align: left;
      background: rgba(45, 45, 45, 0.3);
      padding: 25px;
      border-radius: 12px;
      border-left: 4px solid #00bfff;
    }

    .about-me h2 {
      font-size: 2rem;
      margin-bottom: 15px;
      margin-top: 0;
      color: #00bfff;
      text-align: center;
    }

    .about-me p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .about-me a.newr {
      color: #00bfff;
      text-decoration: none;
      font-weight: bold;
    }

    .about-me a.newr:hover {
      text-decoration: underline;
    }

    
    .tech-stack {
      background: rgba(45, 45, 45, 0.3);
      padding: 25px;
      border-radius: 12px;
      border-left: 4px solid #00bfff;
    }

    .tech-stack h2 {
      font-size: 2rem;
      margin-bottom: 20px;
      margin-top: 0;
      text-align: center;
      color: #00bfff;
    }

    .tech-stack .icons {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      justify-content: center;
    }

    .tech-stack .icons img {
      width: 50px;
      height: 50px;
      object-fit: contain;
      transition: transform 0.3s ease;
      cursor: default;
      filter: brightness(0.9);
    }

    .tech-stack .icons img:hover {
      transform: scale(1.2);
      filter: brightness(1.1);
    }

    
    .comment-invite {
      flex: 1 1 35%;
      background: #2d2d2d;
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      font-size: 1.1rem;
      min-width: 280px;
      height: fit-content;
      align-self: flex-end;
      margin-top: 60px;
      border: 2px solid #444;
      text-align: center;
    }

    .comment-invite h2 {
      margin-top: 0;
      margin-bottom: 10px;
      color: #00bfff;
      text-align: center;
    }

    .comment-invite p {
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .comment-invite a {
      color: #00bfff;
      text-decoration: none;
    }

    .comment-invite a:hover {
      text-decoration: underline;
    }

    .quick-comment input,
    .quick-comment textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 15px;
      border-radius: 8px;
      border: 2px solid #555;
      font-size: 1rem;
      background: #444;
      color: white;
      box-sizing: border-box;
      resize: vertical;
      transition: border-color 0.3s ease;
    }

    .quick-comment input:focus,
    .quick-comment textarea:focus {
      outline: none;
      border-color: #00bfff;
    }

    .quick-comment textarea {
      min-height: 120px;
    }

    .quick-comment button {
      width: 100%;
      padding: 12px;
      font-size: 1rem;
      background-color: #00bfff;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      font-weight: bold;
    }

    .quick-comment button:hover {
      background-color: #009acc;
    }


   
    @media (max-width: 768px) {
      .container {
        padding: 15px;
      }

      .intro-comment {
        flex-direction: column;
        gap: 30px;
      }

      .leftside,
      .comment-invite {
        flex: 1 1 100%;
        min-width: unset;
      }

      .profile-pic {
        width: 150px;
        height: 150px;
      }

      header h1 {
        font-size: 2.5rem;
      }

      .leftside h1 {
        font-size: 1.8rem;
      }

      .about-me h2,
      .tech-stack h2 {
        font-size: 1.5rem;
      }

      .about-me p {
        font-size: 1rem;
      }

      .links {
        gap: 20px;
        font-size: 1.1rem;
      }
      .projects {
        margin-top: 40px; 
        margin-bottom: 20px; 
        padding: 0 10px;
    }

    
    .projtitle {
        margin-bottom: 20px; 
        font-size: 30px; 
    }

    }

    @media (max-width: 480px) {
      .links {
        flex-direction: column;
        gap: 15px;
      }

      header h1 {
        font-size: 2rem;
      }

      .leftside h1 {
        font-size: 1.5rem;
      }
    }

  body.home .links a {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px; 
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  font-weight: 500;
  display: inline-block;
}

body.home .links a:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
  border-color: #ffffff40;
  opacity: 1;
}

body.home .links a:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

@media (max-width: 768px) {
    
    .linksa {
        flex-direction: column; 
        align-items: center;
        gap: 20px; 
        padding: 20px; 
        margin: 15px; 
    }

    
    .navlinks {
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
        width: 100%; 
    }

      .navlinks a {
        padding: 12px 30px; 
        font-size: 24px;
        width: fit-content; 
        margin: 0 auto; 
    }

 
    .name {
        flex-direction: column; 
        gap: 10px; 
    }

    .name .ppic {
        height: 80px; 
        width: 80px;
    }

    .name {
        font-size: 30px; 
    }

    
    .projrow {
        flex-direction: column; 
        gap: 20px; 
        align-items: center; 
    }

    .calcproj, .etchproj {
        width: 90%; 
        max-width: 400px; 
    }

    .videowrappercalc video,
    .videowrapperetch video {
        width: 100%;
        height: auto; 
    }

  
    .contactinfo {
        font-size: 20px;
        align-items: flex-start; 
        padding: 0 15px; 
        max-width: 100%;
    }

    .contactinfo div {
        flex-direction: row;
        justify-content: flex-start; 
        width: 100%;
    }

    form {
        margin: 20px 15px; 
        padding: 15px;
    }

    input, textarea, button {
        font-size: 16px;
    }
}


@media (max-width: 480px) {
    .navlinks a {
        font-size: 20px;
        padding: 10px 25px; 
        width: fit-content;
        margin: 0 auto;
    }
    .name {
        font-size: 26px;
    }
    .name .ppic {
        height: 70px;
        width: 70px;
    }
}
@media (max-width: 768px) {
   

    .resume {
        margin-left: 0; 
        padding: 0 15px; 
        font-size: 16px; 
    }

    .resume .headerresume {
        padding: 10px;
    }

    .resume h1 {
        font-size: 40px; 
        margin-bottom: 5px;
    }

    .resume p,
    .resume li {
        font-size: 18px; 
        line-height: 1.4;
    }

    .resume h2 {
        font-size: 28px; 
        margin-top: 20px;
        padding-bottom: 2px;
    }

    .resume h3 {
        font-size: 22px; 
        margin-top: 10px;
    }

    .resume ul {
        padding-left: 15px; 
        margin-bottom: 15px;
    }

    .resume section {
        margin-bottom: 20px; 
    }

    .resume .contact {
        font-size: 16px; 
        line-height: 1.4;
    }

    
    .resume .contact #downloadbtn {
        font-size: 0.9rem; 
        padding: 5px 10px;
    }

    .projectsp > div {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

   
    .resume p strong {
        font-size: inherit; 
    }
}


@media (max-width: 480px) {
    .resume h1 {
        font-size: 32px;
    }
    .resume h2 {
        font-size: 24px;
    }
    .resume h3 {
        font-size: 20px;
    }
    .resume p,
    .resume li,
    .resume .contact {
        font-size: 15px;
    }
}