/* ========================================
   PORTFOLIO — MODERN PROFESSIONAL DESIGN
   ======================================== */

/* --- CSS Variables --- */
:root {
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #5541d7;
  --accent: #00cec9;
  --accent-light: #81ecec;
  --dark: #0c0c1d;
  --dark-2: #141428;
  --dark-3: #1e1e3a;
  --gray: #2d2d52;
  --text: #e0e0f0;
  --text-muted: #9999bb;
  --white: #ffffff;
  --border: rgba(162, 155, 254, 0.15);
  --glass: rgba(30, 30, 58, 0.6);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--white);
}

a {
  text-decoration: none;
  color: var(--primary-light);
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

::selection {
  background: var(--primary);
  color: var(--white);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-2);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  background: transparent !important;
  padding: 16px 0;
  transition: var(--transition);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(12, 12, 29, 0.9) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.navbar-brand.logo {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: -0.5px;
}

.logo-bracket {
  color: var(--primary-light);
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 18px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  background: rgba(108, 92, 231, 0.15);
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  filter: brightness(2);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-greeting {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-name {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-name .accent {
  color: var(--primary-light);
}

.hero-role {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 2em;
}

.typing-wrapper {
  color: var(--accent);
  font-weight: 600;
}

.typing-text {
  border-right: none;
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent);
  font-weight: 300;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
  display: inline-flex;
  align-items: center;
}

.btn-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
  color: var(--white);
}

.btn-outline-cta {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-cta:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: rgba(108, 92, 231, 0.1);
  transform: translateY(-3px);
}

.hero-socials {
  display: flex;
  gap: 16px;
}

.hero-socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}

.hero-socials a:hover {
  color: var(--white);
  border-color: var(--primary-light);
  background: rgba(108, 92, 231, 0.2);
  transform: translateY(-3px);
}

/* Hero Visual (Blob) */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  animation: spin 20s linear infinite;
}

.hero-image-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-blob {
  width: 380px;
  height: auto;
}

.blob-path {
  fill: var(--primary);
}

.hero-blob-img {
  width: 540px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.6;
  transition: var(--transition);
}

.mouse:hover {
  opacity: 1;
  border-color: var(--primary-light);
}

.mouse-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0; }
  61% { transform: translateY(-4px); opacity: 0; }
  80% { opacity: 1; }
}

/* ========================================
   SECTIONS — COMMON
   ======================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--dark-2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(0, 206, 201, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 206, 201, 0.2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-photos {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  height: 380px;
}

.about-photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.about-photo-card:hover {
  transform: scale(1.05);
}

.photo-card-1:hover { transform: scale(1.05) rotate(2deg); }
.photo-card-3:hover { transform: scale(1.05) rotate(-2deg); }

.about-photo-card .about-img {
  width: 180px;
  height: 280px;
  background-position: center;
  background-size: cover;
  transition: var(--transition);
}

.photo-card-2 .about-img {
  width: 180px;
  height: 320px;
}

/* About Tabs */
.about-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: var(--dark-3);
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.about-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.about-tab:hover {
  color: var(--white);
}

.about-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.about-tab-content {
  display: none;
  animation: fadeUp 0.4s ease;
}

.about-tab-content.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Info Grid */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 140px;
}

.info-label i {
  color: var(--primary-light);
}

.info-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
  text-align: right;
  flex: 1;
}

