﻿@media (min-width: 1200px) {
    .page-container {
        --bs-gutter-x: calc((50vw - 540px) * 2);
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-right: auto;
        margin-left: auto;
    }
}

.gradient {
    background-image: linear-gradient(rgb(255, 255, 255) 0%, rgb(240, 247, 255) 100%);
}
.header-container {
    width: 85%;
    margin: auto;
}

.header-section {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    margin-bottom: 20px;
}

    .header-section h1 {
        font-size: 32px;
        margin-bottom: 15px;
        color: #1a1a1a;
    }

    .header-section p {
        color: #666;
        line-height: 1.6;
        max-width: 800px;
        margin: 0 auto 10px;
    }

.ms-1 {
    margin-left: .25rem !important;
}
.px-3 {
    padding-right: .75rem !important;
    padding-left: .75rem !important;
}
.g-2, .gx-2 {
    --bs-gutter-x: 0.5rem;
}
.search-bar-wrap .search-bar input {
    border: none;
    outline: none;
    box-shadow: none;
    background-color: rgb(255, 255, 255);
}
.fs-md {
    font-size: 0.875rem !important;
}

.py-3 {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
}
.col-auto {
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
}
.read-more {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.search-box {
    max-width: 600px;
    margin: 20px auto;
    position: relative;
}

    .search-box input {
        width: 100%;
        padding: 12px 40px 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }

    .search-box::before {
        content: '🔍';
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.5;
    }

.test-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filter-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

    .filter-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
        color: #1a1a1a;
        font-weight: 600;
    }

.filter-search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

    .filter-option input[type="checkbox"] {
        margin-right: 10px;
        cursor: pointer;
    }

    .filter-option label {
        cursor: pointer;
        color: #555;
    }

.main-content {
    flex: 1;
}

.section-header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

    .section-header h2 {
        font-size: 20px;
        color: #1a1a1a;
        font-weight: 600;
    }

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.test-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .test-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.railways {
    background-color: #ffe5e5;
}

.state-exams {
    background-color: #fff3e5;
}

.ssc {
    background-color: #ffe5f3;
}

.police {
    background-color: #e5f3ff;
}

.teaching {
    background-color: #fff9e5;
}

.banking {
    background-color: #e5ffe5;
}

.state-psc {
    background-color: #f3e5ff;
}

.card-badge {
    margin-left: auto;
    padding: 4px 12px;
    background-color: #f0f0f0;
    border-radius: 12px;
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.4;
    min-height: 44px;
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-new {
    background-color: #22c55e;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.card-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-btn {
    width: 100%;
    padding: 12px;
    /*background-color: #ffd700;*/
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    color:white;
}

    .view-btn:hover {
        background-color: #ffed4e;
    }

.results-header {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

    .results-header h2 {
        font-size: 22px;
        color: #1a1a1a;
        font-weight: 600;
    }

@@media (max-width: 968px) {
    .test-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .test-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

