/*-----------------------------------*\
  #style.css
\*-----------------------------------*/
/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /* ===== BASE PALETTE ===== */
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --green: hsl(120, 100%, 50%);

  /* ===== ALL MAPPED TO BASE ===== */

  /* gradients → flat colors */
  --bg-gradient-onyx:       var(--white);
  --bg-gradient-jet:        var(--white);
  --bg-gradient-yellow-1:   var(--green);
  --bg-gradient-yellow-2:   var(--green);
  --border-gradient-onyx:   var(--white);
  --text-gradient-yellow:   var(--green);

  /* dark solids → black */
  --jet:                    var(--black);
  --onyx:                   var(--black);
  --eerie-black-1:          var(--black);
  --eerie-black-2:          var(--black);

  /* background → white */
  --smoky-black:            var(--white);

  /* text → black */
  --white-1:                var(--black);
  --white-2:                var(--black);
  --light-gray:             var(--black);
  --light-gray-70:          hsla(0, 0%, 0%, 0.7);

  /* accents → green */
  --orange-yellow-crayola:  var(--green);
  --vegas-gold:             var(--green);
  --bittersweet-shimmer:    var(--green);

  /* ===== TYPOGRAPHY ===== */
  --ff-poppins: 'Poppins', sans-serif;
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /* ===== SHADOWS (light for white bg) ===== */
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.08);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.08);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.08);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.06);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.08);

  /* ===== TRANSITIONS ===== */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;

  /* ===== SIDEBAR CONTROLS ===== */
  --sidebar-width: 330px;
  --sidebar-padding-left: 20px;
  --sidebar-padding-right: 20px;
  --main-padding-left: 30px;
  --main-padding-right: 40px;

}


html {
  background: #000;
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a { text-decoration: none; }

li { list-style: none; }

img, ion-icon, a, button, time { display: block; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

:focus { outline-color: var(--orange-yellow-crayola); }

html { font-family: var(--ff-poppins); }

body { background: transparent; }

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.sidebar,
article {
  background: transparent;     /* remove box look */
  border: none;                /* remove border */
  border-radius: 0;            /* remove rounded corners */
  box-shadow: none;            /* remove shadow */
  padding: 0;                  /* optional: cleaner layout */
}

.sidebar {
  border-right: none;
  background: #000 !important;
  padding: var(--sidebar-padding-left) var(--sidebar-padding-right);
  border-radius: 0;
  margin: 0;
  min-height: 100vh;
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
}

.sidebar .name,
.sidebar .title,
.sidebar .degree,
.sidebar .contact-title,
.sidebar .contact-link,
.sidebar address,
.sidebar time,
.sidebar p {
  color: #fff !important;
}

.main-content {
  padding-left: 30px;
  border-left: 2px solid rgba(255,255,255,0.2);
  background: transparent;
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--black);
  margin: 16px 0;
}

.icon-box {
  position: relative;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
}

.icon-box::before {
  display: none;
}

.icon-box ion-icon { --ionicon-stroke-width: 35px; }

article { display: none; }

article.active {
  display: block;
  animation: fade 0.5s ease backwards;
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  text-transform: capitalize;
}

.h2 { font-size: 30px; }

.h3 { font-size: var(--fs-2); }

.h4 { font-size: var(--fs-4); }

.h5 {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.article-title {
  position: relative;
  padding-bottom: 7px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--orange-yellow-crayola);
  border-radius: 3px;
}

.has-scrollbar::-webkit-scrollbar {
  width: 5px; /* for vertical scrollbar */
  height: 5px; /* for horizontal scrollbar */
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--onyx);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--orange-yellow-crayola);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button { width: 20px; }

.content-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 15px;
  padding-top: 45px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  z-index: 1;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
  margin: 0;
  margin-bottom: 0;
  min-width: 259px;
}

/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
  margin-bottom: 15px;
  max-height: 112px;
  overflow: hidden;
  transition: var(--transition-2);
  min-height: 111.11vh;
}

