
/* ════════════════════════════════════════════════════════════
   SOLUTIONS PAGE STYLES
════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   SOLUTIONS EXPLORER — sidebar + panel layout
═══════════════════════════════════════════════════════════ */

.sol-explorer {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: start;
  max-width: 1280px;
  margin: 0 0;
  padding: 60px 60px 60px;
  gap: 0;
}

/* ── SIDEBAR ── */
.sol-sidebar {
  position: sticky;
  top: 100px;
  margin-left: 20px;
  background: #ffffff;
  border: 1px solid rgba(182, 161, 132, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(120, 78, 144, 0.07), 0 1px 4px rgba(0,0,0,0.04);
}

/* Category group wrapper */
.sol-cat-group {
  border-bottom: 1px solid rgba(182, 161, 132, 0.15);
}
.sol-cat-group:last-child {
  border-bottom: none;
}

/* Category header row */
.sol-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #5a3d6e;
  cursor: pointer;
  background: #f8f5fc;
  transition: background 0.22s ease, color 0.22s ease;
  user-select: none;
  position: relative;
}

/* Arrow indicator on the right */
.sol-cat-header::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #b6a0cc;
  border-bottom: 2px solid #b6a0cc;
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.25s ease, border-color 0.22s;
  flex-shrink: 0;
}
.sol-cat-header.active::after {
  transform: rotate(-135deg);
  border-color: var(--purple);
}

/* Icon badge */
.sol-cat-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ede8f5;
  color: var(--purple);
  flex-shrink: 0;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

/* Active category header */
.sol-cat-header.active {
  color: var(--purple);
  background: #f0e9f9;
}
.sol-cat-header.active .sol-cat-icon-wrap {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(120, 78, 144, 0.35);
}

.sol-cat-header:not(.active):hover {
  background: #f4f0fa;
  color: var(--purple);
}
.sol-cat-header:not(.active):hover .sol-cat-icon-wrap {
  background: #e4daf0;
}

/* Sub-list */
.sol-sub-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 8px;
  background: #ffffff;
  overflow: hidden;
  max-height: 400px;
  transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease, opacity 0.25s ease;
  opacity: 1;
}
.sol-sub-list.collapsed {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

/* Sub-items */
.sol-sub-item {
  padding: 9px 20px 9px 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: #7a6e8a;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.sol-sub-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4c5e8;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.sol-sub-item:hover {
  color: var(--purple);
  background: #faf7fd;
  border-left-color: rgba(120, 78, 144, 0.25);
}
.sol-sub-item:hover::before {
  background: var(--purple);
  transform: scale(1.3);
}
.sol-sub-item.active {
  color: var(--purple);
  border-left-color: var(--purple);
  background: #f7f2fc;
  font-weight: 600;
}
.sol-sub-item.active::before {
  background: var(--purple);
  transform: scale(1.15);
}

/* ── CONTENT ── */
.sol-content { padding-left: 60px; min-width: 0; }

.sol-panel { display: none; }
.sol-panel.active {
  display: block;
  animation: solFadeIn 0.28s ease forwards;
}
@keyframes solFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sol-panel-image {
  position: relative;
  width: 1000px;
  height: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: max-content;
  margin-bottom: 20px;
}
.sol-panel-image img { width:1000px; height:520px; object-fit:cover; display:block;  }
.sol-panel-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,20,40,0.35) 0%, transparent 60%);
}

.sol-panel-title {
font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--purple);
  margin: 0 0 14px;
  line-height: 1.1;
}
.sol-panel-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  max-width: 860px;
  margin-bottom: 28px;
}
.sol-panel-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.sol-panel-body { padding: 0 0 32px; }

.sol-panel-issues ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.sol-panel-issues ul li {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px; color: var(--text-mid);
  padding-left: 16px; position: relative; line-height: 1.5;
}
.sol-panel-issues ul li::before {
  content: ''; position: absolute; left:0; top:7px;
  width:5px; height:5px; border-radius:50%; background: var(--gold);
}

.sol-benefits-card {
  background: #f9f7f5;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.sol-benefits-title {
font-family: 'Outfit', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--purple); margin-bottom: 12px;
}
.sol-benefits-card ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:7px; }
.sol-benefits-card ul li {
  font-family: 'Outfit', sans-serif;
  font-size: 13px; color: var(--text-mid);
  padding-left: 16px; position: relative;
}
.sol-benefits-card ul li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--purple); font-size: 11px; top: 1px;
}

/* ── MORE STRIP ── */
.sol-more-strip {
  margin-top: 48px; padding-top: 36px;
  border-top: 1px solid var(--border);
}
.sol-more-title {
font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700; color: var(--text);
  margin-bottom: 24px; text-align: center;
}
.sol-more-title span { color: var(--purple); }

.sol-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}
.sol-more-card {
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #784e9015;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sol-more-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sol-more-thumb { position:relative; aspect-ratio: 16/10; overflow:hidden; }
.sol-more-thumb img { width:100%; height:100%; object-fit:cover; display:block; transition: transform 0.4s ease; }
.sol-more-card:hover .sol-more-thumb img { transform: scale(1.06); }
.sol-more-thumb-overlay { position:absolute; inset:0; background: rgba(120,78,144,0.15); }
.sol-more-cat-label {
  padding: 10px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 5px; color: var(--gold);
  font-weight: 600; line-height: 1.4; text-align: center;
}
.sol-more-card h4 {
  padding:12px  0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;               /* was 5px — corrected */
  color: var(--gold);            /* changed from var(--gold) to your main text color */
  font-weight: 600;              /* bumped for readability */
  line-height: 1.4;
  text-align: center;              /* left-aligned like the screenshot */
  margin: 0;
}


/* ── Legacy intro-strip (kept for any remaining refs) ── */

.sol-intro-inner {
  max-width: 860px;
  margin: 0 auto;
  border-left: 4px solid var(--purple);
  padding-left: 24px;
}
.sol-intro-inner p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

/* ── Single Category Card ─────────────────────────────────── */

.sol-home       { background: linear-gradient(135deg, #3d1a6e 0%, #784e90 60%, #b6a184 100%); }
.sol-commercial { background: linear-gradient(135deg, #1a2e6e 0%, #3a5090 60%, #7a9ab6 100%); }
.sol-city       { background: linear-gradient(135deg, #1a3e2e 0%, #2d6e5a 60%, #6eb6a0 100%); }
.sol-infra      { background: linear-gradient(135deg, #4e1a1a 0%, #904848 60%, #b68484 100%); }

