* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #17222d;
  background: #f7faf9;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #dfe7e3;
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #008fd9;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand strong {
  font-size: 20px;
}

.brand small {
  margin-top: 3px;
  color: #748087;
  font-size: 15px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: #637079;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease;
}

nav a:hover,
nav a.active {
  color: #008fd9;
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 80px 0 70px;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,143,217,.12), transparent 34%),
    linear-gradient(135deg, #f5fafc, #fff);
  border-bottom: 1px solid #e0e8e4;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  align-items: center;
  gap: 65px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 11px;
  color: #008fd9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -2px;
}

.hero h1 span {
  color: #008fd9;
}

.hero p {
  max-width: 680px;
  color: #6d7b82;
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 11px;
  margin-top: 26px;
}

/* Buttons */
.btn {
  min-height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #fff;
  background: #008fd9;
  border: 1px solid #008fd9;
  box-shadow: 0 7px 18px rgba(0,143,217,.15);
}

.btn.primary:hover {
  background: #0079b8;
}

.btn.ghost {
  color: #31444d;
  background: #fff;
  border: 1px solid #d6e1dc;
}

.btn.ghost:hover {
  background: #f4f8f6;
}

/* Hero card */
.hero-card {
  padding: 25px;
  background: #fff;
  border: 1px solid #dfe7e3;
  border-radius: 13px;
  box-shadow: 0 14px 35px rgba(34,60,75,.07);
}

.card-label {
  margin-bottom: 7px;
  color: #7b878c;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

#fySelect {
  width: 100%;
  height: 46px;
  margin: 7px 0 18px;
  padding: 0 13px;
  color: #17222d;
  background: #fff;
  border: 1px solid #d5e0db;
  border-radius: 7px;
  outline: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

#fySelect:hover,
#fySelect:focus {
  border-color: #008fd9;
}

#fySelect:focus {
  box-shadow: 0 0 0 3px rgba(0,143,217,.10);
}

.hero-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #edf1f0;
}

.hero-stat strong {
  color: #008fd9;
  font-size: 27px;
  line-height: 1;
}

.hero-stat span {
  color: #758188;
  font-size: 11px;
}

/* Summary */
.summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid #e0e7e4;
  border-top: 0;
  border-radius: 0 0 11px 11px;
  overflow: hidden;
}

.summary > div {
  padding: 19px;
  border-right: 1px solid #e8eeeb;
}

.summary > div:last-child {
  border-right: 0;
}

.summary span {
  display: block;
  margin-bottom: 4px;
  color: #7c878d;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.summary strong {
  color: #17222d;
  font-size: 19px;
}

/* Sections */
.section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.section.tinted {
  width: 100%;
  max-width: none;
  background: #f1f6f4;
}

.section.tinted > .container {
  width: min(1180px, calc(100% - 40px));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.section-head h2 {
  margin-bottom: 7px;
  color: #17222d;
  font-size: 30px;
  line-height: 1.2;
}

.section-head p {
  color: #758188;
  font-size: 13px;
}

/* KPI */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.kpi {
  min-height: 125px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #dfe7e3;
  border-radius: 9px;
  box-shadow: 0 6px 20px rgba(34,60,75,.035);
}

.kpi label {
  color: #748087;
  font-size: 11px;
  font-weight: 700;
}

.kpi strong {
  margin: 7px 0;
  color: #17222d;
  font-size: 25px;
  line-height: 1.1;
}

.kpi small {
  color: #8b969b;
  font-size: 9px;
}

/* Panels */
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-bottom: 20px;
}

.panel {
  padding: 22px;
  background: #fff;
  border: 1px solid #dfe7e3;
  border-radius: 9px;
}

.panel h3 {
  margin-bottom: 18px;
  color: #2b3b43;
  font-size: 14px;
}

/* Bars */
.bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bar-row {
  display: grid;
  grid-template-columns: 75px 1fr 65px;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}

.bar-row > span {
  color: #65737a;
  font-size: 11px;
  font-weight: 700;
}

.bar-row b {
  color: #31444d;
  text-align: right;
  font-size: 11px;
}

.bar-track {
  height: 10px;
  border-radius: 20px;
  background: #edf1f0;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  min-width: 3px;
  border-radius: 20px;
  background: #008fd9;
  transition: width .45s ease;
}

/* Ageing */
.ageing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.age {
  padding: 16px;
  background: #f5f8f7;
  border-radius: 8px;
}

.age strong {
  display: block;
  margin: 4px 0;
  font-size: 22px;
}

.age span {
  font-size: 11px;
  color: #738087;
}

