/* solutions.css */
.solutions-section {
    font-family: 'WantedSansVariable', sans-serif;
    max-width: 75rem;
    margin: auto;
    padding: 2rem;
}

.tabs {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    display: inline-block;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    background-color: #FFFFFF;
    color: #2B5FED;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    width: 32%;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab:hover {
    background-color: #7096ff;
    color: #FFFFFF;
}

.tab.active {
    background-color: #2B5FED;
    color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(51, 103, 214, 0.3);
}

.solutions-grid {
    display: none;
}

.solutions-grid.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.solutions-card {
    background-color: #FFFFFF;
    height: 31rem;
    padding: 1rem;
    padding-left: 3rem;
    padding-right: 3rem;
    border-radius: 3rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
}

.solutions-card:hover {
    background-color: #2B5FED;
    color: #FFFFFF;
}

.solutions-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 35%;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
    color: inherit;
}

.solutions-card p {
    font-size: 1rem;
    padding-bottom: 1.5rem;
    color: inherit;
    margin: 0;
    display: inline;
    text-align: left;
    color: #666;
}

.solutions-card:hover p {
    color: #FFFFFF;
}

.solutions-card:hover .solutions-icon img {
    transform: scale(2); 
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}

.solutions-icon {
    margin-top: 25%;
    text-align: center !important;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-number {
    padding: 0.5rem;
    font-weight: bold;
    cursor: pointer;
}

.page-number.active {
    color: #007bff;
}

.green-column:hover {
    background: rgba(71, 197, 90, 1);
    color: #fff;
}

.blue-column:hover {
    background: rgba(71, 144, 197, 1);
    color: #fff;
}
.pink-column:hover {
    background: rgba(182, 43, 237, 1);
    color: #fff;
}


@media screen and (max-width: 768px) {
    .solutions-grid.active {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .solutions-card {
      height: auto;
      margin: 0 auto;
      padding: 1rem;
    }
  
    .solutions-card h3 {
      font-size: 1.75rem; 
      margin-top: 1rem;
    }
  
    .solutions-card p {
      font-size: 0.9rem;
    }

    .solutions-icon {
      margin-top: 1rem;
    }

    .tab {
        font-size: 0.70rem;
    }
}
  