: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(0, 100%, 65%),
      hsl(0, 70%, 40%));

  --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(0, 100%, 65%);
  --vegas-gold: hsl(0, 100%, 65%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);
  --ff-poppins: 'Poppins', sans-serif;
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --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-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(--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);
}



/*-----------------------------------*\
  #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(--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;
  height: 5px;
}

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

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

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

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

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



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

main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}



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

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

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

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



/*-----------------------------------*\
  #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);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

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

.navbar-link.active {
  color: #ff3535;
}



/*-----------------------------------*\
  #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;
}



/*-----------------------------------*\
  #SKILLS
\*-----------------------------------*/

.skills {
  margin-bottom: 35px;
}

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

.skills-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.skills-category {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.category-title {
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  margin-bottom: 20px;
  text-align: center;
}

.skills-list {
  display: block;
  width: 100%;
}

.skills-item {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 12px 15px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  z-index: 1;
  margin-bottom: 10px;
  width: 100%;
  display: block;
}

.skills-item:last-child {
  margin-bottom: 0;
}

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

.title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.title-wrapper h5 {
  color: var(--white-2);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
}

.skill-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
  flex-shrink: 0;
}



/*-----------------------------------*\
  #PROJECTS
\*-----------------------------------*/

.projects {
  margin-bottom: 35px;
}

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

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

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

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

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

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

.project-content-box {
  text-align: center;
}

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

.project-item-text {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-3);
  line-height: 1.6;
}

.project-links {
  margin-top: 15px;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  transition: color 0.25s ease;
}

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

.github-link ion-icon {
  font-size: 18px;
}



/*-----------------------------------*\
  #HACKATHONS
\*-----------------------------------*/

.hackathons {
  margin-bottom: 35px;
}

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

.hackathons-intro {
  margin-bottom: 25px;
}

.hackathons-intro p {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  line-height: 1.6;
}

.hackathons-grid {
  display: grid;
  gap: 20px;
}

.hackathon-item {
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.25s ease;
}

.hackathon-item:hover {
  transform: translateY(-2px);
}

.hackathon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hackathon-title {
  color: var(--light-gray);
  font-weight: var(--fw-500);
}

.hackathon-description {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  line-height: 1.5;
}



/*-----------------------------------*\
  #CERTIFICATIONS
\*-----------------------------------*/

.certifications {
  margin-bottom: 35px;
}

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

.certifications-intro {
  margin-bottom: 25px;
}

.certifications-intro p {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  line-height: 1.6;
}

.certifications-grid {
  display: grid;
  gap: 20px;
}

.certification-item {
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.25s ease;
}

.certification-item:hover {
  transform: translateY(-2px);
}

.certification-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 15px;
}

.certification-title {
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  margin: 0;
}

