body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: #fff;
  padding: 0;
  overflow-x: hidden;
}
/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #000;
  z-index: 999;
  border-bottom: 1px solid #333;
}


.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 10px 20px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
  }
/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 24px;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 50px;       /* height below navbar */
    left: 10px;      /* change from right: 20px to left: 10px */
    background: #000;
    flex-direction: column;
    width: 150px;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.8);
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }
}
.nav-right {
  flex-shrink: 0;
}

.navbar-container ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}
.code-button {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.code-button:hover {
	transform: scale(1.1);
	opacity: 0.85;
}
.navbar nav ul li a:hover {
  color: #f97316;
}
.navbar nav ul li a i {
  margin-right: 8px;
}
/* Intro section */
.intro {
  background: #292727;
  padding: 80px 20px 60px;
  text-align: center;
}
.skills {
  background: #1a1a1a;
  padding: 80px 20px 60px;
  text-align: center;
}
.intro h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #f97316;
}

.intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}
.intro-content ul {
  list-style-position: inside; /* Move bullets inside the text block */
  text-align: center;          /* Center the text */
  padding: 0;                  /* Remove default left padding */
  margin: 0 auto;              /* Center the whole list */
}
.section-block {
  padding: 80px 20px 40px;
  border-top: 1px solid #222;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #f97316; /* Same as your orange color theme */
  letter-spacing: 1px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  margin: 12px auto 0;
  width: 60px;
  height: 3px;
  background-color: #f97316;
  border-radius: 2px;
}
/* Contact */
footer {
  background: #0d0d0d;
  padding: 60px 20px;
  text-align: center;
  color: #aaa;
}

footer a {
  color: #3b82f6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
.contact-content {
	display: flex;
  flex-direction: column;
  align-items: center;      /* Horizontally center children */
  gap: 20px;                /* Space between items */
  text-align: center;
}
.contact-content a {
  color: #f97316;
  text-decoration: none; /* Optional: removes underline */
}

.contact-content a:hover {
  text-decoration: underline; /* Optional: adds underline on hover */
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.linkedin-icon {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.linkedin-icon:hover {
  transform: scale(1.1);
  opacity: 0.85;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Timeline item with tilted background image */
.timeline-item {
  position: relative;
  margin-bottom: 60px;
  padding: 60px 0;
  overflow: hidden; /* clip the rotated bg edges */
  color: #fff;
  /* Remove background-image here */
}

/* Pseudo-element for tilted background */
.timeline-item::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(-8deg); /* subtle left tilt */
  opacity: 0.25;
  pointer-events: none;
  border-radius: 10px;
  z-index: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.timeline-item:hover::before {
  opacity: 0.45;
  transform: rotate(-8deg) scale(1.05);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Dark translucent overlay on top of background */
.timeline-item .overlay {
  position: relative;
  /* Background now can have your gradient or rgba from inline style */
  padding: 40px 20px;
  z-index: 1;
}
.text-box {
  background-color: rgba(0, 0, 0, 0.6); /* dark semi-transparent */
  padding: 1em;
  border-radius: 12px;
  margin-bottom: 1em;
  color: #fff; /* optional: ensure good contrast */
}
/* Content container with vertical colored line */
.timeline-content {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
  position: relative;
  border-left: 4px solid currentColor;
}

/* Titles */
.timeline-content h2 {
  margin-top: 0;
  font-size: 1.8em;
  color: currentColor;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Drop shadow */
}

/* Paragraph */
.timeline-content p {
  font-size: 1em;
  line-height: 1.6;
}

/* Video container */
.video-wrapper {
  margin-top: 20px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-wrapper .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
}
.role {
  font-size: 1.15rem;
  font-weight: 500;
  color: #e0dede; /* Light gray for subtlety */
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  font-style: italic;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Drop shadow */
}
/* Colored timeline dot */
.timeline-item::after {
  content: '';
  width: 16px;
  height: 16px;
  background-color: currentColor;
  border-radius: 50%;
  position: absolute;
  left: calc(50% - 400px - 28px); /* adjust to align with content border */
  top: 70px;
  z-index: 2;
}

/* Color themes */
.orange { color: #f97316; } /* Tailwind orange-500 */
.blue   { color: #3b82f6; } /* Tailwind blue-500 */
.purple { color: #8b5cf6; } /* Tailwind purple-500 */
.yellow { color: #eab308; } /* Tailwind yellow-500 */
.teal   { color: #14b8a6; } /* Tailwind teal-500 */
.pink   { color: #ec4899; } /* Tailwind pink-500 */
.indigo { color: #6366f1; } /* Tailwind indigo-500 */
.lime   { color: #84cc16; } /* Tailwind lime-500 */
.sky    { color: #0ea5e9; } /* Tailwind sky-500 */
.red     { color: #ef4444; } /* Tailwind red-500 */
.green   { color: #22c55e; } /* Tailwind green-500 */
.cyan    { color: #06b6d4; } /* Tailwind cyan-500 */
.rose    { color: #f43f5e; } /* Tailwind rose-500 */
.amber   { color: #f59e0b; } /* Tailwind amber-500 */
.emerald { color: #10b981; } /* Tailwind emerald-500 */
.violet  { color: #a855f7; } /* Tailwind violet-500 */
.fuchsia { color: #d946ef; } /* Tailwind fuchsia-500 */
.stone   { color: #78716c; } /* Tailwind stone-500 */
.zinc    { color: #71717a; } /* Tailwind zinc-500 */
.bronze { color: #cd7f32; } /* Custom bronze color */


/* AOS base */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}
