/* ============================================================
   Accelerator & Incubator Portfolio page
   All selectors are scoped under .acc-portfolio so they do NOT
   affect any existing site classes.
   ============================================================ */

.acc-portfolio {
   --acc-navy: #16224d;
   --acc-purple: #7a30e0;
   --acc-green: #5bb030;
   --acc-blue: #2f6cf6;
   --acc-orange: #f5811f;
   --acc-magenta: #e01a7f;
   --acc-teal: #00b6ad;
   background: #ffffff;
   padding: 50px 0 70px;
   font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
   color: var(--acc-navy);
   -webkit-font-smoothing: antialiased;
}

.acc-portfolio * { box-sizing: border-box; }

.acc-portfolio .acc-wrap {
   max-width: 1180px;
   margin: 0 auto;
   padding: 0 18px;
}

/* ---------- per-sector colour helpers ---------- */
.acc-portfolio .acc-c-purple  { --acc: var(--acc-purple); }
.acc-portfolio .acc-c-green   { --acc: var(--acc-green); }
.acc-portfolio .acc-c-blue    { --acc: var(--acc-blue); }
.acc-portfolio .acc-c-orange  { --acc: var(--acc-orange); }
.acc-portfolio .acc-c-magenta { --acc: var(--acc-magenta); }
.acc-portfolio .acc-c-teal    { --acc: var(--acc-teal); }
.acc-portfolio .acc-c-navy    { --acc: var(--acc-navy); }

/* ---------- header ---------- */
.acc-portfolio .acc-head { text-align: center; margin-bottom: 34px; }
.acc-portfolio .acc-head h1 {
   font-size: 40px;
   font-weight: 800;
   letter-spacing: .5px;
   margin: 0 0 12px;
   color: var(--acc-navy);
   line-height: 1.1;
}
.acc-portfolio .acc-head p {
   font-size: 16px;
   color: #4a5572;
   margin: 0;
   font-weight: 600;
}

