*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body{
     font-family: 'Montserrat', sans-serif;
  background-color: #111; /* dark background */
  color: white;
}
.header{
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    padding:2rem;
    background-color: rgb(24, 23, 23);
   
}
.nav-1 a{
    text-decoration: none;
    color: white;

}
.nav-1 :hover{
    color:#1e90ff;
 
}
.main{
   height: 90vh;
  background: url('images/baground.jpg') no-repeat center center;
  background-size: cover;
  width: 100%;
  color: white;
  padding-top: 10rem;
  padding-left: 10rem;
  font-family: 'Montserrat', sans-serif;
}
.content-main{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mainheading{
    font-size: 5rem;
  
}
.main-heading1{
font-size: 8rem;
 line-height: 6rem;
 margin-top: 0.5rem;

}
.paramain{
   margin-top: 1rem;
    font-size: 1.5rem;
    font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif ;
    
}

.button-1main{
    margin-top: 3rem;
    padding:0.5rem 3rem 0.5rem 3rem;
 font-size: 1.5rem;
 border-radius: 30px;   
  background-color: #0b65c2;
 color: white;
transition:all 0.3s ease;
border: none; 


}
.para-main1{
    padding-left: 5rem;
}
.button-1main:hover{
    background-color: white;
  transform: scale(0.9);
  color: black;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5); 
}
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
max-width: 80%;
margin: auto;
  height: 100vh;
}

.text {
 width: 60%;
 padding-left: 5rem;
 
}

.text h2 span {
  font-size: 28px;
  border-bottom:2px solid #1e90ff;
}

.email {
  color:white;
padding-bottom: 5rem;
margin-top: 1rem;
color: #1e90ff;
}

.text p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1.2rem;
  width: 100%;
  height: 100px;
}

.location {
    margin-top: 15rem;
margin-left: 5rem;
  color: white;
  font-size: 1rem;
}

/* .photo img {
  max-width: 300px;
  width: 100%;
  border-radius: 5px;
}
/*  */

.photo {
  flex: 1; /* allow it to grow nicely next to text */
  display: flex;
  justify-content: center; 
  align-items: center;    
  padding: 20px;
}

.photo img {
  width: 100%;
  max-width: 345px; 
  border-radius: 50%;    
  object-fit: cover;   
  box-shadow: 0 4px 12px rgba(0,0,0,0.5); 
transition: all 0.3s ease;
}
.photo img:hover{
transform: scale(0.9);
}

/* resume section */
.resume {
  height: 100vh; /* full viewport height */
  background-color: #1a1a1a; /* dark background */
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-around; /* center vertically */
  align-items: center;     /* center horizontally */
  padding: 20px;
  text-align: center;
}

.resume h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1e90ff; /* accent color */
}

.resume-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  width: 100%;
}

.block {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition:all 0.3s ease;
}
.block:hover{
    transform:scale(1.1);
}

.block h3 {
  margin-bottom: 10px;
  color: #1e90ff;
  font-size: 20px;
}

.block p, .block li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.block ul {
  list-style: disc inside;
}

.download {
  margin-top: 20px;
}


.download a {
  display: inline-block;
  background-color: #1e90ff;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition:all 0.3s ease;
}

.download a:hover {
  background-color: #0b65c2;
  transform: scale(1.1);
}



/* project section */
#projects {
 height: 60vh;
  color: white;
  text-align: center;
  padding: 40px 20px;
  
}
.card-anc{
  text-decoration: none;
}
#projects h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #0d6efd;
  
}

.project-container {
  margin-top: 10rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.project-card {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  color: #ddd;
}
.project-card:hover{
  
  transform: scale(1.1);
 
}
/* footer */
footer {
  background-color: #1e1e1e;
  color: #aaa;
  text-align: center;
  padding: 10px;
  font-size: 12px;
}

/* medai query */
/* Responsive Design - Tablets and Below */
@media (max-width: 1024px) {
  .main {
    padding-left: 3rem;
    padding-top: 6rem;
    text-align: center;
  }

  .mainheading {
    font-size: 4rem;
  }

  .main-heading1 {
    font-size: 6rem;
    line-height: 5rem;
  }

  .paramain {
    font-size: 1.3rem;
  }

  .para-main1 {
    padding-left: 0;
  }

  .about {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
    text-align: center;
  }

  .text {
    width: 100%;
    padding: 0;
  }

  .location {
    margin: 2rem 0 0 0;
  }

  .photo {
    padding: 1rem 0;
  }

  .resume {
    height: auto;
    padding: 2rem 1rem;
  }

  .resume-content {
    grid-template-columns: 1fr;
  }

  #projects {
    height: auto;
  }

  .project-container {
    margin-top: 3rem;
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive Design - Mobile Devices */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 1rem;
    font-size: 1.2rem;
  }

  .mainheading {
    font-size: 3rem;
  }

  .main-heading1 {
    font-size: 4rem;
    line-height: 3.5rem;
  }

  .paramain {
    font-size: 1.1rem;
  }

  .button-1main {
    padding: 0.4rem 2rem;
    font-size: 1.2rem;
    margin: 1rem 0.5rem 0 0;
  }

  .project-card {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .location {
    font-size: 1rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .location {
    font-size: 0.95rem;
    margin-top: 1rem;
  }
}
@media (max-width: 521px) {
.profile-pic{
  display: none;
}
}