 /* Container and base styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}
/* Hero section */
.manage-visitors {
    font-size: 2.5rem;
    color: #444;
    margin-bottom: 1rem;
    font-weight: 600;
}
/* Card Styles */
.case-studies-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.vs-comparison-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid #eaeaea;
}
.vs-comparison-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}
.vs-comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(16, 196, 105, 0.2);
}
.diagonal-split {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.diagonal-split::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}
.diagonal-split img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.vs-comparison-card:hover .diagonal-split img {
    transform: scale(1.1);
}
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-title-vs {
    font-size: 1.3rem;
    font-weight: 700;
    color: #444;
    margin: 0 0 10px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.vs-comparison-card-link:hover .card-title-vs {
    color: #10c469;
}
.card-text {
    color: #555;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex-grow: 1;
    font-weight: 400;
}
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #10c469;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(16, 196, 105, 0.3);
}
/* --- NEW SEARCH AND PAGINATION STYLES --- */
.search-box {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
}
.search-box form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
#search_query {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    margin-right: 5px; /* Add 20px gap */
}
#search-btn {
    padding: 12px 20px;
    background-color: #28d57a;
    color: white;
    border: 1px solid #28d57a;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
}
#search-btn:hover {
    background-color: #1fc16d;
}
.search-suggestions-tab {
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 400px;
    z-index: 1000;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    text-align: left;
}
.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.suggestion-item:hover, .suggestion-item.selected {
    background-color: #f5f5f5;
}
/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}
.pagination li {
    display: inline-block;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #28d57a;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    user-select: none;
}
.pagination .page-numbers:hover {
    background-color: #28d57a;
    color: white;
    border-color: #28d57a;
}
.pagination .page-numbers.current {
    background-color: #28d57a;
    color: white;
    border-color: #28d57a;
}
.pagination .page-numbers.dots {
    border: none;
    pointer-events: none;
    color: #aaa;
}
.pagination .page-numbers.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}
/* --- END NEW STYLES --- */
/* Header for Case Studies Grid (Heading + Filters) */
.case-studies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}
.case-studies-header h2 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}
.header-filters {
    display: flex;
    gap: 15px;
    align-items: center;
}
.header-filters .filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-filters .filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0;
    white-space: nowrap;
}
.header-filters .filter-group select {
    width: 180px;
    padding: 10px 30px 10px 12px;
    font-size: 0.9rem;
    color: #495057;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%236c757d%22%3E%3Cpath%20d%3D%22M12%2016L6%2010H18L12%2016Z%22%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.header-filters .filter-group select:focus {
    outline: none;
    border-color: #10c469;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(16, 196, 105, 0.1);
}
span.workplace {
    background: linear-gradient(120deg, #28D57A 20%, #0be974 100%);
    background-repeat: no-repeat;
    background-size: 100% 30%;
    animation: gradientAnimation 10s linear infinite;
}
@keyframes gradientAnimation {
    0% { background-position: 0 92%; }
    100% { background-position: 100% 92%; }
}
/* Responsive Adjustments */
@media (max-width: 992px) {
    .manage-visitors { font-size: 2rem; }
    #search_query {
        max-width: 300px;
    }
}
@media (max-width: 768px) {
    .manage-visitors { font-size: 1.8rem; }
    .case-studies-header {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }
    .header-filters {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .header-filters .filter-group {
        width: 100%;
    }
    .header-filters .filter-group select {
        width: 100%;
    }
    .search-box form {
        max-width: 100%;
    }
    #search_query {
        width: 70%;
        max-width: none;
    }
    #search-btn {
        width: 30%;
    }
    .search-suggestions-tab {
        width: 70%;
    }
}
@media (max-width: 576px) {
    .manage-visitors { font-size: 1.5rem; }
    .button_col {
        flex-direction: column;
        align-items: center;
    }
    .video_button_deskpal {
        flex-direction: column;
        align-items: center;
    }
    .its-desk-btn, .btn_six {
        width: 100%;
        margin-bottom: 10px;
    }
    #search_query {
        width: 75%;
    }
    #search-btn {
        width: 25%;
    }
    .search-suggestions-tab {
        width: 75%;
    }
}.back-link-button :hover {
    display: inline-block;
    background-color: #10c469;
    color: #fff !important;
    
}