/* Base Styles & Variables */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --text-color: #2d3436;
    --text-light: #636e72;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #1e272e;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: "Poppins", sans-serif;
    --font-secondary: "Space Grotesk", sans-serif;
  }
  
  /* Reset & Global Styles */
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
  }
  
  body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  section {
    padding: 10rem 0;
    position: relative;
  }
  
  .container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  /* Custom Cursor */
  .cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    mix-blend-mode: difference;
  }
  
  .cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
    opacity: 0.5;
  }
  
  /* Button Styles */
  .btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    font-family: var(--font-primary);
    font-size: 1.6rem;
  }
  
  .primary-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
  }
  
  .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: #5d4de6;
  }
  
  .secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  /* Header & Navigation */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-normal);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 2.4rem;
  }
  
  .logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-left: 5px;
  }
  
  .nav-links {
    display: flex;
    gap: 3rem;
  }
  
  .nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
  }
  
  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }
  
  .bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: all var(--transition-normal);
  }
  
  /* Hero Section */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
  }
  
  .hero-content {
    flex: 1;
    max-width: 60rem;
    z-index: 2;
  }
  
  .hero h1 {
    font-size: 7.2rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    position: relative;
  }
  
  .glitch {
    position: relative;
    color: var(--text-color);
  }
  
  .glitch::before,
  .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip: rect(0, 0, 0, 0);
  }
  
  .glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-color);
    animation: glitch-animation 2s infinite linear alternate-reverse;
  }
  
  .glitch::after {
    left: -2px;
    text-shadow: 1px 0 var(--primary-color);
    animation: glitch-animation 3s infinite linear alternate-reverse;
  }
  
  @keyframes glitch-animation {
    0% {
      clip: rect(44px, 9999px, 56px, 0);
    }
    5% {
      clip: rect(74px, 9999px, 92px, 0);
    }
    10% {
      clip: rect(98px, 9999px, 94px, 0);
    }
    15% {
      clip: rect(16px, 9999px, 76px, 0);
    }
    20% {
      clip: rect(59px, 9999px, 93px, 0);
    }
    25% {
      clip: rect(1px, 9999px, 53px, 0);
    }
    30% {
      clip: rect(54px, 9999px, 44px, 0);
    }
    35% {
      clip: rect(89px, 9999px, 66px, 0);
    }
    40% {
      clip: rect(26px, 9999px, 32px, 0);
    }
    45% {
      clip: rect(25px, 9999px, 15px, 0);
    }
    50% {
      clip: rect(46px, 9999px, 41px, 0);
    }
    55% {
      clip: rect(87px, 9999px, 35px, 0);
    }
    60% {
      clip: rect(10px, 9999px, 93px, 0);
    }
    65% {
      clip: rect(30px, 9999px, 88px, 0);
    }
    70% {
      clip: rect(80px, 9999px, 71px, 0);
    }
    75% {
      clip: rect(70px, 9999px, 11px, 0);
    }
    80% {
      clip: rect(33px, 9999px, 84px, 0);
    }
    85% {
      clip: rect(72px, 9999px, 97px, 0);
    }
    90% {
      clip: rect(20px, 9999px, 31px, 0);
    }
    95% {
      clip: rect(58px, 9999px, 79px, 0);
    }
    100% {
      clip: rect(40px, 9999px, 18px, 0);
    }
  }
  
  .hero-subtitle {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
  }
  
  .hero-cta {
    display: flex;
    gap: 2rem;
  }
  
  .hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
  }
  
  .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
  }
  
  .circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(162, 155, 254, 0.4));
    top: -50px;
    right: 50px;
    animation: float 8s ease-in-out infinite;
  }
  
  .circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(253, 121, 168, 0.4), rgba(255, 159, 243, 0.4));
    bottom: 50px;
    left: 0;
    animation: float 6s ease-in-out infinite reverse;
  }
  
  .circle-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 206, 201, 0.4), rgba(72, 219, 251, 0.4));
    top: 100px;
    left: 100px;
    animation: float 10s ease-in-out infinite;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-20px) rotate(5deg);
    }
    100% {
      transform: translateY(0) rotate(0deg);
    }
  }
  
  .hero-image-container {
    position: relative;
    z-index: 2;
    animation: levitate 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  }
  
  @keyframes levitate {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }
  
  .scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
  }
  
  .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    position: relative;
  }
  
  .wheel {
    width: 6px;
    height: 6px;
    background-color: var(--text-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
  }
  
  @keyframes scroll {
    0% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
    }
  }
  
  .arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  .arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
    transform: rotate(45deg);
    animation: arrow 2s infinite;
  }
  
  .arrow span:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .arrow span:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes arrow {
    0% {
      opacity: 0;
      transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: rotate(45deg) translate(5px, 5px);
    }
  }
  
  /* Projects Section */
  .projects {
    background-color: var(--bg-light);
    position: relative;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 6rem;
  }
  
  .section-title {
    font-size: 4.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
  }
  
  .section-subtitle {
    font-size: 3rem;
    color: var(--text-light);
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    padding: 0 5%;
  }
  
  .project-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }
  
  .project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.05);
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
  }
  
  .project-card:hover .project-overlay {
    opacity: 1;
  }
  
  .project-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 1.2rem;
    align-self: flex-start;
  }
  
  .project-link {
    background-color: white;
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    align-self: flex-end;
    transition: background-color var(--transition-fast);
  }
  
  .project-link:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .project-info {
    padding: 2rem;
  }
  
  .project-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .project-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
  }
  
  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .project-tech span {
    background-color: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 1.2rem;
    font-weight: 500;
  }
  
  /* About Section */
  .about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    gap: 5rem;
  }
  
  .about-content {
    flex: 1;
  }
  
  .about-text {
    margin-bottom: 4rem;
  }
  
  .about-text p {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
  }
  
  .about-stats {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .stat {
    text-align: center;
  }
  
  .stat-number {
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 1rem;
  }
  
  .stat-label {
    font-size: 1.6rem;
    color: var(--text-light);
  }
  
  .about-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
  }
  
  .image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  
  .image-container::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
  }
  
  .experience-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: var(--shadow-md);
  }
  
  .years {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1;
  }
  
  .text {
    font-size: 1.2rem;
    text-align: center;
  }
  
  /* Skills Section */
  .skills {
    background-color: var(--bg-light);
    padding: 10rem 5%;
  }
  
  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
  }
  
  .skill-category {
    background-color: var(--bg-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
  }
  
  .category-title {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
  }
  
  .category-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
  }
  
  .skills-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .skill-item {
    width: 100%;
  }
  
  .skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  
  .skill-name {
    font-weight: 500;
  }
  
  .skill-percentage {
    color: var(--primary-color);
    font-weight: 600;
  }
  
  .skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
  }
  
  .skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-in-out;
  }
  
  /* Contact Section */
  .contact {
    padding: 10rem 5%;
  }
  
  .contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .info-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-shrink: 0;
  }
  
  .info-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .info-content p {
    color: var(--text-light);
  }
  
  .contact-form {
    background-color: var(--bg-light);
    padding: 4rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
  }
  
  .form-group {
    margin-bottom: 2.5rem;
    position: relative;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    background-color: white;
    transition: all var(--transition-normal);
  }
  
  .form-group textarea {
    min-height: 150px;
    resize: vertical;
  }
  
  .form-group label {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    transition: all var(--transition-normal);
  }
  
  .form-group textarea + label {
    top: 2.5rem;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
  }
  
  .form-group input:focus + label,
  .form-group textarea:focus + label,
  .form-group input:not(:placeholder-shown) + label,
  .form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    left: 1.5rem;
    font-size: 1.2rem;
    padding: 0 0.5rem;
    background-color: white;
    color: var(--primary-color);
  }
  
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: transparent;
  }
  
  /* Footer */
  footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 5rem 5% 2rem;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
  }
  
  .footer-social {
    display: flex;
    gap: 2rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-normal);
  }
  
  .social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    html {
      font-size: 58%;
    }
  
    .hero h1 {
      font-size: 6rem;
    }
  
    .about {
      flex-direction: column;
    }
  
    .about-image {
      margin-top: 5rem;
    }
  }
  
  @media (max-width: 992px) {
    html {
      font-size: 56%;
    }
  
    .hero {
      flex-direction: column;
      text-align: center;
      padding-top: 12rem;
    }
  
    .hero-content {
      margin-bottom: 5rem;
    }
  
    .hero-cta {
      justify-content: center;
    }
  
    .contact-container {
      grid-template-columns: 1fr;
    }
  
    .contact-info {
      order: 2;
    }
  
    .contact-form {
      order: 1;
      margin-bottom: 5rem;
    }
  }
  
  @media (max-width: 768px) {
    html {
      font-size: 54%;
    }
  
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      background-color: var(--bg-color);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right var(--transition-normal);
      box-shadow: var(--shadow-lg);
      z-index: 1001;
    }
  
    .nav-links.active {
      right: 0;
    }
  
    .menu-toggle {
      display: flex;
      z-index: 1002;
    }
  
    .menu-toggle.active .bar:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
  
    .menu-toggle.active .bar:nth-child(2) {
      opacity: 0;
    }
  
    .menu-toggle.active .bar:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }
  
    .hero h1 {
      font-size: 5rem;
    }
  
    .about-stats {
      flex-direction: column;
      gap: 3rem;
    }
  
    .skills-container {
      grid-template-columns: 1fr;
    }
  
    .footer-content {
      flex-direction: column;
      gap: 3rem;
    }
  }
  
  @media (max-width: 576px) {
    html {
      font-size: 52%;
    }
  
    .hero h1 {
      font-size: 4.2rem;
    }
  
    .section-title {
      font-size: 3.6rem;
    }
  
    .projects-grid {
      grid-template-columns: 1fr;
    }
  
    .contact-form {
      padding: 3rem 2rem;
    }
  }
  
  /* Project Categories */
.project-categories {
  width: 100%;
  margin: 40px 0 20px;
  padding: 0 15px;
}

.category-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding-left: 15px;
  margin-bottom: 20px;
}

.category-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .project-categories {
      margin: 30px 0 15px;
  }
  
  .category-heading {
      font-size: 1.5rem;
  }
}

/* Project category tabs */
.project-categories-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.category-tab {
    padding: 0.9rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 2rem;
    background: transparent;
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background-color: rgba(var(--accent-rgb), 0.1);
}

.category-tab.active {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Animation for filtered items */
.project-card {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-card.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show More Button Styles */
.show-more-btn {
  display: block;
  margin: 4rem auto 2rem;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.show-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background-color: #e84393;
}

.show-more-btn::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.show-more-btn:hover::after {
  transform: scale(6);
  opacity: 0.3;
}

/* Fade in animation for newly shown projects */
@keyframes projectFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card.fade-in {
  animation: projectFadeIn 0.5s forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-categories-tabs {
        gap: 0.3rem;
    }
    
    .category-tab {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.3rem;
    }
}