/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: var(--light); /* Or white, depending on your design flow */
}

.comparison-table-wrapper {
    overflow-x: auto; /* Allows table to scroll horizontally on small screens */
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensures table content isn't too cramped before scrolling */
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #e1e1e8; /* Light border for rows */
}

.comparison-table th {
    background-color: #f8f9fa; /* Light gray header */
    font-weight: 600;
    color: var(--dark);
    font-size: 16px;
}

.comparison-table thead th:first-child {
    border-top-left-radius: 10px;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 10px;
}

.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
    text-align: center;
}

.comparison-table .checkmark,
.comparison-table .crossmark {
    font-size: 20px;
    font-weight: bold;
}

.comparison-table .checkmark {
    color: #28a745; /* Green checkmark */
}

.comparison-table .crossmark {
    color: var(--primary); /* Red crossmark (using your primary color) */
}

.comparison-table tbody tr:hover {
    background-color: #f1f3f5; /* Slight hover effect for rows */
}

.comparison-table tfoot td {
    border-bottom: none;
    padding-top: 30px;
    padding-bottom: 30px;
}

.comparison-table tfoot .btn {
    width: auto; /* Allow buttons to size based on content */
    padding: 10px 20px;
    font-size: 15px;
}


/* Responsive adjustments for the comparison table */
@media (max-width: 767px) {
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px; /* Reduce padding on smaller screens */
        font-size: 14px;
    }

    .comparison-table .checkmark,
    .comparison-table .crossmark {
        font-size: 18px;
    }

    .comparison-table tfoot .btn {
        width: 100%; /* Make buttons full width on mobile for better tap targets */
        margin-bottom: 10px;
        display: block;
    }
    .comparison-table tfoot td:first-child {
        display:none; /* Hide empty cell on mobile */
    }
    .comparison-table tfoot td {
        text-align:center; /* Center buttons */
    }
}