@media (max-width: 768px) {
  .service-item-dark {
    background: #111214 !important;
    color: #fff !important;
  }
  .service-item-dark::before {
    background: #18191c !important;
  }
  .service-item-dark .service-item-title,
  .service-item-dark .service-item-text {
    color: #fff !important;
  }
}

@media (max-width: 600px) {
  .service-item-dark {
    background: #111214 !important;
    color: #fff !important;
  }
  .service-item-dark::before {
    background: #18191c !important;
  }
  .service-item-dark .service-item-title,
  .service-item-dark .service-item-text {
    color: #fff !important;
  }
}
/* Much darker background for the first service-item */
.service-item-dark {
  background: #111214 !important; /* even darker, solid background */
  box-shadow: 0 2px 24px 0 rgba(0,0,0,0.45);
  color: #fff;
}

/* Ensure the inner background is also dark for .service-item-dark */
.service-item-dark::before {
  background: #18191c !important;
}

/* Make sure text is readable on dark background */
.service-item-dark .service-item-title,
.service-item-dark .service-item-text {
  color: #fff !important;
}

/* Tech stack tags for projects */
.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 8px 0 8px;
  width: 100%;
  padding-right: 6px;
  padding-left: 6px;
  box-sizing: border-box;
}
.tech-tag {
  background: var(--onyx);
  color: var(--light-gray);
  border-radius: 10px;
  padding: 4px 12px;
  font-size: 0.92em;
  font-weight: 500;
  border: 1px solid var(--jet);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
  margin-bottom: 6px;
}
.tech-tag:hover {
  background: var(--blue-crayola);
  color: var(--smoky-black);
  box-shadow: 0 4px 16px rgba(33,150,243,0.18);
  transform: scale(1.03);
}
@media (max-width: 600px) {
  .project-tech-stack {
    gap: 7px;
    margin: 12px 0 0 0;
  }
  .tech-tag {
    padding: 3px 8px;
    font-size: 0.88em;
    border-radius: 8px;
  }
}
/*-----------------------------------*\
  #style.css
\*-----------------------------------*/


