:root {
  --bg-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(240, 1%, 25%) 3%, 
    hsl(0, 0%, 19%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(240, 1%, 18%, 0.251) 0%, 
    hsla(240, 2%, 11%, 0) 100%
  ), hsl(240, 2%, 13%);
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right, 
    hsl(45, 100%, 71%) 0%, 
    hsla(36, 100%, 69%, 0) 50%
  );
  --bg-gradient-yellow-2: linear-gradient(
    135deg, 
    hsla(45, 100%, 71%, 0.251) 0%, 
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 25%) 0%, 
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right, 
    hsl(45, 100%, 72%), 
    hsl(35, 100%, 68%)
  );

  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /* font-family */
  --ff-poppins: 'Poppins', sans-serif;

  /* font-size */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /* shadow */
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

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

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

a { text-decoration: none; }
li { list-style: none; }
img, ion-icon, a, button, time, span { display: block; }

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

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

::selection {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

:focus { outline-color: var(--orange-yellow-crayola); }
html { font-family: var(--ff-poppins); }
body { background: var(--smoky-black); }

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
}

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

.icon-box {
  position: relative;
  background: var(--border-gradient-onyx);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--orange-yellow-crayola);
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
}

.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: var(--fs-1); }
.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(--text-gradient-yellow);
  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 {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}

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

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

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

.avatar-box {
  background: var(--bg-gradient-onyx);
  border-radius: 20px;
}

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

.info-content .title {
  color: var(--white-1);
  background: var(--onyx);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  width: max-content;
  padding: 3px 12px;
  border-radius: 8px;
}

.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;
}

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(240, 1%, 17%, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--jet);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 5;
}

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

.navbar-link {
  color: var(--light-gray);
  font-size: var(--fs-8);
  padding: 20px 7px;
  transition: color var(--transition-1);
}

.navbar-link:hover,
.navbar-link:focus { color: var(--light-gray-70); }

.navbar-link.active { color: var(--orange-yellow-crayola); }

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

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

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

.service { margin-bottom: 35px; }

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

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.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: center; }

.service-item-title { margin-bottom: 7px; }
.service-item-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-3);
  line-height: 1.6;
}

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

.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(--vegas-gold);
  font-weight: var(--fw-400);
  line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -30px;
  width: 1px;
  height: calc(100% + 50px);
  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;
}

/* Responsive larger than 450px */
@media (min-width: 450px) {
  .clients-item { min-width: calc(33.33% - 10px); }
  .project-img,
  .blog-banner-box { height: auto; }
}

/* Responsive larger than 580px */
@media (min-width: 580px) {
  :root {
    --fs-1: 32px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;
  }
  .sidebar, article {
    width: 520px;
    margin-inline: auto;
    padding: 30px;
  }
  .article-title {
    font-weight: var(--fw-600);
    padding-bottom: 15px;
  }
  .article-title::after {
    width: 40px;
    height: 5px;
  }
  .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
  }
  main {
    margin-top: 60px;
    margin-bottom: 100px;
  }
  .sidebar {
    max-height: 180px;
    margin-bottom: 30px;
  }
  .sidebar.active { max-height: 584px; }
  .sidebar-info { gap: 25px; }
  .avatar-box { border-radius: 30px; }
  .avatar-box img { width: 120px; }
  .info-content .name { margin-bottom: 15px; }
  .info-content .title { padding: 5px 18px; }
  .info_more-btn {
    top: -30px;
    right: -30px;
    padding: 10px 15px;
  }
  .info_more-btn span {
    display: block;
    font-size: var(--fs-8);
  }
  .info_more-btn ion-icon { display: none; }
  .separator { margin: 32px 0; }
  .contacts-list { gap: 20px; }
  .contact-info {
    max-width: calc(100% - 64px);
    width: calc(100% - 64px);
  }
  .navbar { border-radius: 20px 20px 0 0; }
  .navbar-list { gap: 20px; }
  .navbar-link { --fs-8: 14px; }
  .about .article-title { margin-bottom: 20px; }
  .about-text { margin-bottom: 40px; }
  .service-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    padding: 30px;
  }
  .service-icon-box {
    margin-bottom: 0;
    margin-top: 5px;
  }
  .service-content-box { text-align: left; }
  .content-card {
    padding: 30px;
    padding-top: 25px;
  }
  .timeline-list { margin-left: 65px; }
  .timeline-item:not(:last-child)::before { left: -40px; }
  .timeline-item::after {
    height: 8px;
    width: 8px;
    left: -43px;
  }
  .mapbox {
    height: 380px;
    border-radius: 18px;
  }
  .input-wrapper {
    gap: 30px;
    margin-bottom: 30px;
  }
  .form-input { padding: 15px 20px; }
  textarea.form-input { margin-bottom: 30px; }
  .form-btn {
    --fs-6: 16px;
    padding: 16px 20px;
  }
  .form-btn ion-icon { font-size: 18px; }
}

