* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle, #141e30, #000);
  overflow-x: hidden;
  color: #fff;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  text-align: center;
  margin-top: 50px;
  background: linear-gradient(90deg,#ff7eb9,#ff65a3,#ff0099);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header h2 {
  text-align: center;
  font-size: 28px;
  margin-top: 10px;
}

header h3 {
  text-align: center;
  font-size: 34px;
  color: #ffea00;
  text-shadow: 0 0 20px #ffea00;
  margin-bottom: 40px;
}

.wrapper {
  max-width: 1300px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.card {
  height: 300px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: 0.5s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Dark overlay */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
  opacity: 0;
  transition: 0.5s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 0 50px rgba(0,255,255,0.7),
              0 0 100px rgba(255,0,255,0.5);
}

/* 🔥 আগের মতো লেখা */
.card span {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  opacity: 0;
  transition: 0.5s;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

.card:hover span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.bg-one { background-image: url("Home/Front View.jpeg"); }
.bg-two { background-image: url("Home/Side View.png"); }
.bg-three { background-image: url("Home/Sky view.png"); }
.bg-four { background-image: url("Home/Back view.png"); }
.bg-five { background-image: url("Home/Map Design.jpeg"); }

.bg-one,
.bg-two,
.bg-three,
.bg-four,
.bg-five {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#viewer {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
}

#viewer img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 45px;
  cursor: pointer;
}

footer h5 {
  text-align: center;
  font-size: 24px;
  margin-top: 50px;
}

footer h6 {
  text-align: center;
  font-size: 28px;
  color: #0ff;
  text-shadow: 0 0 20px #0ff;
  margin-bottom: 50px;
}
header h1 .emoji {
  text-fill-color: initial; /* Gradient থেকে আলাদা */
  -webkit-text-fill-color: initial;
  /* color: #ffccff; Emoji color */
  /* text-shadow: 0 0 10px #ff7eb9, 0 0 20px #ff65a3; */
  margin-left: 10px;
}