.sidebar.active { max-height: 405px; }

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  color: var(--orange-yellow-crayola);
  background: var(--border-gradient-onyx);
  padding: 10px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  z-index: 1;
}

.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-jet);
  transition: var(--transition-1);
  z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus { background: var(--bg-gradient-yellow-1); }

.info_more-btn:hover::before,
.info_more-btn:focus::before { background: var(--bg-gradient-yellow-2); }

.info_more-btn span { display: none; }

.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info {
  max-width: calc(100% - 46px);
  width: calc(100% - 46px);
}

.contact-title {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
}

.contact-info address { font-style: normal; }

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding-bottom: 4px;
  padding-left: 7px;
}

.social-item .social-link {
  color: var(--light-gray-70);
  font-size: 18px;
}

.social-item .social-link:hover { color: var(--light-gray); }

/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  background: hsla(0, 0%, 0%, 1.0);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--jet);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-2);
}

.navbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  padding: 0 10px;
}

.navbar-link {
  color: #fff;
  font-size: 18px;
  padding: 20px 7px;
  transition: color var(--transition-1);
}

.navbar-link:hover,
.navbar-link:focus { color: #ffffff; }
.navbar-link.active { color: var(--orange-yellow-crayola); }

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/
body {
  font-weight: 400;
}

.about .article-title { margin-bottom: 15px; }

.about-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 15px;
  font-weight: 400;
}

/**
 * #service 
 */

.service { margin-bottom: 35px; }

.service-title { margin-bottom: 20px; }

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-item {
  width: 100%;
}

.service-item {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.service-icon-box { margin-bottom: 10px; }

.service-icon-box img { margin: auto; }

.service-content-box {
  text-align: left;
}


.service-item-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 22px;
}

.service-item-text {
  color: var(--light-gray);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
  padding-left: 18px;
  margin: 0;
  list-style: disc;
}

.service-item-text li {
  display: list-item;
  list-style: disc;
  margin-bottom: 8px;
}

.service-item-text li:last-child {
  margin-bottom: 0;
}


/**
 * #testimonials 
 */

.testimonials { margin-bottom: 30px; }

.testimonials-title { margin-bottom: 20px; }

.testimonials-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px 15px;
  padding-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.testimonials-item {
  min-width: 100%;
  scroll-snap-align: center;
}

.testimonials-avatar-box {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(15px, -25px);
  background: var(--bg-gradient-onyx);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
}

.testimonials-item-title { margin-bottom: 7px; }

.testimonials-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/**
 * #testimonials-modal
 */

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 20;
  pointer-events: none;
  visibility: hidden;
}

.modal-container::-webkit-scrollbar { display: none; }

.modal-container.active {
  pointer-events: all;
  visibility: visible;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsl(0, 0%, 5%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 0.8;
  visibility: visible;
  pointer-events: all;
}

.testimonials-modal {
  background: var(--eerie-black-2);
  position: relative;
  padding: 15px;
  margin: 15px 12px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  box-shadow: var(--shadow-5);
  transform: scale(1.2);
  opacity: 0;
  transition: var(--transition-1);
  z-index: 2;
}

.modal-container.active .testimonials-modal {
  transform: scale(1);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--onyx);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-2);
  font-size: 18px;
  opacity: 0.7;
}

.modal-close-btn:hover,
.modal-close-btn:focus { opacity: 1; }

.modal-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.modal-avatar-box {
  background: var(--bg-gradient-onyx);
  width: max-content;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-2);
}

.modal-img-wrapper > img { display: none; }

.modal-title { margin-bottom: 4px; }

.modal-content time {
  font-size: var(--fs-6);
  color: var(--light-gray-70);
  font-weight: var(--fw-300);
  margin-bottom: 10px;
}

.modal-content p {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

/**
 * #clients 
 */

.clients { margin-bottom: 15px; }

.clients-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px;
  padding-bottom: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 25px;
}

.clients-item {
  min-width: 50%;
  scroll-snap-align: start;
}

