/* ================================================
   Project Pages — Shared Styles
   Used by: doorstep-business-services, efficiency-for-access, using-PURE-appliances
   ================================================ */

/* ── Hero (base — full background with image overridden per-page via $pageStyles) ── */
.project-hero {
   position: relative;
   background: linear-gradient(135deg, rgba(8,42,58,0.93) 0%, rgba(21,91,104,0.9) 55%, rgba(43,164,170,0.82) 100%) center/cover no-repeat;
   padding: 130px 0 70px;
   color: #fff;
}
.project-hero .breadcrumb-nav {
   font-size: 13px; letter-spacing: 0.04em;
   margin-bottom: 20px; opacity: 0.85;
}
.project-hero .breadcrumb-nav a { color: #80e5e1; text-decoration: none; }
.project-hero .breadcrumb-nav a:hover { text-decoration: underline; }
.project-hero .breadcrumb-nav .sep { margin: 0 8px; opacity: 0.6; }
.project-hero h1 {
   font-size: 42px; font-weight: 700;
   color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.project-hero .hero-meta {
   display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px;
}
.project-hero .hero-meta .tag {
   background: rgba(255,255,255,0.14);
   border: 1px solid rgba(255,255,255,0.3);
   border-radius: 999px; padding: 6px 16px;
   font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
}
@media (max-width: 767px) {
   .project-hero { padding: 110px 0 52px; }
   .project-hero h1 { font-size: 28px; }
}

/* ── Body ── */
.project-body { padding: 64px 0 80px; background: #fff; }

.section-label {
   display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.section-label .label-line {
   display: inline-block; width: 32px; height: 2px;
   background: #2FA7A3; border-radius: 2px;
}
.section-label .label-text {
   font-size: 12px; font-weight: 700;
   letter-spacing: 0.12em; text-transform: uppercase; color: #2FA7A3;
}
.project-body h2 {
   font-size: 28px; font-weight: 700;
   color: #0d2d3f; margin-bottom: 16px; line-height: 1.3;
}
.project-body h2 strong { color: #2FA7A3; }
.project-body h3 {
   font-size: 18px; font-weight: 700;
   color: #0d2d3f; margin: 28px 0 12px;
}
.project-body p {
   font-size: 15px; line-height: 1.85;
   color: #3d4e5c; margin-bottom: 16px;
}
.section-divider {
   border: none; border-top: 1px solid #e8f4f4; margin: 48px 0;
}

/* ── Stat cards ── */
.stat-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
   gap: 18px; margin: 36px 0;
}
.stat-card {
   background: #f4fbfb; border: 1px solid #d4f0ee;
   border-radius: 14px; padding: 26px 18px; text-align: center;
   transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 14px 32px rgba(47,167,163,0.15);
}
.stat-card .stat-number {
   font-size: 32px; font-weight: 800;
   color: #2FA7A3; line-height: 1; margin-bottom: 8px;
}
.stat-card .stat-label {
   font-size: 13px; font-weight: 600;
   color: #4a6070; letter-spacing: 0.02em; line-height: 1.4;
}
.stat-card .stat-sub { font-size: 11px; color: #7a93a3; margin-top: 4px; }

/* ── Bullet list ── */
.project-list { list-style: none; padding: 0; margin: 0 0 20px; }
.project-list li {
   position: relative; padding-left: 28px;
   margin-bottom: 12px; font-size: 15px;
   line-height: 1.75; color: #3d4e5c;
}
.project-list li::before {
   content: ""; position: absolute; left: 0; top: 10px;
   width: 10px; height: 10px; border-radius: 50%;
   background: linear-gradient(135deg, #1f8f95, #2FA7A3);
   box-shadow: 0 0 0 3px rgba(47,167,163,0.18);
}
.project-list.sub-list li::before {
   width: 7px; height: 7px; top: 11px;
   background: #b0dedd;
   box-shadow: 0 0 0 2px rgba(47,167,163,0.12);
}

/* ── Phase box ── */
.phase-box {
   background: #f8fcfc; border: 1px solid #dff0ef;
   border-left: 4px solid #2FA7A3;
   border-radius: 10px; padding: 24px 24px 18px; margin-bottom: 24px;
}
.phase-box .phase-label {
   font-size: 11px; font-weight: 700; text-transform: uppercase;
   letter-spacing: 0.12em; color: #2FA7A3; margin-bottom: 6px;
}
.phase-box h3 { font-size: 17px; font-weight: 700; color: #0d2d3f; margin: 0 0 14px; }

/* ── Services grid (doorstep) ── */
.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
   gap: 10px; margin: 18px 0 28px;
}
.service-chip {
   background: #e8f8f7; border: 1px solid #b8e8e5;
   border-radius: 8px; padding: 10px 14px;
   font-size: 13px; font-weight: 600; color: #1a7a7a;
   display: flex; align-items: center; gap: 8px;
}
.service-chip i { color: #2FA7A3; flex-shrink: 0; }

/* ── Tech stack (doorstep) ── */
.tech-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
   gap: 14px; margin: 20px 0;
}
.tech-item {
   background: #f0f9f9; border: 1px solid #cdeeed;
   border-radius: 10px; padding: 16px 16px;
   font-size: 13.5px; color: #3d4e5c; line-height: 1.5;
   display: flex; align-items: flex-start; gap: 10px;
}
.tech-item i { color: #2FA7A3; margin-top: 2px; flex-shrink: 0; }

/* ── Value chain tags (pure) ── */
.vc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.vc-tag {
   background: #e8f8f7; border: 1px solid #b8e8e5;
   border-radius: 8px; padding: 8px 16px;
   font-size: 13px; font-weight: 600; color: #1a7a7a;
}

/* ── Outcome highlight ── */
.outcome-highlight {
   background: linear-gradient(135deg, #0d2d3f 0%, #1a5a68 100%);
   border-radius: 20px; padding: 44px 40px; color: #fff; margin-top: 40px;
}
.outcome-highlight h3 {
   font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 28px;
}
.outcome-highlight .outcome-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 20px;
}
.outcome-highlight .outcome-item {
   background: rgba(255,255,255,0.08);
   border: 1px solid rgba(255,255,255,0.15);
   border-radius: 12px; padding: 22px 18px;
}
.outcome-highlight .outcome-item .icon {
   font-size: 22px; color: #80e5e1; margin-bottom: 10px;
}
.outcome-highlight .outcome-item .value {
   font-size: 26px; font-weight: 800;
   color: #80e5e1; line-height: 1; margin-bottom: 8px;
}
.outcome-highlight .outcome-item .desc {
   font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.55;
}
@media (max-width: 767px) { .outcome-highlight { padding: 30px 22px; } }

/* ── Sidebar ── */
.project-sidebar { position: sticky; top: 90px; }
.sidebar-card {
   background: #f8fcfc; border: 1px solid #dff0ef;
   border-radius: 16px; padding: 28px 24px; margin-bottom: 24px;
}
.sidebar-card h4 {
   font-size: 13px; font-weight: 700;
   text-transform: uppercase; letter-spacing: 0.09em;
   color: #2FA7A3; margin-bottom: 16px;
}
.sidebar-card .info-row {
   display: flex; justify-content: space-between;
   font-size: 13.5px; padding: 9px 0;
   border-bottom: 1px solid #e8f4f3; color: #3d4e5c;
}
.sidebar-card .info-row:last-child { border-bottom: none; }
.sidebar-card .info-row .key { color: #7a93a3; font-weight: 600; flex-shrink: 0; }
.sidebar-card .info-row .val { font-weight: 600; text-align: right; margin-left: 10px; }

/* ── Contact card ── */
.contact-card {
   background: #f8fcfc; border: 1px solid #dff0ef;
   border-radius: 16px; padding: 28px 24px; margin-bottom: 24px;
}
.contact-card h4 {
   font-size: 13px; font-weight: 700;
   text-transform: uppercase; letter-spacing: 0.09em;
   color: #2FA7A3; margin-bottom: 18px;
}
.contact-card .contact-name {
   font-size: 16px; font-weight: 700; color: #0d2d3f; margin-bottom: 2px;
}
.contact-card .contact-title {
   font-size: 13px; color: #2FA7A3; font-weight: 600; margin-bottom: 16px; line-height: 1.45;
}
.contact-card .contact-detail {
   display: flex; align-items: flex-start; gap: 10px;
   font-size: 13px; color: #4a6070; margin-bottom: 10px; line-height: 1.5;
}
.contact-card .contact-detail i {
   color: #2FA7A3; margin-top: 2px; flex-shrink: 0; width: 14px;
}
.contact-card .contact-detail a { color: #4a6070; text-decoration: none; }
.contact-card .contact-detail a:hover { color: #2FA7A3; }

/* ── Back link ── */
.back-link {
   display: inline-flex; align-items: center; gap: 8px;
   color: #2FA7A3; font-weight: 600; font-size: 14px;
   text-decoration: none; transition: gap 0.2s ease;
}
.back-link:hover { gap: 12px; color: #1f8f95; text-decoration: none; }
.back-link i { font-size: 12px; }

/* ── Project Gallery ── */
.gallery-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 8px;
   margin-top: 4px;
}
.gallery-item {
   position: relative;
   overflow: hidden;
   border-radius: 8px;
   aspect-ratio: 1 / 1;
   display: block;
   cursor: pointer;
}
.gallery-item img {
   width: 100%; height: 100%;
   object-fit: cover;
   transition: transform 0.3s ease;
   display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
   position: absolute;
   inset: 0;
   background: rgba(13,45,63,0.45);
   display: flex; align-items: center; justify-content: center;
   opacity: 0;
   transition: opacity 0.25s ease;
   border-radius: 8px;
}
.gallery-overlay i { font-size: 18px; color: #fff; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
