/* --- Compare Packages Page Specific Styles - Table Option (comparePackages-table-option.css) --- */

/* Hero Section - Table Option */
.compare-hero-section-table {
    background: linear-gradient(135deg, rgba(39, 60, 117, 0.9), rgba(0, 123, 255, 0.7)), url('assets/hero-bg-compare-table.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    padding: 160px 20px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    position: relative;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.2);
}

.hero-content-compare-table {
    position: relative;
    z-index: 2;
    max-width: 950px;
}

.hero-content-compare-table h1 {
    font-size: 4.2em;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero-content-compare-table p {
    font-size: 1.6em;
    font-weight: 300;
    opacity: 0.95;
    color: #eee;
    margin-bottom: 40px;
}

/* Main Comparison Table Section */
.comparison-table-section {
    max-width: 1200px; /* Slightly wider for the table */
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

.table-container {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 25px; 
}

.feature-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; 
}

.feature-comparison-table thead th {
    background-color: #007bff;
    color: #fff;
    padding: 18px 15px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #0056b3; 
    position: sticky; 
    top: 0; 
    z-index: 2; 
}

.feature-comparison-table thead th:first-child {
    text-align: left; /* Align 'FUNCTION' to the left */
    border-top-left-radius: 8px; /* Rounded corners for header */
}
.feature-comparison-table thead th:last-child {
    border-top-right-radius: 8px; /* Rounded corners for header */
}


.feature-comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.feature-comparison-table tbody tr:nth-child(even):not(.category-header-row) {
    background-color: #f8faff; /* Very subtle light blue for alternating rows */
}

.feature-comparison-table tbody tr:hover:not(.category-header-row) {
    background-color: #eaf3ff; /* Lighter blue on hover for non-category rows */
}

.feature-comparison-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #eee; /* Light separator lines */
    color: #444;
    font-size: 1em;
    vertical-align: middle;
}

.feature-comparison-table tbody tr:last-child td {
    border-bottom: none; /* No border for the very last row */
}

/* Category Header Rows */
.category-header-row td {
    background-color: #f0f6ff; /* Lighter blue background for category headers */
    font-weight: 700;
    font-size: 1.3em;
    color: #1a4f8c; /* Darker blue text for category */
    text-align: left;
    padding: 20px 15px;
    border-bottom: 2px solid #cfe2ff; /* More prominent separator for categories */
    position: sticky; /* Makes category headers sticky */
    left: 0; /* Sticks to the left of its scrolling container */
    z-index: 5; /* Stays above regular rows, below main header */
}

.category-header-row td h3 {
    display: inline-block;
    margin: 0;
    font-size: 1em; /* Adjust font size relative to parent td */
    vertical-align: middle;
}

.category-header-row .category-icon {
    margin-right: 12px;
    color: #007bff; /* Primary color for category icons */
    font-size: 1.2em;
    vertical-align: middle;
}

/* Icon Cells for Check/Cross */
.feature-comparison-table .icon-cell {
    text-align: center;
}

.green-tick {
    color: #28a745; /* Green checkmark */
    font-size: 1.2em;
}

.red-x {
    color: #dc3545; /* Red cross */
    font-size: 1.2em;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .compare-hero-section-table {
        padding: 120px 20px;
    }

    .hero-content-compare-table h1 {
        font-size: 3.5em;
    }

    .hero-content-compare-table p {
        font-size: 1.4em;
    }

    .table-container {
        padding: 15px;
    }

    .feature-comparison-table thead th {
        padding: 15px 10px;
        font-size: 1em;
    }

    .feature-comparison-table td {
        padding: 12px 10px;
        font-size: 0.95em;
    }

    .category-header-row td {
        padding: 18px 10px;
        font-size: 1.1em;
    }
    .category-header-row .category-icon {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .compare-hero-section-table {
        padding: 100px 15px;
    }

    .hero-content-compare-table h1 {
        font-size: 2.8em;
    }

    .hero-content-compare-table p {
        font-size: 1.1em;
    }

    .table-container {
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    }

    .feature-comparison-table {
        min-width: 200px; 
    }

    .feature-comparison-table thead th {
        font-size: 0.9em;
    }

    .feature-comparison-table td {
        font-size: 0.9em;
    }

    .category-header-row td {
        font-size: 1em;
    }
    .category-header-row .category-icon {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .compare-hero-section-table {
        padding: 80px 15px;
    }

    .hero-content-compare-table h1 {
        font-size: 2.2em;
    }

    .hero-content-compare-table p {
        font-size: 0.95em;
    }

    .feature-comparison-table {
        min-width: 200px; 
    }

    .feature-comparison-table thead th {
        padding: 10px 8px;
        font-size: 0.8em;
    }

    .feature-comparison-table td {
        padding: 10px 8px;
        font-size: 0.85em;
    }

    .category-header-row td {
        padding: 15px 8px;
        font-size: 0.9em;
    }
    .category-header-row .category-icon {
        font-size: 0.9em;
    }

    .comparison-table-section {
        margin-bottom: 20px;
  }

}





 
 
 
 
 
 
 




