/*1. RESET*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. BASE / BODY*/
body {
  font-family: "Segoe UI", sans-serif;
  background: #020617;
  color: #f1f5f9;
  line-height: 1.6;
}

/*3. CONTAINER*/
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* 4. NAVBAR */
.navbar {
  width: 100%;
  background: #020617;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
}

.logo span {
  color: #10b981;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #10b981;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 3px 0;
}

/* 5. HERO */
.hero {
  padding: 80px 0;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-content h3 {
  font-size: 1rem;
  color: #94a3b8;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin: 10px 0;
}

.hero-content h2 {
  font-size: 1.2rem;
  color: #10b981;
}

.hero-content p {
  color: #94a3b8;
  margin: 15px 0 25px;
  max-width: 450px;
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  width: 100%;
}

.stat-item {
  text-align: center;
  min-width: 120px;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  color: #10b981;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.98rem;
  color: #94a3b8;
  margin: 0;
  font-weight: 500;
}
/* Container foto */
.profile-image {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
}

/* Foto */
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  border: 4px solid #10b981;
}

.profile-border {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed #10b981;
  pointer-events: none;
}

/* Social Links */
.social-links {
  margin-top: 20px;
}

.social-links a {
  color: #94a3b8;
  font-size: 1.4rem;
  margin-right: 12px;
  transition: 0.3s;
}

.social-links a:hover {
  color: #10b981;
}

/* 6. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: #10b981;
  color: #020617;
}

.btn-primary:hover {
  background: #059669;
}

.btn-secondary {
  border: 1px solid #10b981;
  color: #10b981;
}

.btn-secondary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 1px solid #10b981;
  color: #10b981;
}

.btn-outline:hover {
  background: #10b981;
  color: #020617;
}

/* 7. SECTION TITLE  */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 1.8rem;
}

.section-title p {
  color: #94a3b8;
  font-size: 0.9rem;
}

/*8. ABOUT*/
.about {
  padding: 80px 0;
}

.about-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 2;
}

.about-text p {
  margin-top: 15px;
  color: #94a3b8;
}

.about-info {
  flex: 1;
  background: #020617;
  border: 1px solid #1e293b;
  padding: 20px;
  border-radius: 10px;
}

