/* ==========================================
   SOLUTIONS LAYOUT BASE
   ========================================== */
body {
    background-color: #ffffff;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.solutions-main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}

.solutions-hero {
    width: 100%;
    height: 80vh;

    background-image:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 15%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 1) 100%
        ),
        url('./assets/images/solutions-bg-1.webp');

    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.solutions-intro {
    text-align: center;
    padding: 50px 20px 30px;
    width: 100%;
    margin: 0 auto;
}

.solutions-main-title {
    font-family: 'Campton', sans-serif;
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    line-height: 59px;
    color: #000;
    margin-bottom: 15px;
}

.solutions-main-subtitle {
    font-family: 'Campton', sans-serif;
    color: #000;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.solutions-content {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.solutions-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 35px;
}

.search-container {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    padding: 10px 36px 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: #0000ff;
}

.search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 16px;
    height: 16px;
}

/* ==========================================
   BUTTERY SMOOTH RENDER ANIMATIONS
   ========================================== */
@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   CLUSTER CARDS GRID
   ========================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    align-content: start;
}

.solution-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: slideFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    width: 100%;
    height: 180px;
    background-color: #f7fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Cluster Typography */
.cluster-title {
    font-family: 'Campton', sans-serif;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.cluster-title:hover {
    color: #0000ff;
}

.subpage-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subpage-link {
    font-family: 'Campton', sans-serif;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    width: fit-content;
}

.subpage-link:hover {
    color: #0000ff;
}

.subpage-arrow {
    width: 10px;
    height: 10px;
}

/* ==========================================
   PAGINATION & UTILS
   ========================================== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.page-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    padding: 5px 10px;
    position: relative;
    font-weight: 500;
}

.page-btn.active {
    color: #5d4fa1;
    font-weight: 700;
}

.page-btn.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #5d4fa1;
}

.page-nav-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-nav-btn:disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.no-results {
    grid-column: span 3;
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
}

mark.search-highlight {
    background-color: rgba(93, 79, 161, 0.2);
    color: #0000FE;
    padding: 0 2px;
    border-radius: 3px;
    font-weight: inherit;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
    .no-results {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .solutions-hero {
        height: 40vh;
    }

    .solutions-main-title {
        font-size: 36px;
        line-height: 44px;
    }

    .solutions-main-subtitle {
        font-size: 18px;
        line-height: 26px;
    }

    .no-results {
        grid-column: span 1;
    }

    .solutions-toolbar {
        justify-content: center;
    }

    .search-container {
        width: 100%;
    }
}
.mt40 {
  margin-top: 40px !important;
}