/**
 * copyright 2022 @codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * Mouse tracking variables
   */
  
  --mouse-x: 50%;
  --mouse-y: 50%;

  /**
   * colors
   */

  /* gradient */

  --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-blue-1: linear-gradient(
    to bottom right, 
    hsl(210, 100%, 60%) 0%, 
    hsla(210, 100%, 60%, 0) 50%
  );
  --bg-gradient-blue-2: linear-gradient(
    135deg, 
    hsla(210, 100%, 60%, 0.251) 0%, 
    hsla(210, 100%, 60%, 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-blue: linear-gradient(
    to right, 
    hsl(210, 100%, 60%), 
    hsl(210, 100%, 65%)
  );

  /* solid */

  --jet: hsl(0, 0%, 14%);
  --onyx: hsl(240, 1%, 11%);
  --eerie-black-1: hsl(240, 2%, 7%);
  --eerie-black-2: hsl(240, 2%, 5%);
  --smoky-black: hsl(0, 0%, 3%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --blue-crayola: hsl(210, 100%, 60%);
  --blue-light: hsl(210, 100%, 70%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /**
   * typography
   */

  /* 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;

}





/*-----------------------------------*\
  #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, 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(--blue-crayola);
  color: var(--smoky-black);
}

:focus { outline-color: var(--blue-crayola); }

html { font-family: var(--ff-poppins); }

body { 
  background: var(--smoky-black);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    hsla(210, 100%, 60%, 0.15) 0%,
    hsla(210, 100%, 50%, 0.1) 20%,
    hsla(210, 100%, 40%, 0.05) 40%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.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(--blue-crayola);
  box-shadow: var(--shadow-1);
  z-index: 1;
  transition: var(--transition-1);
  cursor: pointer;
}

.contact-item .icon-box:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px hsla(210, 100%, 60%, 0.3);
  background: var(--bg-gradient-blue-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-blue);
  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(--blue-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: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
  position: relative;
  z-index: 1;
}





/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.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 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.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;
  margin-bottom: 12px;
}

.resume-box {
  background: var(--border-gradient-onyx);
  padding: 3px 12px;
  border-radius: 8px;
  width: max-content;
  cursor: pointer;
  transition: var(--transition-1);
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: flex-start;
}

.resume-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.resume-box:hover {
  background: var(--bg-gradient-blue-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(210, 100%, 60%, 0.3);
}

.resume-box:hover::before {
  background: var(--bg-gradient-blue-2);
}

.resume-title {
  color: var(--blue-crayola);
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  color: var(--blue-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-blue-1); }

.info_more-btn:hover::before,
.info_more-btn:focus::before { background: var(--bg-gradient-blue-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;
  padding: 8px;
  border-radius: 12px;
  transition: var(--transition-1);
  cursor: pointer;
}

.contact-item:hover {
  background: hsla(210, 100%, 60%, 0.1);
  transform: translateX(5px);
}

.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;
  transition: var(--transition-1);
}

.contact-item:hover .contact-title {
  color: var(--blue-crayola);
  transform: translateX(2px);
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
  transition: var(--transition-1);
}

.contact-link:hover {
  color: var(--blue-crayola);
  transform: translateY(-2px);
  text-shadow: 0 2px 8px hsla(210, 100%, 60%, 0.3);
}

.contact-info address { 
  font-style: normal;
  transition: var(--transition-1);
  cursor: pointer;
}

.contact-info address:hover {
  color: var(--blue-crayola);
  transform: translateY(-2px);
  text-shadow: 0 2px 8px hsla(210, 100%, 60%, 0.3);
}

.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;
  transition: all 0.25s ease;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.social-item .social-link:hover { 
  color: var(--blue-crayola);
  transform: translateY(-3px);
  background: hsla(210, 100%, 60%, 0.1);
  box-shadow: 0 4px 12px hsla(210, 100%, 60%, 0.3);
}

/* Platform-specific colors on hover */
.social-item .social-link[title="LinkedIn"]:hover {
  color: #0077b5;
  background: hsla(201, 100%, 35%, 0.1);
  box-shadow: 0 4px 12px hsla(201, 100%, 35%, 0.3);
}

.social-item .social-link[title="Twitter"]:hover {
  color: #1da1f2;
  background: hsla(203, 89%, 53%, 0.1);
  box-shadow: 0 4px 12px hsla(203, 89%, 53%, 0.3);
}

.social-item .social-link[title="GitHub"]:hover {
  color: #333;
  background: hsla(0, 0%, 20%, 0.1);
  box-shadow: 0 4px 12px hsla(0, 0%, 20%, 0.3);
}


/**
 * #RESUME MODAL
 */

.resume-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-1);
}

.resume-modal-container.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.resume-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 0%, 0.8);
  cursor: pointer;
}

.resume-modal {
  background: var(--eerie-black-2);
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  padding: 30px;
  border: 1px solid var(--jet);
  border-radius: 20px;
  box-shadow: var(--shadow-5);
  transform: scale(0.8);
  transition: var(--transition-1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.resume-modal-container.active .resume-modal {
  transform: scale(1);
}

.resume-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--onyx);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-2);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition-1);
  z-index: 1;
}

.resume-close-btn:hover {
  background: var(--blue-crayola);
  color: var(--smoky-black);
}

.resume-modal-title {
  color: var(--white-2);
  font-size: var(--fs-2);
  font-weight: var(--fw-500);
  margin-bottom: 20px;
  text-align: center;
}

.resume-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.resume-pdf-container {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--jet);
  flex: 1;
  min-height: 0;
}

.resume-pdf-container iframe {
  width: 100%;
  height: 500px;
  min-height: 400px;
}

.resume-actions {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 15px;
  flex-shrink: 0;
}

.resume-download-btn {
  background: var(--border-gradient-onyx);
  color: var(--blue-crayola);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: var(--transition-1);
  position: relative;
  z-index: 1;
}

.resume-download-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.resume-download-btn:hover {
  background: var(--bg-gradient-blue-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(210, 100%, 60%, 0.3);
}

.resume-download-btn:hover::before {
  background: var(--bg-gradient-blue-2);
}

.resume-download-btn ion-icon {
  font-size: 18px;
}





/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.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(--blue-crayola); }





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.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 
 */

.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;
}





