.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

 .wrap {
    max-width: 1080px;
    margin: 64px auto;
    padding: 0 20px;
    font-size: 15px;
    line-height: 22.6px;
}

/* ===== TABLE STYLES ===== */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #E32329; /* Updated border color */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background: var(--header-bg);
    text-align: left;
    font-weight: 700;
    padding: 16px 20px;
    font-size: 16px;
    border-bottom: 1px solid #E32329; /* Match border color */
}

.table tbody td {
    padding: 16px 20px;
    font-size: 15px;
    vertical-align: top;
    border-bottom: 1px solid #E32329; /* Match border color */
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Column widths */
.col-feature {
    width: 33%;
    font-weight: 700; /* Make feature headings bold */
    color: #000; /* Keep black for readability */
}
.col-ecam {
    width: 34%;
    color: #E32329; /* Rangers Security Group column text color */
    font-weight: 600;
}
.col-comp {
    width: 33%;
    color: var(--check-bg);
}

/* ===== CONTENT STYLES ===== */
.feature {
    font-weight: 600;
    color: #e10707;
}
.sub {
    color: var(--muted);
    font-weight: 400;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 22px;
    border-radius: 6px;
    margin-right: 10px;
    flex: 0 0 22px;
    color: #fff;
}
.badge.check {
    background: var(--check-bg);
}
.badge.x {
    background: var(--x-bg);
    color: #e10707;
}

.cell-flex {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 820px) {
    .table {
        display: table;
        width: 100%;
    }
    
    .table thead {
        display: table-header-group;
    }
    
    .table th,
    .table td {
        display: table-cell;
        padding: 12px 8px;
    }
    
    .table thead th {
        font-size: 14px;
        text-align: center;
        padding: 12px 5px;
    }
    
    .table tbody td {
        font-size: 14px;
    }
    
    .col-feature, .col-ecam, .col-comp {
        width: auto;
    }
    
    .wrap {
        margin: 40px auto;
        padding: 0 15px;
    }
    
    .services-area-card-heading {
        font-size: 1.5rem;
        padding: 15px !important;
    }
    
    .cell-flex {
        flex-direction: column;
        gap: 5px;
    }
    
    .badge {
        margin-right: 0;
        align-self: center;
    }
}

@media (max-width: 576px) {
    .table thead th {
        font-size: 12px;
        padding: 10px 5px;
    }
    
    .table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }
}
