.dragging {
    opacity: 0.5;
    transform: scale(1.05);
}
.skill-card {
    width: 150px!important; /* or whatever size fits */
    flex: 0 0 auto!important;
    text-align: center!important;
}


  .skills-grid {
    display: flex !important;
    flex-wrap: wrap!important;
    gap: 20px!important;
    justify-content: center!important;
  
}

.skill-cardd {
    width: 150px!important; /* or whatever size fits */
    flex: 0 0 auto!important;
    text-align: center!important;
}


  .skills-gridd {
    display: flex !important;
    flex-wrap: wrap!important;
    gap: 20px!important;
    justify-content: center!important;
  
}
  .graphic-work p {
    margin: auto !important;
    align-items: center !important;
    align-self: center;
  }
  h2{
    margin: auto !important;
    align-items: center !important;
    align-self: center;
  }

    .contact-container h2 {
        font-size: 3.5rem;
        font-weight: 800;
        background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f, #4d9de0);
        background-size: 300% 300%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientShift 4s ease-in-out infinite;
        margin-bottom: 20px;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
        letter-spacing: -0.02em;
    }
    :root {
      --primary-color: rgba(106, 90, 205, 0.8);
      --secondary-color: rgba(255, 105, 180, 0.8);
      --dark-color: #1a1a2e;
      --light-color: #f1f1f1;
      --glass-blur: 10px;
      --transition-speed: 0.3s;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      overflow-x: hidden;
      width: 100%;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
      color: var(--light-color);
      min-height: 100vh;
      overflow-x: hidden;
      width: 100%;
      max-width: 100%;
      line-height: 1.6;
      position: relative;
            overflow-x: hidden !important;

    }