/* Responsive larger than 768px */
@media (min-width: 768px) {
  .sidebar, article { width: 700px; }
  .has-scrollbar::-webkit-scrollbar-button { width: 100px; }
  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }
  .navbar-link { --fs-8: 15px; }
  .modal-avatar-box img { width: 80px; }
  .article-title { padding-bottom: 20px; }
  .filter-select-box { display: none; }
  .filter-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    padding-left: 5px;
    margin-bottom: 30px;
  }
  .filter-item button {
    color: var(--light-gray);
    font-size: var(--fs-5);
    transition: var(--transition-1);
  }
  .filter-item button:hover { color: var(--light-gray-70); }
  .filter-item button.active { color: var(--orange-yellow-crayola); }
  .project-list, .blog-posts-list { grid-template-columns: 1fr 1fr; }
  .input-wrapper { grid-template-columns: 1fr 1fr; }
  .form-btn {
    width: max-content;
    margin-left: auto;
  }
}

/* Responsive larger than 1024px */
@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);
  }
  .sidebar, article {
    width: 950px;
    box-shadow: var(--shadow-5);
  }
  main { margin-bottom: 60px; }
  .main-content {
    position: relative;
    width: max-content;
    margin: auto;
  }
  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-radius: 0 20px;
    padding: 0 20px;
    box-shadow: none;
  }
  .navbar-list {
    gap: 30px;
    padding: 0 20px;
  }
  .navbar-link { font-weight: var(--fw-500); }
}

/* Responsive larger than 1250px */
@media (min-width: 1250px) {
  body::-webkit-scrollbar { width: 20px; }
  body::-webkit-scrollbar-track { background: var(--smoky-black); }
  body::-webkit-scrollbar-thumb {
    border: 5px solid var(--smoky-black);
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 20px;
    box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11),
                inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
  }
  body::-webkit-scrollbar-thumb:hover { background: hsla(0, 0%, 100%, 0.15); }
  body::-webkit-scrollbar-button { height: 60px; }
  .sidebar, article { width: auto; }
  article { min-height: 100%; }
  main {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
  }
  .main-content {
    min-width: 75%;
    width: 75%;
    margin: 0;
  }
  .sidebar {
    position: sticky;
    top: 60px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 60px;
    z-index: 1;
  }
  .sidebar-info { flex-direction: column; }
  .avatar-box img { width: 150px; }
  .info-content .name {
    white-space: nowrap;
    text-align: center;
  }
  .info-content .title { margin: auto; }
  .info_more-btn { display: none; }
  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }
  .contacts-list { grid-template-columns: 1fr; }
  .contact-info :is(.contact-link) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .contact-info :is(.contact-link, time, address) {
    --fs-7: 14px;
    font-weight: var(--fw-300);
  }
  .separator:last-of-type {
    margin: 15px 0;
    opacity: 0;
  }
  .social-list { justify-content: center; }
}

body {
  color: white;
}

.about-text p,
.skills p {
  text-align: justify;
}

.skills {
  margin-top: 20px;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Add gap between skill categories */
}

.skills-category {
  display: flex;
  align-items: flex-start;
  background-color: #222;
  padding: 20px;
  /* Increase padding */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  position: relative;
}

.skills-category:hover {
  transform: translateY(-5px);
}

