/* Comparison Section CSS - Consolidated from newHomePgae.css, buy-essay.css and argumentative-essay.css */

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F3FAFF 0%, #FFF9F2 100%);
}

/* Comparison Wrapper */
.comparison-wrapper {
    margin-top: 50px;
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* Comparison Table */
.comparison-wrapper table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 15px;
    border: 1px solid #b7d8f5;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border-collapse: unset !important;
}

/* Table Headers */
.comparison-wrapper table th,
.comparison-th {
    padding: 10px 15px;
    border: 1px solid #b7d8f5;
    font-size: 15px;
    line-height: 22.5px;
    text-align: center;
    color: #221f1f;
    font-weight: 500;
}

/* Highlight last column header */
th:last-child,
.comparison-th:last-child {
    background-color: #ddedf7;
}

/* Table Data Cells */
.comparison-wrapper table td,
.comparison-td {
    padding: 10px 15px;
    border: 1px solid #b7d8f5;
    font-size: 15px;
    font-weight: 400;
    line-height: 22.5px;
    text-align: center;
    color: #6f6f6f;
}

/* Highlight last column cells */
td:last-child,
.comparison-td:last-child {
    background-color: #f5fbff;
}

/* Strong text in cells */
.comparison-td strong {
    color: #221f1f;
}

/* Rounded corners for table */
table th:first-child {
    border-top-left-radius: 8px;
}

table th:last-child {
    border-top-right-radius: 8px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* Bottom Text */
.comparison-btmTxt {
    color: #6f6f6f;
    text-align: center;
    font-size: 16px;
    font-weight: 450;
    line-height: 150%;
    max-width: 745px;
    width: 100%;
    margin: 50px auto 0;
}
.comparison-section h2{
    font-weight: 500;
    font-size: 33px;
    text-align: center;
    color: #231f20;
    padding-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .comparison-section {
        padding: 80px 0;
    }
    
    .comparison-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .comparison-section {
        padding: 60px 0;
    }
    
    .comparison-wrapper {
        margin-top: 30px;
    }
    
    .comparison-wrapper table th,
    .comparison-th,
    .comparison-wrapper table td,
    .comparison-td {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .comparison-btmTxt {
        font-size: 14px;
        margin-top: 30px;
        padding: 0 15px;
    }
}
