/* Cards container and cards remain the same */
.about-section{
  text-align: center;
  justify-content: center;
}
.cards-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  perspective: 1200px; /* 3D effect */
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 35px 30px;
  width: 300px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.card:hover {
  transform: rotateY(10deg) rotateX(5deg) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Card headings with pulse glow */
.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
  color: #b58630; /* golden text */
  animation: glow 3s infinite alternate;
}

.card p {
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: center;
}

/* Glow Animation */
@keyframes glow {
  0% {
    text-shadow: 0 0 5px #b58630, 0 0 10px #b58630;
    color: #b58630;
  }
  50% {
    text-shadow: 0 0 15px #ffd700, 0 0 25px #ffd700;
    color: #ffd700;
  }
  100% {
    text-shadow: 0 0 5px #b58630, 0 0 10px #b58630;
    color: #b58630;
  }
}

/* Dark Mode Adjustments */
.dark-mode .card {
  background: rgba(50,50,40,0.95);
  color: #f5f5dc;
}

.dark-mode .card h3 {
  color: #ffd700;
  animation: glow-dark 3s infinite alternate;
}

.dark-mode .card p{
  color: #d1cdcd;
}
@keyframes glow-dark {
  0% {
    text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700;
    color: #ffd700;
  }
  50% {
    text-shadow: 0 0 15px #fffacd, 0 0 25px #fffacd;
    color: #fffacd;
  }
  100% {
    text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700;
    color: #ffd700;
  }
}