.info-item {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.info-item i {
  font-size: 20px;
  color: #10b981;
}

.info-item span {
  font-size: 0.8rem;
  color: #94a3b8;
}
.info-item a {
  color: #f1f5f9 !important;
}
.info-item p {
  color: #f1f5f9;
}

.info-item a {
  color: #f1f5f9;
  text-decoration: none;
}

.info-item a:hover {
  color: #10b981;
}

/* 10. SKILLS  */
.skills {
  background: #020617;
  padding: 80px 0;
}

.skills-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Skill Category */
.skill-category h3 {
  color: #f1f5f9;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-category h3 i {
  color: #10b981;
  font-size: 1.4rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

/* Skill Item */
.skill-item {
  background: #111827;
  border: 1px solid #1e293b;
  padding: 18px 14px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: default;
}

.skill-item i {
  font-size: 2rem;
  color: #10b981;
}

.skill-item span {
  font-size: 0.9rem;
  color: #94a3b8;
  text-align: center;
}

.skill-item:hover {
  transform: translateY(-4px);
  border-color: #10b981;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.skill-item:hover span {
  color: #f1f5f9;
}

/* 11. PROJECTS*/
.projects {
  background: #020617;
  padding: 80px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Project Card */
.project-card {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #10b981;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

/* Project Image */
.project-image {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.project-overlay i {
  font-size: 2rem;
  color: #10b981;
}

.project-image:hover .project-overlay {
  opacity: 1;
}

/* Project Content */
.project-content {
  padding: 20px;
}

.project-content h3 {
  color: #f1f5f9;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.project-content p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Project Tags */
.project-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  background: #020617;
  border: 1px solid #1e293b;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #10b981;
}

/* Project Buttons */
.project-buttons {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

/* 12. EDUCATION   */
.education {
  padding: 80px 0;
  background: #020617;
}

.education-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

/* Education Card */
.education-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #111827;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  border-color: #10b981;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.education-icon {
  font-size: 38px;
  color: #10b981;
  min-width: 50px;
}

.education-info h3 {
  font-size: 20px;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.education-info h4 {
  font-size: 15px;
  font-weight: 400;
  color: #94a3b8;
  margin-bottom: 10px;
}

.education-info p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

.education-year {
  display: inline-block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #10b981;
  font-weight: 600;
}

/* 13. CONTACT */
.contact {
  padding: 80px 0;
  background: #020617;
}

.contact-wrapper {
  display: flex;
  gap: 2.5rem;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Contact Info */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info .info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #111827;
  border: 1px solid #1e293b;
  padding: 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-info .info-item:hover {
  border-color: #10b981;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15);
}

.contact-info .info-item i {
  font-size: 22px;
  color: #10b981;
}

.contact-info .info-item span {
  font-size: 13px;
  color: #94a3b8;
}

.contact-info .info-item p {
  font-size: 14px;
  color: #f1f5f9;
  margin-top: 2px;
}

/* Contact Form */
.contact-form {
  flex: 1;
  background: #111827;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #1e293b;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 14px;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #10b981;
  outline: none;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  background: #10b981;
  color: #020617;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #059669;
}

/* Alert Message */
.alert {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 500;
  animation: fadeIn 0.4s ease;
}

.alert.success {
  background: #064e3b;
  color: #d1fae5;
  border: 1px solid #10b981;
}

.alert.error {
  background: #7f1d1d;
  color: #fecaca;
  border: 1px solid #ef4444;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 14. IMAGE MODAL */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  margin: auto;
  display: block;
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* 15. FOOTER*/
.footer {
  background: #020617;
  border-top: 1px solid #1e293b;
  margin-top: 60px;
  padding: 30px 0;
  text-align: center;
}

.footer-social a {
  font-size: 1.3rem;
  color: #94a3b8;
  margin: 0 8px;
}

.footer-social a:hover {
  color: #10b981;
}

.footer p {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 10px;
}

/* 16. RESUME PAGE  */

/* Wrapper */
.resume-page {
  padding: 60px 0 80px;
  background: #020617;
  min-height: 100vh;
}

/* Two-Column Grid */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}

.resume-col-right {
  border-left: 1px solid #1e293b;
  padding-left: 48px;
}

/* Resume Section Title — left-aligned */
.resume-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  text-align: left;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #10b981;
  letter-spacing: 0.03em;
}

.resume-section + .resume-section {
  margin-top: 40px;
}

/* Summary Block */
.resume-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #10b981;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.resume-summary-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94a3b8;
  font-style: italic;
  margin-bottom: 16px;
}

/* Contact List */
.resume-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resume-contact-list li {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.resume-contact-list li i {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
}

.resume-contact-list li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.resume-contact-list li a:hover {
  color: #10b981;
}

/* Timeline */
.resume-timeline {
  display: flex;
  flex-direction: column;
}

.tl-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0 16px;
  position: relative;
  padding-bottom: 30px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

/* Garis vertikal penghubung */
.tl-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: #1e293b;
}

.tl-item:last-child::before {
  display: none;
}

/* Dot */
.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #10b981;
  background: #020617;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  z-index: 1;
  transition: background 0.3s;
}

.tl-item:hover .tl-dot {
  background: #10b981;
}

.tl-body {
  min-width: 0;
}

/* Judul posisi / gelar */
.tl-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f1f5f9;
  margin-bottom: 3px;
  line-height: 1.35;
}

/* Tahun */
.tl-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 3px;
}

/* Institusi / perusahaan */
.tl-sub {
  font-size: 0.82rem;
  font-style: italic;
  color: #94a3b8;
  margin-bottom: 8px;
}

/* Deskripsi paragraf */
.tl-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 6px;
}

.tl-desc strong {
  color: #cbd5e1;
}

/* Bullet points */
.tl-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 0;
}

.tl-bullets li {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.tl-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

/* Skills Block */
.resume-skills-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resume-skill-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.resume-skill-group-title i {
  color: #10b981;
  font-size: 0.95rem;
}

.resume-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Skill Tag — mengikuti pola .project-tags span */
.resume-skill-tag {
  font-size: 0.75rem;
  background: #020617;
  color: #10b981;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 5px 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: default;
}

.resume-skill-tag:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  color: #f1f5f9;
}

/* 17. RESPONSIVE */
@media (max-width: 768px) {
  /* Navbar */
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  /* About */
  .about-wrapper {
    flex-direction: column;
  }

  /* Contact */
  .contact-wrapper {
    flex-direction: column;
  }

  /* Resume */
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .resume-col-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #1e293b;
    padding-top: 40px;
  }
}
/* MOBILE NAVBAR  */
@media (max-width: 768px) {
  /* Hamburger Icon */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1200;
  }

  .hamburger span {
    width: 28px;
    height: 3px;
    background: #f1f5f9;
    transition: all 0.35s ease;
  }

  /* Animasi jadi X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Menu Container */
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #020617;
    flex-direction: column;
    align-items: center;
    padding: 25px 0 40px;
    border-top: 1px solid #1e293b;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);

    /* Default tersembunyi */
    display: none !important;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.4s ease;
  }

  /* Saat aktif */
  .nav-menu.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu li {
    margin: 12px 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 1.15rem;
    padding: 10px 0;
    display: block;
    width: 100%;
    color: #f1f5f9;
  }

  .nav-menu a:hover {
    color: #10b981;
  }
}

/*HERO STATS*/
.hero-content {
  text-align: center;
  margin: 0 auto;
}

.stats,
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 55px;
  width: 100%;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .stats,
  .hero-stats {
    gap: 45px;
  }
}

@media (max-width: 480px) {
  .stats,
  .hero-stats {
    gap: 35px;
  }
}
.alert {
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

.alert.success {
  background: #16a34a;
  color: white;
}

.alert.error {
  background: #dc2626;
  color: white;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}