/* category tab page start */






        /* Existing styles remain the same */
      
        
        /* New styles for category tabs */
        .tab-product-wrapper .nav-item .nav-link
        {
            opacity: .6 !important;
        }
        
        .category-tabs {
            margin-bottom: 20px;
            border-bottom: 1px solid #dee2e6;
        }
        
        .category-tabs .nav-item {
            margin-bottom: -1px;
        }
        
        .category-tabs .nav-link {
            color: #6c757d;
            border: none;
            border-bottom: 3px solid transparent;
            padding: 0.5rem 1.5rem;
            transition: all 0.3s;
        }
        
        .category-tabs .nav-link:hover {
            color: #dc3545;
            background: transparent;
            border-bottom-color: #ffc6c6;
        }
        
        .category-tabs .nav-link.active {
            color: #dc3545;
            background: transparent;
            border-bottom-color: #dc3545;
            font-weight: 600;
        }
        
        .category-tabs .nav-link i {
            margin-right: 8px;
            font-size: 0.9em;
        }
        
        @media (max-width: 768px) {
            .category-tabs .nav-link {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
            
            .category-tabs .nav-link i {
                margin-right: 5px;
            }
        }



/* catogery tab page end */

/*why choose style start*/


       .selection-guide-card {
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
            margin: 2rem 0;
            margin-top: -20px;
        }
        
        .selection-guide-header {
            background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
        }
        
        .factor-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }
        
        .factor-item:hover .factor-icon {
            transform: scale(1.1);
        }
        
        .conclusion-section {
            border-left: 4px solid #dc3545 !important;
            background: #f8f9fa;
            text-align: justify;
           
        }
        
        .next-steps {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: 8px;
            border: 1px dashed #dc3545;
        }
        
        @media (max-width: 768px) {
            .factor-item {
                flex-direction: column;
                text-align: center;
            }
            
            .factor-icon {
                margin-right: 0 !important;
                margin-bottom: 10px;
            }
        }



/*why choose style end*/

/*CTA SECTION START*/

.idp-unsure-cta-wrapper {
    padding: 2rem 0;
    margin: 3rem 0;
}

.idp-cta-container {
    max-width: 1600px;
    margin: 0 auto;
  
    margin-top: -50px;
}