.clients-item img {
  width: 100%;
  filter: grayscale(1);
  transition: var(--transition-1);
}

.clients-item img:hover { filter: grayscale(0); }

/*-----------------------------------*\
  #RESUME
\*-----------------------------------*/

.article-title { margin-bottom: 30px; }

/**
 * education and experience 
 */

.timeline { margin-bottom: 30px; }

.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.timeline-list {
  font-size: var(--fs-6);
  margin-left: 45px;
}

.timeline-item { position: relative; }

.timeline-item:not(:last-child) { margin-bottom: 20px; }

.timeline-item-title {
  font-size: var(--fs-6);
  line-height: 1.3;
  margin-bottom: 7px;
}

.timeline-list span {
  color: var(--light-gray);
  font-weight: var(--fw-400);
  line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -30px;
  width: 1px;
  height: calc(100% + 20px);
  background: var(--jet);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  height: 6px;
  width: 6px;
  background: var(--text-gradient-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
  color: var(--light-gray);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

/**
 * skills 
 */

.skills-title { margin-bottom: 20px; }

.skills-list { padding: 20px; }

.skills-item:not(:last-child) { margin-bottom: 15px; }

.skill .title-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.skill .title-wrapper data {
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
}

.skill-progress-bg {
  background: var(--jet);
  width: 100%;
  height: 8px;
  border-radius: 10px;
}

.skill-progress-fill {
  background: var(--text-gradient-yellow);
  height: 100%;
  border-radius: inherit;
}

/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.filter-list {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px;
  margin-bottom: 30px;
}

.filter-item button {
  width: 100%;
  height: 100%;
  font-size: 17px;
  padding: 0 18px;
  border-radius: 0;
  color: #000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-family: var(--ff-poppins);
  font-weight: 500;
  transition: all 0.25s ease;
}

.filter-item button:hover { color: var(--light-gray-70); }

.filter-item button.active {
  background: #000;
  color: #00ff00;
  border-color: #000;
}

.filter-item button:hover {
  background: #000;
  color: #fff;
}

.filter-select-box {
  display: none;
  position: relative;
  margin-bottom: 25px;
}

.filter-select {
  background: var(--eerie-black-2);
  color: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.filter-select.active .select-icon { transform: rotate(0.5turn); }

.select-list {
  background: var(--eerie-black-2);
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  padding: 6px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in-out;
}

.filter-select.active + .select-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.select-item button {
  background: var(--eerie-black-2);
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  text-transform: capitalize;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
}

.select-item button:hover { --eerie-black-2: hsl(240, 2%, 20%); }

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 10px;
}

.project-item { display: none; }

.project-item.active {
  display: block;
  animation: scaleUp 0.25s ease forwards;
}

@keyframes scaleUp {
  0% { transform: scale(0.5); }
  100% { transform: scale(1); }
}

.project-item > a { width: 100%; }

.project-img {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 15px;
  border: 3px solid rgba(0, 0, 0, 1.0);
}

.project-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item > a:hover .project-img::before { background: hsla(0, 0%, 0%, 0.5); }

.project-item-icon-box {
  --scale: 0.8;

  background: var(--jet);
  color: var(--orange-yellow-crayola);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 20px;
  padding: 18px;
  border-radius: 12px;
  opacity: 0;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item > a:hover .project-item-icon-box {
  --scale: 1;
  opacity: 1;
}

.project-item-icon-box ion-icon { --ionicon-stroke-width: 50px; }

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.project-item > a:hover img { transform: scale(1.1); }

.project-title,
.project-category { margin-left: 0px; }

.project-title {
  color: var(--white-2);
  font-size: 22px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 4px;
}

.project-category {
  color: var(--light-gray-70);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/
.contact {
  min-height: 100vh;
}

.mapbox {
  position: relative;
  height: 250px;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px solid var(--jet);
  overflow: hidden;
}

.mapbox figure { height: 100%; }

.mapbox iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1);
}

.contact-form { margin-bottom: 10px; }

.form-title { margin-bottom: 20px; }

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.form-input {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  padding: 13px 20px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  outline: none;
}

.form-input::placeholder { font-weight: var(--fw-500); }

.form-input:focus { border-color: var(--orange-yellow-crayola); }

textarea.form-input {
  min-height: 100px;
  height: 120px;
  max-height: 200px;
  resize: vertical;
  margin-bottom: 25px;
}

textarea.form-input::-webkit-resizer { display: none; }

.form-input:focus:invalid { border-color: var(--bittersweet-shimmer); }

.form-btn {
  position: relative;
  width: 100%;
  background: var(--border-gradient-onyx);
  color: var(--orange-yellow-crayola);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: var(--fs-6);
  text-transform: capitalize;
  box-shadow: var(--shadow-3);
  z-index: 1;
  transition: var(--transition-1);
}

.form-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.form-btn ion-icon { font-size: 16px; }

.form-btn:hover { background: var(--bg-gradient-yellow-1); }

.form-btn:hover::before { background: var(--bg-gradient-yellow-2); }

.form-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-btn:disabled:hover { background: var(--border-gradient-onyx); }

.form-btn:disabled:hover::before { background: var(--bg-gradient-jet); }

/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/
@media (min-width: 1024px) {

  :root {
    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
  }

  article {
    padding-top: 20px;
  }

  /* MAIN - side by side layout */
  main {
    max-width: 100%;
    margin-inline: 0;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
  }

  .main-content {
    flex: 1;
    padding-top: 80px;
    padding-left: var(--main-padding-left);
    padding-right: var(--main-padding-right);
    margin-left: var(--sidebar-width);
    min-width: 0;
    overflow-x: hidden;
  }

  /* NAVBAR */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    padding: 0 20px;
    box-shadow: none;
  }

  .navbar-list {
    gap: 30px;
    padding: 0 20px;
  }

  .navbar-link { font-weight: var(--fw-500); }

  /* SIDEBAR - sticky */
  .sidebar {
    position: fixed;
    top: 30px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 60px;
    z-index: 2;
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    flex-shrink: 0;
    left: 0;
    overflow-y: auto;
  }

  .sidebar-info { flex-direction: column; }

  .info_more-btn { display: none; }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }

  /* ABOUT */
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* PORTFOLIO */
  .project-list { grid-template-columns: 1fr; }

  /* BLOG */
  .blog-banner-box { height: 230px; }

  /* SCROLLBAR */
  body::-webkit-scrollbar { width: 20px; }

  body::-webkit-scrollbar-track { background: #fff; }

  body::-webkit-scrollbar-thumb {
    border: 5px solid #fff;
    background: #000;
    border-radius: 20px;
  }

  body::-webkit-scrollbar-thumb:hover { background: #222; }

}

/* ==================================
   PROJECT LINKS (GitHub + YouTube)
   - fixed to bottom of project image
   - two equal width bars side by side
   - appears on hover
   ================================== */

.project-links {
  position: absolute;   /* sits on top of image */
  bottom: 0;            /* sticks to bottom */
  left: 0;
  width: 100%;          /* full width of image */
  display: flex;        /* side by side bars */
  opacity: 0;           /* hidden by default */
  transition: opacity 0.3s ease;
  z-index: 2;           /* above image */
}

/* ==== show on hover ==== */
.project-img:hover .project-links {
  opacity: 1;
}

/* ==== each bar (GitHub / YouTube) ==== */
.project-links a {
  flex: 1;                        /* equal width both bars */
  background: rgba(0, 0, 0, 0.85); /* dark transparent bg */
  padding: 12px;
  color: white;
  font-size: 25px;                /* 👈👈 icon size */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;                       /* space between icon and text */
}

/* ==== bar text (GitHub / YouTube label) ==== */
.project-links a span {
  font-size: 15px;      /* 👈👈 text size */
  font-weight: 500;     /* bold */
}

/* ==== divider line between two bars ==== */
.project-links a:first-child {
  border-right: 1px solid #333;
}

/* ==== GitHub icon color - white ==== */
.project-links a:first-child ion-icon {
  color: #fff;
}

/* ==== YouTube icon color - red ==== */
.project-links a:last-child ion-icon {
  color: #fff;
}

.project-links a:nth-child(2) ion-icon {
  color: #ff0000;
}

.project-links a:last-child ion-icon {
  color: #00ff00;
}

.project-links a:hover {
  background: #555555;
}

.tagline {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  margin-bottom: 5px;
  text-align: center;
}


.info-content .name {
  color: var(--white-1);
  font-size: 33px;
  font-weight: var(--fw-500);
  letter-spacing: -0.25px;
  margin-bottom: 10px;
}

.info-content .title {
  color: var(--black);
  background: none;
  font-size: 20px;
  font-weight: var(--fw-400);
}

.degree {
  color: var(--black);
  font-size: 15px;
  font-weight: var(--fw-300);
  text-align: center;
  margin-top: 5px;
}

.contact-simple p {
  color: #000;
  margin-bottom: 10px;
  font-size: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.contact-simple p:hover {
  color: inherit;
}

.contact-simple strong {
  white-space: nowrap;
  color: #000;
}

/* copy icon — hidden by default */
.copy-icon {
  margin-left: 8px;
  font-size: 22px;
  opacity: 0;
  color: #333333;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

/* show icon on hover */
.contact-simple p:hover .copy-icon {
  opacity: 1;
  color: #333333;
}

/* icon turns black when copied */
.copy-icon.copied {
  color: #000000;
  opacity: 1;
}

/* toast notification */
.copy-toast {
  position: fixed;
  transform: translateY(-50%);
  background: var(--orange-yellow-crayola);
  color: black;
  padding: 8px 14px;
  border: 2px solid #000;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 999;
  pointer-events: none;
  white-space: nowrap;
}

.copy-toast.show {
  opacity: 1;
}

/* ===== EXPERIENCE DROPDOWNS ===== */

.experience-dropdown {
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--border-gradient-onyx);
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
}

.experience-dropdown::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.experience-dropdown-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white-2);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  text-align: left;
  transition: background 0.25s ease, transform 0.2s ease;
}

/* Prevent text color change on hover */
.experience-dropdown-btn:hover {
  background: rgba(0, 0, 0, 0.2); /* subtle green tint */
  transform: translateY(-2px);
  color: var(--white-2); /* force text to stay same */
}

/* Force all child elements (icons, spans, etc.) to NOT turn green */
.experience-dropdown-btn * {
  color: inherit !important;
}

.experience-dropdown-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.experience-dropdown-left .icon-box {
  flex-shrink: 0;
}

.dropdown-arrow {
  font-size: 20px;
  color: var(--orange-yellow-crayola);
  transition: transform var(--transition-2);
  flex-shrink: 0;
}

.experience-dropdown-btn.open .dropdown-arrow {
  transform: rotate(180deg);
}

.experience-dropdown-content {
  display: none;
  padding: 25px 20px 20px 20px;
  border-top: 1px solid var(--jet);
}

.experience-dropdown-content.open {
  display: block;
  animation: fade 0.3s ease backwards;
}

.experience-dropdown-btn ion-icon {
  font-size: 26px;
  stroke-width: 70px;
  color: #000;
  opacity: 0.9;
}












/* ===== SIDEBAR EXTRA BADGE ===== */
.sidebar-extra-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: var(--white-2);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: var(--transition-1);
}

