/*=========================================
    Home - We Would Suggest You (Coupons)
=========================================*/

.suggest-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.suggest-section .course-heading {
    margin-bottom: 30px;
}

.suggest-grid {
    margin-left: -12px;
    margin-right: -12px;
}

.suggest-grid > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
}

.suggest-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #f1e2d8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.suggest-card:hover,
.suggest-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.suggest-thumb {
    position: relative;
    display: block;
    overflow: hidden;
}

.suggest-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.suggest-card:hover .suggest-thumb img {
    transform: scale(1.06);
}

.suggest-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--first-color);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.suggest-body {
    flex-grow: 1;
    padding: 18px 18px 10px;
}

.suggest-title {
    margin: 0 0 6px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.suggest-title a {
    color: inherit;
}

.suggest-title a:hover,
.suggest-title a:focus {
    color: var(--first-color);
}

.suggest-desc {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
    color: #989898;
}

.suggest-footer {
    background: var(--first-color);
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 10px;
}

@media (max-width: 991px) {
    .suggest-section {
        padding: 45px 0;
    }

    .course-heading h5 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .suggest-thumb img {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .suggest-section {
        padding: 35px 0;
    }

    .suggest-thumb img {
        height: 200px;
    }

    .suggest-title {
        font-size: 15px;
    }
}
