/* Reset & Global Styles */
      :root {
        --primary: #4caf50;
        --primary-dark: #3d8b40;
        --dark: #0d0d0d;
        --dark-light: #1a1a1a;
        --light: #f0f0f0;
        --light-dark: #ccc;
        --accent: #ff5722;
        --transition: all 0.3s ease;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        font-family: "Poppins", "Helvetica", Arial, sans-serif;
        line-height: 1.7;
        background: var(--dark);
        color: var(--light);
        overflow-x: hidden;
      }

      /* Typography */
      h1,
      h2,
      h3,
      h4 {
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1rem;
      }

      h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
      }

      h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        position: relative;
        display: inline-block;
        margin-bottom: 2.5rem;
      }

      h2::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
      }

      p {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
      }

      a {
        color: var(--primary);
        text-decoration: none;
        transition: var(--transition);
      }

      a:hover {
        color: var(--primary-dark);
      }

      .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
      }

      /* Navigation */
      .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px 40px;
        background: rgba(13, 13, 13, 0.9);
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        transition: var(--transition);
      }

      .nav.scrolled {
        padding: 15px 40px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
      }

      .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--light);
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .logo::before {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        background: var(--primary);
        border-radius: 50%;
      }

      .nav-links {
        list-style: none;
        display: flex;
        gap: 30px;
      }

      .nav-links li a {
        color: var(--light);
        font-weight: 500;
        position: relative;
        padding: 5px 0;
      }

      .nav-links li a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: var(--transition);
      }

      .nav-links li a:hover::after {
        width: 100%;
      }

      .hamburger {
        display: none;
        cursor: pointer;
        z-index: 1001;
      }

      /* Hero Section */
      .home-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        overflow: hidden;
      }

      .home-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          135deg,
          rgba(26, 26, 26, 0.9),
          rgba(51, 51, 51, 0.9)
        );
        z-index: -1;
      }

      .hero-content {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
      }

      .hero-content h1 {
        margin-bottom: 1.5rem;
        animation: fadeInUp 1s ease;
      }

      .hero-content .name {
        color: var(--primary);
      }

      .hero-content h2 {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        margin-bottom: 2rem;
        animation: fadeInUp 1s ease 0.2s forwards;
        opacity: 0;
      }

      #typed {
        color: var(--primary);
      }

      /* About Section */
      .about-container {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 50px;
        align-items: center;
      }

      .about-image {
        position: relative;
        text-align: center;
      }

      .profile-pic {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 20px;
        border: 5px solid var(--primary);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transition: var(--transition);
      }

      .profile-pic:hover {
        transform: translateY(-10px);
      }

      .about-text {
        position: relative;
      }

      .skills {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 20px;
      }

      .skills li {
        background: var(--dark-light);
        padding: 8px 20px;
        border-radius: 30px;
        font-size: 0.9rem;
        transition: var(--transition);
      }

      .skills li:hover {
        background: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
      }

      /* Projects Section */
      .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
        margin-top: 50px;
      }

      .project {
        background: var(--dark-light);
        border-radius: 15px;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        height: 100%;
        position: relative;
        transform: translateY(50px);
        opacity: 0;
        animation: fadeInUp 0.5s ease forwards;
      }

      .project.visible {
        transform: translateY(0);
        opacity: 1;
      }

      .project:nth-child(1) {
        animation-delay: 0.1s;
      }
      .project:nth-child(2) {
        animation-delay: 0.2s;
      }
      .project:nth-child(3) {
        animation-delay: 0.3s;
      }
      .project:nth-child(4) {
        animation-delay: 0.4s;
      }

      .project:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
      }

      .project-img-container {
        height: 200px;
        width: 100%;
        overflow: hidden;
        position: relative;
      }

      .project img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
      }

      .project:hover img {
        transform: scale(1.05);
      }

      .project-content {
        padding: 25px;
        flex: 1;
        display: flex;
        flex-direction: column;
      }

      .project h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        color: var(--light);
      }

      .project p {
        color: var(--light-dark);
        margin-bottom: 20px;
        flex: 1;
      }

      .project a {
        display: inline-block;
        padding: 12px 25px;
        background: var(--primary);
        color: var(--light);
        border-radius: 30px;
        text-align: center;
        font-weight: 600;
        transition: var(--transition);
        align-self: flex-start;
      }

      .project a:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
      }

      /* Contact Section */
      .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
      }

      .social-links {
        display: flex;
        gap: 20px;
        margin-top: 30px;
      }

      .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: var(--dark-light);
        border-radius: 50%;
        color: var(--light);
        font-size: 1.2rem;
        transition: var(--transition);
      }

      .social-links a:hover {
        background: var(--primary);
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
      }

      /* Footer */
      footer {
        background: var(--dark-light);
        padding: 30px 0;
        text-align: center;
      }

      footer p {
        color: var(--light-dark);
        font-size: 0.9rem;
      }

      /* Animations */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes float {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-20px);
        }
      }

      /* Responsive Design */
      @media (max-width: 992px) {
        .about-container {
          grid-template-columns: 1fr;
          gap: 30px;
        }

        .about-image {
          max-width: 400px;
          margin: 0 auto;
        }

        .projects-grid {
          grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }
      }

      @media (max-width: 768px) {
        .hamburger {
          display: block;
        }

        .nav-links {
          position: fixed;
          top: 0;
          right: -100%;
          width: 80%;
          max-width: 400px;
          height: 100vh;
          background: var(--dark-light);
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 30px;
          transition: var(--transition);
          z-index: 1000;
        }

        .nav-links.active {
          right: 0;
        }

        .nav-links li a {
          font-size: 1.2rem;
        }

        .hero-content h1 {
          font-size: 2.5rem;
        }

        .projects-grid {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 576px) {
        .container {
          width: 95%;
        }

        .hero-content h1 {
          font-size: 2rem;
        }

        .hero-content h2 {
          font-size: 1.3rem;
        }

        .project {
          max-width: 100%;
        }
      }