/* Skill Bars */
.skill-item {
  margin-bottom: 28px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.skill-header span:first-child i {
  color: var(--accent);
}

.skill-header span:last-child {
  color: var(--primary-light);
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: var(--dark-3);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.skill-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.gallery-photo {
  width: 100%;
  height: 240px;
  background-position: center;
  background-size: cover;
  transition: var(--transition);
}

.gallery-card:hover .gallery-photo {
  transform: scale(1.05);
}

.photo-1 { background-image: url("img/Sertifikat1.jpg"); }
.photo-2 { background-image: url("img/Sertifikat2.jpg"); }
.photo-3 { background-image: url("img/Sertifikat3.jpg"); }
.photo-4 { background-image: url("img/Sertifikat4.jpg"); }
.photo-5 { background-image: url("img/Sertifikat6.jpg"); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 29, 0.95) 0%, rgba(12, 12, 29, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(0, 206, 201, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
  border: 1px solid rgba(0, 206, 201, 0.3);
}

.gallery-overlay h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
}

/* ========================================
   PROJECT SECTION
   ======================================== */
.project-card-link {
  display: block;
}

.project-card {
  background: var(--dark-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}

.project-thumb.project-1,
.project-thumb.project-2,
.project-thumb.project-3,
.project-thumb.project-6 {
  background-size: contain;
  background-color: var(--dark-2);
}

.project-thumb.project-4,
.project-thumb.project-5,
.project-thumb.project-7,
.project-thumb.project-8 {
  background-size: cover;
}

.project-1 { background-image: url("img/Project1.png"); }
.project-2 { background-image: url("img/Project2.png"); }
.project-3 { background-image: url("img/Project3.png"); }
.project-4 { background-image: url("img/Project4.jpg"); }
.project-5 { background-image: url("img/Project5.jpg"); }
.project-6 { background-image: url("img/Project6.png"); }
.project-7 { background-image: url("img/Project7.jpg"); }
.project-8 { background-image: url("img/Project8.jpg"); }

.freelance-1 { background-image: url("img/Freelance1.jpeg"); }
.freelance-2 { background-image: url("img/Freelance2.jpeg"); }
.freelance-3 { background-image: url("img/freelance3.jpeg"); }

.project-thumb.freelance-1,
.project-thumb.freelance-2,
.project-thumb.freelance-3 {
  background-size: contain;
  background-color: var(--dark-2);
}

.project-info {
  padding: 20px;
}

.project-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(108, 92, 231, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(108, 92, 231, 0.3);
  margin-bottom: 10px;
}

.freelance-badge {
  background: rgba(0, 206, 201, 0.15);
  color: var(--accent);
  border-color: rgba(0, 206, 201, 0.3);
}

.project-info h5 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

/* ========================================
   FILE SECTION
   ======================================== */
.file-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.file-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(0, 206, 201, 0.05));
  opacity: 0;
  transition: var(--transition);
}

.file-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.file-card:hover::before {
  opacity: 1;
}

.file-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.file-card h5 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  position: relative;
}

.file-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
}

.file-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  position: relative;
}

.file-viewer {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.pdf-embed {
  width: 100%;
  height: 500px;
  display: block;
  border: none;
}

/* ========================================
   EXPERIENCE / TIMELINE SECTION
   ======================================== */
.experience-section {
  overflow: hidden;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Center vertical gradient line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 30px;
  bottom: 30px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
    var(--primary) 0%,
    var(--accent) 50%,
    var(--primary) 100%);
  opacity: 0.25;
}