.sidebar-extra-badge:hover {
  color: var(--orange-yellow-crayola);
}

.sidebar-extra-badge:hover .icon-box {
  background: var(--bg-gradient-yellow-1);
}

/* ===== SIDEBAR SOCIAL ROW ===== */
.sidebar-social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.sidebar-social-row a {
  display: block;
  transition: var(--transition-1);
}

.sidebar-social-row a:hover {
  transform: scale(1.15);
}
















.sidebar-scroll-track {
  position: fixed;
  top: 60px;
  left: -1px;
  width: 6px;
  height: calc(100vh - 60px);
  background: transparent;
  border-radius: 3px;
  z-index: 998;
  pointer-events: none;
}

.sidebar-scroll-fill {
  width: 100%;
  height: 0%;
  background: #00ff00;
  border-radius: 3px;
  transition: height 0.1s ease;
}









/* ===== SYSTEMS I BUILD AUTO SCROLL ===== */
.systems-scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.systems-scroll-track {
  display: flex;
  gap: 15px;
  width: max-content;
}

/* Row 1 — right to left */
.scroll-rtl {
  animation: scrollLeft 20s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

/* Row 2 — left to right */
.scroll-ltr {
  animation: scrollRight 20s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}







.system-tile {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: transparent;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.system-tile::before {
  display: none;
}
.system-tile img {
  width: 80px;          /* increase size */
  height: auto;
}

.system-tile {
  overflow: visible;
}

.system-tile img {
  width: 100%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.system-tile:hover img {
  transform: scale(1.05);
}

.system-tile span {
  width: 100%;
  height: 60px;
  padding: 4px 8px;
  background: transparent;
  color: #000;
  font-size: 17px;
  font-weight: var(--fw-500);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  flex-shrink: 0;
}














#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}


.service .contact-simple p {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.service .contact-simple p:hover {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.engineering-impact .contact-simple p {
  display: block;
  cursor: default;
}

.engineering-impact .contact-simple p:hover {
  color: white;
}

.engineering-impact .contact-simple strong {
  display: block;
  margin-bottom: 4px;
}



/* ===== NAVBAR LOGO ===== */

.navbar {
  position: fixed;
  padding-left: 100px;
}

.navbar-logo {
  position: absolute;
  left: 20px;
  top: 8px;
  transform: none;
}

.navbar-logo img {
  height: 50px;
}

.badge-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 0px;
  background: rgba(0,0,0,0.06);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.badge-link:hover {
  background: hsl(120, 100%, 50%);
  color: black;
  border-color: hsl(120, 100%, 50%);
}

.github-icon {
  width: 28px;   /* increase size here */
  height: 28px;
}
















/* ===================================================== */
/* ===== GLOBAL (KEEP THIS — USED BY CONTACT PAGE) ===== */
/* ===================================================== */

.badge-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.badge-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-block;
}


/* ===================================================== */
/* ===== EXPLORE MY WORK SECTION ONLY (SAFE) ===== */
/* ===================================================== */

/* ---- Layout (2 columns) ---- */
.explore-work-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  align-items: start;
}

.explore-work-card {
  min-width: 0;
}


/* ---- Tagline below image ---- */
.explore-tagline {
  margin-bottom: 18px;
  color: var(--light-gray);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}


/* ---- Badge row (no scroll) ---- */
.explore-work-card .badge-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: hidden;
}


/* ---- Override ONLY inside explore cards ---- */
.explore-work-card .badge-link {
  gap: 10px;
  min-width: 0;
  flex: 1 1 0;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 15px;
}


/* ---- SVG behavior ONLY for explore ---- */
.explore-work-card .badge-link svg {
  flex-shrink: 0;
  display: inline-block;
}


/* ===================================================== */
/* ===== ICON SIZE CONTROL (IMPORTANT PART) ===== */
/* ===================================================== */

/* Landscape icons (YouTube) → more width */
/* Landscape icons (YouTube) → more width */
.explore-work-card .badge-landscape svg {
  width: 26px;
  height: 18px;
}

/* Square icons (Instagram) */
.explore-work-card .badge-square svg {
  width: 20px;
  height: 20px;
}

/* Slightly bigger (GitHub style) */
.explore-work-card .badge-wide svg {
  width: 22px;
  height: 22px;
}

/* Folder emoji */
.explore-work-card .badge-folder .badge-emoji {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}


/* ===================================================== */
/* ===== SPACING TUNING (ICON vs TEXT GAP) ===== */
/* ===================================================== */

.explore-work-card .badge-wide {
  gap: 14px;
}

.explore-work-card .badge-landscape {
  gap: 10px;
}

.explore-work-card .badge-square {
  gap: 12px;
}


/* ===================================================== */
/* ===== RESPONSIVE ===== */
/* ===================================================== */

@media (max-width: 992px) {
  .explore-work-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .explore-work-card .badge-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================== */
/* ===== RIGHT IMAGE SPACING CONTROL (ONLY HKMW) ===== */
/* ===================================================== */
.right-image-wrapper {
  padding: 57px 10px 15px 10px;  /* top right bottom left */
}

.right-image-wrapper img {
  width: 100%;
  border-radius: 10px;
}

.text-19 {
  font-size: 19px;
}

body {
  color: var(--light-gray);
}









/* ===================================================== */
/* =========== HK MOTION WORKS FILTER BADGES =========== */
/* ===================================================== */

/* ===== PREMIUM BADGES ===== */

.filter-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 55px 55px;
  gap: 2px;                  /* ← back to 2px */
  background-color: #000;
  border: 2px solid #000;
  margin-bottom: 30px;
  width: 900px;
}

.filter-item button {
  width: 100%;
  height: 100%;
  font-size: 17px;
  padding: 0 18px;
  border-radius: 0;
  color: #000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  font-family: var(--ff-poppins);
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  font-weight: 500;
}



.filter-item button:hover {
  background: #f5f5f5;
  color: #000;
}

.filter-item button.active {
  background: #000;
  color: #00ff00;
  font-weight: 600;
}


.filter-item {
  width: 100%;
  height: 100%;
}

/* HK Motion Works — item 3 no right border */
[data-page="hk motion works"] .filter-item:nth-child(3) button { border-right: none; }
[data-page="hk motion works"] .filter-item:nth-child(4) button { border-right: none; border-bottom: none; }










#hk-robot-labs .project-item.active {
  display: flex !important;
}










/* ===================== BADGE LAYOUT ===================== */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.badge-row img {
  height: 33px;
  display: block;
}

/* Optional (clean headings consistency) */
.skill-heading {
  font-size: 21px;
  margin: 20px 0 10px;
}

.skill-text {
  font-size: 18px;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 14px;
}










.project-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 4px;
}

