:root {

  /**
   * colors
   */

  /* gradient */

  --bg-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(120, 8%, 14%) 3%, 
    hsl(120, 8%, 10%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(120, 8%, 20%, 0.251) 0%, 
    hsla(120, 8%, 20%, 0) 100%
  ), hsl(120, 8%, 12%);
  --bg-gradient-sage-1: linear-gradient(
    to bottom right, 
    hsla(120, 40%, 55%, 0.251) 0%, 
    hsla(120, 40%, 55%, 0) 50%
  );
  --bg-gradient-sage-2: linear-gradient(
    135deg, 
    hsla(120, 40%, 55%, 0.251) 0%, 
    hsla(120, 40%, 55%, 0) 59.86%
  ), hsl(120, 8%, 12%);
  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(120, 8%, 25%) 0%, 
    hsla(120, 8%, 25%, 0) 50%
  );
  --text-gradient-sage: linear-gradient(
    to right, 
    hsl(120, 40%, 55%), 
    hsl(120, 40%, 45%)
  );

  /* solid */

  --smoky-black: hsl(120, 8%, 10%);
  --eerie-black-1: hsl(120, 8%, 14%);
  --eerie-black-2: hsl(120, 8%, 16%);
  --jet: hsl(120, 8%, 20%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --accent-color: hsl(120, 30%, 50%);
  --vegas-gold: hsl(120, 40%, 55%);
  --light-gray: hsl(120, 8%, 70%);
  --light-gray-70: hsla(120, 8%, 70%, 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: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 3px 12px rgba(0, 0, 0, 0.1);
  --shadow-3: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-4: 0 4px 18px rgba(0, 0, 0, 0.1);
  --shadow-5: 0 6px 24px rgba(0, 0, 0, 0.12);

  /**
   * transition
   */

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

/* Dark theme (default) */
[data-theme="dark"] {
  /* Keep existing dark theme styles */
  --accent-color: hsl(120, 30%, 50%);
  --text-gradient-sage: linear-gradient(
    to right, 
    hsl(120, 40%, 55%), 
    hsl(120, 40%, 45%)
  );
}

/* Light theme */
[data-theme="light"] {
  --bg-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 100%) 3%, 
    hsl(0, 0%, 95%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(0, 0%, 100%, 0.251) 0%, 
    hsla(0, 0%, 95%, 0) 100%
  ), hsl(0, 0%, 95%);
  
  --smoky-black: hsl(0, 0%, 95%);
  --eerie-black-1: hsl(0, 0%, 90%);
  --eerie-black-2: hsl(0, 0%, 85%);
  --jet: hsl(0, 0%, 80%);
  
  --white-1: hsl(0, 0%, 10%);
  --white-2: hsl(0, 0%, 15%);
  --light-gray: hsl(0, 0%, 30%);
  --light-gray-70: hsla(0, 0%, 30%, 0.7);
  
  --accent-color: hsl(120, 30%, 45%);
  --vegas-gold: hsl(120, 30%, 45%);
}

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

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

a { text-decoration: none; }

li { list-style: none; }

img, ion-icon, 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(--accent-color);
  color: var(--smoky-black);
}

:focus { outline-color: var(--accent-color); }

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

body {
  background: var(--smoky-black);
  transition: background-color 0.3s ease;
}

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

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 10px;
  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(--accent-color);
  box-shadow: none;
  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-sage);
  border-radius: 3px;
}

.content-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  padding-top: 40px;
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  z-index: 1;
  height: 100%;
}

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

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

.sidebar {
  margin-bottom: 15px;
  overflow: visible;
  transition: var(--transition-2);
}

.sidebar.active { max-height: none; }

.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;
  overflow: hidden;
  flex-shrink: 0;
  width: 80px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  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;
  border-radius: 8px;
}

.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(--accent-color);
  font-size: 18px;
  transition: var(--transition-1);
}

.social-item .social-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

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

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(120, 8%, 14%, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 999;
}

.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(--accent-color); }

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .article-title {
  color: var(--white-2);
  margin-bottom: 15px;
}

