/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #1c1c1c, #014775); /* Dark gradient background */
  color: #fff;
  padding: 20px;
}

/* Header Styling */
header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #6a5acd, #00bfff); /* Gradient: Violet to Blue */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

header .header-subtitle {
  font-size: 1.2rem;
  color: #ddd;
  margin-top: 10px;
}

/* Projects Container */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* Individual Project Card */
.project-card {
  background: rgba(255, 255, 255, 0.1); /* Transparent white */
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card h2 {
  font-size: 1.8rem;
  color: #ffdd00;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 20px;
}

.project-card a {
  text-decoration: none;
  color: #fff;
  background-color: #00bfff;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.project-card a:hover {
  background-color: #007acc;
  transform: translateY(-2px);
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background-color: #222;
  color: #bbb;
  border-radius: 10px;
}

/* Home Button Styling */
.home-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1e90ff, #483d8b);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  z-index: 1000;
}

.home-button:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #64ffda, #1e90ff);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.6);
}

.home-button:active {
  transform: scale(0.95);
}

/* Button Visibility Animation (Optional) */
.home-button.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