.idp-cta-card {
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.idp-cta-gradient-bg {
    background: linear-gradient(135deg, #DC191A 0%, #c0392b 100%)!important;
    /* background-color:#DC191A !important; */
}

.idp-cta-decoration {
    position: absolute;
    opacity: 0.1;
    color: #fff;
}

.idp-cta-dec-top {
    top: 1rem;
    right: -2rem;
}

.idp-cta-dec-bottom {
    bottom: -1rem;
    left: -1rem;
}

.idp-cta-icon-large {
    font-size: 10rem;
}

.idp-cta-icon-medium {
    font-size: 8rem;
}

.idp-cta-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.idp-cta-heading {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.idp-cta-description {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.9;
}

.idp-cta-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.idp-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.idp-cta-btn-primary {
    background-color: #fff;
    color: #e74c3c;
}

.idp-cta-btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.idp-cta-btn-secondary {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.idp-cta-btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.idp-cta-btn-icon {
    margin-right: 0.5rem;
}

.idp-cta-image-section {
    text-align: center;
}

.idp-cta-img {
    max-width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive styles */
@media (max-width: 992px) {
    .idp-cta-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .idp-cta-heading {
        font-size: 1.75rem;
    }
    
    .idp-cta-button-group {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .idp-cta-card {
        padding: 2rem 1.5rem;
    }
    
    .idp-cta-heading {
        font-size: 1.5rem;
    }
    
    .idp-cta-description {
        font-size: 1.1rem;
    }
    
    .idp-cta-button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .idp-cta-btn {
        width: 100%;
        justify-content: center;
    }
}



/*CTA SECTION END*/


/* key features comparison page start */
.my-cirlce
{
    font-size: 20px !important;
}

  .red-features-comparison {
        margin: 2rem 0;
        padding: 1.5rem;
        background: #fff5f5;
        border-radius: 10px;
        border-left: 4px solid #ff6b6b;
        margin-top: -60px;
    }
    .red-comparison-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: rgb(0, 0, 0);
        padding-bottom: 0.5rem;
        display: flex;
        align-items: center;
    }
    .red-comparison-heading i {
        margin-right: 10px;
        color: #ff6b6b;
    }
    
    /* Product Tabs */
    .red-product-tabs {
        display: flex;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid #ffe0e0;
        
    }
    .red-product-tab {
        padding: 0.75rem 1.5rem;
        background: none;
        border: none;
        font-weight: 500;
        color: #888;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.3s;
        border-bottom: 3px solid transparent;
    }
    .red-product-tab:hover {
        color: #d33;
    }
    .red-product-tab.active {
        color: #d33;
        border-bottom: 3px solid #ff6b6b;
    }
    
    /* Features Content */
    .red-features-content {
        position: relative;
    }
    .red-product-features {
        display: none;
        animation: fadeIn 0.4s ease;
    }
    .red-product-features.active {
        display: block;
    }
    
    /* Feature Categories */
    .red-feature-category {
        margin-bottom: 1.5rem;
    }
    .red-category-title {
        font-size: 1.1rem;
        color: #d33;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px dashed #ffcccc;
        display: flex;
        align-items: center;
    }
    .red-category-title i {
        margin-right: 0.5rem;
    }
    
    /* Feature Items */
    .red-feature-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .red-feature-item {
        display: flex;
        padding: 0.75rem;
        background: white;
        border-radius: 6px;
        box-shadow: 0 2px 5px rgba(255, 107, 107, 0.1);
        transition: transform 0.2s;
    }
    .red-feature-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(255, 107, 107, 0.15);
    }
    .red-feature-icon {
        color: #ff6b6b;
        margin-right: 0.75rem;
        font-size: 1.1rem;
        min-width: 24px;
        padding-top:5px;
    }
    .red-feature-text {
        flex-grow: 1;
    }
    .red-feature-name {
        font-weight: 600;
        color: #333;
        margin-bottom: 0.25rem;
    }
    .red-feature-desc {
        color: #555;
        line-height: 1.5;
        font-size: 0.95rem;
    }
     
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @media (min-width: 768px) {
        .red-feature-list {
            grid-template-columns: 1fr 1fr;
        }
    }







    

/* key features comparison page end */



/* Modern Comparison Page Styles */
.comparison-container {
    padding: 20px ;


}

/* Header Styles */
.page-header {
    margin-bottom: 40px;
}
.display-4

{
    font-size:1.5rem !important;
}
.display-5
{
      font-size:1.5rem !important;
}
.page-header h1 {
    font-weight: 700;
    color: #2c3e50;
}

.header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    width: 200px;
}

.header-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
}

.header-divider i {
    margin: 0 15px;
    color: #df4e4e;
    font-size: 1.2rem;
}

/* Search Section */
.search-section {
    border: 1px solid #e0e6ed;
}

.search-bar .form-control {
    height: 50px;
    border-color: #e0e6ed;
}

.search-bar .form-control:focus {
    box-shadow: none;
    border-color: #df4e4e;
}

.search-bar .btn {
    height: 50px;
    font-weight: 600;
}

#brand-filter {
    height: 50px;
    border-color: #e0e6ed;
}

/* Quick Filters */
.quick-filters {
    gap: 8px;
}

.filter-chip {
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-chip:hover {
    background: #e2e8f0;
}

.filter-chip.active {
    background: #df4e4e;
    color: white;
}

/* Product Cards */
.product-grid .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.product-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-grid .card-img-top {
    height: 180px;
    object-fit: contain;
    padding: 20px;
    background: #f8fafc;
}

.product-grid .card-body {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
}

.product-grid .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-specs {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
}

.spec-item {
    margin-bottom: 5px;
}

.spec-item i {
    width: 20px;
    color: #94a3b8;
}

.price {
    font-weight: 700;
    color: #df4e4e;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Compare Checkbox */
.compare-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.compare-checkbox input[type="checkbox"] {
    display: none;
}

.compare-checkbox label {
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: block;
    cursor: pointer;
    transition: all 0.3s;
}

.compare-checkbox input[type="checkbox"]:checked + label {
    background: #df4e4e;
    border-color: #df4e4e;
}

.compare-checkbox input[type="checkbox"]:checked + label:after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
    position: absolute;
    top: 2px;
    left: 5px;
    font-size: 12px;
}

/* Compare Actions Bar */
#compare-actions-bar {
    transition: all 0.3s;
    border-top: 1px solid #e2e8f0;
    z-index: 1000;
}

.selected-count {
    font-weight: 600;
    color: #1e293b;
}

.selected-count span {
    color: #df4e4e;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Comparison Table */
.comparison-table-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table {
    margin-bottom: 0;
}

.sticky-col {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 2;
    min-width: auto;
    font-weight: 600;
}

.feature-col {
    color: #334155;
    border-right: 1px solid #e2e8f0 !important;
    padding: 15px 20px;
}

.product-col {
    min-width: 280px;
    vertical-align: top !important;
    border-left: 1px solid #e2e8f0 !important;
    background: #f8fafc;
}

.product-header {
    position: relative;
    padding: 20px;
    text-align: center;
}

.product-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #df4e4e;
    margin-bottom: 15px;
}

.feature-value {
    color: #475569;
    border-left: 1px solid #e2e8f0 !important;
    padding: 15px 20px;
}

.difference-highlight {
    background-color: #f0f7ff !important;
}

.difference-highlight .difference-cell {
    font-weight: bold;
    color: #1d4ed8;
    background-color: #dbeafe !important;
}

/* Recommendation Section */
.section-title {
    position: relative;
    padding-bottom: 10px;
    color: #1e293b;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #df4e4e;
    border-radius: 3px;
}

.recommendation-card {
    position: relative;
    overflow: hidden;
}

.badge-best-value {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #df4e4e;
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 600;
}

.product-thumb {
    width: 120px;
    flex-shrink: 0;
}

.recommendation-reasons {
    list-style: none;
    padding-left: 0;
}

.recommendation-reasons li {
    margin-bottom: 8px;
}

.stars {
    color: #f59e0b;
}

/* Responsive styles */
@media (max-width: 992px) {
    .product-col {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .search-section .row > div {
        margin-bottom: 15px;
    }
    
    .product-grid .card {
        margin-bottom: 15px;
    }
    
    .product-col {
        min-width: 180px;
    }
    
    .feature-col {
        min-width: 160px;
    }
    
    .recommendation-card .d-flex {
        flex-direction: column;
    }
    
    .product-thumb {
        margin-bottom: 15px;
        margin-right: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .comparison-table-wrapper
    {
        overflow:scroll !important;
    }
    .red-product-tabs
    {
        overflow:scroll !important;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .search-bar .input-group-append {
        display: none;
    }
    
    #compare-actions-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    #compare-button {
        width: 100%;
    }
}


/* Key Features - Dynamic Width */
.key-features-dynamic {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0 !important;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-icon {
    font-size: 1.1rem;
    min-width: 25px;
    text-align: center;
}

.feature-content {
    flex: 1;
}

.feature-label {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.feature-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .key-features-dynamic .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* Special full-width for 2 products */
@media (min-width: 769px) {
    .key-features-dynamic .col-12 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}