/* ---------- category cards ---------- */
.acc-portfolio .acc-cats {
   display: grid;
   grid-template-columns: repeat(6, 1fr);
   gap: 14px;
   margin-bottom: 40px;
}
.acc-portfolio .acc-cat { text-align: center; padding: 6px 4px; }
.acc-portfolio .acc-cat-ic {
   width: 58px; height: 58px;
   border-radius: 14px;
   display: inline-flex; align-items: center; justify-content: center;
   background: var(--acc);
   color: #fff;
   margin-bottom: 12px;
   box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.acc-portfolio .acc-cat-ic svg { width: 30px; height: 30px; }
.acc-portfolio .acc-cat h3 {
   font-size: 12px;
   font-weight: 800;
   text-transform: uppercase;
   color: var(--acc);
   margin: 0 0 7px;
   letter-spacing: .3px;
   line-height: 1.25;
}
.acc-portfolio .acc-cat p {
   font-size: 11px;
   color: #5b6376;
   margin: 0;
   line-height: 1.4;
}

/* ---------- rows ---------- */
.acc-portfolio .acc-row { display: grid; gap: 22px; margin-bottom: 26px; align-items: start; }
.acc-portfolio .acc-row-2 { grid-template-columns: 1fr 1fr; }
.acc-portfolio .acc-row-center { grid-template-columns: minmax(0,1fr) minmax(260px,300px) minmax(0,1.18fr); align-items: center; }
.acc-portfolio .acc-row-3 { grid-template-columns: 1fr 1fr 1fr; }
/* allow grid items to shrink so wide tables don't overflow / clip */
.acc-portfolio .acc-row > * { min-width: 0; }

/* ---------- table card ---------- */
.acc-portfolio .acc-table {
   border: 2px solid var(--acc);
   border-radius: 16px;
   overflow: hidden;
   background: #fff;
   min-width: 0;
   box-shadow: 0 8px 22px rgba(20,34,77,.06);
   transition: box-shadow .28s ease;
}
.acc-portfolio .acc-table:hover { box-shadow: 0 16px 34px rgba(20,34,77,.14); }
.acc-portfolio .acc-tbl-head {
   display: flex; align-items: center; gap: 10px;
   padding: 10px 16px;
   border-bottom: 1px solid #eef1f6;
   position: relative;
}
.acc-portfolio .acc-tbl-head h4 {
   margin: 0;
   text-align: center;
   flex: 1;
   font-size: 14px;
   font-weight: 800;
   text-transform: uppercase;
   color: var(--acc);
   letter-spacing: .3px;
}
.acc-portfolio .acc-tbl-ic {
   width: 40px; height: 40px;
   border-radius: 50%;
   background: var(--acc);
   color: #fff;
   display: inline-flex; align-items: center; justify-content: center;
   flex: 0 0 40px;
}
.acc-portfolio .acc-tbl-ic svg { width: 22px; height: 22px; }

.acc-portfolio .acc-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
/* shared column widths so nothing overflows or gets clipped */
.acc-portfolio .acc-table th:nth-child(1), .acc-portfolio .acc-table td:nth-child(1) { width: 7%;  text-align: center; }
.acc-portfolio .acc-table th:nth-child(2), .acc-portfolio .acc-table td:nth-child(2) { width: 23%; }
.acc-portfolio .acc-table th:nth-child(3), .acc-portfolio .acc-table td:nth-child(3) { width: 13%; }
.acc-portfolio .acc-table th:nth-child(4), .acc-portfolio .acc-table td:nth-child(4) { width: 25%; }
.acc-portfolio .acc-table th:nth-child(5), .acc-portfolio .acc-table td:nth-child(5) { width: 19%; }
.acc-portfolio .acc-table th:nth-child(6), .acc-portfolio .acc-table td:nth-child(6) { width: 13%; text-align: center; }
.acc-portfolio .acc-table thead th {
   font-size: 9px;
   font-weight: 800;
   text-transform: uppercase;
   color: #8a93a8;
   padding: 8px 5px;
   text-align: left;
   border-bottom: 1px solid #eef1f6;
   letter-spacing: .2px;
   line-height: 1.2;
   overflow-wrap: anywhere;
   word-break: break-word;
}
.acc-portfolio .acc-table tbody td {
   font-size: 10px;
   color: #3c4561;
   padding: 8px 5px;
   border-bottom: 1px solid #f2f4f8;
   vertical-align: middle;
   line-height: 1.35;
   overflow-wrap: anywhere;
   word-break: break-word;
}
.acc-portfolio .acc-table tbody tr:last-child td { border-bottom: none; }
.acc-portfolio .acc-client { font-weight: 700; color: var(--acc-navy); }
.acc-portfolio .acc-num {
   display: inline-flex; align-items: center; justify-content: center;
   width: 20px; height: 20px;
   border-radius: 50%;
   background: var(--acc);
   color: #fff;
   font-size: 10px;
   font-weight: 700;
}
.acc-portfolio .acc-sn {
   font-weight: 800;
   color: var(--acc);
   font-size: 14px;
   text-align: center;
}

.acc-portfolio .acc-tbl-foot {
   display: flex; align-items: center; gap: 16px;
   padding: 9px 16px;
   background: #f5f7fb;
   font-size: 10px;
   font-weight: 700;
   color: #5b6376;
   text-transform: uppercase;
   flex-wrap: wrap;
}
.acc-portfolio .acc-tbl-foot b { color: var(--acc); }
.acc-portfolio .acc-globe {
   width: 18px; height: 18px; flex: 0 0 18px;
   border-radius: 50%;
   border: 1.6px solid var(--acc);
   position: relative;
}
.acc-portfolio .acc-globe::before,
.acc-portfolio .acc-globe::after {
   content: ""; position: absolute; inset: 0;
   border: 1px solid var(--acc); border-radius: 50%;
}
.acc-portfolio .acc-globe::before { transform: scaleX(.45); }
.acc-portfolio .acc-globe::after  { border-width: 0; border-top: 1.4px solid var(--acc); top: 50%; }

/* ---------- center circle ---------- */
.acc-portfolio .acc-center { display: flex; justify-content: center; }
.acc-portfolio .acc-circle {
   width: 270px; height: 270px;
   border-radius: 50%;
   background: radial-gradient(circle at 50% 35%, #1d2f63, #0f1a3d);
   color: #fff;
   display: flex; flex-direction: column;
   align-items: center; justify-content: center;
   text-align: center;
   padding: 22px;
   box-shadow: 0 14px 34px rgba(15,26,61,.35);
}
.acc-portfolio .acc-rocket {
   width: 34px; height: 34px; margin-bottom: 4px;
   display: inline-flex; align-items: center; justify-content: center;
}
.acc-portfolio .acc-rocket svg { width: 30px; height: 30px; }
.acc-portfolio .acc-circle-title { font-size: 12px; font-weight: 700; line-height: 1.25; letter-spacing: .5px; }
.acc-portfolio .acc-circle-big { font-size: 26px; font-weight: 800; color: #ff7a59; margin: 4px 0 10px; letter-spacing: .5px; }
.acc-portfolio .acc-circle-stats { display: flex; gap: 20px; margin-bottom: 10px; }
.acc-portfolio .acc-circle-stats strong { display: block; font-size: 22px; color: #18c0ff; line-height: 1; }
.acc-portfolio .acc-circle-stats span { font-size: 9px; font-weight: 700; letter-spacing: .4px; display: block; margin-top: 3px; }
.acc-portfolio .acc-circle-foot { font-size: 9px; font-weight: 700; letter-spacing: .5px; color: #c7cee0; }

/* ---------- stats strip ---------- */
.acc-portfolio .acc-stats {
   display: grid;
   grid-template-columns: repeat(6, 1fr);
   gap: 14px;
   margin: 46px 0;
   padding: 30px 16px;
   border-top: 1px solid #eef1f6;
   border-bottom: 1px solid #eef1f6;
}
.acc-portfolio .acc-stat { text-align: center; }
.acc-portfolio .acc-stat-ic {
   width: 52px; height: 52px;
   border-radius: 50%;
   border: 2px solid var(--acc);
   color: var(--acc);
   display: inline-flex; align-items: center; justify-content: center;
   margin-bottom: 10px;
}
.acc-portfolio .acc-stat-ic svg { width: 26px; height: 26px; }
.acc-portfolio .acc-stat strong {
   display: block;
   font-size: 26px;
   font-weight: 800;
   color: var(--acc);
   line-height: 1;
   margin-bottom: 4px;
}
.acc-portfolio .acc-stat h5 {
   font-size: 11px; font-weight: 800; text-transform: uppercase;
   color: var(--acc-navy); margin: 0 0 5px; letter-spacing: .3px;
}
.acc-portfolio .acc-stat p { font-size: 10px; color: #5b6376; margin: 0; line-height: 1.4; }

/* ---------- partners ---------- */
.acc-portfolio .acc-partners { text-align: center; }
.acc-portfolio .acc-partners h2 {
   font-size: 18px; font-weight: 800; letter-spacing: 1px;
   color: var(--acc-navy); text-transform: uppercase; margin: 0 0 28px;
}
.acc-portfolio .acc-logos {
   display: grid;
   grid-template-columns: repeat(7, 1fr);
   gap: 18px;
}
.acc-portfolio .acc-logo {
   min-height: 70px;
   display: flex; align-items: center; justify-content: center;
   text-align: center;
   padding: 12px 10px;
   border: 1px solid #eef1f6;
   border-radius: 10px;
   font-size: 13px;
   font-weight: 800;
   color: #2f3a5c;
   line-height: 1.25;
   background: #fff;
   transition: box-shadow .2s ease, transform .2s ease;
}
.acc-portfolio .acc-logo:hover { box-shadow: 0 8px 18px rgba(20,34,77,.1); transform: translateY(-2px); }
.acc-portfolio .acc-logo small { display: block; font-size: 8px; font-weight: 700; color: #8a93a8; margin-top: 2px; }
.acc-portfolio .acc-logo sup { font-size: 9px; }
.acc-portfolio .acc-logo img { max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; }

/* logo inside a table client cell */
.acc-portfolio .acc-client-logo { display: inline-flex; align-items: center; }
.acc-portfolio .acc-client-logo img { max-height: 28px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
   .acc-portfolio .acc-cats { grid-template-columns: repeat(3, 1fr); }
   .acc-portfolio .acc-row-2,
   .acc-portfolio .acc-row-3 { grid-template-columns: 1fr; }
   .acc-portfolio .acc-row-center { grid-template-columns: 1fr; }
   .acc-portfolio .acc-center { order: -1; }
   .acc-portfolio .acc-stats { grid-template-columns: repeat(3, 1fr); }
   .acc-portfolio .acc-logos { grid-template-columns: repeat(4, 1fr); }
   .acc-portfolio .acc-head h1 { font-size: 30px; }
}
@media (max-width: 575px) {
   .acc-portfolio .acc-cats { grid-template-columns: repeat(2, 1fr); }
   .acc-portfolio .acc-stats { grid-template-columns: repeat(2, 1fr); }
   .acc-portfolio .acc-logos { grid-template-columns: repeat(2, 1fr); }
   .acc-portfolio .acc-head h1 { font-size: 23px; }
   .acc-portfolio .acc-table { overflow-x: auto; }
}
