/* Slider */
.slider {
  position: relative;
  width: 100%;
  padding-top: 40%;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.8s ease-in-out;
}

.slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 50px 40px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card img {
  width: 40px;
  height: 40px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: #fff;
}

@media (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}

/* About */
.about {
  padding: 60px 20px;
  background: #111;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.about img {
  flex: 1;
  max-width: 400px;
  border-radius: 10px;
}

.about-text {
  flex: 2;
  min-width: 280px;
}

.about-text h2 {
  color: #ffcc00;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.6;
}

/* Categories */
.categories {
  padding: 50px 20px;
  text-align: center;
}

.categories h2 {
  color: #ffcc00;
  margin-bottom: 25px;
  font-size: 28px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 40px;
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
}

@media (max-width: 425px) {
  .cat-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 20px;
  }
}

.cat-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.cat-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.cat-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cat-item:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.7);
}

.cat-item:hover img {
  transform: scale(1.1);
}

.cat-item p {
  margin: 12px;
  font-weight: bold;
  color: #fff;
}

/* Footer */
footer {
  background: #000;
  padding: 25px;
  text-align: center;
  color: #ccc;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 10px;
}

/* Fireworks & Sound Button */
#fireworksCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#soundToggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffcc00;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
}

/* WhatsApp Float */
.npd-whatsapp-float {
  position: fixed;
  width: 45px;
  height: 45px;
  bottom: 75px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.npd-whatsapp-my-float {
  margin-top: 16px;
}
