/* style.css */

/* Background with cloud image and soft overlay */
body {
  position: relative;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f8ff; /* fallback sky blue */
  min-height: 100vh;
  padding: 2rem;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://pixnio.com/free-images/2017/08/06/2017-08-06-08-58-24.jpg');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: -1;
}

/* Header styling */
h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2rem;
}

/* Container for project cards */
.grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Individual project card styling */
.card {
/* style.css */
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://pixnio.com/free-images/2017/08/06/2017-08-06-08-58-24.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Header styling */
h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2rem;
}

/* Container for project cards */
.grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Individual project card styling */
.card {
  width: 90%;
  max-width: 900px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Project title */
.card h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #007acc;
}

/* Project description */
.card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Link styling */
.card a {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: #007acc;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.card a:hover {
  border-color: #007acc;
}

.card:hover {
  transform: translateY(-5px);
}

/* Project title */
.card h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #007acc;
}

/* Project description */
.card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Link styling */
.card a {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: #007acc;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.card a:hover {
  border-color: #007acc;
}