*, 
*:before, 
*:after{
    box-sizing: border-box;
}
html{
    font-size: 16px;
}
body{
    margin: 0;
    padding:0;
    background-color: papayawhip;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }

  html {
    scroll-behavior: smooth;
  }



  header {
    background-color: #d9d9d9;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  nav a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
  }

  nav a:hover {
    text-decoration: underline;
  }

  section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
  }

  h2 {
    text-align: center;
    margin-bottom: 40px;
    background-color: #ccc;
    padding: 10px;
    display: inline-block;
  }

  /* Hero Section */
  #hero {
    background-color: #e0e0e0;
    text-align: center;
    padding: 120px 20px;
  }

  #hero .hero-box {
    display: inline-block;
    background-color: #c7c7c7;
    padding: 60px;
    border: 2px dashed #999;
  }

  /* Featured Portfolio */
  /* Featured Portfolio Section */
#portfolio {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  #portfolio h2 {
    text-align: center;
    margin-bottom: 40px;
    background-color: #ccc;
    padding: 10px 20px;
    display: inline-block;
  }
  
  /* 3×3 Grid Layout */
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-items: center;
  }
  
  /* Each Project Box */
  .project-box {
    background-color: #e0e0e0;
    border: 2px dashed #999;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
  }
  
  .project-box:hover {
    background-color: #d0d0d0;
  }
  
  .project-box a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-align: center;
    display: block;
    padding: 10px;
  }
  
  /* About Me */
  #about .about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
  }

  .about-image, .about-text {
    flex: 1 1 45%;
    background-color: #e0e0e0;
    border: 2px dashed #999;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
  }

  .button-box {
    background-color: #ccc;
    border: 2px dashed #999;
    padding: 15px 30px;
    cursor: pointer;
  }

  /* Skills */
  .skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .skill-box {
    background-color: #e0e0e0;
    border: 2px dashed #999;
    padding: 40px;
    min-width: 120px;
    text-align: center;
  }

  /* Experience */
  .experience-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .exp-box {
    background-color: #e0e0e0;
    border: 2px dashed #999;
    flex: 1 1 45%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Contact */
  #contact .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-left, .contact-right {
    flex: 1 1 45%;
    background-color: #e0e0e0;
    border: 2px dashed #999;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  footer {
    background-color: #d9d9d9;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #bbb;
  }

  .contact-right form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-right input,
  .contact-right textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact-right button {
    padding: 10px;
    font-size: 16px;
    background-color: #f7941d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .contact-right button:hover {
    background-color: #e07a00;
  }
  
  #formResponse {
    margin-top: 10px;
    font-size: 14px;
    color: green;
  }

  /* Section background */
.contact-section {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title */
.contact-title {
  color: #fff;
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Wrapper */
.contact-wrapper {
  width: 90%;
  max-width: 1100px;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

/* LEFT PANEL */
.contact-info-box {
  background: #4a89a5;
  flex: 1;
  border-radius: 35px;
  padding: 70px 50px;
  color: #fff;
  text-align: center;
}

.contact-info-box h3 {
  margin-top: 100px;
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-info-box p {
  font-size: 18px;
  line-height: 1.5;
}

/* RIGHT FORM */
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  background: #6a6969;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #969696;
}

/* Submit Button */
.contact-form button {
  width: 150px;
  background: #f5a142;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #ffb75d;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info-box {
    padding: 40px 20px;
  }
}

  