* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hide scrollbar */
html {
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Body */
body {
  font-family: "Poppins", sans-serif;
  background: #101010;
  color: #f5f5f5;
}

/* Golden scroll position dot */
#scroll-dot {
  position: fixed;
  right: 10px;
  top: 10%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f5c542;
  box-shadow: 0 0 10px rgba(245, 197, 66, 0.9);
  z-index: 999;
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  background: #050505;
  gap: 24px;
}

.sidebar-card,
.main-card {
  background: #181818;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.sidebar-card {
  flex: 0 0 320px;
}

.main-card {
  flex: 1 1 0;
  max-width: 920px;
}

/* Sidebar */
.sidebar-inner {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #111111;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.sidebar-role {
  font-size: 13px;
  color: #cccccc;
  margin-bottom: 10px;
  text-align: center;
}

.sidebar-role-pill {
  border: none;
  padding: 6px 16px;
  border-radius: 999px;
  background: #232323;
  color: #f5f5f5;
  font-size: 12px;
  cursor: default;
  margin-bottom: 20px;
}

.sidebar-divider {
  width: 100%;
  height: 1px;
  background: #262626;
  margin-bottom: 20px;
}

.sidebar-info-list {
  list-style: none;
  width: 100%;
  margin-bottom: 26px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: radial-gradient(circle at top, #242424, #151515);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.info-icon ion-icon {
  color: #f5c542;
  font-size: 21px;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #a0a0a0;
}

.info-value {
  font-size: 13px;
  color: #f5f5f5;
}

.sidebar-socials {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.sidebar-socials a {
  color: #f5c542;
  font-size: 18px;
}

/* Kaggle custom icon */
.kaggle-link .kaggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #f5c542;
  font-size: 12px;
  font-weight: 600;
}

/* Main card */
.main-inner {
  padding: 0 30px 30px;
}

/* ===== NAVBAR ===== */
.tabs-header {
  padding-top: 20px;
  margin-bottom: 18px;
}

.tabs-nav-right {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  padding-right: 10px;
}

.nav-item {
  background: none;
  border: none;
  color: #c5c5c5;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease-out;
  transform: scale(0.92);
  opacity: 0.55;
}

.nav-item.active {
  color: #f5c542;
  transform: scale(1.22);
  opacity: 1;
}

.nav-item:hover {
  opacity: 1;
}

/* Sections */
.section {
  display: none;
  padding: 22px 4px 0;
  animation: fadeIn 0.2s ease-out;
}

.section.active {
  display: block;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

/* Golden underline for section headings */
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: #f5c542;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin: 18px 0 12px;
}

.section-subtitle.has-line {
  position: relative;
  padding-bottom: 6px;
}

.section-subtitle.has-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: #f5c542;
}

.section-text {
  font-size: 14px;
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* What I'm Doing */
.doing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.doing-item {
  display: flex;
  align-items: flex-start;
  padding: 18px 18px;
  border-radius: 22px;
  background: radial-gradient(circle at top, #222222, #181818);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.doing-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.doing-icon ion-icon {
  font-size: 24px;
  color: #f5c542;
}

.doing-text h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.doing-text p {
  font-size: 13px;
  color: #d0d0d0;
}

/* Resume */
.resume-block {
  margin-top: 18px;
}

.resume-block-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.resume-block-header.no-icon {
  margin-top: 10px;
}

.resume-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.resume-icon-box ion-icon {
  font-size: 18px;
  color: #f5c542;
}

.resume-block-title {
  font-size: 18px;
  font-weight: 600;
}

.resume-timeline {
  border-left: 1px solid #333333;
  margin-left: 16px;
  padding-left: 18px;
}

.resume-item {
  position: relative;
  padding-bottom: 16px;
}

.resume-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f5c542;
}

.resume-date {
  font-size: 12px;
  color: #a2a2a2;
}

.resume-role {
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

.resume-place {
  font-size: 13px;
  color: #d0d0d0;
}

/* Remove line/dots for experience only */
.resume-timeline.no-line {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

.resume-timeline.no-line .resume-item::before {
  display: none;
}

/* Skills – cards with hover animation */
.skills-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.skill-item {
  padding: 10px 10px;
  border-radius: 16px;
  background: #191919;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
  cursor: default;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  min-height: 72px;
}

.skill-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}

.skill-header span:first-child {
  font-size: 13px;
  font-weight: 500;
}

.skill-header span:last-child {
  font-size: 12px;
  color: #f5c542;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.skill-bar {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #262626;
  overflow: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.skill-bar-fill {
  height: 100%;
  background: #f5c542;
  border-radius: 999px;
}

.skill-item:hover .skill-bar {
  opacity: 1;
  transform: translateY(0);
}

.skill-item:hover .skill-header span:last-child {
  opacity: 1;
  transform: translateY(0);
}

/* Portfolio */
.portfolio-filter {
  margin-top: 12px;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.filter-link {
  background: none;
  border: none;
  font-size: 13px;
  color: #d0d0d0;
  cursor: pointer;
}

.filter-link.active {
  color: #f5c542;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

/* Project cards */
.portfolio-item {
  padding: 14px 14px 16px;
  border-radius: 22px;
  background: #191919;
  border: 1px solid transparent;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.95);
  border-color: rgba(245, 197, 66, 0.7);
}

.portfolio-thumb {
  width: 100%;
  height: 110px;
  border-radius: 18px;
  background: #111111;
  margin-bottom: 8px;
}

.portfolio-item h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.portfolio-item p {
  font-size: 13px;
  color: #d0d0d0;
}

.project-tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #222222;
  color: #f5f5f5;
}

/* Contact */
.map-wrapper {
  margin-top: 10px;
  margin-bottom: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.map-wrapper iframe {
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(1) brightness(0.45) contrast(1.25);
}

.contact-form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input,
.contact-form textarea {
  flex: 1;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #333333;
  background: #141414;
  color: #f5f5f5;
  font-size: 13px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row input::placeholder,
.contact-form textarea::placeholder {
  color: #7e7e7e;
}

.form-row input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f5c542;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

/* Send Message button */
.btn-message {
  background: #171717;
  padding: 14px 26px;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d8b759;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0px 8px 24px rgba(0,0,0,0.6);
  transition: all 0.25s ease-in-out;
}

.btn-message ion-icon {
  font-size: 18px;
  color: #d8b759;
}

.btn-message:hover {
  border-color: #d8b759;
  transform: translateY(-3px);
  box-shadow: 0px 12px 30px rgba(0,0,0,0.8);
}

/* Form status message */
.form-status {
  margin-top: 8px;
  font-size: 13px;
  min-height: 18px;
}

.form-status.success {
  color: #9fd46d;
}

.form-status.error {
  color: #ff6b6b;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .page-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .sidebar-card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 16px;
  }

  .main-card {
    width: 100%;
  }

  .main-inner {
    padding: 0 20px 26px;
  }

  .tabs-nav-right {
    justify-content: center;
    padding-right: 0;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .doing-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .portfolio-filter {
    gap: 12px;
  }

  .tabs-nav-right {
    gap: 18px;
  }

  .nav-item {
    font-size: 14px;
    transform: scale(1);
  }

  .nav-item.active {
    transform: scale(1.08);
  }
}