.project-category {
  font-size: 14px;
  color: var(--light-gray-70);
  font-weight: 300;
}




.text-19 li {
  margin-bottom: 16px;
}

html {
  background: #fff;
  zoom: 0.9;
  min-height: 111.11%;
}

body {
  min-height: 111.11vh;
}










.motion-works-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
  margin-bottom:10px;
}

.motion-works-grid .motion-works-item{
  display:none;
  width:100%;
}

.motion-works-grid .motion-works-item.active{
  display:block;
}

.motion-works-grid .project-img{
  height:220px;
}

.motion-works-grid .project-title{
  margin-top:10px;
  margin-bottom:4px;
  text-align:left;
}

.motion-works-grid .project-category{
  display:block;
  text-align:left;
}

.motion-works-category{
  display:block;
  font-size:16px;
  font-weight:500;
  color:var(--light-gray);
  text-transform:none;
  letter-spacing:0;
  margin-top:6px;
  text-align:left;
}

.motion-desc{
  font-size:19px;
  font-weight:400;
  color:var(--light-gray);
  text-transform:none;   /* removes uppercase */
  letter-spacing:0;
  margin-top:6px;
  text-align:left;
}

.motion-works-grid .project-title{
  font-size:25px;   /* change this value */
  font-weight:700;
}

