@charset "UTF-8";

:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Mulish", sans-serif;
  --nav-font: "Raleway", sans-serif;
  --background-color: #141414;
  --default-color: #d9d9d9;
  --heading-color: #ffffff;
  --accent-color: #3863f1;
  --surface-color: #1c1c1c;
  --contrast-color: #ffffff;
  --nav-color: #d9d9d9;
  --nav-hover-color: #3863f1;
  --nav-mobile-background-color: #2e2e2e;
  --nav-dropdown-background-color: #2e2e2e;
  --nav-dropdown-color: #d9d9d9;
  --nav-dropdown-hover-color: #3863f1;
  scroll-behavior: smooth;
}

.light-background {
  --background-color: rgba(41, 41, 41, 0.8);
  --surface-color: #484848;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--default-color) !important;
  text-decoration: none !important;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.header {
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 400;
  color: var(--heading-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .navMenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header {
  --background-color: rgba(20, 20, 20, 0.8);
}

.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
}

.index-page.scrolled .header {
  --background-color: rgba(20, 20, 20, 0.8);
}

@media (min-width: 1200px) {
  .navMenu {
    padding: 0;
  }

  .navMenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navMenu li {
    position: relative;
  }

  .navMenu a,
  .navMenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navMenu a i,
  .navMenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navMenu li:last-child a {
    padding-right: 0;
  }

  .navMenu li:hover>a,
  .navMenu .active,
  .navMenu .active:focus {
    color: var(--nav-hover-color);
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navMenu {
    padding: 0;
    z-index: 9997;
  }

  .navMenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navMenu a,
  .navMenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navMenu a i,
  .navMenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navMenu a i:hover,
  .navMenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navMenu a:hover,
  .navMenu .active,
  .navMenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navMenu .active i,
  .navMenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navMenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navMenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navMenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navMenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navMenu>ul {
    display: block;
  }
}

.custom-padding-top {
  padding-top: 90px !important;
}

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

.section-title {
  text-align: center;
  position: relative;
}

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title .subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-color);
}

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  overflow: hidden;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 85%) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about .profile-card {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: sticky;
}

.about .profile-card .profile-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .profile-card .profile-header .profile-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 50%));
}

.about .profile-card .profile-header .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--surface-color);
}

.about .profile-card .profile-header .profile-avatar .status-indicator {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: #10b981;
  border: 4px solid var(--surface-color);
  border-radius: 50%;
  animation: pulse-opacity 2s infinite;
}

.about .profile-card .profile-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.about .profile-card .profile-header .role {
  display: inline-block;
  font-size: 15px;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 16px;
}

.about .profile-card .profile-header .rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
}

.about .profile-card .profile-header .rating i {
  color: #fbbf24;
  font-size: 16px;
}

.about .profile-card .profile-header .rating span {
  margin-left: 8px;
  font-weight: 600;
  color: var(--default-color);
  font-size: 15px;
}

.about .profile-card .profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .profile-card .profile-stats .stat-item {
  text-align: center;
}

