.hover-shadow {
    transition: all 0.3s ease;
}
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.transition {
    transition: all 0.3s ease;
}
/* Fix for Bootstrap pagination styling */
.page-numbers {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.page-numbers.current {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.page-numbers:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
ul.page-numbers {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    justify-content: center;
}

.ihp-loop {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 0;
}

.ihp-loop-img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
}

.ihp-project-content .card-title {
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}

.ihp-loop .card-body,
.ihp-loop .card-title {
    color: white;
    z-index: 4;
    font-size: 25px;
}

.ihp-loop::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.4;
    transition: var(--transition-period);
    z-index: 1;
}

/* Project card styles (non-Bootstrap) */
.ihp-project-card {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.ihp-project-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.ihp-project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    color: white;
    z-index: 4;
}

.ihp-project-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
    color: white;
    z-index: 4;
}

.ihp-project-meta {
    margin-top: auto;
}

.ihp-project-units {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.ihp-icon-primary {
    color: #007bff;
    margin-right: 0.5rem;
}

.ihp-project-card a {
    text-decoration: none;
    color: inherit;
}

.ihp-project-card a:hover {
    text-decoration: none;
    color: inherit;
}

/* Projects Grid */
.ihp-projects-list-container {
    width: 100%;
}

.ihp-projects-grid {
    display: grid;
    grid-template-columns: repeat(var(--ihp-grid-columns, 4), minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Load More Button */
.ihp-load-more-wrapper {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 0;
}

.ihp-load-more-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #007bff;
    border: 2px solid #007bff;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ihp-load-more-btn:hover:not(:disabled) {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.ihp-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ihp-load-more-btn .ihp-remaining-count {
    font-weight: normal;
    opacity: 0.9;
    margin-left: 0.25rem;
}

