:root {
  --container-pad: 100px;
  --container-max: 1200px; /* you already use 1200px */
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  margin: 0;

  font-family: "Arial", sans-serif;
}
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;

  display: flex;
  align-items: center;
  justify-content: space-between; /* ✅ */
  gap: 24px; /* ✅ small safe gap */
  padding: 0 clamp(16px, 4vw, 60px); /* ✅ responsive padding */

  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  z-index: 1000;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}
.navbar-container.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}
.menu-options {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  flex: 1; /* ✅ lets menu take the middle space */
  min-width: 0; /* ✅ prevents weird overflow issues */
}

.logo-container {
  flex: 0 0 auto; /* ✅ don't shrink weirdly */
  height: 80px; /* control logo height here */
  max-width: 260px; /* prevents it from getting too wide */
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.logo-container img {
  height: 110px; /* fill container height */
  width: auto; /* keep aspect ratio */
  object-fit: contain; /* never crop logo */
}
.nav-item {
  text-decoration: none;
  color: white;
  font-size: clamp(12px, 1vw, 12px); /* ✅ scales */
  letter-spacing: 1px;
  padding: clamp(6px, 0.8vw, 8px) clamp(10px, 1vw, 14px); /* ✅ scales */
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: nowrap; /* ✅ prevents two-line wrap */
}
.navbar-container,
.start-project {
  flex: 0 0 auto; /* ✅ keep button readable */
}

/* 🌟 Hover glow for NON-active items */
.nav-item:hover:not(.active) {
  color: #c1d83c;
  text-shadow:
    0 0 5px #c1d83c,
    0 0 10px #c1d83c;
}

/* 🟢 Active page = yellow-green border */
.nav-item.active {
  color: black;
  background-color: #c1d83c;
  border: 2px solid #c1d83c;
}

.hero-section2 {
  position: relative;
  width: 100%;
  height: 800px; /* fixed banner height */
  overflow: hidden;
}
.hero-section2 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ fills banner */
  object-position: center 30%; /* ✅ pushes image down so faces are lower */
  display: block;
}
/* Overlay */
.hero-section2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* adjust darkness */
  z-index: 1;
}
.hero-content {
  position: absolute;
  z-index: 2;
  color: rgb(255, 255, 255);
  text-align: center;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*James's Info*/
.profile-holder {
  width: 100%;
  background-color: black;
}
.profile-inner {
  position: relative;
  width: 100%;
  height: 500px;
  background-color: #c1d83c;
}

.profile-card {
  position: absolute;
  left: 50%;

  transform: translate(
    -50%,
    -55%
  ); /*Moves the card either left r right on the x-axis*/

  z-index: 5;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  height: 800px;
  width: 70%;
  background-color: white;
  gap: 40px;

  padding: 40px;
}
/*Cards & Info*/
.card-right {
  width: 50%;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: space-around;
}
.heading-underlined {
  display: flex;
  flex-direction: column;
  color: black;
  font-size: 12px;
}
.heading-underlined h1 {
  padding-bottom: 15px;
  font-weight: 200;
}
.card-right h2 {
  font-size: 35px;
  font-weight: 800;
}

.h1-line {
  border: 5px solid rgba(189, 243, 25, 0.822);
  border-image-source: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 1px,
    rgba(189, 243, 25, 0.822) 1px,
    rgba(0, 0, 0, 0.2) 3px
  );
  border-image-slice: 5;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  box-sizing: border-box;
  width: 27%;
}
.h1-line2 {
  border: 5px solid rgba(189, 243, 25, 0.822);
  border-image-source: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 1px,
    rgba(189, 243, 25, 0.822) 1px,
    rgba(0, 0, 0, 0.2) 3px
  );
  border-image-slice: 5;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  box-sizing: content-box;
}
.profile-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-details li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
}
.profile-details li::before {
  content: "◆"; /* diamond bullet */
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 15px;
  color: #c1d83c;
}
.social-tab {
  display: flex;
  flex-direction: row;

  gap: 24px;
}
.social-tab a {
  text-decoration: none;
  font-size: 15px;
  color: black;
  letter-spacing: 1px;
  font-weight: 400;
  transition: all 0.25s ease;
}
.social-tab a:hover {
  color: #c1d83c;
  text-shadow: 0 0 8px rgba(209, 255, 69, 0.2);
}
.signature {
  font-family: "Caveat", cursive;
  font-size: 32px;
}

.card-left {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.card-left video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}


@media (max-width: 430px) {
  .card-right {
    width: 100%;
  }
  .burger-menu {
    display: flex;
  }
  .profile-inner {
    height: 1450px;
    padding: 40px 20px;
  }
}