.motion-works-grid .motion-desc{
  font-size:20px;
  font-weight:400;
  color:var(--light-gray);
  text-transform:none;
  letter-spacing:0;
  margin-top:6px;
}














/* HK Robot Labs text sizing */
#hk-robot-labs .project-title{
  font-size:25px;
  font-weight:700;
}

#hk-robot-labs .project-category{
  font-size:20px;
  font-weight:500;
}

#hk-robot-labs .project-links{
  font-size:15px;
}

#hk-robot-labs .project-description{
  font-size:19px;
  line-height:1.6;
}




/* equal spacing all home sections */
/*
.about section {
  margin-top: 60px;
  margin-bottom: 160px;
}
*/

.about header {
  margin-top: 60px;
}

table img {
  width: 70px !important;
  height: 70px !important;
}

table td {
  padding: 10px 23px !important;
}





/* ===== HOME SECTION SPACING ===== */

/* gap ABOVE "Who I Am" text */
.about > section:nth-of-type(1) { margin-top: 1px; }

/* gap BELOW "Who I Am" / ABOVE "Systems I Build" */
.about > section:nth-of-type(1) { margin-bottom: 1px; }

/* gap ABOVE "Systems I Build" */
.about > section:nth-of-type(2) { margin-top: 1px; }

/* gap BELOW "Systems I Build" / ABOVE "Core Capabilities" */
.about > section:nth-of-type(2) { margin-bottom: 1px; }

