/* === Animated Background === */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0e0e0e, #111122, #0b2838, #0f1f26);
  background-size: 400% 400%;
  animation: bgMove 25s ease infinite;
  color: #f5f5f5;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Header === */
header {
  background-color: #1f1f1f;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 12px #00ffff55;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  color: #00ffff;
}

header p {
  margin: 5px 0 15px 0;
  font-size: 1.2em;
  color: #cccccc;
}

/* === Nav === */
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #f5f5f5;
  font-weight: bold;
}

nav a:hover,
nav a.active {
  color: #00ffff;
}

/* === Hero (NEW) === */
.hero {
  background: linear-gradient(135deg, #00ffff22, #0088ff22, #ff00ff22);
  padding: 80px 20px;
  text-align: center;
  border-radius: 15px;
  margin: 30px auto;
  max-width: 900px;
  animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px #00ffff44; }
  to   { box-shadow: 0 0 30px #00ffffaa; }
}

.hero h2 {
  font-size: 2.5em;
  color: #00ffff;
}

.hero p {
  font-size: 1.2em;
  color: #cccccc;
  margin-bottom: 15px;
}

.hero button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background: #00ffff;
  color: #121212;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  transition: 0.25s ease;
}

.hero button:hover {
  background: #00adad;
  transform: scale(1.05);
}

/* === Feature Cards (NEW) === */
.features {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 40px auto;
  max-width: 1100px;
  flex-wrap: wrap;
}

.card {
  width: 280px;
  background: #1f1f1f;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #00ffff55;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px #00ffffaa;
}

.card h3 {
  margin-bottom: 10px;
  color: #00ffff;
}

.card p {
  color: #cccccc;
}

/* === Existing PSG Stuff (unchanged) === */
.psg-section {
  display: none;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-start;
  margin: 30px auto;
  padding: 20px;
}

.psg-section.active {
  display: flex;
}

.left, .center, .right {
  background-color: #1f1f1f;
  padding: 15px;
  border-radius: 10px;
  flex: 1;
}

.center {
  flex: 2;
}

form {
  margin-top: 20px;
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
  text-align: left;
}

form input {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border-radius: 5px;
  border: 1px solid #00ffff;
  background-color: #121212;
  color: #f5f5f5;
}

form button {
  background: #00ffff;
  border: none;
  color: #000;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: bold;
}

form button:hover {
  background: #00cccc;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 8px 0;
  font-size: 1.1em;
}

footer {
  background-color: #1f1f1f;
  padding: 15px;
  text-align: center;
  color: #888888;
  margin-top: 40px;
}

/* === Project Card Grid === */
.project-cards {
  max-width: 1100px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  padding: 0 20px;
}

/* Clickable Cards */
.project-card {
  display: block;
  text-decoration: none;
  background: #1f1f1f;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #00ffff55;
  box-shadow: 0 0 10px #00ffff33;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px #00ffffaa;
}

/* Card Images */
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card Text */
.project-card h3 {
  margin: 12px 15px 6px 15px;
  color: #00ffff;
}

.project-card p {
  margin: 0 15px 20px 15px;
  color: #cccccc;
  font-size: 0.95em;
}

/* Responsive */
@media (max-width: 800px) {
  .psg-section {
    flex-direction: column;
  }
}