.about-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.8;
  text-align: justify;
  letter-spacing: 0.02em;
}

.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(--eerie-black-1);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  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; 
  opacity: 1; /* Remove the opacity filter */
}

.service-icon-box img {
  margin: auto;
  width: 40px;
  height: 40px;
  filter: brightness(0) saturate(100%) invert(82%) sepia(14%) saturate(1071%) hue-rotate(84deg) brightness(92%) contrast(87%);
  transition: var(--transition-1);
}

/* Light theme service icons */
[data-theme="light"] .service-icon-box img {
  filter: brightness(0) saturate(100%) invert(45%) sepia(24%) saturate(900%) hue-rotate(84deg) brightness(90%) contrast(87%);
}

/* Remove any existing filters */
.service-icon-box {
  filter: none;
}

/* Hover effect */
.service-item:hover .service-icon-box img {
  transform: scale(1.1);
  opacity: 1;
}

.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.8;
  letter-spacing: 0.02em;
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  visibility: hidden;
  pointer-events: none;
  padding: 20px;
}

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

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsla(0, 0%, 0%, 0.8);
  z-index: 5;
  opacity: 0;
  transition: 0.5s ease;
}

.overlay.active { 
  opacity: 1;
}

.project-modal {
  background-color: var(--eerie-black-2);
  max-width: 900px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  overflow-y: auto;
  z-index: 10;
  position: relative;
  max-height: 85vh;
  opacity: 0;
  transform: scale(0.9);
  transition: 0.3s ease;
}

.project-modal::-webkit-scrollbar {
  width: 5px;
}

.project-modal::-webkit-scrollbar-track {
  background-color: var(--jet);
}

.project-modal::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
}

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

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: hsl(120, 30%, 60%);
  color: var(--white-1);
  font-size: 18px;
  padding: 5px;
  border-radius: 8px;
  border: none;
  z-index: 10;
  cursor: pointer;
  transition: 0.3s ease;
}

.modal-close-btn:hover {
  background-color: hsl(120, 30%, 60%);
  color: var(--white-2);
}

.modal-close-btn ion-icon { 
  font-size: 20px; 
  color: black !important;
}

.modal-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
 
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.modal-content {
  padding: 25px;
}

.modal-title { 
  font-size: var(--fs-3);
  color: var(--white-2);
  margin-bottom: 5px;
  margin-top: 10px;
}

.modal-category {
  color: var(--accent-color);
  font-size: var(--fs-7);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* Text content styling */
.modal-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
}

.modal-text p {
  margin-bottom: 15px;
  color: var(--light-gray);
}

.modal-text ul {
  margin: 15px 0 25px 0;
  list-style: none;
}

.modal-text li {
  margin-bottom: 10px;
  color: var(--light-gray);
  position: relative;
  padding-left: 15px;
}

.modal-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

/* GitHub button styling */
.modal-text a,
.modal-text a.gh-link {
  color: var(--white-2);
  text-decoration: none;
  align-items: center;
  margin-top: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent-color);
  transition: 0.3s ease;
}

.modal-text a.gh-link:hover {
  background-color: var(--accent-color);
  color: var(--white-2);
}

.modal-text a.gh-link::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238cdc88'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.modal-text a.gh-link:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E");
}

/* Project details class - for the content that will be displayed in the modal */
.project-details {
  display: none; /* Hidden by default */
}

.project-details p {
  margin-bottom: 15px;
  color: var(--light-gray);
}

.project-details ul {
  margin: 15px 0 25px 0;
  list-style: none;
}

.project-details li {
  margin-bottom: 10px;
  color: var(--light-gray);
  position: relative;
  padding-left: 15px;
}