.about .profile-card .profile-stats .stat-item h4 {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.about .profile-card .profile-stats .stat-item p {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.about .profile-card .profile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .profile-card .profile-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about .profile-card .profile-actions a.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .profile-card .profile-actions a.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about .profile-card .profile-actions a.btn-secondary {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.about .profile-card .profile-actions a.btn-secondary:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.about .profile-card .profile-actions a i {
  font-size: 18px;
}

.about .profile-card .profile-actions .dropdown-menu {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.about .profile-card .profile-actions .dropdown-menu .dropdown-item {
  color: var(--default-color);
  font-size: 14px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.about .profile-card .profile-actions .dropdown-menu .dropdown-item:hover {
  border: none;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.about .profile-card .social-connect {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 30px;
}

.about .profile-card .social-connect a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  border-radius: 12px;
  color: var(--default-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.about .profile-card .social-connect a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

/* Profile header compact icons */
.about .profile-card .header-icons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.about .profile-card .header-icons svg {
  width: 25px;
  height: 25x;
  fill: var(--accent-color);
  transition: all 0.3s ease;
}

.about .content-wrapper .bio-section {
  margin-bottom: 50px;
}

.about .content-wrapper .bio-section .section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.about .content-wrapper .bio-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 24px;
  line-height: 1.2;
}

.about .content-wrapper .bio-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 16px;
}

.about .content-wrapper .bio-section p:last-child {
  margin-bottom: 0;
}

.about .content-wrapper .details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.about .content-wrapper .details-grid .detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.about .content-wrapper .details-grid .detail-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about .content-wrapper .details-grid .detail-item i {
  font-size: 28px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.about .content-wrapper .details-grid .detail-item .detail-content span {
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.about .content-wrapper .details-grid .detail-item .detail-content strong {
  display: block;
  font-size: 16px;
  color: var(--heading-color);
  font-weight: 600;
}

@keyframes pulse-opacity {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

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

  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 992px) {
  .about .profile-card {
    position: static;
    margin-bottom: 40px;
  }

  .about .content-wrapper .bio-section h2 {
    font-size: 30px;
  }

  .about .content-wrapper .details-grid {
    grid-template-columns: 1fr;
  }

  .about .content-wrapper .skills-showcase h3 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .about .profile-card {
    padding: 30px 20px;
  }

  .about .profile-card .profile-header .profile-avatar {
    width: 120px;
    height: 120px;
  }

  .about .profile-card .profile-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .about .profile-card .profile-stats .stat-item h4 {
    font-size: 24px;
  }

  .about .content-wrapper .bio-section h2 {
    font-size: 26px;
  }

  .about .content-wrapper .details-grid .detail-item {
    padding: 18px;
  }

  .about .content-wrapper .details-grid .detail-item i {
    font-size: 24px;
  }
}

.contact .info-item {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  transition: 0.3s;
}

.contact .info-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .info-item .icon-wrapper {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: 0.3s;
}

.contact .info-item .icon-wrapper i {
  color: var(--accent-color);
  font-size: 24px;
  transition: 0.3s;
}

.contact .info-item:hover .icon-wrapper {
  background: var(--accent-color);
}

.contact .info-item:hover .icon-wrapper i {
  color: var(--contrast-color);
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.contact .info-item p {
  margin: 0;
  font-size: 14px;
  color: var(--default-color);
}

.contact .email-form {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .email-form .form-control {
  color: var(--default-color);
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 12px 15px;
  font-size: 14px;
  border-radius: 5px;
  transition: 0.3s;
}

.contact .email-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

.contact .email-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .email-form textarea.form-control {
  min-height: 120px;
}

.contact .email-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact .email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact .info-item {
    padding: 20px;
  }

  .contact .info-item .icon-wrapper {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }

  .contact .info-item .icon-wrapper i {
    font-size: 20px;
  }

  .contact .info-item h3 {
    font-size: 16px;
  }

  .contact .email-form {
    padding: 30px 20px;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Utility: visually-hidden for accessible labels */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skills section */
.skills .section-title .subtitle {
  display: block;
  margin-bottom: 1rem;
}

.skills-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.skill-tag {
  display: inline-block;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  color: var(--default-color);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-item {
  background: var(--surface-color);
  padding: 16px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-percent {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 13px;
  font-weight: 600;
}

.skill-bar {
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 40%));
  width: 0;
  transition: width 700ms ease-in-out;
}

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

/* Skill icons sizing */
.skill-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.skill-icon-sm {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.skill-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

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

.project-card-header .project-icon {
  font-size: 36px;
  color: var(--accent-color);
}

.project-card-header .project-links {
  display: flex;
  gap: 12px;
}

.project-card-header .project-links a {
  font-size: 20px;
  color: var(--default-color) !important;
  transition: color 0.2s ease;
}

.project-card-header .project-links a:hover {
  color: var(--accent-color) !important;
}

.project-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.project-card p {
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.project-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Language colour dot */
.lang-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Loading state */
.projects-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
}

.projects-loading .spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error state */
.projects-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #e57373;
  font-size: 15px;
}

.projects-error a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Empty state */
.projects-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 24px 20px;
  }
}