* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.page {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.page.fade {
  opacity: 0;
}

.navbar {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 160px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: top 0.4s ease, opacity 0.4s ease;
  z-index: 900;
}

.navbar nav {
  display: flex;
  gap: 42px;
  justify-content: center;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
  padding: 6px 0;
}

.navbar a:hover {
  color: #ed7bab;
}

.navbar a.active {
  color: #ed7bab;
  border-bottom: 2px solid #ed7bab;
}

.logo {
  position: fixed;
  top: 50px;
  width: 84px;
  height: auto;
  transition: top 0.4s ease, opacity 0.4s ease, transform 0.5s ease;
  z-index: 1001;
}

.logo-left {
  left: 40px;
  top: 45px;
}

.logo-right {
  right: 40px;
}

.logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

.navbar.hide,
.logo.hide {
  top: -100px;
  opacity: 0;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  padding: 0 20px;
}

.hero-line {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.img-welcome {
  max-width: 300px;
}
.img-to {
  max-width: 160px;
}
.img-charistas {
  max-width: 300px;
}
.img-mart {
  max-width: 180px;
}
.img-2025 {
  max-width: 150px;
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.profile {
  width: 460px;
  height: auto;
  border-radius: 50%;
  transform: rotate(-5deg) translate(-40px, 20px);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.profile:hover {
  transform: rotate(0deg) translate(-30px, 10px) scale(1.05);
}

.about-text {
  max-width: 485px;
  text-align: left;
}

.about-text h1 {
  font-size: 42px;
  margin-bottom: 16px;
  color: #333;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.about-text h1:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #ff69b4;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}


.education-section {
  background-color: #f6cde5;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.education-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.timeline-section {
  background-color: #f6cde5;
  padding: 40px 20px;
  color: #fff;
  text-align: center;
}

.timeline-title {
  font-size: 36px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.timeline-title:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #ff69b4;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 30%;
  transform: translateX(-2px);
  width: 4px;
  background-color: #fff;
  border-radius: 2px;
  z-index: 0;
}


.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  padding-left: 0;
  justify-content: center;
}


.timeline-marker {
  position: absolute;
  left: 30%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  margin-left: 60px;
  text-align: left;
}

.timeline-content h3 {
  font-size: 16px;
  margin: 0;
  color: #fff;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.timeline-content h3:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #ff69b4;
}

.timeline-content p {
  font-size: 14px;
  margin-top: 4px;
  color: #fff;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.timeline-content p:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #ff69b4;
}



.softwareskills-item {
  font-size: 36px;
  color: #333;
  font-weight: 700;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.softwareskills-item:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #ff69b4; 
}


.softwares-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.softwares-section h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 40px;
}

.softwares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.softwares-item {
  text-align: center;
}

.softwares-item img {
  width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

.softwares-item img {
  width: 100%;
  max-width: 140px;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(58, 58, 58, 0.08);
}

.softwares-item img:hover {
  transform: scale(1.1);
}

.softwares-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

.softwares-name {
  font-size: 16px;
  margin-top: 8px;
  color: #333;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}

.softwares-name:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #ff69b4; 
}


footer {
  background-color: #ed7bab;
  color: #f9f9f9;
  padding: 30px 24px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 768px) {
  .logo {
    width: 50px;
  }

  .logo-left.scroll {
    left: calc(50% - 140px);
  }

  .logo-right.scroll {
    right: calc(50% - 140px);
  }

  .navbar {
    padding: 12px 100px;
  }

  .navbar nav {
    gap: 24px;
  }

  .navbar a {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .softwares-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

.star {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  animation: star-pop 0.8s ease-out forwards;
  opacity: 0;
  z-index: 999;
}

@keyframes star-pop {
  0% {
    transform: scale(0.5) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(1.2) translate(var(--x), var(--y));
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .about-section {
    flex-direction: column;
    gap: 24px;
    padding: 40px 16px;
  }

  .profile {
    width: 200px;
    transform: rotate(-3deg) translate(0, 10px);
  }

  .about-text h1 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .softwares-grid {
    grid-template-columns: 1fr;
  }
}
