

.card {
    border: none;
    border-radius: 10px;
    background: #eaf1f7;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.03);
}

.card-body {
    padding: 1.5rem;
}

.card-body h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    line-height: 1.3;
}

.card-body p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.read-more {
    background: #58a7c2;
    border-radius: 25px;
    border: none;
    padding: 7px;
}

.read-more a {
    display: inline-block;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.read-more a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}
.read-more:hover{
    background: #605759;
}
.read-more a:hover {
    color: #fff;
}

.read-more a:hover:after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .card img {
        height: 180px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}
/* Pagination Styles */
.pagination {
    margin: 2rem 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-item {
    margin: 0 0.25rem;
}

.page-link {
    color: #3498db;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 42px;
    text-align: center;
}

.page-link:hover {
    color: #fff;
    background-color: #3498db;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.page-item.active .page-link {
    color: #fff;
    background-color: #605759;
    border-color: #3498db;
    font-weight: 600;
}

.page-item.disabled .page-link {
    color: #95a5a6;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #e0e0e0;
}

/* Arrow buttons specific styling */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    font-weight: 600;
    padding: 0.5rem 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-item {
        margin: 0.25rem;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 36px;
    }
}

/* Animation for active page */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.page-item.active .page-link {
    animation: pulse 0.5s ease;
}

  .search-hero {
    background-color: #f8f9fa;
    padding: 30px 0;
  }
  
  .search-form-full .form-control {
    padding: 15px;
    border-left: none;
  }
  
  .search-form-full .input-group-text {
    border-right: none;
    padding: 15px;
  }
  
  .search-form-full .btn {
    padding: 0 25px;
  }