/* --------------------------------------------------   Suffolk Tech Care – Modern Stylesheet   Clean, conflict-free, section-based icon system-------------------------------------------------- */

/* GLOBAL */

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.5px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0a2a43;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* NAVBAR */

.navbar-light {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.navbar-brand {
  color: #0a2a43 !important;
}

/* Navbar logo size */

/* HERO */

.hero {
  background: #0a2a43 !important;
  color: #fff;
  padding: 120px 0;
  text-align: center;
}

.hero-title {
  font-size: 2.8rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* HERO ICONS */

.hero-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-icon .bi {
  font-size: 1.4rem;
  color: #fff;
}

/* WHY SECTION */

.why {
  background: #fff;
}

.why-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* WHY ICON COLOUR — DARK NAVY */

.why-card .bi {
  font-size: 2.5rem;
  color: #208754 !important;
  margin-bottom: 10px;
}

/* SERVICES */

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* SERVICE ICON COLOUR — DARK NAVY */

.service-card .bi {
  font-size: 2rem;
  color: #0a2a43 !important;
  margin-bottom: 10px;
}

/* PRICING */

.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* PRICING ICON COLOUR — BLUE (unchanged unless requested) */

.pricing-card .bi {
  font-size: 2.5rem;
  color: #0a2a43 !important;
  margin-bottom: 10px;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0a2a43 !important;
}

/* TESTIMONIALS */

.testimonials {
  background: #f0f4fa;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* FAQ */

.accordion-button {
  font-size: 1.1rem;
  font-weight: 500;
}

/* CONTACT */

.contact-section {
  background: #eef3f8;
  padding: 60px 0;
}

footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 20px 0;
  text-align: center;
}

.footer {
  background-color: #0b1a33;
}

.footer a:hover {
  opacity: 0.8;
}

/* Contact Photos */

.hero-photo-wrapper {
  max-width: 380px;
  margin: 0 auto;
}

.hero-photo {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.nav-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.contact-photo {
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* --------------------------------------------------   ICON SYSTEM — Section-based colours   Works with fill="currentColor"-------------------------------------------------- */

.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

/* Hover animation for all cards */

.service-card:hover .bi, .why-card:hover .bi, .pricing-card:hover .bi {
  transform: scale(1.08);
  transition: transform 0.2s ease;
}

/* Dummy class to silence Bootstrap Studio warning */

/* --------------------------------------------------   Colour Utilities — Optional overrides-------------------------------------------------- */

.text-navy {
  color: #0a2a43 !important;
}

.text-blue {
  color: #0066cc !important;
}

.text-white {
  color: #ffffff !important;
}

.text-soft-white {
  color: #f8f9fa !important;
}

.icon-navy {
  color: #0a2a43 !important;
}

.icon-blue {
  color: #0066cc !important;
}

.icon-white {
  color: #ffffff !important;
}

.icon-soft-white {
  color: #f8f9fa !important;
}

.bg-navy {
  background-color: #0a2a43 !important;
}

.bg-blue {
  background-color: #0066cc !important;
}

.bg-deep-navy {
  background-color: #0b1a33 !important;
}

.bg-soft-white {
  background-color: #f8f9fa !important;
}

.bg-white {
  background-color: #ffffff !important;
}

.border-navy {
  border-color: #0a2a43 !important;
}

.border-blue {
  border-color: #0066cc !important;
}

.border-white {
  border-color: #ffffff !important;
}

.support-wrapper {
  padding: 40px 0;
}

.support-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.shadow-soft {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Bootstrap Studio Design Check - Bootstrap Icon definition */

.bi-file-text::before {
  content: "\f3b9";
}

.trust-section {
  background-color: #ffffff;
}

.trust-image-wrap {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.trust-image {
  width: 100%;
  display: block;
}

.trust-eyebrow {
  color: #0f9b5f;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-title {
  color: #0b3553;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.trust-text {
  color: #5f6f7f;
  font-size: 1.05rem;
  line-height: 1.75;
}

.trust-highlight {
  color: #0b3553;
  font-size: 1.15rem;
  font-weight: 700;
}

.trust-point {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #0b3553;
  font-size: 0.95rem;
  line-height: 1.4;
}

.trust-point i {
  color: #0f9b5f;
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .trust-content {
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .trust-point {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .trust-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 575.98px) {
  .trust-title {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .trust-text {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .trust-point {
    justify-content: flex-start;
    text-align: left;
  }
}

.review-stars {
  color: #208754;
  font-style: normal;
  display: flex;
  gap: 4px;
}

.review-stars .bi {
  font-size: 1rem;
}

.review-author {
  color: #0a2a43;
  font-weight: 700;
  font-style: normal;
}

@media (min-width: 992px) {
  .hero-photo-wrapper {
    margin-left: auto;
    margin-right: 0;
  }
}

/* --------------------------------------------------   SMART TRIAGE / HOMEPAGE FINDER-------------------------------------------------- */

.stc-home-hero {
  position: relative;
}

.stc-availability {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 600;
  font-size: 0.95rem;
}

.stc-triage-card {
  background: #ffffff;
  color: #333;
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}

.stc-step-label {
  color: #0f9b5f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.stc-progress-wrap {
  width: 100%;
  height: 5px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
}

.stc-progress-bar {
  width: 12%;
  height: 100%;
  background: #0a2a43;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.stc-triage-body {
  min-height: 190px;
}

.stc-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.stc-choice-btn {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 0.9rem;
  background: #ffffff;
  color: #0a2a43;
  border: 1px solid #d7dde3;
  border-radius: 10px;
  font-weight: 600;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.stc-choice-btn:hover, .stc-choice-btn:focus {
  background: #ffffff;
  border-color: #0a2a43;
  color: #0a2a43;
  transform: translateY(-1px);
}

.stc-choice-btn:focus-visible {
  outline: 2px solid #0a2a43;
  outline-offset: 2px;
}

.stc-result-box {
  background: #f8f9fa;
  border: 1px solid #e2e6ea;
  border-radius: 12px;
  padding: 1rem;
}

.stc-result-service {
  color: #0a2a43;
  font-size: 1.15rem;
  font-weight: 700;
}

.stc-result-price {
  color: #208754;
  font-size: 1.1rem;
  font-weight: 700;
}

.stc-result-description {
  color: #5f6f7f;
  margin-bottom: 1rem;
}

.stc-home-benefit {
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#stcBack, #stcRestart {
  font-size: 0.9rem;
}

#stcBack {
  color: #0a2a43;
  text-decoration: none;
}

#stcBack:hover {
  text-decoration: underline;
}

#stcQuestionHint {
  font-size: 0.8rem;
}

.stc-review-form .form-control, .stc-review-form .form-select {
  border-radius: 10px;
}

.stc-review-form textarea {
  min-height: 110px;
  resize: vertical;
}

@media (max-width: 767.98px) {
  .stc-triage-card {
    padding: 1rem;
  }
}

@media (max-width: 767.98px) {
  .stc-choice-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

@media (max-width: 767.98px) {
  .stc-choice-btn {
    min-height: 50px;
    padding: 0.75rem 0.85rem;
  }
}

@media (max-width: 767.98px) {
  .stc-triage-body {
    min-height: auto;
  }
}

/* --------------------------------------------------   HOMEPAGE SMART FINDER — FINAL HERO SIZING-------------------------------------------------- */

.stc-home-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
}

.stc-hero-copy {
  max-width: 700px;
}

.stc-helper-wrap {
  display: flex;
  justify-content: flex-end;
}

.stc-triage-card-compact {
  width: 100%;
  max-width: 430px;
  padding: 1.15rem;
}

.stc-triage-card-compact .stc-problem-input {
  min-height: 68px;
  resize: vertical;
}

/* Old question-tree CSS was forcing the new finder taller */

.stc-triage-card-compact .stc-triage-body {
  min-height: 0;
}

/* Keep compact result spacing */

.stc-triage-card-compact .stc-finder-result-service {
  margin-bottom: 1rem !important;
}

/* Tablet / mobile */

@media (max-width: 991.98px) {
  .stc-home-hero {
    min-height: auto;
  }
}

@media (max-width: 991.98px) {
  .stc-helper-wrap {
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  .stc-triage-card-compact {
    max-width: 520px;
  }
}

@media (max-width: 575.98px) {
  .stc-triage-card-compact {
    max-width: 100%;
    padding: 1rem;
  }
}

.stc-problem-example {
  cursor: pointer;
}

.icon-size-xl {
  font-size: 4rem;
}

.icon-size-lg {
  font-size: 3.5rem;
}

