* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

:root {
      --bg-primary: #0a0a0a;
      --bg-secondary: #111111;
      --bg-tertiary: #1a1a1a;
      --text-primary: #ffffff;
      --text-secondary: #a0a0a0;
      --accent-primary: #3b82f6;
      --accent-secondary: #60a5fa;
      --accent-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  }

  body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      background-color: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
  }


.navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(17, 17, 17, 0.8);
      backdrop-filter: blur(10px);
      z-index: 1000;
      padding: 1rem 0;
  }

   .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
  }

  .navbar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

    .logo {
      text-decoration: none;
      display: flex;
      flex-direction: column;
      line-height: 0.75;
      font-weight: 800;
      letter-spacing: -0.05em;
  }

  .logo-j {
      font-size: 2.5rem;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-left: 0.2rem;
  }

  .logo-g {
      font-size: 2rem;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-top: -0.4rem;
  }
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;

    background: linear-gradient(-45deg, #0a0a0a, #1a1a2e, #16213e, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
  }

    @keyframes gradientShift {
      0% {
          background-position: 0% 50%;
      }
      50% {
          background-position: 100% 50%;
      }
      100% {
          background-position: 0% 50%;
      }
  }


  

.hero-content {
      max-width: 800px;
      text-align: center;
      margin: 0 auto;
  }

.hero-title {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 1rem;
      line-height: 1.2;
  }

  .gradient-text {
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
  }

    .hero-subtitle {
      font-size: 1.5rem;
      color: var(--accent-primary);
      margin-bottom: 1.5rem;
      font-weight: 500;
  }

    .hero-description {
      font-size: 1.125rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      line-height: 1.8;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
  }


    .hero-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
  }


    .btn {
      display: inline-block;
      padding: 0.875rem 2rem;
      text-decoration: none;
      border-radius: 6px;
      font-weight: 600;
      transition: all 0.3s ease;
      cursor: pointer;
      font-size: 1rem;
  }


    .btn-primary {
      background: var(--accent-gradient);
      color: white;
      border: 2px solid transparent;
  }

  .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(30, 58, 138, 0.4);
  }


