* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  body {
    background: linear-gradient(135deg,#c0c0c0, #b57edc, #9370db, #c0c0c0, #a9a9a9);
    min-height: 100vh;
    color: #f0f0f5;
    scroll-behavior: smooth;
  }

  /* HEADER & NAV */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(75, 0, 130, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  header .logo {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #e0b3ff;
    user-select: none;
    cursor: default;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
  }
  nav ul li {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #d8bfd8;
    position: relative;
    transition: color 0.3s ease;
  }
  nav ul li:hover,
  nav ul li.active {
    color: #e0b3ff;
  }
  nav ul li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #e0b3ff;
    left: 0; bottom: -6px;
    transition: width 0.3s ease;
    border-radius: 4px;
  }
  nav ul li:hover::after,
  nav ul li.active::after {
    width: 100%;
  }

  /* SPACER for fixed header */
  main {
    padding-top: 110px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* SECTION BASE */
  section {
    margin-bottom: 80px;
    padding: 20px 0;
  }
  h2.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #d8bfd8;
    margin-bottom: 30px;
    position: relative;
  }
  h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e0b3ff;
    margin-top: 8px;
    border-radius: 4px;
  }

  /* ABOUT ME */
  #about {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
  }
  #about img {
    width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(75, 0, 130, 0.6);
    transition: transform 0.4s ease;
  }
  #about img:hover {
    transform: scale(1.05) rotate(3deg);
  }
  #about .about-text {
    flex: 1;
    min-width: 280px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #eae6f1;
    letter-spacing: 0.5px;
  }

  /* SKILLS */
  #skills .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
  }
  .skill-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(75, 0, 130, 0.3);
    transition: transform 0.3s ease;
  }
  .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(75, 0, 130, 0.6);
  }
  .skill-name {
    font-weight: 600;
    margin-bottom: 10px;
    color: #e0b3ff;
  }
  .skill-bar {
    background: #a9a9a9;
    border-radius: 12px;
    height: 14px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
  }
  .skill-bar-fill {
    height: 100%;
    background: #b57edc;
    width: 0;
    border-radius: 12px;
    transition: width 1.4s ease-in-out;
  }

  /* PROJECTS */
  #projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  .project-card {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(75, 0, 130, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
  }
  .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.7);
  }
  .project-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .project-content {
    padding: 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #e0b3ff;
  }
  .project-desc {
    flex-grow: 1;
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  .project-links {
    text-align: right;
  }
  .project-links a {
    color: #d8bfd8;
    margin-left: 12px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
  }
  .project-links a:hover {
    color: #e0b3ff;
  }

  /* CONTACT */
  #contact form {
    background: rgba(255,255,255,0.1);
    padding: 25px 30px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(75, 0, 130, 0.4);
    color: #eee;
  }
  #contact form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
  }
  #contact form input,
  #contact form textarea {
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    margin-bottom: 20px;
    background: #a9a9a9;
    color: #222;
    font-size: 1rem;
    resize: none;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
  }
  #contact form input:focus,
  #contact form textarea:focus {
    background: #b57edc;
    outline: none;
    color: #fff;
  }
  #contact form button {
    background: #6a0dad;
    color: #fff;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  #contact form button:hover {
    background: #d147d1;
  }

  /* FOOTER */
  footer {
    text-align: center;
    padding: 25px;
    font-size: 0.9rem;
    color: #ccc;
    user-select: none;
  }

  /* SOCIAL ICONS */
  .social-links {
    text-align: center;
    margin: 30px 0 60px;
  }
  .social-links a {
    font-size: 1.8rem;
    margin: 0 15px;
    color: #d8bfd8;
    transition: color 0.3s ease;
  }
  .social-links a:hover {
    color: #e0b3ff;
  }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    #about {
      flex-direction: column;
      text-align: center;
    }
    #about img {
      margin-bottom: 25px;
    }
    nav ul {
      gap: 1.2rem;
    }
  }