.skills-icon {
  color: #f3c623;
  font-size: 30px;
  /* Increase icon size */
  margin-right: 20px;
  /* Increase margin */
}

.skills-content {
  display: flex;
  flex-direction: column;
}

.skills-category h3 {
  color: #f3c623;
  /* The desired yellow color */
  margin-bottom: 10px;
  font-size: 20px;
  /* Increase font size */
  flex-shrink: 0;
  /* Prevent shrinking */
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: #444;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.3s;
}

.badge:hover {
  background: #f3c623;
  color: #222;
}

.skills-category h3,
.skills-category p {
  margin: 0;
}

.timeline-item-title,
.timeline-item span,
.timeline-item ul,
.timeline-location,
.timeline-description {
  color: white;
  text-align: justify;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-subheader {
  display: flex;
}

.timeline-text {
  margin-right: 5px;
}

.timeline-location {
  font-style: italic;
}

.timeline-item ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 10px 0;
}

.timeline-text {
  color: #f3c623;
  /* The desired yellow color */
  margin-top: 10px;
}

.timeline-item ul li {
  margin-bottom: 5px;
}

.h4.timeline-item-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.timeline-item span {
  display: block;
  font-style: italic;
  margin-bottom: 10px;
}

.article-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.icon-box {
  background-color: #333;
  padding: 10px;
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h3 {
  font-size: 20px;
  font-weight: bold;
}

.timeline-subheader .timeline-text {
  color: #f3c623;
}

.timeline-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s, transform 0.5s;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.projects {
  padding: 20px;
  color: #fff;
}

.article-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
}

.proj-projects-box {
  background-color: #222; /* Background color for the project box */
  padding: 20px; /* Padding inside the project box */
  margin-bottom: 20px; /* Space between project boxes */
  border-radius: 8px; /* Rounded corners */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.proj-projects-box:hover {
  background-color: #333; /* Slightly lighter background on hover */
  transform: scale(1.02); /* Slightly larger on hover */
}

.github-icon-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background-color: #1e1e1e;
  color: #f3c623;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid #f3c623;
  transition: all 0.3s ease;
  z-index: 2;
}

.github-icon-btn:hover {
  background-color: #f3c623;
  color: #1e1e1e;
  transform: scale(1.1);
}

.proj-projects-close-btn {
  background-color: #d9534f; /* Red color for Close button */
  border: none;
  color: white;
  padding: 2px 5px; /* Reduced padding */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px; /* Reduced font size */
  cursor: pointer;
  border-radius: 4px;
}

.proj-skills-section {
  margin-top: 20px;
}

.proj-projects-title {
  color: #f3c623;
  cursor: pointer; /* Indicate that this element is clickable */
}

.proj-skills-container {
  margin-top: 20px;
}

.proj-skills-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.proj-skills-header {
  color: #f3c623; /* Yellow color for the row headers */
  width: 200px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.proj-skills-header ion-icon {
  color: #f3c623;
  margin-right: 10px;
}

.proj-skills-content {
  display: flex;
  flex-wrap: wrap;
}

.proj-badge {
  background-color: #555; /* Darker background for badges */
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 14px;
  color: white;
  display: inline-block;
  margin: 2px;
  transition: background-color 0.3s ease;
}

.proj-badge:hover {
  background-color: #777; /* Lighter background on hover */
  cursor: pointer;
}

.proj-skills-section p {
  text-align: justify;
}

.doing-header {
  padding-bottom: 20px;
  position: relative;
  margin-bottom: 20px;
}

.doing-header h2 {
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  color: var(--white-2);
}

.doing-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--text-gradient-yellow);
  border-radius: 3px;
}

/* Add margin-top to the container for additional padding */
.doing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px; /* Adjust this value for desired padding */
}

/* Existing styles for the items */
.doing-item {
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  background-color: #222;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.doing-item:hover {
  background-color: #333;
  transform: translateY(-5px);
}

.doing-icon {
  font-size: 2em;
  color: #f3c623;
  margin-bottom: 20px;
}

.doing-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #f3c623;
}