.project-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.project-details a,
.project-details a.gh-link {
  color: var(--white-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: var(--jet);
  border: 1px solid var(--accent-color);
  transition: 0.3s ease;
}

/* Responsive modal styles */
@media (max-width: 768px) {
  .project-modal {
    width: 95%;
    margin: 0 auto;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-title {
    font-size: var(--fs-4);
  }
  
  .modal-img-wrapper {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .modal-container {
    align-items: flex-start;
    padding: 10px;
  }
  
  .project-modal {
    max-height: 90vh;
    margin: 0;
    border-radius: 12px;
  }
  
  .modal-close-btn {
    top: 10px;
    right: 10px;
  }

  .modal-content {
    padding: 15px;
  }
  
  .modal-img-wrapper {
    height: 180px;
  }
  
  .modal-title {
    font-size: var(--fs-5);
  }
  
  .modal-text {
    font-size: var(--fs-7);
  }
}

/*-----------------------------------*\
  #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(--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(--accent-color);
  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.8;
}

/**
 * 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(--accent-color);
  height: 100%;
  border-radius: inherit;
}

.languages {
  margin-top: 20px; 
}

/*-----------------------------------*\
  #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: 30px;
  margin-bottom: 10px;
}

.project-item { 
  position: relative;
  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;
}

.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(--accent-color);
  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: 10px; }

.project-title {
  color: var(--white-2);
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  text-transform: capitalize;
  line-height: 1.3;
}

.project-category {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

/*-----------------------------------*\
  #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(--eerie-black-1);
  height: 100%;
  box-shadow: var(--shadow-1);
  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(--accent-color); }

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

/*-----------------------------------*\
  #THEME & UI ENHANCEMENTS
\*-----------------------------------*/

/* Theme button styles */
.theme-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--eerie-black-2);
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid var(--jet);
  transition: var(--transition-1);
  z-index: 1000;
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.theme-btn:hover {
  background: var(--border-gradient-onyx);
  transform: translateY(-2px);
}

.theme-btn ion-icon {
  display: block;
  color: var(--accent-color);
  font-size: inherit;
}

/* Light theme adjustments */
[data-theme="light"] .theme-btn {
  background: var(--white-2);
  border-color: var(--jet);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .theme-btn {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .theme-btn {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* Remove old sidebar buttons container */
.sidebar-buttons {
  display: none;
}

/* Update navbar z-index to be below theme button */
.navbar {
  z-index: 999;
}

/* Transition for theme changes */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Better text readability */
.about-text,
.service-item-text,
.timeline-text,
.blog-text {
  color: var(--light-gray);
  line-height: 1.8;
  font-size: var(--fs-6);
  letter-spacing: 0.02em;
}

/* Improved card contrast */
.service-item,
.content-card,
.blog-post-item > a {
  background: var(--eerie-black-1);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--jet);
}

/* Icon styling consistency */
ion-icon,
.icon-box ion-icon,
.social-link ion-icon,
.form-btn ion-icon,
.navbar ion-icon,
.theme-btn ion-icon,
.timeline .icon-box ion-icon,
.modal-close-btn ion-icon {
  color: var(--accent-color);
  transition: var(--transition-1);
}

/* Service icons (for PNG/SVG images) */
.service-icon-box img,
.modal-avatar-box img {
  filter: brightness(0) saturate(100%) invert(82%) sepia(14%) saturate(1071%) hue-rotate(84deg) brightness(92%) contrast(87%);
  opacity: 0.8;
  transition: var(--transition-1);
}

/* Light theme adjustments for images */
[data-theme="light"] .service-icon-box img,
[data-theme="light"] .modal-avatar-box img{
  filter: brightness(0) saturate(100%) invert(45%) sepia(24%) saturate(900%) hue-rotate(84deg) brightness(90%) contrast(87%);
}

/* Hover effects for images */
.service-item:hover .service-icon-box img{
  transform: scale(1.1);
  opacity: 1;
}

/*-----------------------------------*\
  #RESPONSIVE STYLES
\*-----------------------------------*/

/**
 * responsive for ≥ 450px
 */
@media (min-width: 450px) {
   /* Portfolio & Blog images */
  .project-img,
  .blog-banner-box { height: auto; }
}

/**
 * responsive for ≥ 580px
 */
@media (min-width: 580px) {
  /* Custom properties */
  :root {
    --fs-1: 32px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;
  }

  /* Reused styles */
  .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 {
    margin-bottom: 30px;
  }

  .sidebar-info { gap: 25px; }

  .avatar-box { 
    border-radius: 20px;
    width: 120px;
    aspect-ratio: 1;
  }

  .info-content .name { margin-bottom: 15px; }

  .info-content .title { padding: 5px 18px; }

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

  .modal-img-wrapper {
    display: flex;
    align-items: center;
  }

  .modal-img-wrapper > img {
    display: block;
    flex-grow: 1;
    width: 35px;
  }

  /* Resume */
  .timeline-list { margin-left: 65px; }

  .timeline-item:not(:last-child)::before { left: -40px; }

  .timeline-item::after {
    height: 8px;
    width: 8px;
    left: -43px;
  }

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

  /* Project & Blog */
  .project-img, .blog-banner-box { border-radius: 16px; }

  .blog-posts-list { gap: 30px; }

  .blog-content { padding: 25px; }
}

/**
 * responsive for ≥ 768px
 */
@media (min-width: 768px) {
  /* Reused styles */
  .sidebar, article { width: 700px; }

  /* Sidebar */
  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }

  /* Navbar */
  .navbar-link { --fs-8: 15px; }

  /* 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(--accent-color); }

  /* Portfolio and blog grid */
  .project-list, .blog-posts-list { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .input-wrapper { grid-template-columns: 1fr 1fr; }

  .form-btn {
    width: max-content;
    margin-left: auto;
  }
}

/**
 * responsive for ≥ 1024px
 */
@media (min-width: 1024px) {
  /* Custom properties */
  :root {
    --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-2: 0 3px 12px rgba(0, 0, 0, 0.1);
    --shadow-3: 0 4px 16px rgba(0, 0, 0, 0.12);
  }

  /* Reused styles */
  .sidebar, article {
    width: 950px;
    box-shadow: var(--shadow-5);
  }

  /* Main */
  main { margin-bottom: 60px; }

  .main-content {
    position: relative;
    width: 950px; /* Fixed width instead of max-content */
    margin: auto;
  }

  /* Navbar - FIXED POSITIONING */
  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-radius: 0 20px;
    padding: 0 20px;
    box-shadow: none;
    z-index: 10;
  }

  .navbar-list {
    gap: 30px;
    padding: 0 20px;
    justify-content: flex-end;
  }

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

  /* Service */
  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
  }

   /* Portfolio */
  .project-list { grid-template-columns: repeat(3, 1fr); }

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

/**
 * responsive for ≥ 1250px (Desktop)
 */
@media (min-width: 1250px) {
  /* Scrollbar */
  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 styles */
  .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;
    height: 150px;
  }

  .info-content .name {
    white-space: nowrap;
    text-align: center;
  }

  .info-content .title { margin: auto; }

  .info_more-btn { display: none; }

  .sidebar-info_more {
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
    pointer-events: all;
  }

  .contacts-list { grid-template-columns: 1fr; }

  .contact-info :is(.contact-link) {
    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; }
}

/* Always make sidebar content visible */
.sidebar-info_more {
  display: block !important;
}

/* Hide the more button on all screen sizes */
.info_more-btn {
  display: none !important;
}

/* Mobile-optimized navbar */
@media (max-width: 1024px) {
  /* Fixed navbar at top */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--eerie-black-2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    padding: 0;
    border-radius: 0;
    box-shadow: var(--shadow-2);
  }

  .navbar-list {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
  }

  .navbar-link {
    color: var(--light-gray);
    font-size: var(--fs-6);
    padding: 8px;
    white-space: nowrap;
  }

  /* Main content padding adjustments */
  body {
    padding-top: 60px;
  }
  
  main {
    margin-top: 15px; /* Add consistent top margin for main content */
  }
  
  /* Theme button consistent positioning */
  .theme-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    z-index: 101;
  }
  
  /* Hide the sidebar buttons container on mobile */
  .sidebar-buttons {
    display: none;
  }
  
  /* Ensure sidebar content is always visible */
  .sidebar {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  .sidebar-info_more {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }
}

/* Adjust navbar and theme button for mobile */
@media (max-width: 478px) {
  .navbar-list {
    padding: 0 35px 0 5px; /* Add right padding to avoid theme button overlap */
    gap: 5px; /* Reduce gap between nav items */
  }

  .navbar-link {
    font-size: var(--fs-8);
    padding: 5px 2px;
  }

  .theme-btn {
    top: 12px;
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

/* Very small devices */
@media (max-width: 359px) {
  .navbar-list {
    padding: 0 32px 0 2px; /* Further adjust padding */
    gap: 2px; /* Minimal gap */
  }

  .navbar-link {
    font-size: 9px;
    padding: 4px 1px;
  }

  .theme-btn {
    width: 28px;
    height: 28px;
    font-size: 13px;
    top: 11px;
    right: 3px;
  }
}

/* Light theme text adjustments */
[data-theme="light"] .h2,
[data-theme="light"] .h3,
[data-theme="light"] .h4,
[data-theme="light"] .h5 {
  color: var(--white-1);
}

[data-theme="light"] .navbar {
  background: hsla(0, 0%, 95%, 0.9);
}

/* Improved content spacing */
article {
  padding-bottom: 30px;
}

.about,
.resume,
.portfolio,
.blog {
  padding-bottom: 20px;
}

.theme-btn {
  width: 30px;
  height: 30px;
  font-size: 14px;
  top: 10px;
  right: 5px;
}

/* Show sidebar by default */
.sidebar {
  display: block;
  margin-bottom: 15px;
  overflow: visible;
  transition: var(--transition-2);
}

/* Show sidebar only when About or Resume page is active */
article[data-page="about"].active ~ .sidebar,
article[data-page="resume"].active ~ .sidebar {
  display: block;
}

/* Adjust main content width when sidebar is hidden */
.main-content {
  width: 100%;
  max-width: fit-content;
  margin: auto;
  transition: max-width 0.3s ease;
}

/* Special width for pages without sidebar */
article[data-page="portfolio"].active ~ .main-content,
article[data-page="blog"].active ~ .main-content {
  max-width: 1200px; /* Increased from 1000px */
}

/* Responsive adjustments for sidebar visibility */
@media (min-width: 1250px) {
  /* Main */
  main {
    max-width: 1400px; /* Increased from 1200px */
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
  }

  /* Different layout when sidebar is visible */
  article[data-page="about"].active ~ .main-content,
  article[data-page="resume"].active ~ .main-content {
    width: 75%;
    margin: 0;
  }

  /* Full width layout for pages without sidebar */
  article[data-page="portfolio"].active ~ .main-content,
  article[data-page="blog"].active ~ .main-content {
    width: 100%;
    max-width: 1300px; /* Larger width for desktop */
  }

  /* Sidebar */
  .sidebar {
    position: sticky;
    top: 60px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 40px;
    z-index: 1;
  }
}

/* Update the Resume header styles */
.resume header {
  margin-bottom: 30px;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.download-btn {
  position: relative;
  background: var(--border-gradient-onyx);
  color: var(--accent-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 14px;
  font-size: var(--fs-6);
  text-transform: capitalize;
  box-shadow: var(--shadow-1);
  z-index: 1;
  transition: var(--transition-1);
  width: fit-content;
}

/* Rest of the download button styles remain the same */
.download-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.download-btn ion-icon {
  font-size: 18px;
}

.download-btn:hover {
  background: var(--bg-gradient-sage-1);
}

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

/* Mobile adjustments are simpler now */
@media (max-width: 580px) {
  .download-btn {
    font-size: var(--fs-7);
    padding: 8px 15px;
  }
}

/* Tech Stack Styles */
.tech-stack {
  padding: 0 10px;
}

.tech-stack-title {
  color: var(--white-1);
  font-size: var(--fs-3);
  margin-bottom: 10px;
  margin-top: 5px;
  text-align: center;
  white-space: nowrap;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

/* Increase icon size */
.tech-icon-box {
  position: relative;
  background: rgb(161, 160, 160); /* Set background to white */
  width: 70px; /* Increased width */
  height: 70px; /* Increased height */
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  color: var(--accent-color);
  box-shadow: var(--shadow-1);
  z-index: 1;
  transition: 0.25s ease;
}

.tech-icon-box img {
  width: 50px; /* Increased image size */
  height: 50px; /* Increased image size */
  transition: 0.25s ease;
}

/* Multi-column layout for smaller screens (when sidebar moves to top) */
@media (max-width: 1249px) {
  .tech-list {
    flex-direction: row; /* Multi-column layout */
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Single column layout for larger screens (when sidebar is on the side) */
@media (min-width: 1250px) {
  .tech-list {
    flex-direction: column; /* Stack items in a single column */
    align-items: center;
    flex-wrap: nowrap;
  }
}

.tech-item {
  position: relative;
}

.tech-icon-box::after {
  content: attr(title);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--eerie-black-2);
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  padding: 3px 10px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.tech-icon-box:hover::after {
  opacity: 1;
}

@media (max-width: 580px) {
  .tech-list {
    gap: 10px;
  }
  
  .tech-icon-box {
    width: 50px;
    height: 50px;
  }
  
  .tech-icon-box img {
    width: 25px;
    height: 25px;
  }
}

/* Default state - hide both sidebars */
.sidebar[data-sidebar="about"],
.sidebar[data-sidebar="resume"] {
  display: none;
}

/* Show About sidebar only on About page */
article[data-page="about"].active ~ .sidebar[data-sidebar="about"] {
  display: block;
}

/* Show Resume sidebar only on Resume page */
article[data-page="resume"].active ~ .sidebar[data-sidebar="resume"] {
  display: block;
}

.modal-text ul {
  color: var(--light-gray);
}

.modal-text a {
  background-color: var(--jet);
}

/* Modal GitHub button styling */
.modal-github-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--eerie-black-1);
  color: var(--white-1);
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.25s ease;
  opacity: 0.95;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-left: 15px;
  border: 1px solid var(--jet);
}

.modal-github-btn:hover {
  background: var(--vegas-gold);
  color: var(--eerie-black-1);
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-github-btn ion-icon {
  --ionicon-stroke-width: 40px;
  margin-right: 8px;
}

/* Modal header styling */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title-area {
  flex: 1;
}

/* Make sure the GitHub button is visible in both light and dark themes */
[data-theme="light"] .modal-github-btn {
  background: var(--eerie-black-2);
  color: var(--white-1);
}

[data-theme="light"] .modal-github-btn:hover {
  background: var(--vegas-gold);
  color: var(--eerie-black-1);
}

/* Style for hidden project details */
.project-details {
  display: none; /* Hidden by default */
}

/* Hide navbar when modal is open */
.modal-container.active ~ .navbar {
  display: none;
}

/* Adjust modal positioning for mobile */
@media (max-width: 768px) {
  .modal-container {
    padding-top: 70px; /* Add padding to account for navbar height */
  }
  
  .project-modal {
    max-height: calc(100vh - 80px); /* Adjust max height to account for padding */
  }

}

.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.modal-github-btn,
.modal-website-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--border-gradient-onyx);
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--accent-color);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
  position: relative;
  z-index: 1;
}

.modal-github-btn::before,
.modal-website-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.modal-github-btn:hover,
.modal-website-btn:hover {
  background: var(--bg-gradient-sage-2);
}

.modal-github-btn:hover::before,
.modal-website-btn:hover::before {
  background: var(--bg-gradient-sage-1);
}

.modal-github-btn ion-icon,
.modal-website-btn ion-icon {
  font-size: 16px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.modal-title-area {
  flex-grow: 1;
}

[data-theme="light"] .modal-github-btn,
[data-theme="light"] .modal-website-btn {
  color: var(--accent-color);
}

[data-theme="light"] .modal-github-btn:hover,
[data-theme="light"] .modal-website-btn:hover {
  background: var(--accent-color);
  color: var(--white-1);
}

@media (max-width: 768px) {
  .modal-buttons {
    flex-direction: column;
    gap: 10px;
  }
}