.cards{
  margin: 20px 0 50px;
}
.cards .section-header {
    text-align: center;
}

.cards .section-header .richtext h3 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.25px;
    line-height: 1.6;
    margin: 10px auto 20px;
}

.cards .section-header h2 {
    color: #000;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.25px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.card-item {
    flex: 0 0 calc(25% - 60px);
    background-color: #f3f5f7;
    box-shadow: 0 1px 12px 0 rgba(20, 29, 62, 0.1);
    margin: 10px;
}
.card-item:nth-child(1) {
    border-top: 4px solid #9d3aff;
}

.card-item:nth-child(2) {
    border-top: 4px solid #ff9831;
}

.card-item:nth-child(3) {
    border-top: 4px solid #ff3131;
}

.card-item:nth-child(4) {
    border-top: 4px solid #008B8B;
}

.card-listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-listing .image {
    display: block;
    margin: 30px auto 20px;
    max-width: 120px;
    line-height: 0;
}

.card-listing .content {
    color: #141d3e;
    font-size: 13px;
    letter-spacing: 0.35px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.content h6{
    margin-top: 10px; 
    margin-bottom: 5px;

}

.card-item .title,
.cta-button .cta-btn {
    color: #141d3e;
    font-weight: 700;
    letter-spacing: 0.25px;
    line-height: 1.2;
}

.card-inner {
    padding: 20px 30px;
}

.card-item .title {
    font-family: "Cabin Sketch", sans-serif;
    font-size: 20px;
    margin: 0 0 10px;
}

.cta-button {
    padding: 20px 0;
    clear: both;
}

.cta-button .cta-btn {
    background-color: #fff;
    border: 2px solid #ff3131;
    border-radius: 50px;
    display: inline-block;
    font-size: 12px;
    margin: 0;
    padding: 8px 20px 7px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.1s ease-in;
    text-align: center;
}

.cta-button .cta-btn:hover {
    background: #ff3131;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .card-item {
        flex: 0 0 calc(40% - 60px);
    }
}

@media (max-width: 767px) {
    .card-item {
        flex: 0 0 calc(100% - 60px);
    }

    .cards .section-header .richtext h3 {
        font-size: 18px;
    }

    .cards .section-header .richtext h3 br {
        display: none;
    }
}

@media (max-width: 580px) {
    .card-item {
        margin: 0 0 50px;
        width: 100%;
        flex: 0 0 calc(100%);
     

    }
}
@media (max-width: 580px) {
  .cards {
    background-color: #f5f5f5; /* or any light gray you prefer */
    padding: 20px 15px; /* optional: add some breathing room */
  }




