




    /* Reset and base */
    * {
      margin: 10;
      padding: 20;
      box-sizing: border-box;
    }
    body, html {
      height: 100%;
      font-family: 'Georgia', serif;
      background: black;
      color: white;
      scroll-behavior: smooth;
    }

    /* Navigation bar */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 10;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      font-family: Arial, sans-serif;
      background-color: rgba(0, 0, 0, 0.8);
      backdrop-filter: saturate(180%) blur(10px);
    }
    nav .logo {
      font-weight: bold;
      font-size: 1.25rem;
      font-family: 'Georgia', serif;
      color: white;
    }
    nav ul {
      list-style: none;
      display: flex;
      gap: 2rem;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
    nav ul li {
      cursor: pointer;
      color: white;
      transition: color 0.3s ease;
    }
    nav ul li.active,
    nav ul li:hover {
      color: #d4af37; /* golden */
    }
    nav .social {
      display: flex;
      gap: 1.5rem;
    }
    nav .social svg {
      width: 18px;
      height: 18px;
      fill: white;
      cursor: pointer;
      transition: fill 0.3s ease;
    }
    nav .social svg:hover {
      fill: #d4af37;
    }

    /* Hamburger for mobile */
    .hamburger {
      display: none;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
    }
    .hamburger div {
      width: 25px;
      height: 3px;
      background: #d4af37;
      border-radius: 2px;
    }

    /* Mobile menu */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 60px;
      left: 0;
      width: 100%;
      background: rgba(0,0,0,0.9);
      text-align: center;
      font-family: Arial, sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      z-index: 9;
    }
    .mobile-menu a {
      display: block;
      padding: 1rem 0;
      color: white;
      text-decoration: none;
      border-bottom: 1px solid #444;
      transition: color 0.3s ease;
    }
    .mobile-menu a:hover {
      color: #d4af37;
    }
    .mobile-menu .social {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      padding: 1rem 0;
    }
    .mobile-menu .social svg:hover {
      fill: #d4af37;
    }
.hero-content {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  margin-top: 60px; /* to avoid nav overlap */
  border-radius: 8px;
}

.hero-content img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills container, cropping but no distortion */
  object-position: center center;  /* default: centered on desktop */
  z-index: 1;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 10vh;
  box-sizing: border-box;
  color: white;
}

.hero-text h1 {
  font-size: 3.5rem;
  letter-spacing: 0.2em;
  font-weight: normal;
  max-width: 90vw;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  opacity: 0.75;
  margin-top: 0.5rem;
}

/* Mobile screens - shift image to right side (focus face) */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .hero-content img {
    object-position: 80% center;  /* Adjust focus to the right side */
  }
}

/* For Desktop View on Mobile (if using desktop mode on mobile device) */
@media (min-width: 1024px) and (max-width: 1280px) {
  .hero-content img {
    object-position: 80% center; /* Shift image focus towards left on desktop mode (mobile view) */
  }
}

/* Desktop View - Center Image */
@media (min-width: 1280px) {
  .hero-content img {
    object-position: 80% center;  /* Center the image on desktop screens */
  }
}

    /* Sections */
    section {
      max-width: 900px;
      margin: 3rem auto;
      padding: 0 1rem;
    }

    /* About Section */
    #about {
      display: flex;
      gap: 2rem;
      align-items: center;
      flex-wrap: wrap;
    }

    #about img {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
      border: 3px solid #d4af37;
    }

    #about div {
      flex: 1 1 300px;
    }

    #about h2 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
      color: #d4af37;
    }

    #about p {
      font-size: 1.1rem;
      line-height: 1.6;
      color: #ddd;
    }

    /* Experience Section */
    #experience h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
      color: #d4af37;
      text-align: center;
    }

    #experience ul {
      list-style: none;
      padding-left: 0;
    }

    #experience li {
      background: #121212;
      margin-bottom: 1rem;
      padding: 1rem 1.5rem;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    #experience li img {
      width: 50px;
      height: 50px;
      object-fit: cover;
      border-radius: 50%;
    }

    #experience li strong {
      display: block;
      font-size: 1.1rem;
      margin-bottom: 0.3rem;
      color: white;
    }

    #experience li span {
      display: block;
      font-size: 0.9rem;
      color: #bbb;
      margin-bottom: 0.2rem;
    }

