/* ==================================================
   Montshield Responsive Fixes (Global overrides)
   ================================================== */

/* --- 1. Responsive Grid Fix --- */
@media (max-width: 992px) {
  .row.gtr-200 {
    display: flex;
    flex-direction: column;
  }
  .col-8,
  .col-4 {
    width: 100% !important;
    margin: 0 0 2rem 0;
  }
}

/* --- 2. Program Cards (lists) --- */
ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.program-list li,
.scope-list li,
ul.divided li {
  background: #f8f9fa;
  border-left: 4px solid #2c5530;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
}

.program-list li i,
.scope-list li i,
ul.divided li i {
  font-size: 1.3em;
  color: #2c5530;
  flex-shrink: 0;
}

/* --- 3. Sidebar Sections --- */
#sidebar section {
  background: #fff;
  border-radius: 8px;
  padding: 1.2em;
  margin-bottom: 2em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* --- 4. Headings & Icons --- */
h2 i,
h3 i {
  margin-right: 0.5em;
  color: #2c5530;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.3;
}

/* --- 5. CTA Buttons --- */
.button {
  background: #2c5530;
  color: #fff !important;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
  transition: background 0.3s ease;
}
.button:hover {
  background: #234326;
}
@media (max-width: 768px) {
  .button {
    width: 100%;
    padding: 1rem !important;
  }
}

/* --- 6. General Typography --- */
body {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  p {
    font-size: 0.95rem;
  }
}

/* --- 7. Case Studies Grid --- */
.case-studies-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
}
.case-studies-list article {
  background: #fff;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* --- 8. Who We Serve - make text blocks into cards --- */
#content section {
  background: #fff;
  border-radius: 8px;
  padding: 1.5em;
  margin-bottom: 2em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
#content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1em;
}

/* --- 9. Responsive Method Steps (Revive page) --- */
.method-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5em;
}
.method-steps span {
  background: #2c5530;
  color: white;
  padding: 0.5em 1em;
  border-radius: 20px;
  font-size: 0.9em;
}
.method-arrow {
  color: #2c5530;
}
@media (max-width: 768px) {
  .method-steps {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .method-steps > span:not(.method-arrow) {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }
  .method-steps .method-arrow {
    display: none !important;
  }
}

/* --- 10. Footer spacing --- */
#footer-placeholder {
  margin-top: 2em;
}

