font-face {
    font-family: 'BPGArialCaps2010';
    src: url('../fonts/BPG\ Arial\ Caps\ 2010.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.iq-section {
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
  font-family: "Noto Sans Georgian", sans-serif;
  transition: all 0.3s ease;
}

/* Collapsed header (small expandable window) */
.iq-collapsed {
  background-color: #075e54;
  color: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.iq-collapsed:hover {
  background-color: #064e45;
  transform: scale(1.01);
}

/* Hidden card until expanded */
.iq-card {
  background: #f9f9f919;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-top: 20px;
  padding: 25px;
  text-align: center;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.iq-question {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

/* Yes / No buttons */
.iq-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.iq-btn {
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
.iq-yes { background-color: #075e54; color: white; }
.iq-yes:hover { background-color: #064e45; }
.iq-no  { background-color: #b62d2d; color: white; }
.iq-no:hover { background-color: #9a2424; }

/* Results */
.iq-results {
  margin-top: 20px;
  text-align: left;
}
.iq-result-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.iq-label {
  width: 50px;
  font-weight: bold;
}
.iq-bar {
  flex: 1;
  background: #ddd;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}
.iq-fill {
  height: 100%;
  width: 0%;
  transition: width 0.6s ease;
}
.iq-fill-yes { background: #075e54; }
.iq-fill-no  { background: #b62d2d; }
.iq-pct {
  width: 40px;
  text-align: right;
}
.iq-total {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
  color: #0d5e3e;
}


.iq-thanks {
  margin-top: 20px;
  font-size: 18px;
  color: #0d5e3e;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}

/* Responsive */
@media (max-width: 600px) {
  .iq-section { padding: 0 10px; }
  .iq-card { padding: 15px; }
  .iq-btn { width: 45%; font-size: 15px; }
  .iq-collapsed { font-size: 18px; padding: 14px; }
}

.poll-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight:bold;
  color: #064e45; /* NSG dark green */
  margin-top: 40px;
  margin-bottom: 15px;
  font-family: 'BPGArialCaps2010', sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

/* --- Reinforce centering for section (non-destructive) --- */
.iq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}