/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #111;
}

.nav-links li {
  display: inline-block;
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffb400;
}

/* Hero Section */
.hero {
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 600px;
  margin: auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.highlight {
  color: #ffb400;
}

.btn {
  display: inline-block;
  background: #ffb400;
  color: #000;
  padding: 10px 20px;
  margin: 10px 5px;
  border-radius: 5px;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: #ffb400;
  border: 2px solid #ffb400;
}

.profile-img {
  width: 200px;
  align-self: center;
  border-radius: 10px;
  margin-top: 20px;
}

/* About Section */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #111;
}

.container {
  max-width: 1000px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.about-img {
  width: 250px;
  border-radius: 10px;
}

.about-text {
  max-width: 600px;
}

.about-text ul li {
  margin-bottom: 8px;
}

.about-text .btn {
  margin-top: 15px;
}

/* Skills Section */
.skills {
  padding: 60px 20px;
  background: #000;
}

.skills h2 {
  text-align: center;
  margin-bottom: 40px;
}

.skill {
  margin-bottom: 20px;
}

.skill span {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.progress {
  background: #333;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.progress div {
  height: 10px;
  background: #ffb400;
}
/* Dropdown container */
.navbar .dropdown {
  position: relative;
}

/* Hide dropdown menu initially */
.dropdown-menu {
  display: none;
  position: absolute;
  background: #111; /* dark background */
  top: 100%;
  left: 0;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 160px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.5);
  border-radius: 6px;
  z-index: 1000;
}

/* Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #fff; /* white text */
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover effect for dropdown items */
.dropdown-menu li a:hover {
  background: #222; /* slightly lighter dark hover */
  color: #ffb400;   /* gold highlight */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Small arrow cursor */
.dropdown > a {
  cursor: pointer;
  color: #fff; /* keep top link white */
}

.dropdown > a:hover {
  color: #ffb400; /* gold highlight on hover */
}
