* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #636363;
  color: #000000;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  height: 80px;
  width: 100%;
  position: fixed;
  top: 0;
  background: white;
  box-shadow: 0 0.5px 5px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 25;
}

.navbar-container{
  display: flex ;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
  max-width: 1600px;
}

.navbar-container .nav-menu{
  display: flex;
  text-align: center;
  gap: 1.5rem;
  list-style: none;
}

.navbar .logo {
  font-size: 2rem;
  font-weight: 600;
  color: #000000;
}

.nav-menu {
  transition: all 0.3s ease-in-out;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #000000;

  border-radius: 20px;
  border: 2px solid transparent;

  white-space: nowrap;
}

.nav-menu a:hover {
  color: #434242;
}

.navbar-toggle{
  display: none;
  background: transparent;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.bar{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: black;
  transition: all 0.3s ease-in-out;
}

section {
  width: 100%;
  min-height: 100vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.hero {
      width: 100%;
      min-height: 100vh; 
      display: flex;
      align-items: center;
      padding: 0 10%;
      background: #fff;
    }

    .hero-content {
      max-width: 900px;
    }

    .hero-content h1 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom:1rem;
      color: #111;
      font-style: oblique;
    }

    .hero-content p {
      font-size: 1rem;
      margin-bottom: 2rem;
      color: #000000;
    }
    .btn-container {
      display: flex;
      justify-content: space-between; /* kiri & kanan */
      align-items: center;
      margin-top: 20px;
      width: 100%;
    }
    
    .btn-right {
      display: flex;
      gap: 10px; /* jarak antar tombol kanan */
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 22px;
      font-size: 0.9rem;
      font-weight: 600;
      background: #0056d2;
      color: #fff;
      border: none;
      border-radius: 25px;
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
      cursor: pointer;
      transition: 0.3s;
      text-decoration: none;
    }

    .btn-primary:hover {
      background: #0040a8;
    }
    
    .btn-cv {
    display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 22px;
      font-size: 0.9rem;
      font-weight: 600;
      background: #0056d2;
      color: #fff;
      border: none;
      border-radius: 25px;
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
      cursor: pointer;
      transition: 0.3s;
      text-decoration: none;
    }

    .btn-cv:hover {
  background: #0040a8;
    }

.about_me{
  display: flex;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  background: white;
}

  .about_me-content{
    max-width: 900px;
    flex: 1;
  }

  .about_me-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom:0.5rem;
  color: #111;
  }

  .about_me-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #000000;
  }

  ul.list-edu {
 
      padding-left: 20px;
      color: #000000;
      list-style: none;
    }

    ul.list-edu li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #000000;
    }

    ul.list-edu li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url('../assets/list.svg');
    background-size: contain;
    background-repeat: no-repeat;
    }

  .about_me-img {
    width: auto;  
    max-height: auto;
    border-radius: 10px;
    flex: 0 0 auto; 
  }

.projects {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column; 
  justify-content: flex-start;
  align-items: flex-start;  
  padding: 90px 10% 50px;
  background: white;
}

.projects-content {
  width: 100%;
  max-width: 1200px;
}

.projects-content h1 {
  text-align: left;
  margin-bottom: 30px;
}

.card-area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  padding-bottom: 20px;
}

.card-area img {
  max-width: 100px; 
  height: auto;
  object-fit: contain;
}

  .wrapper{
    padding: 10px 10%;
  }

.box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.box img {
  width: 100%;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.box:hover .overlay {
  transform: translateY(0);
  height: 100%;
}


  .overlay h3{
  font-weight: 500;
  margin: 0 0 5px 0;
  font-size: 12px;
  letter-spacing: 2px;
  }

  .overlay a{
    margin-top: 10px;
    color: #262626;
    font-size: 14px;
    background-color: white;
    border-radius: 50px;
    text-align: center;
    padding: 5px 15px;
  }

  .boxLhover img{
    transform: scale(1.2);
  }

.contact {
  background: #ffffff; 
  padding: 2rem 5%;
  margin-bottom: 0;
  padding-top: 90px;
  padding-bottom: 80px;
}

.contact-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}


.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.contact-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}


.contact-socials {
  background: #f2f2f2;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  padding-left: 10px;
  gap: 4rem;
}

.contact-socials a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.contact-socials a img {
  width: 22px;
  height: 22px;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #aaa;
  border-radius: 10px;
}

.contact-form textarea {
  min-height: 100px;
  resize: none;
}

.btn {
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
}


.contact-image {
  flex: 1;
  display: flex;
  align-items: center;
}

.contact-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}


.footer {
  background: #ffffff;
  color: #000000;
  padding: 3rem 5% 1rem;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1rem;
}


.footer-brand h2 {
  color: #000000;
}
.footer-brand p {
  font-size: 0.9rem;
  color: #000000;
  font-style: oblique;
}


.footer-links h3,
.footer-socials h3 {
  margin-bottom: 1rem;
  color: #fff;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  text-decoration: none;
  color: #000000;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #fff;
}


.footer-socials .social-icons {
  display: flex;
  gap: 1rem;
}
.footer-socials img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}
.footer-socials a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #000000;
  padding-top: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #000000;
}



@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: column;
  }

  .contact-socials {
    flex-direction: row;
    justify-content: space-around;
    gap: 1px;
  }

  .about_me{
    padding: 20px;
    flex-direction: column-reverse;
  }
   .contact-container {
    flex-direction: column;
  }

  .contact-image {
    width: 100%;
    margin-top: 2rem;
  }

  .contact-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
  }
}


@media (max-width: 880px){
  .navbar{
    backdrop-filter: none;
  }

  .navbar-container .nav-menu{
    display: none;
      flex-direction: column;
      align-items: flex-start;
      gap: 1.7rem !important;
      position: absolute;
      height: 100vh;
      width: 250px;
      top: 0;
      right: 0;
      padding: 5rem 1.5rem;
      box-shadow: 0 10px 10px rgba(0,0,0, 0.5);
      backdrop-filter: blur(10px);
  }

  .navbar-container .nav-menu.active{
    display: flex;
  }

  .navbar-toggle.active .bar:nth-child(2){
    opacity: 0;
  }

   .navbar-toggle.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }

   .navbar-toggle.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
  .navbar-toggle{
    display: block;
    z-index: 99;
  }
}

@media (max-width: 700px) {
  .footer-socials {
  width: 100%;                
  display: flex;
  flex-direction: column;
  align-items: center;      
}

}
@media (max-width: 500px) {
  .contact-container{
    max-width: 400px;
  }
  .contact-socials{
    gap: 1rem;
  }
  .contact-socials a {
    font-size: 0;
  }

  .contact-socials a img {
    width: 24px;
    height: 24px;
    margin: 0;
  }
  .contact-left {
  max-width: 400px;
}
.form-row{
  flex-direction: column;
}
}

@media (max-width: 400px){
  .navbar-container{
    padding: 0 1rem;
  }

  .logo{
    font-size: 1.7rem;
  }

  .navbar-container .nav-menu li a{
    font-size: 1.2rem;
    padding: 3px 15px;  
}

  .about_me{
    padding: 10px 5%;
  }
}