.doing-item p {
  text-align: justify;
}

.about-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s, transform 0.5s;
}

.about-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.domain-experience {
  margin-top: 20px;
}

.domain-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.domain-item {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(50% - 20px); /* Adjusting the width of the cards */
  transition: transform 0.3s;
  text-align: center;
}

.domain-item:hover {
  transform: translateY(-5px);
}

.domain-icon {
  color: #f3c623;
  font-size: 40px; /* Increase icon size */
  margin-bottom: 10px;
}

.domain-item h3 {
  color: #f3c623;
  font-size: 20px;
  margin-bottom: 10px;
}

.domain-item p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.domain-item {
  cursor: pointer;
  transition: all 0.3s ease;
}

.domain-item.expanded {
  background-color: #333;
  padding: 30px;
  transform: scale(1.05);
}

.domain-container-horizontal {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 20px 0;
  gap: 20px;
}

.domain-item {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: inline-block;
  min-width: 250px; /* Adjust as needed */
  white-space: normal;
}

.domain-item:hover {
  transform: translateY(-5px);
}

.domain-icon {
  color: #f3c623;
  font-size: 40px; /* Increase icon size */
  margin-bottom: 10px;
}

.domain-item h3 {
  color: #f3c623;
  font-size: 20px;
  margin-bottom: 10px;
}

.domain-item p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

/* Invisible scrollbar with hover effect */
.domain-container-horizontal::-webkit-scrollbar {
  height: 12px;
}

.domain-container-horizontal::-webkit-scrollbar-track {
  background: transparent;
}

.domain-container-horizontal::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 10px;
}

.domain-container-horizontal:hover::-webkit-scrollbar-thumb {
  background-color: #f3c623;
}

/* Project Cards */
.proj-projects-box {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 20px;
  max-height: 120px; /* Set a fixed height for collapsed state */
  overflow: hidden; /* Hide content that overflows */
}

.proj-projects-box.expanded {
  max-height: none; /* Allow full height */
  background-color: #333; /* Slightly lighter background when expanded */
}

.proj-projects-title {
  color: #f3c623;
  font-size: 20px;
  margin-bottom: 10px;
}

.proj-projects-summary {
  color: #ccc;
  font-size: 14px;
}

/* Expanded Project Details */
.proj-details {
  display: none;
  margin-top: 10px;
  padding: 15px 0;
  text-align: left;
}

.proj-projects-box.expanded .proj-details {
  display: block;
}

/* Ensure proper spacing for media elements within project details */
.proj-details .media-image,
.proj-details .media-video {
  margin: 15px auto;
}

.proj-details h5 {
  color: #f3c623;
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 15px;
  text-align: left;
}

/* Tools and Steps List Styling */
.tools-list, .steps-list {
  list-style-type: decimal; /* Use numbers */
  padding-left: 20px;
  margin: 10px 0;
}

.tools-list li, .steps-list li {
  background-color: transparent; /* Remove background color */
  color: #fff;
  margin-bottom: 5px;
  padding: 10px;
  border-radius: 5px;
}