/* gap ABOVE "Core Capabilities" */
.about > section:nth-of-type(3) { margin-top: 1px; }

/* gap BELOW "Core Capabilities" */
.about > section:nth-of-type(3) { margin-bottom: 1px; }

/* gap ABOVE "HK Robot Labs / HK Motion Works" */
.about > section:nth-of-type(4) { margin-top: 1px; }

/* gap BELOW last section */
.about > section:nth-of-type(4) { margin-bottom: 1px; }

.floating-collapse-btn {
  position: fixed;
  top: 110px;
  right: 30px;
  background: #000;
  color: #00ff00;
  border: none;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.floating-collapse-btn:hover {
  background: #000000;
  color: #00ff00;
}

.custom-bullet {
  width: 16px;
  height: 16px;
  background: #22ff00;
  border: 5px solid #000;
  border-radius: 2px; /* square (slightly rounded) */
  margin-right: 12px;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 35px;
}

#hk-robot-labs .portfolio-header .article-title {
  font-size: 42px;
  margin-bottom: 0;
}

.filter-wrapper {
  display: flex;
}

.spec-link { color: #000; text-decoration: none; transition: color 0.2s; }
.spec-arrow { transition: color 0.2s; font-weight: 600; }
.spec-link:hover { color: #00ff00; }
.spec-link:hover .spec-arrow { color: #00ff00; font-weight: 800; }

.timeline-item a {
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 600;
}

.timeline-item a:hover {
  color: #000 !important;
}

.timeline-item a:hover::after {
  color: #00ff00 !important;
}

[data-page="hk motion works"] .filter-list {
  grid-template-columns: 1fr 1fr;   /* ← 2 columns instead of 3 */
  grid-template-rows: 55px 55px;
}

/* fix last column — item 2 and 4 */
[data-page="hk motion works"] .filter-item:nth-child(2n) button { border-right: none; }

/* fix last row — item 3 and 4 */
[data-page="hk motion works"] .filter-item:nth-child(3) button,
[data-page="hk motion works"] .filter-item:nth-child(4) button { border-bottom: none; }

/* remove the old 3-col override for item 3 */
[data-page="hk motion works"] .filter-item:nth-child(3n) button { border-right: 2px solid #000; }

[data-page="hk motion works"] .filter-item button {
  font-size: 17px;
}

/* Force same heading size for all portfolio headers */
.portfolio-header .article-title {
    font-size: 42px !important;
    font-weight: 700 !important;
}

[data-page="hk motion works"] .article-title {
    font-size: 42px !important;
    font-weight: 700 !important;
}

.timeline-item a:hover span {
  color: #00ff00 !important;
}

body.contact-no-scroll {
  overflow: hidden;
}

.contact-simple p:first-child {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.contact-simple p:first-child .copy-icon {
  flex-shrink: 0;
}

.contact-simple p:first-child {
  width: fit-content;
}

.credit-arrow {
  transition: color 0.2s;
}

a:hover .credit-arrow {
  color: #00ff00;
}