* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* ---- collaboraters ---- */
.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: box-shadow 0.3s ease-in-out;
  border: 1px solid #85b73a;
}

.logo-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.shadow-hover:hover {
  box-shadow: 0 0.8rem 1.2rem rgba(0, 0, 0, 0.15);
}

/* ---- quiz section --- */
.step-card {
  /* background: white; */
  border-radius: 10px;
  transition: transform 0.3s ease;
  border: 1px solid #85b73a;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ---- sustainability partners ---- */
.s-partners-section .s-partners-carousel {
  height: 40vh;
  position: relative;
}

.s-partners-track {
  display: flex;
  width: max-content;
  animation: s-scroll-logos 20s linear infinite;
}

.s-partner-card {
  flex: 0 0 auto;
  width: 200px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #85b73a;
  
}

.s-partner-card img {
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
}

.s-partner-type {
  font-size: 0.9rem;
  color: #444;
  font-weight: 500;
}

/* Scroll Animation */
@keyframes s-scroll-logos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.s-partners-track:hover {
  animation-play-state: paused;
}


/* ---- footer part --- */
.climatora-footer {
  background-color: #1e2e3d;
  color: #ffffff;
  padding: 50px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}

.footer-about {
  flex: 1 1 300px;
}

.footer-about .footer-logo {
  width: 200px;
  margin-bottom: 20px;
}

.footer-about p {
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-socials a {
  color: #ffffff;
  margin-right: 15px;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #85b73a;
}

.footer-links {
  display: flex;
  flex: 2 1 600px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.link-column h4 {
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 1px solid #85b73a;
  display: inline-block;
  padding-bottom: 5px;
}

.link-column ul {
  list-style: none;
  padding: 0;
}

.link-column li {
  margin: 8px 0;
  color: #ffffff;
}

.link-column i {
  color: #85b73a;
  margin-right: 8px;
}

/* ---modal ---- */
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(133, 183, 58, 0.5);
    border-color: #96af48;
    border-width: 1px;
}

.form-control{
    border: 1px solid #96af48;
}

/* ==================== */
/* ---- quiz page CSS ----  */

.badge-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
} 

.quiz-container {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #85b73a;
}

@media (max-width: 650px) {
  .quiz-container {
    margin-left: 10px;
    margin-right: 10px;
  }
}


.btn-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-group button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: white;
  border: 1px solid black;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
}

.btn-group button:hover {
  background-color: #84b73d;
  font-weight: 600;
  color: white;
}

.hidden {
  display: none;
}

#result {
  text-align: center;
}

.badge-message {
  font-size: 20px;
  margin: 20px 0;
  font-weight: bold;
  color: #2a7b4f;
}

/* ================= */
/* --- pledge ---- */
.video-placeholder iframe {
  border-radius: 12px;
}

.pledge-card{
      border: 1px solid #5cb85c;

}
.pledge-card .form-check-label {
  font-weight: 500;
}

.form-check-input {
  border: 2px solid #2a7b4f;
}

.form-check-input:focus {
  outline: none;
  box-shadow: 0 0 4px 2px rgba(132, 183, 61, 0.4); /* ✅ Green glow on focus */
  border-color: #84b73d;
}


/* ================= */
/* --- handbook download --- */

.step-3-handbook .card {
  background-color: #ffffff;
  border-radius: 1.5rem;
}

.card{
    border: 1px solid #5cb85c;
}


/* ================= */
/* --- share & Invite friends --- */


.step-4-extend-impact .card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* =============== */
/* -- live tracker --- */
.live-impact-ticker {
  font-size: 1rem;
  font-weight: 500;
}
/* ------------ */
 .dashboard-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  border: 1px solid #84b73d;
}

.img-preview {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.download-btn {
  width: fit-content;
}

.score-box {
  background-color: #e9f7ef;
  border-left: 5px solid #28a745;
  padding: 1rem;
  border-radius: 10px;
  font-weight: bold;
}

.download {
  background-color: #84b73d;
}

.download:hover{
  border: 2px solid #84b73d;
}
.input-error { border-color: #dc3545 !important; }
.btn-loading .spinner-border { margin-right: 0.5rem; }
.btn-loading { pointer-events: none; opacity: 0.7; }

