/* General Body */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #0f5132, #198754);
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
}

.title {
  margin: 20px 0;
  font-size: 2em;
  color: gold;
  text-shadow: 2px 2px 5px #000;
}

/* Container for counters */
.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px;
}

/* Counter Box */
.counter-box {
  border: 2px solid gold;
  border-radius: 15px;
  padding: 15px;
  width: 260px;
  background: #fffbea;
  color: #000;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-box:hover {
  transform: scale(1.05);
}

/* Image Box */
.image-wrapper {
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.fixed-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Name Input */
.nameBox {
  width: 90%;
  padding: 8px;
  margin-bottom: 10px;
  border: 2px solid #198754;
  border-radius: 8px;
  text-align: center;
  font-size: 1em;
}

/* Checkbox */
.checkbox-label {
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #198754;
}

/* Buttons */
.buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

button {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #198754;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
}

button:hover {
  background: #145a32;
}

.resetBtn {
  background: #dc3545;
}

.resetBtn:hover {
  background: #a71d2a;
}

/* Counter Text */
.count {
  font-size: 1.5em;
  font-weight: bold;
  color: #0f5132;
}

.footer {
  text-align: center;
  padding: 15px;
  background: #0f5132;   /* Islamic green */
  color: #fff;
  margin-top: 30px;
  border-top: 2px solid #c0e6b9;
  font-size: 14px;
}

.footer a {
  color: #ffdd57;   /* golden link */
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}