/* Project Images */
.project-image {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 20px auto; /* Centered */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Skills Container */
.proj-skills-container {
  margin-top: 10px;
}

.proj-skills-header {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 5px;
  color: #f3c623;
}

.proj-skills-content {
  margin-left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.proj-badge {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 14px;
}

/* Hover Effects */
.proj-projects-box:hover {
  transform: translateY(-5px);
}

/* Fade-in effect */
.proj-projects-box.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.proj-projects-box {
  opacity: 0;
  transform: translateY(20px);
}

/* Fade-in and fade-out effects */
.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.invisible {
  opacity: 0;
  transform: translateY(20px);
}

/* Tools and Steps List Styling */
.tools-list, .steps-list {
  list-style-type: disc; /* Use bullet points */
  padding-left: 20px;
  margin: 10px 0;
}

.tools-list li, .steps-list li {
  background-color: transparent; /* Remove background color */
  color: #fff;
  margin-bottom: 5px;
  padding: 10px;
  border-radius: 5px;
}

/* Project Images */
.project-image {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 20px auto; /* Centered */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.resume-link {
  font-size: 0.8em; /* Makes the link smaller than the surrounding text */
  color: #f3c623; /* Adjust the color to match the purple look */
  text-decoration: none; /* Removes underline */
}

.resume-link:hover {
  text-decoration: underline; /* Adds underline on hover */
}

/* For images */
.media-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments for media images */
@media (max-width: 768px) {
  .media-image {
    max-width: 100%;
    margin: 15px auto;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .media-image {
    margin: 10px auto;
    border-radius: 6px;
  }
}

/* For videos */
.media-video {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Workflow Diagram Vertical Styling */
.workflow-diagram.vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 24px auto 24px auto;
  max-width: 420px;
  width: 100%;
}
.workflow-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.workflow-heading {
  font-size: 1.04rem;
  color: #f3c623;
  font-weight: 600;
  margin: 18px 0 6px 0;
  letter-spacing: 0.01em;
  text-align: center;
  width: 100%;
}
.workflow-step {
  background: linear-gradient(90deg, #181818 80%, #222222 100%);
  border: none;
  border-radius: 10px;
  padding: 18px 16px;
  font-size: 1.08rem;
  color: #f5f5f5;
  width: 100%;
  text-align: center;
  margin: 0;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 18px 0 rgba(0,0,0,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.workflow-step::before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #f3c623 0%, #ffe066 100%);
  border-radius: 10px 0 0 10px;
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3c623;
  color: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin-right: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(243,198,35,0.10);
  border: 2px solid #fff2;
}
.step-content {
  flex: 1;
  text-align: left;
  font-size: 1.02rem;
  color: #f5f5f5;
}
.workflow-arrow {
  color: #888;
  font-size: 2rem;
  margin: 0.2em 0 0.2em 0;
  user-select: none;
  line-height: 1;
  text-align: center;
}
.workflow-arrow.small {
  font-size: 1.3rem;
  margin: 0.1em 0 0.1em 0;
}
@media (max-width: 600px) {
  .workflow-diagram.vertical {
    max-width: 98vw;
  }
  .workflow-step {
    font-size: 0.98rem;
    padding: 14px 6px;
    gap: 8px;
  }
  .workflow-heading {
    font-size: 0.98rem;
  }
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.98rem;
    margin-right: 6px;
  }
  .workflow-arrow {
    font-size: 1.5rem;
  }
  .workflow-arrow.small {
    font-size: 1.1rem;
  }
}

/* Features List Styling */
.features-list {
  margin: 0 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-group {
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  padding: 12px 14px 10px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.feature-title {
  font-weight: 600;
  color: #f3c623;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  gap: 6px;
}
.feature-group ul {
  margin: 0 0 0 18px;
  padding: 0;
  list-style: disc;
}
.feature-group li {
  margin-bottom: 4px;
  font-size: 0.98rem;
  color: #f5f5f5;
}

/* Tools List Structured Styling */
.tools-list-structured {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin: 0 0 18px 0;
}
.tool-group {
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  padding: 12px 14px 10px 14px;
  min-width: 180px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tool-title {
  font-weight: 600;
  color: #f3c623;
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  gap: 6px;
}
.tool-group ul {
  margin: 0 0 0 18px;
  padding: 0;
  list-style: disc;
}
.tool-group li {
  margin-bottom: 4px;
  font-size: 0.97rem;
  color: #f5f5f5;
}
@media (max-width: 700px) {
  .tools-list-structured {
    flex-direction: column;
    gap: 12px;
  }
  .tool-group {
    min-width: 0;
    flex: 1 1 100%;
  }
}

/* Accordion for Key Features */
.features-accordion {
  margin: 0 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.accordion-group {
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #f3c623;
  font-size: 1.04rem;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px 14px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.accordion-header:hover {
  background: rgba(243,198,35,0.07);
}
.chevron {
  display: inline-block;
  transition: transform 0.3s;
  font-size: 1.1em;
  margin-left: 8px;
}
.accordion-header.active .chevron {
  transform: rotate(180deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  background: none;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.2s;
  padding: 0 18px;
}
.accordion-panel.open {
  padding: 10px 18px 14px 32px;
  max-height: 400px;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.2s;
}
.accordion-panel ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}
.accordion-panel li {
  margin-bottom: 4px;
  font-size: 0.98rem;
  color: #f5f5f5;
}

/* Tools & Technologies Filter System */
.tools-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px 0;
}
.tool-filter {
  background: #181818;
  color: #f3c623;
  border: 1.5px solid #f3c623;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  outline: none;
}
.tool-filter.active {
  background: #f3c623;
  color: #181818;
  border-color: #f3c623;
}
.tools-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.tool-badge {
  display: inline-block;
  background: #232323;
  color: #f5f5f5;
  border-radius: 16px;
  padding: 7px 16px;
  font-size: 0.97rem;
  font-weight: 500;
  border: 1.2px solid #444;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  margin-bottom: 2px;
  opacity: 1;
  transition: opacity 0.25s, transform 0.25s;
}
.tool-badge.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}
@media (max-width: 600px) {
  .tools-filter-bar {
    gap: 6px;
  }
  .tool-filter {
    font-size: 0.93rem;
    padding: 5px 10px;
  }
  .tools-badges-list {
    gap: 6px;
  }
  .tool-badge {
    font-size: 0.93rem;
    padding: 6px 10px;
  }
}

/* Horizontal Stepper/Workflow for Architecture */
.horizontal-stepper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  margin: 24px auto 24px auto;
  max-width: 900px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}
.stepper-step {
  background: #181818;
  border-radius: 10px;
  box-shadow: 0 4px 18px 0 rgba(0,0,0,0.10);
  padding: 18px 18px 14px 18px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0.5em;
  border: 2px solid #f3c623;
  position: relative;
}
.stepper-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #f3c623;
  margin-bottom: 8px;
}
.stepper-desc {
  font-size: 0.98rem;
  color: #f5f5f5;
  margin-bottom: 0;
}
.stepper-desc ul {
  margin: 0 0 0 18px;
  padding: 0;
  list-style: disc;
}
.stepper-desc li {
  margin-bottom: 4px;
  font-size: 0.97rem;
  color: #f5f5f5;
}
.stepper-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #f3c623;
  margin: 0 0.2em;
  user-select: none;
  font-weight: bold;
}
@media (max-width: 900px) {
  .horizontal-stepper {
    flex-wrap: wrap;
    gap: 18px 0;
  }
  .stepper-step {
    min-width: 180px;
    max-width: 100vw;
    margin: 0 0.2em;
  }
}
@media (max-width: 700px) {
  .horizontal-stepper {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .stepper-arrow {
    transform: rotate(90deg);
    font-size: 1.7rem;
    margin: 0.2em 0;
  }
  .stepper-step {
    margin: 0.5em 0;
    min-width: 0;
    max-width: 100vw;
  }
}

/* Section Headers for Projects - match main section style */
.proj-projects-grid .section-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  color: var(--white-2);
  text-transform: capitalize;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0 0 7px 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.proj-projects-grid .section-title::before {
  display: none;
}

.proj-projects-grid .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--text-gradient-yellow);
  border-radius: 3px;
}

.proj-projects-grid .section-header {
  margin: 40px 0 20px 0;
  text-align: left;
}

.proj-projects-grid .section-header:first-child {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .proj-projects-grid .section-header {
    margin: 30px 0 15px 0;
  }
  .proj-projects-grid .section-title {
    font-size: var(--fs-4);
  }
}

@media (max-width: 480px) {
  .proj-projects-grid .section-title {
    font-size: var(--fs-5);
  }
}

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

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 4px;
  background: var(--text-gradient-yellow);
  border-radius: 3px;
}

.ai-bar .section-title,
.web-bar .section-title,
.other-bar .section-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  color: var(--white-2);
  padding-left: 16px;
  border-left: 6px solid var(--orange-yellow-crayola);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  margin-bottom: 0.5em;
}

/* Remove underline for these section titles */
.ai-bar .section-title::after,
.web-bar .section-title::after,
.other-bar .section-title::after {
  display: none;
}

