
.offerings {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    padding: 0;
}

.offerings__title {
    font-size: 2.5rem;
    margin: 25px;
    color: #0e0e0e;
}

.offerings__description {
    text-align: center;
    max-width: 800px;
    margin-bottom: 30px;
    color: #6c757d;
}

.offerings__content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 50px 0;
}

.offerings__card {
    min-height: 220px;
    width: 375px;
    padding: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    margin: 10px 4px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offerings__card-icon {
    margin: 20px;
    color: #FFA500;
    transition: color 0.3s ease;
    z-index: 2;
}

.offerings__card-title {
    margin-bottom: 12px;
  
    text-align: center;
    transition: font-weight 0.3s ease;
    z-index: 2;
    letter-spacing: 1px;
    color: #0e0e0e;
    font-size: 1.5rem;
}

.offerings__card-description {
    color: #6c757d;
    text-align: left;
    transition: color 0.3s ease;
    z-index: 2;
    font-weight: 600;
}

.offerings__card:hover {
    background: linear-gradient(rgba(255, 165, 0, 0.7), rgba(230, 149, 0, 0.7));
    background-size: cover;
    background-position: center;
}


.offerings__card:hover .offerings__card-icon,
.offerings__card:hover .offerings__card-description {
    color: #fff;
}

.offerings__card:hover .offerings__card-title {
    font-weight: 600;
    color: #fff;
}

.offerings__card:nth-child(1):hover {
    background-image: linear-gradient(rgba(255, 165, 0, 0.7), rgba(230, 149, 0, 0.7)), url('../img/offerings_images/bg.jpg');
}

.offerings__card:nth-child(2):hover {
    background-image: linear-gradient(rgba(255, 165, 0, 0.7), rgba(230, 149, 0, 0.7)), url('../img/offerings_images/bg2.jpg');
}

.offerings__card:nth-child(3):hover {
    background-image: linear-gradient(rgba(255, 165, 0, 0.7), rgba(230, 149, 0, 0.7)), url('../img/offerings_images/bg3.jpg');
}

.offerings__card:nth-child(4):hover {
    background-image: linear-gradient(rgba(255, 165, 0, 0.7), rgba(230, 149, 0, 0.7)), url('../img/offerings_images/bg4.jpg');
}

.offerings__card:nth-child(5):hover {
    background-image: linear-gradient(rgba(255, 165, 0, 0.7), rgba(230, 149, 0, 0.7)), url('../img/offerings_images/bg5.jpg');
}

.offerings__card:nth-child(6):hover {
    background-image: linear-gradient(rgba(255, 165, 0, 0.7), rgba(230, 149, 0, 0.7)), url('../img/offerings_images/bg2.jpg');
}



@media(max-width: 991px) {
    .offerings {
        padding: 25px;
    }

    .offerings__title {
        font-size: 2.5em;
        font-weight: 600;
    }

    .offerings__content {
        flex-direction: column;
        width: 100%;
    }

    .offerings__card {
        min-width: 300px;
        margin: 10px auto;
    }
}