/* Body Styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(140deg, #370743, #470a28); /* Dark purple to dark pink gradient */
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #000; /* Fallback color */
  color: #fff; /* Text color */
  position: relative;
  min-height: 100vh;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle text shadow */
}

/* Heading Styles */
h2, h3 {
  font-size: 40px;
  text-align: center; /* Center-align the heading text */
}

/* Paragraph Styles */
p {
  font-size: 25px;
  padding: 0 100px; /* Add padding to the left and right sides */
}

/* Global Box Sizing */
* {
  box-sizing: border-box;
}

/* Anchor (Link) Styles */
a {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
}

a {
  color: #ffffff;
  padding: 5px 10px;
  margin: 0 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none; /* Remove underline from anchor */
}

a:hover {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-decoration: none;
}

/* Navbar Styles */
.navbar {
  position: fixed; /* Make the header fixed */
  top: 0;
  width: 100%;
  z-index: 100; /* Ensure the header is on top */
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  position: sticky;
}

/* Navbar Sections Styles */
.navbar-left,
.navbar-center,
.navbar-right {
  display: flex;
  align-items: center;
}

/* Navbar Links Styles */
.navbar-left a {
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 5px 10px;
  margin: 0 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  margin: 0 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none; /* Remove underline from anchor */
}

.navbar-left a:hover {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* Navbar Button Styles */
.navbar-btn {
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 5px 10px;
  margin: 0 10px;
  border-radius: 5px;
  font-size: 15px;
  transition: background-color 0.3s;
}

.navbar-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar-btn.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Keyframes Animation */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section {
  padding: 50px 20px;
  animation: fade-in 1s ease-in-out;
  margin-bottom: 50px;
}

/* Animated Section Styles */
.animated-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animated-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Project Card Styles */
.project-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
}

.project-card:hover {
  background-color: #ffffff49; /* Change background color on hover */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Add a stronger shadow on hover */
  transform: translateY(-2px); /* Add a slight lift on hover */
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s; /* Add transition for smooth hover effect */
}

/* Spacing for Sections */
.section:not(:first-child) {
  margin-top: 40px;
}

/* Footer Styles */
.footer {
  position: absolute; /* Make the footer absolute */
  bottom: -100px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 0;
  text-align: center;
  color: #ffffff;
}

/* Download Container and Section Styles */
.download-container {
  padding: 20px;
}

.download-section {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  color: #ffffff;
}

.download-section a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.download-section a:hover {
  color: #fff;
}