#skills {
  max-width: 900px;
  margin: 4rem auto 6rem;
  padding: 0 1rem;
}

.skills-group {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.skill-category {
  flex: 1 1 350px;
}

.skill-category h3 {
  font-size: 1.8rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.skill-list {
  list-style: none;
  padding-left: 0;
  color: #ddd;
}

.skill-list li {
  margin-bottom: 1.3rem;
  font-size: 1rem;
}

.skill-list li span {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.skill-bar {
  background: #333;
  border-radius: 10px;
  height: 20px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.skill-fill {
  background: linear-gradient(90deg, #d4af37, #f0d36b);
  height: 100%;
  width: 0;
  border-radius: 10px 0 0 10px;
  transition: width 2s ease-in-out;
  position: relative;
}

/* Percentage label inside bar */
.skill-fill::after {
  content: attr(data-percent);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: #222;
  text-shadow: 1px 1px 0 #fff8;
  font-size: 0.85rem;
  user-select: none;
}

@media (max-width: 768px) {
  .skills-group {
    flex-direction: column;
  }
  .skill-category {
    flex: none;
    max-width: 100%;
  }
  .skill-list li {
    font-size: 0.95rem;
  }
}




   /* Increase container vertical space */
#what-i-do {
  max-width: 900px;
  margin: 5rem auto 8rem; /* more top and bottom space */
  padding: 0 1rem;
}

/* Bigger gaps between cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* slightly wider cards */
  gap: 3.5rem; /* bigger gap */
}

/* Make cards taller and more padded */
.card {
  background: #121212;
  border-radius: 10px;
  padding: 3rem 2.5rem; /* double padding */
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  outline-offset: 6px;
  color: #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  user-select: none;
  will-change: transform;
  min-height: 350px; /* force height for scroll */
}

/* Bigger headings */
.card h3 {
  color: #d4af37;
  font-size: 1.8rem; /* bigger font */
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Larger body text */
.card p {
  line-height: 1.8;
  font-size: 1.15rem; /* bigger text */
}

/* Enhanced hover effect */
/* .card:hover,
.card:focus {
  transform: perspective(700px) rotateX(8deg) rotateY(8deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.9);
  background: #1a1a1a;
  color: #fff;
} */

/* Responsive tweaks */
@media (max-width: 768px) {
  .cards-container {
    gap: 3rem;
  }
  .card {
    min-height: 320px;
    padding: 2.5rem 2rem;
  }
  .card h3 {
    font-size: 1.6rem;
  }
  .card p {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .card {
    min-height: 280px;
    padding: 2rem 1.5rem;
  }
  .card h3 {
    font-size: 1.4rem;
  }
  .card p {
    font-size: 0.95rem;
  }
}


    /* Big Footer */
    footer {
      background-color: #121212;
      color: white;
      padding: 3rem 1rem;
      text-align: center;
      margin-top: 5rem;
      box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
    }

    footer h3 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    footer p {
      font-size: 1.1rem;
      opacity: 0.75;
    }

    footer a {
      color: #d4af37;
      font-weight: bold;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    footer a:hover {
      color: white;
    }

    /* Responsive */
    @media (max-width: 768px) {
      nav ul {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .hero-content h1 {
        font-size: 2.8rem;
      }

      #about {
        flex-direction: column;
        text-align: center;
      }

      #about img {
        margin-bottom: 1rem;
      }

      #about div {
        flex: none;
      }

      #experience li {
        flex-direction: column;
        text-align: center;
      }

      #experience li img {
        margin-bottom: 1rem;
      }

      #experience li {
        gap: 0;
      }

      .mobile-menu {
        display: block; /* Make the menu visible when hamburger is clicked */
      }
    }
