/* ── Layout: Scroll Sections, Sidebar, Mobile Nav, Content ───────────────── */

/* Pinned Section Layout */
.scroll-sections-container {
  background-color: #0c0c0c;
  position: relative;
  padding: 0 70px;
}

.scroll-sections-container > .container-fluid {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .scroll-sections-container {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .scroll-sections-container {
    padding: 0 5px;
    margin-bottom: 80px;
  }

  .scroll-sections-container > .container-fluid {
    flex-direction: column !important;
  }

  .pinned-sidebar {
    display: none !important;
  }

  .scroll-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .content-section {
    min-height: auto !important;
    padding: 40px 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .section-title {
    font-size: 1.2rem !important;
    margin-bottom: 0.75rem;
  }

  .section-desc {
    font-size: 0.78rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.5 !important;
  }

  .skill-list li {
    font-size: 0.2rem;
    margin-bottom: 12px;
  }

  .exclusive-highlights-svg {
    max-width: 100%;
    height: auto;
  }
}

/* ── Mobile Top Sticky Navigation Bar ────────────────────────────────────── */
.mobile-top-nav {
  display: none;
}

@media (max-width: 992px) {
  .mobile-top-nav {
    display: block;
    position: sticky;
    top: 80px;
    z-index: 1000;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 18px 20px 12px;
    overflow: hidden;
  }

  .mobile-nav-track {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-width: 560px;
    transition: transform 0.45s ease;
    will-change: transform;
    margin-top:10px;
  }

  .mobile-nav-line {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
      to right,
      transparent,
      #333 3%,
      #333 97%,
      transparent
    );
  }

  .mobile-nav-line-progress {
    position: absolute;
    top: 8px;
    left: 0;
    height: 2px;
    width: 0px;
    background-color: #fff;
    transition: width 0.08s linear;
    z-index: 2;
  }

  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 3;
    padding-bottom: 2px;
  }

  .mobile-nav-item.active {
    color: #fff;
  }

  .mobile-nav-star {
    font-size: 1.05rem;
    line-height: 0.6;
    opacity: 0.25;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
    display: block;
  }

  .mobile-nav-item.active .mobile-nav-star {
    opacity: 1;
    /* transform: scale(1.2); */
  }

  .mobile-nav-label {
    font-size: 0.75rem;
    margin-top: 4px;
    line-height: 1.2;
    text-align: center;
  }
}

/* ── Pinned Desktop Sidebar ───────────────────────────────────────────────── */
.pinned-sidebar {
  width: 280px;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
}

.sidebar-line {
  position: absolute;
  left: 20px;
  top: 5%;
  bottom: 5%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    #333 10%,
    #333 90%,
    transparent
  );
}

.sidebar-line-progress {
  position: absolute;
  left: 20px;
  top: 5%;
  width: 2px;
  background-color: #fff;
  height: 0;
  transition: height 0.3s ease;
  z-index: 2;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #555;
  font-family: "Switzer", sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item.active {
  color: #fff;
  font-weight: 500;
}

.star-icon {
  position: absolute;
  left: -33px;
  font-size: 2rem;
  color: #8a8a8a;
  opacity: 1;
  transition: all 0.3s ease;
  text-shadow: none;
}

.nav-item.active .star-icon {
  color: #fff;
  opacity: 1;
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav-text {
  padding-left: 13px;
}

/* ── Scrollable Content Area ──────────────────────────────────────────────── */
.scroll-content {
  flex: 1;
  min-width: 0;
  padding-left: 30px;
  padding-right: 50px;
  position: relative;
}

.content-section {
  min-height: 89vh;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px);
}

.section-title {
  font-family: "Switzer", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.8px;
}

.section-description {
  color: #939393;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: -20px;
  margin-bottom: 2rem;
}

.section-desc {
  color: #999;
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 65rem;
  margin-bottom: 3rem;
}

/* Skill Badge */
.skill-badge {
  background: linear-gradient(90deg, #ff3b30, #ff0055);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.skill-list {
  list-style: none;
  padding: 0;
}

.skill-list li {
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 1.3rem;
  color: #eeeeee;
  display: flex;
  align-items: center;
  gap: 3px;
}

.skill-list-title-svg {
  width: 280px;
}

@media (max-width: 768px) {
  .skill-list-title-svg {
    width: 190px;
  }
  .skill-list li {
    font-size: 0.8rem;
  }
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem !important;
  }
  .section-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
}
