/* General Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0d1117;  /* Dark theme background */
  color: #e0e0e0;
}

.container {
  padding: 20px;
  text-align: center;
}

.heading {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
}

/* Projects Grid */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Card Styles */
.card {
  width: 100%;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 15px;
  box-sizing: border-box;
}

.card-front {
  background: #1a1f26; /* Matching with #0d1117 */
  color: #cfd8dc;
  box-shadow: 0px 4px 8px 0px rgba(26, 31, 38, 0.5);
}

.card-back {
  background: #1a1f26; /* Slightly transparent */
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 4px 8px rgba(26, 31, 38, 0.8), 0 0 15px rgba(0, 229, 255, 0.3);
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #00bcd4;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.card-content p {
  margin: 5px 0;
  font-size: 1rem;
}
.view-project-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #0d1117;
  background-color: #00e5ff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 229, 255, 0.4);
}

.view-project-btn:hover {
  background-color: #00bcd4;
  color: #ffffff;
  box-shadow: 0 6px 12px rgba(0, 188, 212, 0.7);
}
