      * {
          margin: 0;
          padding: 0;
          scroll-behavior: smooth;
          box-sizing: border-box;
          font-family: 'Segoe UI', sans-serif;
      }

      body {
          background-color: #000;
          color: #fff;
          margin: 0;
          font-family: 'Segoe UI', sans-serif;
          scroll-behavior: smooth;
      }

      .home {
          display: flex;
          flex-direction: column;
          align-items: center;
          text-align: center;
          padding: 5vh 5vw;
          min-height: 100vh;
          position: relative;
          z-index: 1;
      }

      nav.navbar {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 1.5rem 2rem;
          background-color: #fff;
          /* White navbar */
          position: fixed;
          top: 0;
          width: 100%;
          z-index: 100;
          height: 80px;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          /* Slight shadow for separation */
          border-radius: 0;
          /* Sharp edges */
      }

      .nav-left {
          display: flex;
          align-items: center;
          gap: 10px;
      }

      .logo {
          height: 40px;
          width: 40px;
          border-radius: 50%;
          /* Keep this if your logo is round */
      }

      .nav-name {
          font-size: 1.4rem;
          font-weight: bold;
          color: #000;
      }

      /* Center (navigation links) */
      .nav-center a {
          color: #000;
          /* Black text */
          text-decoration: none;
          margin: 0 15px;
          font-weight: 500;
          font-size: 1.1rem;
          transition: color 0.3s ease;
      }

      .nav-center a:hover {
          color: #666;
      }

      .nav-center a.active {
          border-bottom: 2px solid #000;
          /* underline effect */
          font-weight: bold;
      }

      /* Right (email) */
      .nav-right .email {
          font-size: 0.95rem;
          color: #555;
      }

      .home-section {
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 120px 5vw 80px;
          min-height: 100vh;
          text-align: left;
      }

      .home-content {
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;
          max-width: 1200px;
          width: 100%;
      }

      .text-side {
          flex: 1 1 55%;
          padding-right: 20px;
      }

      .text-side h2 {
          font-size: 2.2rem;
          margin-bottom: 20px;
      }

      .text-side p {
          font-size: 1.1rem;
          color: #ddd;
      }

      .image-side {
          flex: 1 1 40%;
          display: flex;
          justify-content: center;
      }

      .profile-img {
          width: 320px;
          height: 320px;
          object-fit: cover;
          border-radius: 50%;
          box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
          border: 3px solid white;
          transition: transform 0.4s ease, box-shadow 0.4s ease;
      }

      .profile-img:hover {
          transform: scale(1.05);
          box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
      }

      section {
          padding: 120px 20px 80px;
          min-height: 100vh;
          text-align: center;
      }

      h2 {
          margin-bottom: 20px;
          font-size: 2rem;
      }

      p {
          font-size: 1.1rem;
          max-width: 700px;
          margin: auto;
      }



      /* Buttons-Home section */

      .button-group {
          margin-top: 30px;
          display: flex;
          gap: 20px;
          flex-wrap: wrap;
      }

      .btn {
          padding: 12px 24px;
          border: 2px solid #fff;
          color: #fff;
          background: transparent;
          text-decoration: none;
          font-size: 1rem;
          font-weight: 500;
          border-radius: 30px;
          transition: all 0.3s ease;
      }

      .btn:hover {
          background-color: #fff;
          color: #000;
          box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
      }

      .btn-outline {
          background-color: #fff;
          color: #000;
      }

      .btn-outline:hover {
          background-color: transparent;
          color: #fff;
          box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
      }

      /* icons */

      /* .inventory {
  margin: 50px 0 30px;
  padding-left: 30px; 
  text-align: left;
} */


      .tech-icons {
          display: flex;
          flex-wrap: wrap;
          gap: 25px;
          margin-top: 42px;
          padding: 0;
          /* ensures no extra internal spacing */
      }


      .tech-icons img {
          height: 32px;
          opacity: 0.5;
          filter: brightness(0.4) invert(1);
          transition: all 0.3s ease;
      }

      .tech-icons img:hover {
          opacity: 1;
          filter: brightness(1) invert(1);
          transform: scale(1.1);
      }


      /* About section */

      #about {
          padding-top: 80px;
          padding: 80px 30px;
          background-color: #000000;
          color: #fff;
      }

      .about-grid {
          padding-top: 40px;
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
          gap: 30px;
          max-width: 1100px;
          margin: 0 auto;
      }

      .about-card {
          background: rgba(255, 255, 255, 0.05);
          border: 1px solid rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(6px);
          padding: 25px 30px;
          border-radius: 16px;
          box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
          transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .about-card:hover {
          transform: translateY(-4px);
          box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
      }


      .about-card h2 {
          font-size: 1.4rem;
          margin-bottom: 15px;
          color: #fff;
          text-shadow: none;
          transition: text-shadow 0.3s ease;
      }

      .about-card:hover h2 {
          text-shadow: 0 0 1px rgb(141, 149, 149), 0 0 2.5px rgb(141, 149, 149);
      }


      .about-card ul {
          list-style: none;
          padding: 0;
          color: #ccc;
          line-height: 1.6;
      }

      .achievements-card {
          grid-column: span 2;
      }

      .social-card .social-links {
          display: flex;
          flex-direction: column;
          gap: 12px;
      }

      .social-card .social-links a {
          color: #ccc;
          text-decoration: none;
          font-weight: 500;
          transition: color 0.3s, transform 0.3s;
      }

      .social-card .social-links a:hover {
          color: #fff;
          transform: translateX(5px);
      }

      .about-card ul li {
          color: #ccc;
          margin-bottom: 12px;
          line-height: 1.5;
      }

      .about-image-placeholder {
          width: 100%;
          max-width: 300px;
          height: 300px;
          background-color: #222;
          border: 2px dashed #444;
          border-radius: 16px;
          margin: auto;
      }

      .about-carousel {
          display: flex;
          width: 100%;
          height: 100%;
          position: relative;
          border-radius: 20px;
      }

      .about-carousel::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.55);
          /* darker dim */
          z-index: 3;
          pointer-events: none;
          transition: transform 0.5s ease-in-out;
          border-radius: 16px;
          transform: translateX(0%);
      }

      .about-carousel:hover::before {
          transform: translateX(100%);
      }

      .about-carousel::after {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(35, 34, 34, 0.3);
          /* <-- dim filter */
          z-index: 2;
          pointer-events: none;
          border-radius: 16px;
      }

      .carousel-img {
          position: absolute;
          width: 100%;
          height: 100%;
          object-fit: cover;
          opacity: 0;
          transition: opacity 1s ease-in-out;
          border-radius: 16px;
          z-index: 1;
      }

      .carousel-img.active {
          opacity: 1;
          z-index: 1;
      }

      .image-card {
          padding: 0;
          overflow: hidden;
          height: 300px;
      }



      /* Responsive tweaks */

      @media (max-width: 768px) {
          .home-content {
              flex-direction: column;
              text-align: center;
          }

          .text-side {
              padding-right: 0;
              margin-bottom: 30px;
          }

          .profile-img {
              width: 220px;
              height: 220px;
          }

          .about-grid {
              grid-template-columns: 1fr;
              text-align: center;
          }

          .about-right {
              margin-top: 30px;
          }

      }