/* ========================================
   SOLUTIONS (SUPERVISION) PAGE STYLES
   ======================================== */

/* Let hero and footer backgrounds span the full viewport width.
   Inner content (.navbar, .sol-section-inner, .footer__inner) handles
   its own max-width / centering. */
.page {
  max-width: 100%;
}

:root {
  --color-primary: #1C5B5D;        /* headings */
  --sol-primary-light: #447569;
  --sol-primary-container: #DCEBE6;
  --sol-surface: #F8FAF9;
  --sol-on-surface: #1a1c1b;       /* body text */
  --sol-card-radius: 1rem;
  --sol-orange-gradient: linear-gradient(93.6deg, #F99522 50%, #FEE478 100%);
}

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.sol-hero {
  position: relative;
  width: 100%;
  min-height: clamp(36rem, 50vw, 37.5rem); /* ~600px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}

/* Layered gradient background — matches tmind-intro-band__bg */
.sol-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(238, 245, 241, 0) 55%, rgb(238, 245, 241) 100%),
    radial-gradient(ellipse 100% 115% at 50% 32%,
      rgb(255, 253, 243) 0%,
      rgb(238, 245, 241) 51%,
      rgb(198, 224, 210) 100%
    );
}

/* Blob left: yellow #F7F371 → green #00BC6B */
.sol-hero-bg::before {
  content: '';
  position: absolute;
  width: 68%;
  height: 90%;
  left: -8%;
  top: -10%;
  border-radius: 50%;
  transform: rotate(25deg);
  filter: blur(50px);
  background: linear-gradient(175.44deg,
    rgba(247, 243, 113, 0.62) 12.89%,
    rgba(0, 188, 107, 0.50) 27.36%,
    rgba(0, 188, 107, 0) 50%
  );
}

/* Blob right: mirrored yellow-green */
.sol-hero-bg::after {
  content: '';
  position: absolute;
  width: 62%;
  height: 85%;
  right: -8%;
  top: -10%;
  border-radius: 50%;
  transform: rotate(155deg);
  filter: blur(50px);
  background: linear-gradient(147.56deg,
    rgba(247, 243, 113, 0.40) 24.89%,
    rgba(0, 188, 107, 0.30) 34.98%,
    rgba(0, 188, 107, 0) 50%
  );
}

/* Hero Content */
.sol-hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(1.5rem, 10vw, 9rem);
}

.sol-hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 4.44vw, 4rem);
  line-height: 1.1875;
  letter-spacing: -0.04em;
  color: var(--color-primary);
}

/* ----------------------------------------
   SHARED SECTION LAYOUT
   ---------------------------------------- */
.sol-section {
  width: 100%;
  padding: clamp(2rem, 5.5vw, 6rem) clamp(1rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 3.33vw, 3rem);
}

.sol-section-inner {
  width: 100%;
  max-width: 1152px;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.33vw, 3rem);
}

/* Section Title */
.sol-section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  width: 100%;
}

.sol-section-title--xl {
  font-size: clamp(1.75rem, 3.33vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1667;
}

.sol-section-title--lg {
  font-size: clamp(1.5rem, 2.78vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sol-section-title--md {
  font-size: clamp(1.25rem, 1.94vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ----------------------------------------
   WHO IT'S FOR — 4-COLUMN CARDS
   ---------------------------------------- */
.sol-who-section {
  background: #fff;
}

.sol-who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 1.39vw, 1.25rem);
  width: 100%;
}

.sol-profession-card {
  padding: clamp(1rem, 1.67vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 28.125rem;
}

.sol-profession-card__img {
  width: 100%;
  aspect-ratio: 1;
  max-width: clamp(8rem, 15.56vw, 14rem);
  object-fit: cover;
  border-radius: 0.5rem;
}

.sol-profession-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.11vw, 1.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-primary);
  text-align: center;
  width: 100%;
}

.sol-profession-card__desc {
  font-size: clamp(0.875rem, 0.83vw, 1rem);
  line-height: 1.5;
  color: var(--sol-on-surface);
  text-align: center;
}

/* ----------------------------------------
   KEY FEATURES — 2×2 GRID
   ---------------------------------------- */
.sol-features-section {
  background: #fff;
}

.sol-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
}

.sol-feature-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sol-feature-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sol-feature-card__icon-wrap {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--sol-primary-light);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.sol-feature-card__icon-wrap img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.sol-feature-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1667;
  color: var(--color-primary);
}

.sol-feature-card__desc {
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  line-height: 1.5556;
  color: var(--sol-on-surface);
}

/* ----------------------------------------
   HOW IT WORKS — 3 STEPS
   ---------------------------------------- */
.sol-howworks-section {
  background: #fff;
}

.sol-steps {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0;
}

.sol-steps-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1152px;
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* Connecting line */
.sol-steps-track::before {
  content: '';
  position: absolute;
  /* Vertically center on the circles: half of circle height */
  top: calc(clamp(4rem, 5vw, 6rem) / 2);
  /* Horizontally: start/end at the center of the outer step items */
  left: calc(clamp(11rem, 18vw, 17.25rem) / 2);
  right: calc(clamp(11rem, 18vw, 17.25rem) / 2);
  height: 1px;
  background: #C4C7C5;
  z-index: 0;
}

.sol-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: clamp(11rem, 18vw, 17.25rem);
  text-align: center;
  position: relative;
  z-index: 1;
}

