/* index.css */


/*? ↓  Start Benefits Section  ↓ */

.benefits-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60vw;
    padding: 20px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-container div {
    border: 2px solid darkslategray;
    border-radius: 10px;
    padding: 10px;
}

.benefits-card ul {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.benefits-card.hover ul {
  max-height: var(--ul-height);
}



/*? ↓  Start Services Container  ↓ */

.service-cards {
    display: flex;
    align-items: center;
    justify-content: center;;
}

.service card {
    width: 100px;
    height: 150px;
    background-color: #f0f0f0;
    border: 1px solid darkslategray;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    text-align: center;
}

.service-card ul {
    list-style: none;

}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center; /* Center the carousel vertically */
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.service-card {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0 10px;
    text-align: center;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}