.btn-secondary {
      background: transparent;
      color: var(--text-primary);
      border: 2px solid var(--accent-primary);
  }

  .btn-secondary:hover {
      background: var(--accent-primary);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  }


    .about {
      padding: 6rem 0;
      background-color: var(--bg-secondary);
  }


    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 3rem;
      position: relative;
  }

  .section-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: var(--accent-gradient);
      margin: 1rem auto 0;
      border-radius: 2px;
  }

    .about-content {
      display: flex;
      gap: 4rem;
      align-items: center;
      flex-wrap: wrap;
  }

    .about-image {
      flex: 0 0 auto;
  }

  .about-image img {
      width: 300px;
      height: 300px;
      border-radius: 50%;
      object-fit: cover;
      object-position: center 20%;
      border: 4px solid var(--accent-primary);
      box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .about-image img:hover {
      transform: scale(1.05);
      box-shadow: 0 15px 50px rgba(59, 130, 246, 0.5);
  }

  .about-details {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2rem;
      min-width: 300px;
  }

    .about-text {
      flex: 1;
  }

  .about-text p {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      line-height: 1.8;
  }

  .about-text p:last-child {
      margin-bottom: 0;
  }

   .about-stats {
      display: flex;
      gap: 1.5rem;
      flex-direction: row;
      flex-wrap: wrap;
  }

    .stat-card {
      background-color: var(--bg-tertiary);
      padding: 1.5rem 2rem;
      border-radius: 8px;
      text-align: center;
      border: 1px solid rgba(59, 130, 246, 0.1);
      transition: all 0.3s ease;
  }

  .stat-card:hover {
      transform: translateY(-5px);
      border-color: var(--accent-primary);
      box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  }

  .stat-card h3 {
      font-size: 2.5rem;
      font-weight: 700;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 0.5rem;
  }

  .stat-card p {
      color: var(--text-secondary);
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 1px;
  }

   .skills {
      padding: 6rem 0;
      background-color: var(--bg-primary);
  }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
  }


    .skill-card {
      background-color: var(--bg-secondary);
      padding: 2rem;
      border-radius: 8px;
      border: 1px solid rgba(59, 130, 246, 0.1);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1rem;
  }

  .skill-card:hover {
      transform: translateY(-5px);
      border-color: var(--accent-primary);
      box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  }

  .skill-card i {
      font-size: 3rem;
  }

  .skill-card .skill-logo {
      width: 3rem;
      height: 3rem;
      object-fit: contain;
  }

  .skill-card h3 {
      font-size: 1.125rem;
      font-weight: 600;
      color: var(--text-primary);
      margin: 0;
  }


    .projects {
      padding: 6rem 0;
      background-color: var(--bg-secondary);
  }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
  }

    .project-card {
      background-color: var(--bg-tertiary);
      border-radius: 8px;
      border: 1px solid rgba(59, 130, 246, 0.1);
      transition: all 0.3s ease;
      overflow: hidden;
      display: flex;
      flex-direction: column;
  }

  .project-card:hover {
      transform: translateY(-5px);
      border-color: var(--accent-primary);
      box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  }

    .project-content {
      padding: 2rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      flex-grow: 1;
  }

  .project-content h3 {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--text-primary);
  }

  .project-content > p {
      color: var(--text-secondary);
      line-height: 1.8;
      flex-grow: 1;
  }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
  }

  .tag {
      background-color: rgba(59, 130, 246, 0.1);
      color: var(--accent-primary);
      padding: 0.4rem 0.8rem;
      border-radius: 4px;
      font-size: 0.875rem;
      font-weight: 500;
      border: 1px solid rgba(59, 130, 246, 0.2);
  }

    .contact {
      padding: 6rem 0;
      background-color: var(--bg-primary);
  }

    .contact-content {
      display: flex;
      gap: 4rem;
      align-items: flex-start;
  }

    .contact-form {
      flex: 1;
      min-width: 300px;
  }

  .contact-form form {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
  }

   .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
  }

  .form-group label {
      color: var(--text-primary);
      font-weight: 500;
      font-size: 0.95rem;
  }

  .form-group input,
  .form-group textarea {
      background-color: var(--bg-secondary);
      border: 1px solid rgba(59, 130, 246, 0.2);
      border-radius: 6px;
      padding: 0.875rem;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 1rem;
      transition: all 0.3s ease;
  }

  .form-group input:focus,
  .form-group textarea:focus {
      outline: none;
      border-color: var(--accent-primary);
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }

  .form-group textarea {
      resize: vertical;
      min-height: 120px;
  }

    .contact-info {
      flex: 1;
      min-width: 300px;
  }

  .info-item h3 {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 1rem;
  }

  .info-item p {
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 1.5rem;
  }


    .social-links {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
  }

  .social-link {
      display: inline-block;
      padding: 0.75rem 1.5rem;
      background-color: var(--bg-secondary);
      color: var(--text-primary);
      text-decoration: none;
      border-radius: 6px;
      border: 1px solid rgba(59, 130, 246, 0.2);
      font-weight: 500;
      transition: all 0.3s ease;
  }

  .social-link:hover {
      background-color: var(--bg-tertiary);
      border-color: var(--accent-primary);
      color: var(--accent-primary);
      transform: translateY(-2px);
  }


    .footer {
      background-color: var(--bg-secondary);
      padding: 2rem 0;
      text-align: center;
      border-top: 1px solid rgba(59, 130, 246, 0.1);
  }

  .footer p {
      color: var(--text-secondary);
      font-size: 0.95rem;
  }

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }

    .nav-links a::after {
        bottom: 0;
    }

    /* Hero Section */
    .hero {
        min-height: 80vh;
        padding: 5rem 0 3rem;
    }

    

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .about-image img {
        width: 250px;
        height: 250px;
    }

    .about-details {
        min-width: 100%;
    }

    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 140px;
    }

    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact Section */
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form,
    .contact-info {
        min-width: 100%;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .logo-j {
        font-size: 2rem;
    }

    .logo-g {
        font-size: 1.5rem;
    }

    .nav-links {
        width: 80%;
        padding: 4rem 1.5rem 2rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero {
        padding: 4rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    /* About Section */
    .about-image img {
        width: 200px;
        height: 200px;
    }

    .stat-card {
        flex: 1 1 100%;
        min-width: 100%;
    }

    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skill-card {
        padding: 1.25rem 1rem;
    }

    .skill-card h3 {
        font-size: 0.9rem;
    }

    .skill-card i {
        font-size: 2rem;
    }

    .skill-card .skill-logo {
        width: 2rem;
        height: 2rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.75rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Contact Form */
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }
}