.social-links a i {
  color: white;
}
.social-links{
  margin-bottom: 5px !important;
}
    #particles-js {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: -1;
    }

    /* Glassmorphism base styles */
    .glass {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(var(--glass-blur));
      -webkit-backdrop-filter: blur(var(--glass-blur));
      border-radius: 15px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
      transition: all var(--transition-speed) ease;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .glass:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
    }

    /* Header Styles */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      max-width: 100%;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 1000;
      box-sizing: border-box;
    }

    .logo img {
      height: 50px;
      transition: transform 0.3s ease;
    }

    .logo img:hover {
      transform: scale(1.1);
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 2rem;
    }

    nav a {
      color: var(--light-color);
      text-decoration: none;
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      transition: all var(--transition-speed) ease;
      position: relative;
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--secondary-color);
      transition: all var(--transition-speed) ease;
      transform: translateX(-50%);
    }

    nav a:hover::after {
      width: 80%;
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 21px;
      cursor: pointer;
      z-index: 1001;
    }

    .menu-toggle div {
      width: 100%;
      height: 3px;
      background: var(--light-color);
      transition: all var(--transition-speed) ease;
    }

    /* Hero Section */
    section {
      padding: 6rem 2rem;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
    }

    .hero {
      text-align: center;
      position: relative;
      width: 100%;
      max-width: 100%;
    }

    .image-container {
      width: 250px !important;
      height: 250px !important;
      margin: 0 auto 2rem;
      border-radius: 50%;
      overflow: hidden;
      border: 3px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      margin-top: 100px !important;
    }

    .profile-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .image-container:hover .profile-image {
      transform: scale(1.05);
    }

    h1 {
      font-size: 3rem !important;
      margin-bottom: 0.5rem !important;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }

    .subtitle {
      font-size: 1.5rem !important;
      margin-bottom: 2rem;
      opacity: 0.9;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .social-links {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 3rem;
      flex-wrap: wrap;
      width: 100%;
      max-width: 100%;
    }

    .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      transition: all var(--transition-speed) ease;
      flex-shrink: 0;
    }

    .social-links a:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-3px);
    }

    .social-links img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    /* About Section */
    .about {
      max-width: 600px;
      margin: 0 auto;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
    }

    .about p {
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 2rem;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    /* Skills Section */
    .skills {
      text-align: center;
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }

    .skills h6 {
      font-weight: 300;
      margin-bottom: 2rem;
      font-style: italic;
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 1.5rem;
      max-width: 900px;
      margin: 0 auto;
      width: 100%;
      box-sizing: border-box;
    }

    .skill-card {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: grab;
      user-select: none;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .skill-card:active {
      cursor: grabbing;
    }

    .skill-logo {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 1rem;
      filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
      transition: transform 0.3s ease;
    }

    .skill-card:hover .skill-logo {
      transform: scale(1.1);
    }

    /* Projects Section */
    .projects {
      text-align: center;
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }

    .project-grid, .graphic-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem;
      width: 100%;
      box-sizing: border-box;
    }

    .project-card, .graphic-card {
      padding: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .project-logo, .graphic-logo {
      width: 120px;
      height: 120px;
      object-fit: contain;
      margin-bottom: 1.5rem;
      transition: transform 0.5s ease;
    }

    .project-card:hover .project-logo, .graphic-card:hover .graphic-logo {
      transform: scale(1.1) rotate(5deg);
    }

    .project-description, .graphic-description {
      margin-bottom: 1.5rem;
      flex-grow: 1;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    /* Button Styles */
    .pill-btn {
      display: inline-block;
      padding: 0.8rem 2rem;
      background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
      color: white;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 500;
      transition: all var(--transition-speed) ease;
      border: none;
      cursor: pointer;
      box-sizing: border-box;
    }

    .pill-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* Contact Form */
    .contact {
      max-width: 600px !important;
      margin: 0 auto;
      width: 100%;
      box-sizing: border-box;
    }

    form {
      display: grid;
      gap: 1.5rem;
      padding: 2rem;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
    }

    input, select, textarea {
      width: 100%;
      padding: 1rem;
      border: none;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--light-color);
      font-family: inherit;
      transition: all var(--transition-speed) ease;
      box-sizing: border-box;
    }

    input:focus, select:focus, textarea:focus {
      outline: none;
      background: rgba(255, 255, 255, 0.2);
      box-shadow: 0 0 0 2px var(--secondary-color);
    }

    button[type="submit"] {
      width: 100%;
      padding: 1rem;
      border: none;
      border-radius: 10px;
      background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
      color: white;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-speed) ease;
      box-sizing: border-box;
    }

    button[type="submit"]:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 2rem;
      position: relative;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    footer a {
      color: var(--secondary-color);
      text-decoration: none;
      transition: all var(--transition-speed) ease;
    }

    footer a:hover {
      text-decoration: underline;
    }

    /* Animations */
    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    .floating {
      animation: float 3s ease-in-out infinite;
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 10px;
    }

    ::-webkit-scrollbar-track {
      background: var(--dark-color);
    }

    ::-webkit-scrollbar-thumb {
      background: linear-gradient(var(--primary-color), var(--secondary-color));
      border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--secondary-color);
    }

    /* ==========================================
       RESPONSIVE DESIGN - MOBILE FIRST
       ========================================== */
    @media (min-width: 1024px) {
          .about {
      max-width: 1200px !important;
      margin: 0 auto;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
    }
  }
    /* Tablets and below */
    @media (min-width: 768px) {
          .about {
      max-width: 820px !important;
    }
  }
    @media (max-width: 1024px) {
          .about {
      max-width: 820px !important;
      margin: 0 auto;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
    }
      section {
        padding: 4rem 1.5rem;
      }

      .project-grid, .graphic-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
      }

      .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.2rem;
      }

      h1 {
        font-size: 2.8rem;
      }

      .subtitle {
        font-size: 1.4rem;
      }
    }

    /* Mobile devices */
    @media (max-width: 768px) {
    .contact {
      max-width: 320px !important;
      margin-bottom: 20px !important;
    }
          .about {
      max-width: 320px !important;
      margin: 0 auto ;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
    }
      /* Header */
      header {
        padding: 1rem 1.5rem;
      }

      .menu-toggle {
        display: flex;
      }

      nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
      }

      nav ul.active {
        right: 0;
      }

      nav a {
        font-size: 1.1rem;
        padding: 1rem 2rem !important;
        white-space: nowrap;
      }

      .menu-toggle.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }

      .menu-toggle.active div:nth-child(2) {
        opacity: 0;
      }

      .menu-toggle.active div:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
      }

      /* Sections */
      section {
        padding: 4rem 1.5rem;
      }

      .hero {
        padding-top: 2rem;
      }

      .image-container {
        width: 180px;
        height: 180px;
        margin-bottom: 1.5rem;
      }

      h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
      }

      .subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
      }

      .social-links {
        gap: 1rem;
        margin-bottom: 2rem;
      }

      .social-links a {
        width: 45px;
        height: 45px;
      }

      /* About */
      .about {
        padding: 0 1rem;
      }

      .about p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
      }

      /* Skills */
      .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
      }

      .skill-card {
        padding: 1.2rem;
      }

      .skill-logo {
        width: 50px;
        height: 50px;
      }

      /* Projects */
      .project-grid, .graphic-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
      }

      .project-card, .graphic-card {
        padding: 1.5rem;
      }

      .project-logo, .graphic-logo {
        width: 100px;
        height: 100px;
      }

      /* Contact */
      .contact {
        padding: 0 1rem;
      }

      form {
        padding: 1.5rem;
      }

      input, select, textarea {
        padding: 0.8rem;
        font-size: 1rem;
      }

      button[type="submit"] {
        padding: 1rem;
        font-size: 1rem;
      }

      footer {
        padding: 1.5rem;
      }
    }

    /* Small mobile devices */
    @media (max-width: 480px) {
      header {
        padding: 0.8rem 1rem;
      }

      .logo img {
        height: 40px;
      }

      nav ul {
        width: 80%;
        max-width: 280px;
        gap: 2.5rem;
      }

      nav a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
      }

      section {
        padding: 3rem 1rem;
      }

      .hero {
        padding-top: 1.5rem;
      }

      .image-container {
        width: 160px;
        height: 160px;
      }

      h1 {
        font-size: 2.2rem;
      }

      .subtitle {
        font-size: 1.2rem;
      }

      .social-links a {
        width: 40px;
        height: 40px;
      }

      .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 0.8rem;
      }

      .skill-card {
        padding: 1rem;
      }

      .skill-logo {
        width: 45px;
        height: 45px;
      }

      .project-logo, .graphic-logo {
        width: 90px;
        height: 90px;
      }

      .project-card, .graphic-card {
        padding: 1.2rem;
      }
    }

    /* Extra small mobile devices */
    @media (max-width: 360px) {
      header {
        padding: 0.6rem 0.8rem;
      }

      .logo img {
        height: 35px;
      }

      nav ul {
        width: 85%;
        max-width: 260px;
        gap: 2rem;
      }

      .menu-toggle {
        width: 25px;
        height: 18px;
      }

      section {
        padding: 2.5rem 0.8rem;
      }

      .image-container {
        width: 140px;
        height: 140px;
        margin-bottom: 1rem;
      }

      h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
      }

      .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
      }

      .social-links {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
      }

      .social-links a {
        width: 38px;
        height: 38px;
      }

      .about p {
        font-size: 0.95rem;
        line-height: 1.6;
      }

      .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
      }

      .skill-card {
        padding: 0.8rem;
      }

      .skill-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
      }

      .project-card, .graphic-card {
        padding: 1rem;
      }

      .project-logo, .graphic-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
      }

      form {
        padding: 1rem;
        gap: 1rem;
      }

      input, select, textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
      }

      button[type="submit"] {
        padding: 0.8rem;
        font-size: 0.9rem;
      }

      .pill-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
      }

      footer {
        padding: 1rem;
        font-size: 0.9rem;
      }
    }

    /* Landscape orientation for mobile */
    @media (max-width: 768px) and (orientation: landscape) {
      section {
        padding: 2rem 1rem;
      }

      .hero {
        padding-top: 1rem;
      }

      .image-container {
        width: 120px;
        height: 120px;
      }

      h1 {
        font-size: 2rem;
      }

      .subtitle {
        font-size: 1.1rem;
      }

      .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      }

      .skill-card {
        padding: 0.5rem;
      }

      .skill-logo {
        width: 35px;
        height: 35px;
      }
    }

    /* Touch-friendly enhancements */
    @media (hover: none) and (pointer: coarse) {
      .social-links a {
        min-width: 44px;
        min-height: 44px;
      }

      nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .pill-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      /* Remove hover effects on touch devices */
      .glass:hover {
        transform: none;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
      }

      .skill-card:hover .skill-logo {
        transform: none;
      }

      .project-card:hover .project-logo,
      .graphic-card:hover .graphic-logo {
        transform: none;
      }
    }
