/* General Styling */
body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Navbar */
.navbar {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: #000;
  position: fixed;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 18px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: #aaa;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.theme-toggle {
  cursor: pointer;
  font-size: 18px;
}

/* Hero Section */
#hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align to left */
  justify-content: flex-start;
  margin-top: 100px;
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #444;
}

.text-content {
  text-align: left;
}

.name {
  font-size: 32px;
  font-weight: bold;
}

.title {
  font-size: 24px;
  color: #aaa;
}

.bio {
  margin-top: 20px;
  font-size: 18px;
  max-width: 600px;
  color: #aaa;
}

.location-link {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

/* Buttons */
.buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 30px;
}

.top-buttons,
.bottom-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.button {
  background-color: #111;
  color: #fff;
  padding: 14px 24px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #222;
}

.icon-button i {
  font-size: 24px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: green;
  border-radius: 50%;
}

/* Skills Section */
#skills {
  width: 100%;
  max-width: 1200px;
  margin-top: 50px;
}

.skills-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-card {
  background-color: #111;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s ease;
}

.skill-card:hover {
  background-color: #222;
}

.skill-icon {
  font-size: 24px;
}

.skill-info {
  display: flex;
  flex-direction: column;
}

.skill-name {
  font-size: 18px;
  font-weight: bold;
}

.skill-description {
  font-size: 14px;
  color: #aaa;
}

/* Projects Section */
#projects {
  width: 100%;
  max-width: 1200px;
  margin-top: 50px;
  padding-left: 20px; /* Align left */
  padding-right: 40px; /* Added padding for left alignment */
}

.projects-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}

.project-card {
  background-color: #111;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Added shadow */
}

.project-card:hover {
  transform: translateY(-10px); /* Raised effect */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6); /* Stronger shadow on hover */
}

.project-title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.project-description {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #ffffff, #242424); /* Color gradient */
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* Dark Mode */
body.dark-mode {
  background-color: #fff;
  color: #000;
}

body.dark-mode .navbar {
  background-color: #333;
}

body.dark-mode .button {
  background-color: #222;
  color: #ddd;
}

body.dark-mode .button:hover {
  background-color: #333;
}

body.dark-mode .project-card {
  background-color: #333;
}

body.dark-mode .project-card:hover {
  background-color: #444;
}

html {
  scroll-behavior: smooth;
}