/*-----------------------------------*\
  #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(--blue-light);
  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-blue);
  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-container {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0px;
  background: var(--border-gradient-onyx);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
}

.skills-container::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.skill-category {
  margin-bottom: 0px;
}

.skill-category-title {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  margin-bottom: 0px;
  text-transform: capitalize;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

.skill-tag {
  background: var(--onyx);
  color: var(--light-gray);
  padding: 0px 2px;
  border-radius: 3px;
  font-size: 7px;
  font-weight: var(--fw-400);
  border: 1px solid var(--jet);
  transition: var(--transition-1);
  cursor: pointer;
}

.skill-tag:hover {
  background: var(--blue-crayola);
  color: var(--smoky-black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(210, 100%, 60%, 0.3);
}

  /* Responsive fix for My Skills section */
  @media (max-width: 600px) {
    .skills-container {
      flex-direction: column;
      gap: 18px;
      align-items: stretch;
      width: 100%;
      padding: 0 8px;
    }
    .skill-category {
      width: 100%;
      margin-bottom: 10px;
    }
    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-start;
      width: 100%;
    }
    .skill-tag {
      min-width: 90px;
      max-width: 48vw;
      flex: 1 1 40%;
      margin: 0;
      padding: 8px 6px;
      font-size: 0.98em;
      box-sizing: border-box;
      justify-content: flex-start;
    }
    .icon-box {
      margin-right: 6px;
      font-size: 1.2em;
    }
  }





/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.filter-list { display: none; }

.filter-select-box {
  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;
  max-width: 100%;
}

.project-item { 
  display: none;
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, var(--eerie-black-2) 0%, var(--smoky-black) 100%);
  border: 2px solid var(--jet);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(15px);
}

.project-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.04) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.project-item:hover::before {
  opacity: 1;
}

.project-item.active {
  display: block;
  animation: scaleUp 0.25s ease forwards;
}

/* Add enhanced blue glow and dramatic scale effect on entire project item hover */
.project-item:hover {
  box-shadow: 
    0 25px 80px hsla(215, 100%, 60%, 0.4),
    0 0 0 3px var(--blue-crayola),
    inset 0 2px 0 rgba(255, 255, 255, 0.1);
  transform: scale(1.15) translateY(-20px);
  z-index: 10;
  border-color: var(--blue-light);
  background: linear-gradient(135deg, var(--eerie-black-1) 0%, var(--onyx) 50%, var(--smoky-black) 100%);
}

@keyframes scaleUp {
  0% { transform: scale(0.5); }
  100% { transform: scale(1); }
}

.project-item > a { 
  width: 100%; 
  position: relative;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, transparent 50%, rgba(59, 130, 246, 0.03) 100%);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
  backdrop-filter: blur(10px);
}

.project-item > a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--eerie-black-1) 0%, rgba(59, 130, 246, 0.02) 50%, var(--eerie-black-1) 100%);
  z-index: -1;
  transition: all 0.3s ease;
}

.project-item > a:hover {
  box-shadow: 
    0 25px 50px hsla(215, 100%, 60%, 0.2), 
    0 12px 35px hsla(215, 100%, 60%, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-10px);
  border: 1px solid var(--blue-light);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, rgba(59, 130, 246, 0.08) 100%);
}

.project-item > a:hover::before {
  background: linear-gradient(
    135deg,
    var(--eerie-black-1) 0%,
    hsla(215, 100%, 60%, 0.06) 50%,
    var(--eerie-black-1) 100%
  );
}

.project-img {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: var(--transition-1);
  box-shadow: 0 8px 20px hsla(0, 0%, 0%, 0.15);
}

.project-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    hsla(215, 100%, 60%, 0.1) 50%,
    transparent 100%
  );
  z-index: 1;
  opacity: 0;
  transition: var(--transition-1);
}

.project-item > a:hover .project-img::before { 
  opacity: 1;
}

/* Add subtle gradient border on hover */
.project-item > a:hover .project-img {
  box-shadow: 0 12px 30px hsla(215, 100%, 60%, 0.2),
              inset 0 0 0 2px var(--blue-crayola);
}

.project-item-icon-box {
  --scale: 0.8;

  background: var(--jet);
  color: var(--blue-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);
  border: 2px solid transparent;
}

.project-item > a:hover .project-item-icon-box {
  --scale: 1;
  opacity: 1;
  background: var(--blue-crayola);
  color: var(--jet);
  border: 2px solid var(--white-2);
  box-shadow: 0 4px 15px hsla(215, 100%, 60%, 0.5);
}

.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.05); /* Reduced since parent has dramatic scaling */
}

.project-title,
.project-category { 
  margin-left: 20px; 
  margin-right: 20px;
}

