
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0f0f0f;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}


#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000;
}


.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid #00ff88;
  box-shadow: 0 0 25px #00ff88;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content span {
  color: #00ff88;
  text-shadow: 0 0 15px #00ff88;
}

.hero-content p {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #ccc;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #00ff88;
  color: #000;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px #00ff88;
}

/* Skills Section */
.skills {
  padding: 80px 20px;
  text-align: center;
  background: #111;
}

.skills h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  width: 250px;
  height: 300px;
  perspective: 1000px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card-front {
  background: #1a1a1a;
  border: 2px solid #00ff88;
  font-size: 1.5rem;
  font-weight: bold;
}

.card-back {
  background: #00ff88;
  color: #000;
  transform: rotateY(180deg);
  font-size: 1rem;
}


.about {
  padding: 80px 20px;
  background: #1a1a1a;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about p {
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ccc;
}


.contact {
  padding: 50px 20px;
  text-align: center;
  background: #0d0d0d;
}