*,
html {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body, img, p, h1, h2, h3, h4, h5, h6, a, div, span {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
}

body {
  background: linear-gradient(to bottom, #f38181 0%, #fce38a 50%, #a8edea 100%);
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

section {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

nav {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
}

nav div img {
  width: 50px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  font-family: Hack, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #191919;
  font-weight: 600;
  padding: 8px 0;
  transition-duration: 300ms;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}

nav ul li a:hover {
  color: gray;
  border-bottom:tite 1px solid black;
}

.menu-icon {
  font-size: 28px;
  display: none;
  align-items: center;
}

.welcome-section,
.hero-section,
.ed,
.skills-section,
.my-journey,
.projects {
  background: rgba(255, 255, 255, 0.408);
}
/*dari sini ya*/
.welcome-section {
    user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 2rem 5%;
}
.welcome-text {
  max-width: 50%;
}
.welcome-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
}
.welcome-text p {
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.cta-button {
  margin-top: 2rem;
  display: inline-block;
  background-color: #221d23;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.cta-button:hover {
  background-color: #444;
  color: rgb(253, 253, 253);
}
.welcome-image img {
  width: 350px;
  border-radius: 12px;
  right: 0;
  max-width: 100%;
  margin-right: 10px;
  margin: 10px;
  position: relative;
  right: 0;
  z-index: 1;
}
/*sampai sini*/
.hero-section {
      user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
  min-height: 100vh;
}

.hero-section .section-content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: #712e01;
  justify-content: space-between;
  padding: 3rem;
}
.hero-section .hero-details {
  margin: 10px;
  z-index: 2;
}
.hero-section .hero-details .about-me {
  margin-bottom: 12px;
  font-weight: normal;
}
.hero-section .hero-details .title {
  font-size: 30px;
  font-weight: 900;
  font-family: Playfair Display, Poppins, "Courier New", Courier, monospace;
}

.hero-section .hero-details .sub {
  margin-top: 8px;
  font-size: 32px;
  font-weight: 600;
  max-width: 70%;
  line-height: 100%;
}

.hero-section .hero-details .desc {
  max-width: 70%;
  margin-top: 2px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
}

.hero-section .hero-image-wrapper {
  max-width: 100%;
  margin-right: 10px;
  margin: 10px;
  position: relative;
  right: 0;
  z-index: 1;
}

.skills-section {
  position: center;
  min-height: 100vh;
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}
.skills-section h2 {
  margin-top: 5rem;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000000;
}
.skills-section p {
  font-size: 1.05rem;
  color: #000000;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.skill-box i {
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 0.5rem;
}
.skill-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
}
.skill-box span {
  font-size: 0.9rem;
  color: #000000;
}
.projects {
  min-height: 100vh;
}

.projects .title-projects {
  margin-top: 5rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000000;
  text-align: center;
}

.projects .slider {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  position: relative;
  width: 100%;
  height: 370px;
  overflow: hidden;
}
.projects .item {
  margin: 0 20px;
  transition: 0.5s;
  z-index: 1;
  position: absolute;
  width: 200px;
  height: 320px;
  text-align: justify;
  background-color: #c1a17f4d;

  padding: 20px;
  transition: 0.5s;
  left: calc(50% - 110px);
  top: 90;
}
#next,
#prev {
  position: absolute;
  top: 40%;
  color: #000000;
  background-color: transparent;
  border: none;
  font-size: xxx-large;
  font-family: monospace;
  font-weight: bold;
  left: 100px;
  z-index: 10;
}
#next {
  left: unset;
  right: 100px;
}

/* Timeline */
.my-journey {
  padding: 10%;
  text-align: center;
  z-index: 10;
  min-height: 100vh;
}
.my-journey .timeline {
  position: relative;
  max-width: 1000px;
  margin: 5rem auto;
  padding: 40px 0;
}
.my-journey .timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #000000;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.my-journey .timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
}
.my-journey .timeline-item::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border: 4px solid #000000;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
.my-journey .timeline-item.left::before {
  left: -10px;
}

.my-journey .timeline-item.right::before {
  right: -10px;
}
.my-journey .timeline-item.right {
  left: 0;
}
.my-journey .timeline-item.left {
  left: 50%;
}
.my-journey .timeline .content {
  background: white;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.my-journey .timeline .content h3 {
  margin-top: 0;
  color: #333;
}
.my-journey .timeline .content span {
  font-size: 0.9rem;
  color: #000000;
}

/* Education Timeline */
.ed {
  min-height: 100vh;
}
.ed .edu {
  text-align: center;
  padding: 10%;
}

.edu .horizontal-timeline {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 4rem auto;
  max-width: 1000px;
}
.edu .edu-step {
  text-align: center;
  flex: 1;
  min-width: 150px;
  margin: 1rem;
}
.edu .edu-step .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #3b3b1a;
  margin: 0 auto 10px;
}
.edu .edu-step h4 {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #000000;
}
.edu .edu-step p {
  font-size: 0.85rem;
  color: #000000;
}
footer {
  background: #ffff;
  color: #1f1515;
  padding: 4rem 2rem 2rem;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-box {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-box h2,
.footer-box h3 {
  margin-bottom: 1rem;
  position: relative;
}

.footer-box h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #fff;
  margin-top: 5px;
}

.footer-box p,
.footer-box a {
  font-size: 0.9rem;
  color: #000000;
  text-decoration: none;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 0.5rem;
}

.footer-box ul li a:hover {
  color: #fff;
}

.newsletter {
  display: flex;
  border-bottom: 1px solid #fff;
  margin-bottom: 1rem;
}

.newsletter input {
  border: none;
  background: transparent;
  color: white;
  padding: 0.5rem;
  flex: 1;
}

.newsletter button {
  background: transparent;
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, #ffb6b9, #bbded6, #a8edea);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.socials a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgb(45, 26, 26);
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #000000;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #000000;
}

@media only screen and (max-width: 768px) {
  .container .section {
    padding: 0 1.2rem;
  }
  .welcome-section,
  .hero-section,
  .ed,
  .skills-section,
  .my-journey,
  .projects {
    background: rgba(255, 255, 255, 0.408);
  }
  nav {
    flex-wrap: wrap;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
  }
  nav ul.hidden {
    display: none;
  }

  .menu-icon {
    display: flex;
    align-items: center;
  }
  /*sini*/
  .welcome-section {
    padding-top: 20%;
    flex-direction: column;
    text-align: center;
  }
  .welcome-text,
  .welcome-image {
    max-width: 100%;
  }
  .welcome-image img {
    width: 250px;
    margin-top: 2rem;
  }
  .hero-section {
    padding-top: 20%;
    flex-direction: column;
    text-align: center;
  }
  .hero-section .hero-details .sub {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 600;
    max-width: 100%;
    line-height: 100%;
  }
  .hero-section .section-content {
    line-height: 1.6;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #712e01;
    justify-content: center;
    box-sizing: border-box;
    padding: 1rem;
  }

  .hero-details {
    order: 2;
  }

  .hero-image-wrapper {
    order: 1;
  }

  .hero-image-wrapper img {
    width: 250px;
    height: auto;
    margin-bottom: 1rem;
  }

  .skills-section {
    position: center;
    min-height: 100vh;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
  }
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
  }
  .skill-box i {
    background-color: #f4f4f484;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 0.5rem;
  }
  .skill-box img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
  }
  .skill-box span {
    font-size: 0.9rem;
    color: #000000;
  }

  .projects .item {
    background-color: #c1a17f4d;
  }

  #next,
  #prev {
    top: 50%;
  }
}
