/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 24px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #00aaff;
}

/* Hero Section */
.hero {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

.btn:hover {
  background-color: #0056b3;
}

/* About Section */
#about {
  background-color: #fff;
  padding: 60px 20px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
}

.about-container img {
  max-width: 300px;
  border-radius: 10px;
}

#about h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

/* Skills Section */
#skills {
  background-color: #f0f0f0;
  padding: 50px 20px;
  text-align: center;
}

#skills h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

#skills ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

#skills li {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
}

/* Projects Section */
#projects {
  background-color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.project-card a {
  text-decoration: none; /* Removes the underline */
  color: inherit;       /* Inherits text color from parent */
  display: block;       /* Makes the entire card clickable */
  /* Add any other styling you want, e.g., padding, hover effects */
}

.project-card a:hover {
  background-color: #f0f0f0; /* Example hover effect */
}

.project-card {
  background-color: #eaeaea;
  padding: 20px;
  margin: 10px auto;
  max-width: 600px;
  border-radius: 10px;
}

/* Contact Section */
#contact {
  background-color: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
}

#contact h3 {
  margin-bottom: 15px;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
}