.project-title {
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  text-transform: capitalize;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: var(--transition-1);
  letter-spacing: 0.5px;
}

/* Beautiful blue gradient text effect on hover */
.project-item > a:hover .project-title {
  background: var(--text-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-2px);
}

.project-category {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  transition: var(--transition-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.project-description {
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  line-height: 1.6;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  transition: var(--transition-1);
  opacity: 0.8;
  text-align: left;
}

/* Blue hover effect for project description */
.project-item > a:hover .project-description {
  color: var(--blue-crayola);
  opacity: 1;
  transform: translateY(-1px);
}

/* Blue hover effect for project category */
.project-item > a:hover .project-category {
  color: var(--blue-light);
  transform: translateY(-1px);
}

/* Enhanced project structure styles */
.project-content {
  position: relative;
  transition: var(--transition-1);
  transform-origin: center;
  padding: 0 0 20px 0;
}

.project-link {
  width: 100%;
  display: block;
  text-decoration: none;
}

.project-github {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.project-item:hover .project-github {
  opacity: 1;
  transform: translateY(0);
}

.github-link {
  background: linear-gradient(135deg, var(--jet) 0%, var(--onyx) 100%);
  color: var(--blue-crayola);
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-1);
  box-shadow: 0 4px 15px hsla(0, 0%, 0%, 0.3);
  border: 1px solid var(--jet);
  backdrop-filter: blur(10px);
}

.github-link:hover {
  background: linear-gradient(135deg, var(--blue-crayola) 0%, var(--blue-light) 100%);
  color: var(--smoky-black);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px hsla(215, 100%, 60%, 0.4);
  border: 1px solid var(--blue-light);
}

.github-link ion-icon {
  --ionicon-stroke-width: 45px;
  transition: var(--transition-1);
}

.github-link:hover ion-icon {
  transform: rotate(360deg);
}

/* Responsive adjustments for GitHub icon */
@media (max-width: 768px) {
  .project-github {
    top: 10px;
    right: 10px;
  }
  
  .github-link {
    padding: 6px;
    font-size: 16px;
  }
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog-posts { margin-bottom: 10px; }

.blog-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.blog-post-item > a {
  position: relative;
  background: var(--border-gradient-onyx);
  height: 100%;
  box-shadow: var(--shadow-4);
  border-radius: 16px;
  z-index: 1;
}

.blog-post-item > a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--eerie-black-1);
  z-index: -1;
}

.blog-banner-box {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.blog-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-banner-box img { transform: scale(1.1); }

.blog-content { padding: 15px; }

.blog-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.blog-meta :is(.blog-category, time) {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.blog-meta .dot {
  background: var(--light-gray-70);
  width: 4px;
  height: 4px;
  border-radius: 4px;
}

.blog-item-title {
  margin-bottom: 10px;
  line-height: 1.3;
  transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-item-title { color: var(--blue-crayola); }

.blog-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}





/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/**
 * responsive larger than 450px screen
 */

@media (min-width: 450px) {

  /**
   * #PORTFOLIO, BLOG 
   */

  .project-img,
  .blog-banner-box { height: auto; }

}

/**
 * responsive for very small screens (max-width: 480px)
 */

@media (max-width: 480px) {
  
  .resume-modal {
    max-width: 95vw;
    max-height: 80vh;
    padding: 15px;
    margin: 10px;
  }

  .resume-modal-title {
    font-size: var(--fs-4);
    margin-bottom: 15px;
  }

  .resume-pdf-container iframe {
    height: 300px;
    min-height: 250px;
  }

  .resume-download-btn {
    padding: 8px 16px;
    font-size: var(--fs-8);
    gap: 6px;
  }

  .resume-download-btn ion-icon {
    font-size: 14px;
  }

  .resume-close-btn {
    width: 9px;
    height: 9px;
    font-size: 5px;
    right: 15px;
    font-size: 18px;
  }
}





/**
 * responsive larger than 580px screen
 */

@media (min-width: 580px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 32px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;

  }



  /**
   * #REUSED STYLE
   */

  .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
   */

  main {
    margin-top: 60px;
    margin-bottom: 100px;
  }



  /**
   * #SIDEBAR
   */

  .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; }

  .resume-box {
    padding: 5px 18px;
    margin-top: 0;
    margin-left: 0;
  }

  .resume-title {
    font-size: var(--fs-7);
  }

  .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
   */

  .navbar { border-radius: 20px 20px 0 0; }

  .navbar-list { gap: 20px; }

  .navbar-link { --fs-8: 14px; }



  /**
   * #ABOUT
   */

  .about .article-title { margin-bottom: 20px; }

  .about-text { margin-bottom: 40px; }

  /* service */

  .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; }

  /**
   * #RESUME
   */

  .timeline-list { margin-left: 65px; }

  .timeline-item:not(:last-child)::before { left: -40px; }

  .timeline-item::after {
    height: 8px;
    width: 8px;
    left: -43px;
  }

  /* skills */

  .skills-container {
    padding: 16px;
    gap: 14px;
  }

  .skill-category-title {
    font-size: var(--fs-5);
    margin-bottom: 10px;
  }

  .skill-tags {
    gap: 8px;
  }

  .skill-tag {
    padding: 5px 12px;
    font-size: var(--fs-8);
  }



  /**
   * #PORTFOLIO, BLOG
   */

  .project-img, .blog-banner-box { border-radius: 16px; }

  .blog-posts-list { gap: 30px; }

  .blog-content { padding: 25px; }



  /**
   * #CONTACT
   */

  .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 screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .sidebar, article { width: 700px; }

  .has-scrollbar::-webkit-scrollbar-button { width: 100px; }



  /**
   * SIDEBAR
   */

  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }



  /**
   * NAVBAR
   */

  .navbar-link { --fs-8: 15px; }



  /**
   * RESUME MODAL
   */

  .resume-modal {
    max-width: 95vw;
    max-height: 85vh;
    padding: 20px;
  }

  .resume-pdf-container iframe {
    height: 400px;
    min-height: 300px;
  }

  .resume-download-btn {
    padding: 10px 20px;
    font-size: var(--fs-7);
    gap: 8px;
  }

  .resume-download-btn ion-icon {
    font-size: 16px;
  }



  /**
   * ABOUT
   */

  /* skills */

  .skills-container {
    padding: 20px;
  }

  .skill-category {
    margin-bottom: 10px;
  }

  .skill-tags {
    gap: 10px;
  }

  .skill-tag {
    padding: 6px 14px;
    font-size: var(--fs-7);
  }



  /**
   * PORTFOLIO
   */

  .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(--blue-crayola); }

  /* portfolio and blog grid */

  .project-list, .blog-posts-list { 
    grid-template-columns: 1fr; 
    gap: 45px;
  }



  /**
   * CONTACT
   */

  .input-wrapper { grid-template-columns: 1fr 1fr; }

  .form-btn {
    width: max-content;
    margin-left: auto;
  }
  
}