.timeline-item {
  position: relative;
  width: calc(50% - 40px);
  padding-bottom: 50px;
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.6s ease forwards;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

/* Odd items (1, 3, 5) → RIGHT side */
.timeline-item:nth-child(odd) {
  left: calc(50% + 40px);
}

/* Even items (2, 4) → LEFT side */
.timeline-item:nth-child(even) {
  left: 0;
}

/* Year label — positioned on opposite side from card */
.timeline-year {
  position: absolute;
  top: 2px;
  width: 72px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

/* Year for right-side items → LEFT of center line */
.timeline-item:nth-child(odd) .timeline-year {
  right: calc(100% + 56px);
  text-align: right;
}

/* Year for left-side items → RIGHT of center line */
.timeline-item:nth-child(even) .timeline-year {
  left: calc(100% + 56px);
  text-align: left;
}

/* Dot on center line */
.timeline-dot {
  position: absolute;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 2px var(--primary-light), 0 0 20px rgba(108, 92, 231, 0.5);
  z-index: 2;
  transition: var(--transition);
}

/* Dot for right-side items → left edge at center line */
.timeline-item:nth-child(odd) .timeline-dot {
  left: -48px;
}

/* Dot for left-side items → right edge at center line */
.timeline-item:nth-child(even) .timeline-dot {
  right: -48px;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 2px var(--accent), 0 0 25px rgba(0, 206, 201, 0.6);
}

/* Content card (glassmorphism) */
.timeline-content {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Animated accent bar on hover */
.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: var(--transition);
}

/* Accent bar on left edge for right-side cards */
.timeline-item:nth-child(odd) .timeline-content::before {
  left: 0;
}

/* Accent bar on right edge for left-side cards */
.timeline-item:nth-child(even) .timeline-content::before {
  right: 0;
}

.timeline-content:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

/* Hover slide — away from center line */
.timeline-item:nth-child(odd) .timeline-content:hover {
  transform: translateX(6px);
}

.timeline-item:nth-child(even) .timeline-content:hover {
  transform: translateX(-6px);
}

.timeline-content:hover::before {
  transform: scaleY(1);
}

/* Date badge */
.timeline-date {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(0, 206, 201, 0.1);
  border: 1px solid rgba(0, 206, 201, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.timeline-date i {
  font-size: 0.75rem;
}

/* Company name */
.timeline-company {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

/* Job role */
.timeline-role {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.timeline-role i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Responsibility list */
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: var(--transition);
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: var(--transition);
}

.timeline-list li:hover {
  color: var(--text);
}

.timeline-list li:hover::before {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Timeline responsive — stack all to right on mobile */
@media (max-width: 768px) {
  .timeline::before {
    left: 24px;
    top: 20px;
    bottom: 20px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 60px;
    padding-bottom: 35px;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 16px;
    right: auto;
  }

  .timeline-year {
    position: relative;
    width: auto;
    left: auto !important;
    right: auto !important;
    top: auto;
    text-align: left !important;
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: block;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: 0;
    right: auto;
  }

  .timeline-item:nth-child(odd) .timeline-content:hover,
  .timeline-item:nth-child(even) .timeline-content:hover {
    transform: none;
  }

  .timeline-content {
    padding: 20px 22px;
  }
}

@media (max-width: 576px) {
  .timeline-content {
    padding: 18px 18px;
  }

  .timeline-company {
    font-size: 1.1rem;
  }

  .timeline-list li {
    font-size: 0.85rem;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand h4 {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.8;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.footer-email {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ========================================
   ANIMATIONS — Reveal on Scroll
   ======================================== */
.gallery-card,
.project-card,
.file-card,
.about-photo-card {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.6s ease forwards;
}

.gallery-card:nth-child(1) { animation-delay: 0.1s; }
.gallery-card:nth-child(2) { animation-delay: 0.2s; }
.gallery-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger columns in rows */
.row .col-sm-6:nth-child(1) .gallery-card { animation-delay: 0.05s; }
.row .col-sm-6:nth-child(2) .gallery-card { animation-delay: 0.1s; }
.row .col-sm-6:nth-child(3) .gallery-card { animation-delay: 0.15s; }
.row .col-sm-6:nth-child(4) .gallery-card { animation-delay: 0.2s; }
.row .col-sm-6:nth-child(5) .gallery-card { animation-delay: 0.25s; }

.row .col-md-6:nth-child(1) .project-card,
.row .col-lg-4:nth-child(1) .project-card { animation-delay: 0.05s; }
.row .col-md-6:nth-child(2) .project-card,
.row .col-lg-4:nth-child(2) .project-card { animation-delay: 0.1s; }
.row .col-lg-4:nth-child(3) .project-card { animation-delay: 0.15s; }
.row .col-lg-4:nth-child(4) .project-card { animation-delay: 0.2s; }
.row .col-lg-4:nth-child(5) .project-card { animation-delay: 0.25s; }
.row .col-lg-4:nth-child(6) .project-card { animation-delay: 0.3s; }
.row .col-lg-4:nth-child(7) .project-card { animation-delay: 0.35s; }
.row .col-lg-4:nth-child(8) .project-card { animation-delay: 0.4s; }

.row .col-md-4:nth-child(1) .file-card { animation-delay: 0.05s; }
.row .col-md-4:nth-child(2) .file-card { animation-delay: 0.1s; }
.row .col-md-4:nth-child(3) .file-card { animation-delay: 0.15s; }

.about-photo-card:nth-child(1) { animation-delay: 0.1s; }
.about-photo-card:nth-child(2) { animation-delay: 0.2s; }
.about-photo-card:nth-child(3) { animation-delay: 0.3s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
  .hero-text {
    padding-top: 120px;
    text-align: center;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
  }

  .hero-name {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .section {
    padding: 70px 0;
  }

  .about-photos {
    height: auto;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .about-photo-card .about-img {
    width: 140px;
    height: 200px;
  }

  .photo-card-2 .about-img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .navbar-collapse {
    background: var(--dark-2);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
    border: 1px solid var(--border);
  }

  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .info-item {
    flex-direction: column;
    gap: 4px;
  }

  .info-label {
    min-width: unset;
  }

  .info-value {
    text-align: left;
  }

  .footer-top .row {
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-links {
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-text {
    padding-top: 100px;
  }

  .hero-role {
    font-size: 1rem;
  }

  .btn-primary-cta,
  .btn-outline-cta {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .about-photos {
    gap: 10px;
  }

  .about-photo-card .about-img {
    width: 100px;
    height: 160px;
  }

  .photo-card-2 .about-img {
    height: 190px;
  }

  .gallery-photo {
    height: 180px;
  }
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
#langSwitcher {
  background: rgba(108, 92, 231, 0.1) !important;
  border: 1px solid rgba(108, 92, 231, 0.3) !important;
  color: var(--primary-light) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 6px 16px !important;
  border-radius: 30px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  outline: none !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

#langSwitcher:hover {
  background: var(--primary-light) !important;
  border-color: var(--primary-light) !important;
  color: var(--white) !important;
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.4) !important;
  transform: translateY(-1px) !important;
}

#langSwitcher i {
  font-size: 0.85rem !important;
  color: inherit !important;
}

/* ========================================
   REMOVED OLD STYLES — No more references
   ======================================== */
/* Removed: .kotak (floating box), old .typing, .change-color animation,
   .button-contact, .icon-sosmed, .line, old .loading-bar / .progress,
   .card-body, br display:none, old footer styles */
