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

/* Body */
body {
  font-family: Arial, sans-serif;
  transition: background-color 0.5s, color 0.5s;
}

.light-mode {
  background-color: #f4f4f4;
  color: #333;
}

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

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: inherit;
}
.navbar .logo a {
  font-size: 1.5rem;
  text-decoration: none;
  color: inherit;
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin: 0 1rem;
}
.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #007BFF;
}

/* Theme toggle button */
.theme-toggle button {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}
#heroCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%);
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.hero-text h1 {
  font-size: 3rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin: 1rem 0;
}
.download-btn {
  padding: 0.8rem 1.5rem;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.download-btn:hover {
  background-color: #0056b3;
}

/* Sections */
section {
  padding: 2rem;
  text-align: center;
}
.skills .skill-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.skills .card {
  background-color: rgba(0, 123, 255, 0.1);
  margin: 1rem;
  padding: 1rem;
  border-radius: 8px;
  width: 250px;
  transition: transform 0.3s;
}
.skills .card:hover {
  transform: scale(1.05);
}

/* Forms */
form {
  max-width: 600px;
  margin: auto;
  text-align: left;
}
form label {
  display: block;
  margin: 1rem 0 0.5rem;
}
form input, form textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form button {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  border: none;
  background-color: #007BFF;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Footer */
footer {
  padding: 1rem;
  text-align: center;
  background-color: inherit;
  margin-top: 2rem;
}
footer .social a {
  margin: 0 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
footer .social a:hover {
  color: #007BFF;
}

/* Additional styling for profile images and forms */
.about-content, .projects-content, .contact-content, .login-content {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}
.profile-pic {
  width: 150px;
  border-radius: 50%;
  margin: 1rem 0;
}