/**
 * responsive larger than 1024px screen
 */

@media (min-width: 1024px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
    * shadow
    */

    --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);

  }



  /**
   * REUSED STYLE
   */

  .sidebar, article {
    width: 950px;
    box-shadow: var(--shadow-5);
  }



  /**
   * MAIN 
   */

  main { margin-bottom: 60px; }

  .main-content {
    position: relative;
    width: max-content;
    margin: auto;
  }



  /**
   * NAVBAR
   */

  .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); }



  /**
   * ABOUT
   */

  /* service */

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
  }

  /* skills */

  .skills-container {
    padding: 24px;
    gap: 16px;
  }

  .skill-category-title {
    font-size: var(--fs-4);
    margin-bottom: 12px;
  }

  .skill-tags {
    gap: 12px;
  }

  .skill-tag {
    padding: 8px 16px;
    font-size: var(--fs-6);
    border-radius: 16px;
  }



  /**
   * PORTFOLIO
   */

  .project-list { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 50px;
  }



  /**
   * BLOG
   */

  .blog-banner-box { height: 230px; }

}





/**
 * responsive larger than 1250px screen
 */

@media (min-width: 1250px) {

  /**
   * RESET
   */

  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; }



  /**
   * REUSED STYLE
   */

  .sidebar, article { width: auto; }

  article { min-height: 100%; }



  /**
   * MAIN
   */

  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
   */

  .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: 0 auto 12px auto; 
  }

  .resume-box {
    margin: 0 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;
    gap: 20px;
    padding-left: 0;
  }

  .social-item .social-link {
    font-size: 20px;
    width: 45px;
    height: 45px;
  }



  /**
	 * RESUME
	 */

  .timeline-text { max-width: 700px; }

}