.cs-card {
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color, #fbbf24);
}

.cs-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #fef3c7;
}

.cs-card-body {
    padding: 1.25rem;
}

.cs-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #191303;
    margin-bottom: 0;
    line-height: 1.4;
}

.cs-card:hover .cs-card-title {
    color: var(--primary-color, #fbbf24);
}

.cs-card-link {
    text-decoration: none;
}

/* Unified List Item Styles */
.list-unstyled li,
.section-list li {
    font-size: 1.05rem;     
    line-height: 1.6;       
    color: #555;            
    margin-bottom: 8px;    
}

/* Ensure the custom SVG bullet aligns with the new text size */
.list-unstyled li img {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}

.solution-point-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.click-large-view {
    cursor: pointer;
    color: #4ea8bc;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.click-large-view:hover {
    color: #003c70;
}

/* The Triangle Bullet */
.point-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid black; /* Default color */
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* Colors matching the Pentagon image */
.color-navy { border-left-color: #1a2b56 !important; }
.color-steel { border-left-color: #4a6da7 !important; }
.color-orange { border-left-color: #f6ad55 !important; }
.color-grey { border-left-color: #cbd5e0 !important; }
.color-beige { border-left-color: #e9d8c5 !important; }


.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.tech-categories-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.tech-cat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.tech-cat-card:hover {
    transform: translateX(10px);
    border-color: #fbbf24;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cat-icon {
    width: 50px;
    height: 50px;
    background: #fbbf2415;
    color: #003c70;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.cat-details h6 {
    font-weight: 700;
    color: #003c70;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cat-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    /* Ensure it's a vertical block */
    display: block; 
}

.cat-details ul li {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    position: relative;
    padding-left: 15px;
    /* Force each li to take its own full line */
    display: block; 
    width: 100%;
    margin-bottom: 8px;
}

.cat-details ul li:last-child {
    margin-bottom: 0;
}

.cat-details ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
}

.modal{
  background-color: rgba(0, 0, 0, 0.518);
}

.modal-content {
  background: rgba(0, 0, 0, 0.658);
  border: none;
  box-shadow: none;
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;       
  transform: scale(1);
  transition: transform 0.3s ease;
}

.image-wrapper {
    width: 100%;
    overflow: hidden;
}

.modal-header {
    background: #ffffff;
    /* color: #ffffff; */
    border-bottom: 1px solid #000000;
}

.custom-modal {
  border: 2px solid #000000;
  border-radius: 8px;
  overflow: hidden;
}


/* ── KPI Table (Desktop) ─────────────────────────── */
.kpi-table-wrapper {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ffffff;
}

.kpi-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.kpi-table thead th {
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    border: 1px solid #ffffff;
}

.kpi-table thead th:last-child {
    border-right: none;
}

.kpi-th-kpi    { background: #4ea8bc; width: 28%; }
.kpi-th-before { background: #fbbf24; width: 20%; }
.kpi-th-after  { background: #15803d; width: 22%; }
.kpi-th-impact { background: #003c70; width: 30%; }

.kpi-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.kpi-table tbody tr:last-child {
    border-bottom: none;
}

.kpi-table tbody tr:hover {
    filter: brightness(0.96);
}

.kpi-table tbody td {
    padding: 13px 16px;
    font-size: 0.9rem;
    vertical-align: middle;
    border: 1px solid #ffffff;
    line-height: 1.5;
}

.kpi-table tbody td:last-child {
    border-right: none;
}

.kpi-td-kpi    { background: #e0f4f8; color: #1a2b56; font-weight: 600; }
.kpi-td-before { background: #fef3c7; color: #78450a; text-align: center; }
.kpi-td-after  { background: #dcfce7; color: #15803d; font-weight: 600; text-align: center; }
.kpi-td-impact { background: #e8f0f8; color: #003c70; text-align: center;}

/* ── KPI Cards (Mobile) ──────────────────────────── */
.kpi-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kpi-m-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d1d5db;
}

.kpi-m-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.kpi-m-header {
    background: #4ea8bc;
    color: #fff;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.kpi-m-header .kpi-m-label {
    color: #d0f0f7;
}

.kpi-m-header small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
}

.kpi-m-mid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.kpi-m-before {
    background: #fef3c7;
    padding: 10px;
    border-right: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #78450a;
    line-height: 1.4;
}

.kpi-m-before .kpi-m-label {
    color: #b45309;
}

.kpi-m-after {
    background: #dcfce7;
    padding: 10px;
    font-size: 0.85rem;
    color: #15803d;
    font-weight: 600;
    line-height: 1.4;
}

.kpi-m-after .kpi-m-label {
    color: #166534;
}

.kpi-m-impact {
    background: #e8f0f8;
    padding: 10px;
    font-size: 0.85rem;
    color: #003c70;
    border-top: 1px solid #d1d5db;
    line-height: 1.4;
}

.kpi-m-impact .kpi-m-label {
    color: #003c70;
}
