*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica;
}
html,body{
    height: 100%;
    width: 100%;
}
#main {
    height: 100%;
    width: 100%;
}
#nav{
    position: fixed;
    width: 100%;
    background-color: rgb(219, 219, 219);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 20px;
}
#nav h3{
    background-color: white;
    border-radius: 50px;
    padding: 10px 20px;
}

#intro{
    height: 40%;
    width: 100%;
    background-color:rgb(219, 219, 219);
    padding: 50px;
}
#intro h1{
     font-size: 80px;
     line-height: 90px;
     color: rgb(0, 0, 0);
}
#place{
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
}
#about{
    height: 50%;
    width: 100%;
    background-color:  rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -0px;
    margin-left: 50px;
}
#about h2{
    width: 60%;
    font-size: 30px;
    line-height: 70px;
    padding: 10px 5px;
    font-weight: 200;
}
#aboutpart2{
    width: 35%;
    height: 100%;
    padding: 55px 40px;
    font-size: 20px;
    border-left: 2px solid black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
#icons i{
    background-color: black;
    font-size: 30px;
    color: white;
    padding: 7px;
    border-radius: 10px;
}
#work {
  padding: 50px 20px;
  background-color: #f9f9f9;
}
#work1{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#work1 h3 {
    align-items: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.work-container {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 100px;
  margin-right: 100px;

}

.work-item {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 350px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  height: 250px;
  display: flex;
  flex-direction: column;
    justify-content: space-between;

}

.work-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.work-item h4 {
  margin: 10px 0 5px;
}

.contact {
  max-width: 400px;      
  margin: 40px auto;      
  padding: 20px;
  border: 1px solid #ccc; 
  background: #f9f9f9;    
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact h2 {
  text-align: center;
  margin-bottom: 15px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 10px;
  font-weight: bold;
}

input, textarea {
  margin-top: 5px;
  padding: 8px;
  border: 1px solid #aaa;
  border-radius: 5px;
  font-size: 14px;
}

input[type="submit"] {
  margin-top: 15px;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #ff9800;
}

footer {
  background-color: #222;   
  color: #fff;             
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 14px;
  border-top: 2px solid #444;
}

footer p {
  margin: 5px 0; 
}
/* 📱 Tablet screens and smaller */
@media (max-width: 768px) {
  #intro h1 {
    font-size: 10vw;
    line-height: 1.2em;
  }

  #about {
    flex-direction: column;
    margin-left: 0;
    padding: 20px;
    text-align: center;
  }

  #about h2 {
    width: 100%;
    font-size: 22px;
    line-height: 1.5em;
  }

  #aboutpart2 {
    width: 100%;
    border-left: none;
    border-top: 2px solid black;
    padding: 20px;
    align-items: center;
  }

  .work-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .work-item {
    width: 90%;
    margin-bottom: 20px;
  }
}

/* 📱 Very small phones */
@media (max-width: 480px) {
  #nav h3 {
    padding: 5px 10px;
    font-size: 14px;
  }

  #place {
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
  }

  #intro h1 {
    font-size: 12vw;
  }

  #about h2 {
    font-size: 18px;
  }
}