/* Growth */
.growth {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.growth div {
  padding: 15px;
  background: #f5f8f7;
  border-radius: 8px;
}

.growth b,
.growth span {
  display: block;
  font-size: 11px;
  color: #748087;
}

.growth strong {
  display: block;
  font-size: 23px;
  margin: 8px 0;
}

/* Tags */
.tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.tags span {
  padding: 8px 13px;
  border-radius: 30px;
  background: #edf6f2;
  color: #006c51;
  font-size: 12px;
  font-weight: 700;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product {
  border: 1px solid #dfe7e3;
  background: #fff;
  border-radius: 10px;
  padding: 23px;
}

.product .code {
  font-size: 10px;
  color: #008fd9;
  font-weight: 800;
  letter-spacing: 1px;
}

.product h3 {
  margin: 8px 0;
  font-size: 19px;
}

.product p {
  min-height: 42px;
  font-size: 13px;
  color: #6e7b82;
}

.product dl {
  font-size: 12px;
}

.product dt {
  color: #88939a;
  margin-top: 9px;
}

.product dd {
  margin: 1px 0;
  font-weight: 600;
}

/* Network */
.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 16px;
}

.network-number {
  border: 1px solid #e0e7e4;
  border-radius: 10px;
  padding: 30px;
  background: #f7faf9;
}

.network-number strong {
  display: block;
  font-size: 50px;
  color: #008fd9;
}

.network-number span {
  color: #68767d;
}

.network-list p {
  margin-bottom: 17px;
  color: #6d7b82;
  font-size: 13px;
}

/* Financial */
.financial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.financial {
  min-height: 85px;
  padding: 17px 19px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 20px;
  background: #fff;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
}

.financial span:first-child {
  grid-row: span 2;
  color: #56666e;
  font-size: 12px;
  font-weight: 700;
}

.financial strong {
  text-align: right;
  font-size: 18px;
}

.financial strong.positive {
  color: #00845a;
}

.financial span:last-child {
  color: #89949a;
  text-align: right;
  font-size: 9px;
}

/* Footer */
footer {
  padding-top: 45px;
  color: #bfcbd1;
  background: #345f76;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 40px;
}
.footer-logo {
  width: 450px;
}

.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.footer-grid p {
  color: #9faeb6;
  font-size: 11px;
  margin-top: 3px;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-grid strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 12px;
}

.footer-grid a,
.footer-grid span {
  color: #aebbc2;
  font-size: 11px;
}

.footer-grid a:hover {
  color: #fff;
}

.copyright {
  padding: 17px 20px;
  text-align: center;
  color: #87979f;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  nav {
    display: none;
  }

  .menu {
    display: block;
  }

  .nav-open nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #dfe7e3;
  }

  .nav-open nav a {
    padding: 9px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-grid {
    grid-template-columns: 1fr 1fr;
  }

  .network-list {
    grid-column: span 2;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 55px 0;
  }

  .hero h1 {
    font-size: 37px;
    letter-spacing: -1px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .summary,
  .kpis,
  .product-grid,
  .financial-grid,
  .network-grid,
  .columns {
    grid-template-columns: 1fr;
  }

  .summary > div {
    border-right: 0;
    border-bottom: 1px solid #e8eeeb;
  }

  .summary > div:last-child {
    border-bottom: 0;
  }

  .kpis {
    gap: 12px;
  }

  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .ageing,
  .growth {
    grid-template-columns: 1fr;
  }

  .network-list {
    grid-column: auto;
  }

  .bar-row {
    grid-template-columns: 65px 1fr 60px;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Print */
@media print {
  .topbar,
  .hero-actions,
  .menu,
  .btn {
    display: none !important;
  }

  .hero {
    padding: 25px 0;
  }

  .section {
    padding: 30px 0;
  }

  .section.tinted {
    background: #fff;
  }

  .panel,
  .kpi,
  .product,
  .financial,
  .network-number {
    box-shadow: none;
  }
}
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;

    display: table;
    border-collapse: collapse;
    text-indent: initial;
    unicode-bidi: isolate;
    border-spacing: 2px;
}

/* =========================================================
   PORTFOLIO TABLE
   ========================================================= */

.portfolio-panel {
    overflow: hidden;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    margin-top: 18px;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    background: #fff;
}

/* Header */

.table thead th {
    padding: 13px 16px;
    text-align: left;
    vertical-align: middle;
    font-weight: 600;
    white-space: nowrap;

    background: #f8f9fa;
    color: #343a40;

    border-bottom: 2px solid #dee2e6;
}

/* Body */

.table tbody td,
.table tbody th {
    padding: 13px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

/* S.No */

.table tbody th:first-child {
    font-weight: 600;
    color: #6c757d;
}

/* Hover - Bootstrap table-hover style */

.table-hover tbody tr {
    transition: background-color 0.15s ease-in-out;
}

.table-hover tbody tr:hover {
    background-color: #f5f7fa;
}

/* Footer */

.table tfoot th,
.table tfoot td {
    padding: 13px 16px;
    font-weight: 700;
    border-top: 2px solid #dee2e6;
    background: #f8f9fa;
}

/* Number columns */

.table th:nth-child(n+3),
.table td:nth-child(n+3) {
    text-align: right;
}

/* Portfolio name */

.table td:nth-child(2) {
    font-weight: 600;
    color: #343a40;
}

/* Premium */

.table .premium {
    white-space: nowrap;
}

/* Mobile */

@media (max-width: 768px) {

    .table {
        min-width: 760px;
        font-size: 13px;
    }

    .table thead th,
    .table tbody td,
    .table tbody th,
    .table tfoot th,
    .table tfoot td {
        padding: 11px 12px;
    }

}