.sol-step__circle {
  width: clamp(4rem, 5vw, 6rem);
  height: clamp(4rem, 5vw, 6rem);
  background: var(--sol-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sol-step__number {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.22vw, 2.5rem);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.sol-step__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.sol-step__desc {
  font-size: clamp(0.875rem, 1.04vw, 1.25rem);
  line-height: 1.5;
  color: var(--sol-on-surface);
  max-width: 17.5rem;
}

/* CTA Button (orange gradient) */
.sol-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 250px;
  height: 56px;
  padding: 0;
  align-self: center;
  border-radius: 99px;
  border: none;
  background: var(--sol-orange-gradient);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.11vw, 1.125rem);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.sol-cta-btn:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

.sol-cta-btn img {
  width: 10px;
  height: 10px;
}

/* ----------------------------------------
   FOR EMPLOYERS SECTION
   ---------------------------------------- */
.sol-employers-section {
  background: #fff;
}

.sol-employer-types {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 4.44vw, 5rem);
  width: 100%;
  flex-wrap: wrap;
}

.sol-employer-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  width: clamp(7rem, 12vw, 17.25rem);
  text-align: center;
}

.sol-employer-type__icon-wrap {
  width: clamp(4.5rem, 6.67vw, 6rem);
  height: clamp(4.5rem, 6.67vw, 6rem);
  background: var(--sol-primary-light);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sol-employer-type__icon-wrap img {
  width: clamp(2.25rem, 3.33vw, 3rem);
  height: clamp(2.25rem, 3.33vw, 3rem);
  object-fit: contain;
}

.sol-employer-type__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(0.875rem, 0.97vw, 1.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-primary);
  text-align: center;
}

/* Employer Feature Cards 2×2 */
.sol-employer-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  width: 100%;
}

.sol-employer-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 36px;

}

.sol-employer-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sol-employer-card__icon-wrap {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--sol-primary-container);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-employer-card__icon-wrap img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.sol-employer-card__title {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1667;
  color: var(--color-primary);
}

.sol-employer-card__desc {
  width: 100%;
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  line-height: 1.5556;
  color: var(--sol-on-surface);
  /* align with title: icon-wrap (3.5rem) + header gap (1rem) */
  padding-left: calc(3.5rem + 1rem);
}

/* ----------------------------------------
   FOR SUPERVISORS SECTION
   ---------------------------------------- */
.sol-supervisors-section {
  background: #fff;
}

.sol-supervisors-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: clamp(2rem, 4.44vw, 4rem);
  width: 100%;
  min-width: 0;
  padding: 0 48px;
}

/* Supervisor Benefits List */
.sol-benefits-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  padding-left: 3rem;
}

.sol-benefit-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.sol-benefit-card__icon-wrap {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background: var(--sol-primary-container);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-benefit-card__icon-wrap img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.sol-benefit-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

/* Requirements Box */
.sol-requirements-box {
  min-width: 0; /* prevent grid column from expanding beyond 1fr */
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sol-requirements-header h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.sol-requirements-header p {
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  line-height: 1.5556;
  color: var(--sol-on-surface);
}

.sol-req-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sol-req-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.sol-req-item img {
  flex-shrink: 0;
  width: 1.625rem;
  height: 1.625rem;
}

.sol-req-item p {
  flex: 1;
  min-width: 0;
  max-width: 22em;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  line-height: 1.5556;
  color: var(--sol-on-surface);
}

/* ----------------------------------------
   RESPONSIVE — TABLET (≤1024px)
   ---------------------------------------- */
@media screen and (max-width: 1024px) {
  .sol-who-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .sol-profession-card {
    min-height: auto;
  }

  .sol-steps-track {
    gap: 1rem;
  }

  .sol-supervisors-layout {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .sol-benefits-list {
    padding-left: 5rem;
  }
}

/* ----------------------------------------
   RESPONSIVE — MOBILE (≤768px)
   ---------------------------------------- */
@media screen and (max-width: 768px) {
  .sol-features-grid {
    grid-template-columns: 1fr;
  }

  .sol-steps-track {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .sol-steps-track::before {
    display: none;
  }

  .sol-employer-cards {
    grid-template-columns: 1fr;
  }

  .sol-employer-card__desc {
    padding-left: 0;
  }
}

/* ----------------------------------------
   RESPONSIVE — SMALL MOBILE (≤480px)
   ---------------------------------------- */
@media screen and (max-width: 480px) {
  .sol-who-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   FAQ SECTION
   ---------------------------------------- */
.faq-section {
  background: #fff;
}

.faq-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.faq-tab {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  padding: 9px 21px 10px;
  border-radius: 360px;
  border: 1px solid #c4c7c5;
  background: #fff;
  color: #444846;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.faq-tab--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.faq-tab:not(.faq-tab--active):hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* FAQ Panel — tab visibility */
.faq-panel[hidden] {
  display: none;
}

/* FAQ widths: lines 1104px, text 1056px (24px gaps on each level) */
.faq-section .faq-list {
  padding-left: 24px;
  padding-right: 24px;
}

.faq-section .faq-item__row,
.faq-section .faq-item__panel {
  padding-left: 24px;
  padding-right: 24px;
}

.faq-section .faq-item__row {
  cursor: pointer;
}

.faq-section .faq-item__toggle:hover {
  background: transparent;
}

/* Override resource-hub.css max-width: 948px so text fills 1056px */
.faq-section .faq-item__panel {
  max-width: none;
}