.certification-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.certification-issuer {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.certification-date {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
}

.certification-description {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  line-height: 1.5;
  margin-bottom: 15px;
}

.certification-actions {
  display: flex;
  justify-content: flex-end;
}

.view-cert-btn {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: all var(--transition-1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-cert-btn:hover {
  background: #ffb84d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

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



/*-----------------------------------*\
  #CERTIFICATE MODAL
\*-----------------------------------*/

.cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cert-modal.active {
  opacity: 1;
  visibility: visible;
}

.cert-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.cert-modal-content {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 16px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  position: relative;
  z-index: 1001;
  box-shadow: var(--shadow-5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cert-modal.active .cert-modal-content {
  transform: scale(1);
}

.cert-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid var(--jet);
}

.cert-modal-header h3 {
  color: var(--white-2);
  font-size: var(--fs-4);
  margin: 0;
}

.cert-modal-close {
  background: none;
  border: none;
  color: var(--light-gray);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all var(--transition-1);
}

.cert-modal-close:hover {
  background: var(--jet);
  color: var(--white-2);
}

.cert-modal-body {
  padding: 25px;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
}

.cert-preview {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;
  background: var(--eerie-black-1);
}

.cert-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  text-align: center;
  color: var(--light-gray-70);
  background: var(--eerie-black-1);
  border-radius: 8px;
  padding: 20px;
}

.cert-fallback ion-icon {
  font-size: 64px;
  color: var(--orange-yellow-crayola);
  margin-bottom: 20px;
}

.cert-fallback h4 {
  color: var(--white-2);
  font-size: var(--fs-4);
  margin-bottom: 10px;
}

.cert-fallback p {
  font-size: var(--fs-6);
  margin-bottom: 8px;
}



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

.portfolio-content {
  margin-bottom: 30px;
}

.portfolio-intro {
  margin-bottom: 30px;
}

.portfolio-intro p {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-3);
  line-height: 1.6;
}

.resume-viewer {
  background: var(--border-gradient-onyx);
  padding: 25px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

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

.viewer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px;
  background: var(--eerie-black-1);
  border-radius: 8px;
  border: 1px solid var(--jet);
}

.viewer-info h4 {
  color: var(--white-2);
  font-size: var(--fs-5);
  margin-bottom: 5px;
}

.viewer-info p {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  margin: 0;
}

.download-controls {
  display: flex;
  gap: 10px;
}

.download-btn {
  background: var(--text-gradient-yellow);
  color: var(--smoky-black);
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  cursor: pointer;
  transition: all var(--transition-1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

.resume-container {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--eerie-black-1);
  border: 1px solid var(--jet);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-preview {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: none;
  background: var(--eerie-black-1);
}

.preview-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: var(--light-gray-70);
}

.preview-placeholder ion-icon {
  font-size: 64px;
  color: var(--orange-yellow-crayola);
  margin-bottom: 20px;
}

.preview-placeholder h3 {
  color: var(--white-2);
  font-size: var(--fs-4);
  margin-bottom: 10px;
}

.preview-placeholder p {
  font-size: var(--fs-6);
  margin-bottom: 25px;
}

.preview-placeholder a {
  color: var(--orange-yellow-crayola);
  text-decoration: none;
}

.preview-placeholder a:hover {
  text-decoration: underline;
}

.preview-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--eerie-black-1);
}

.preview-actions {
  margin-top: 20px;
}

.preview-btn {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  cursor: pointer;
  transition: all var(--transition-1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.preview-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

/*-----------------------------------*\
  #FILE INFO DISPLAY
\*-----------------------------------*/

.file-info-display {
  background: var(--border-gradient-onyx);
  border-radius: 14px;
  padding: 25px;
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

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

.file-info-display {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  width: 100%;
  max-width: 800px;
}

.file-icon-large {
  width: 80px;
  height: 80px;
  background: var(--border-gradient-onyx);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

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

.file-icon-large ion-icon {
  font-size: 40px;
  color: var(--orange-yellow-crayola);
}

.file-details {
  text-align: left;
}

.file-details h3 {
  color: var(--white-2);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  margin-bottom: 15px;
}

.file-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--eerie-black-1);
  color: var(--light-gray-70);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: var(--fs-7);
  border: 1px solid var(--jet);
}

.meta-item ion-icon {
  font-size: 16px;
  color: var(--orange-yellow-crayola);
}

.file-description {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.file-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.action-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: all var(--transition-1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.action-btn.primary {
  background: var(--text-gradient-yellow);
  color: var(--smoky-black);
}

.action-btn.secondary {
  background: var(--jet);
  color: var(--white-2);
  border: 1px solid var(--jet);
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

.action-btn.secondary:hover {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  border-color: var(--orange-yellow-crayola);
}



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

/* responsive larger than 450px screen */

@media (min-width: 450px) {

  .clients-item {
    min-width: calc(33.33% - 10px);
  }

}

/* responsive larger than 580px screen */

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

  .sidebar {
    max-height: 180px;
    margin-bottom: 0px;
  }

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

  .skills-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .projects-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .project-icon-box {
    margin-bottom: 0;
  }

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

  .hackathons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .certification-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .certification-meta {
    align-items: flex-start;
  }

  .cert-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .cert-modal-body {
    padding: 20px;
  }

  .cert-preview {
    height: 500px;
  }

  .file-info-display {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .file-details {
    text-align: center;
  }

  .file-actions {
    align-items: center;
  }

}

/* responsive larger than 768px screen */

@media (min-width: 768px) {

  .sidebar,
  article {
    width: 7800px;
  }

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

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

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

  .skills-container {
    flex-direction: column;
    align-items: center;
  }

  .skills-category {
    width: 100%;
    max-width: none;
  }

}

/* responsive larger than 1024px screen */

@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);
  }

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

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

  .hackathons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* responsive larger than 1250px screen */

@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: flex-start;
    gap: 25px;
  }

  .main-content {
    min-width: 75%;
    width: 75%;
    margin: 0;
  }

  .sidebar {
    position: sticky;
    top: 60px;
    max-height: max-content;
    height: auto;
    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;
  }

}

/*-----------------------------------*\
  #CODEFORCES
\*-----------------------------------*/

.codeforces-index {
  margin-top: 20px;
}

.codeforces-intro {
  margin-bottom: 30px;
}

.codeforces-intro p {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  line-height: 1.6;
}

.codeforces-search-container {
  margin-bottom: 25px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: 12px;
  padding: 12px 20px;
  transition: all var(--transition-1);
}

.search-box:focus-within {
  border-color: var(--orange-yellow-crayola);
  box-shadow: 0 0 0 2px rgba(255, 53, 53, 0.1);
}

.search-box ion-icon {
  color: var(--light-gray-70);
  font-size: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white-2);
  font-size: var(--fs-6);
  font-family: var(--ff-poppins);
  outline: none;
}

.search-input::placeholder {
  color: var(--light-gray-70);
}

.codeforces-list-container {
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  z-index: 1;
  max-height: 600px;
  overflow-y: auto;
}

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

.codeforces-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.codeforces-item {
  background: var(--eerie-black-1);
  border: 1px solid var(--jet);
  border-radius: 8px;
  padding: 15px 20px;
  color: var(--light-gray);
  font-size: var(--fs-6);
  cursor: pointer;
  transition: all var(--transition-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

.codeforces-item:last-child {
  margin-bottom: 0;
}

.codeforces-item:hover {
  background: var(--onyx);
  border-color: var(--orange-yellow-crayola);
  color: var(--white-2);
  transform: translateX(4px);
}

.codeforces-item-name {
  flex: 1;
  font-weight: var(--fw-500);
}

.codeforces-item-lang {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  background: var(--jet);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: var(--fw-500);
}

.codeforces-view {
  margin-top: 20px;
}

.codeforces-view-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.codeforces-view-title {
  color: var(--white-2);
  font-size: var(--fs-2);
  font-weight: var(--fw-600);
  margin: 0;
}

.codeforces-container {
  margin-top: 20px;
}

.codeforces-content-main {
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: 14px;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.code-display-wrapper {
  width: 100%;
}

.code-display-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--jet);
  background: var(--eerie-black-1);
}

.code-language {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.copy-code-btn-main {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  cursor: pointer;
  transition: all var(--transition-1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-code-btn-main:hover {
  background: #ffb84d;
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.copy-code-btn-main.copied {
  background: #4caf50;
  color: var(--white-2);
}

.copy-code-btn-main ion-icon {
  font-size: 16px;
}

.code-display-main {
  padding: 25px;
  overflow-x: auto;
  background: var(--eerie-black-1);
}

.code-display-main pre {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  overflow-x: auto;
}

.code-display-main code {
  color: var(--light-gray);
  font-family: 'Courier New', monospace;
  font-size: var(--fs-7);
  line-height: 1.8;
  white-space: pre;
  display: block;
}

@media (min-width: 580px) {
  .codeforces-list-container {
    max-height: 700px;
  }
}

@media (min-width: 1024px) {
  .codeforces-content-main {
    max-width: 100%;
  }

  .code-display-main code {
    font-size: var(--fs-6);
  }
}

/*-----------------------------------*\
  #OPEN SOURCE
\*-----------------------------------*/

.opensource-intro {
  margin-bottom: 30px;
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
}

.opensource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.opensource-item {
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: 14px;
  padding: 25px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  position: relative;
  z-index: 1;
}

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

.opensource-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3);
  border-color: var(--orange-yellow-crayola);
}

.opensource-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.opensource-title {
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  line-height: 1.3;
  transition: var(--transition-1);
}

.opensource-title:hover {
  color: var(--orange-yellow-crayola);
}

.opensource-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.opensource-lang {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  background: var(--jet);
  padding: 4px 10px;
  border-radius: 6px;
}

.opensource-description {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.opensource-actions {
  display: flex;
  justify-content: flex-end;
}

.view-repo-btn {
  background: none;
  color: var(--orange-yellow-crayola);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  padding: 8px 0;
  transition: var(--transition-1);
  cursor: pointer;
}

.view-repo-btn:hover {
  color: var(--white-2);
  gap: 10px;
}

@media (min-width: 768px) {
  .opensource-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/*-----------------------------------*\
  #OPEN SOURCE DETAIL
\*-----------------------------------*/

.opensource-detail {
  padding-bottom: 20px;
  animation: fade 0.5s ease backwards;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--border-gradient-onyx);
  color: var(--orange-yellow-crayola);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
  transition: var(--transition-1);
}

.back-btn:hover {
  background: var(--bg-gradient-yellow-1);
  color: var(--smoky-black); 
}

.project-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.github-repo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white-2);
  font-size: var(--fs-6);
  padding: 8px 16px;
  background: var(--jet);
  border-radius: 8px;
  transition: var(--transition-1);
}

.github-repo-link:hover {
  color: var(--orange-yellow-crayola);
  background: var(--eerie-black-1);
}

.project-description {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
  margin-bottom: 30px;
}

.opensource-pr-status.merged {
  color: hsl(134, 61%, 50%);
  background: hsla(134, 61%, 50%, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

.opensource-pr-status.open {
  color: var(--orange-yellow-crayola);
  background: hsla(45, 100%, 71%, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

.opensource-github-link {
  font-size: 22px;
  color: var(--white-2);
  transition: var(--transition-1);
  display: flex;
  align-items: center;
}

.opensource-github-link:hover {
  color: var(--orange-yellow-crayola);
}

/* Update meta to align items */
.opensource-meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.opensource-pr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.opensource-pr-item {
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transition: var(--transition-1);
}

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

.opensource-pr-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--orange-yellow-crayola);
}

.opensource-pr-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  width: 100%;
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  gap: 15px;
}

.opensource-pr-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opensource-pr-status {
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  white-space: nowrap;
}

.opensource-detail .h3 {
  margin-bottom: 20px;
}