﻿h2 {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    width: 100%;
    color: #2f435b;
    text-align: center;
}

.ex-learn__heading {
    padding: 0 115px;
    text-align: center;
}

.card-wrapper {
    display: flex;
    /*justify-content: space-around;*/
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 30px;
    flex: 1 1 300px; /* grow, shrink, base width */
    width: 45%;
    text-align: left;
    color: #2f435b;
}

.ex-article__card__text {
    margin-bottom: 10px;
}

.ex-learn__bullet {
    margin-bottom: 0px;
}

.ex-learn__img img {
    margin-bottom: 10px;
}

.section-awards__card {
    width: 350px;
    height: 300px;
}

.assisted_search_icon {
    text-align: center;
    color: #902d31;
    font-size: 50px;
}

.assisted_search_text {
    text-align: justify;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
    margin-top: -10px;
    color: #2f435b;
}

.number-widget-container {
    display: flex;
    width: 50px;
    height: 50px;
    border: solid;
    border-width: 2px;
    border-color: white;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.card-widget {
    background-color: #9e5053;
    margin: 5px;
}
/*card style*/
card-body {
    margin: 0;
    background-color: #902d31;
    /*font-family: Arial, sans-serif;*/
    color: white;
}

.how-it-works {
    text-align: center;
    padding: 40px 20px;
}

    .how-it-works h1 {
        font-size: 36px;
        margin-bottom: 40px;
    }

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.step {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

    .step:hover {
        transform: translateY(-5px);
    }

.step-number {
    border: 2px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.step-title {
    /*font-size: 18px;*/
    font-weight: bold;
    color: #ffff33;
    margin-bottom: 10px;
}

.step-desc {
    /*font-size: 14px;*/
    color: white;
}

@media (max-width: 768px) {
    .step {
        width: 100%;
        max-width: 300px;
    }
}

/*Search bar form mobile device*/
.full-search-mobile {
    /*padding: 1rem;*/
    display: none;
}

@media(max-width: 768px) {
    .full-search-mobile {
        display: block;
    }
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

    .search-input-wrapper input {
        width: 100%;
        padding: 0.75rem 2.75rem 0.75rem 1rem; /* right padding for icon space */
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        box-sizing: border-box;
    }

.input-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    pointer-events: none;
}
/* optional live‑result dropdown */
#fullSearchResultsmobile {
    position: absolute;
    /*top: 110%;
        right: 3.5rem;*/
    left: 2rem;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 0 0 6px 6px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    max-height: 340px;
    overflow-y: auto;
    display: none;
    z-index: 99;
}

    #fullSearchResultsmobile li {
        padding: 0.5rem 1rem;
        /*cursor: pointer;   */
    }

        #fullSearchResultsmobile li.link {
            padding: 0.5rem 1rem;
            padding-left: 30px;
            cursor: pointer;
            color: #ff755b;
        }

        #fullSearchResultsmobile li:hover {
            /*background: #fff4f1;*/
            /* text-decoration:underline;*/
        }

        #fullSearchResultsmobile li.link:hover {
            /*background: #fff4f1;*/
            text-decoration: underline;
        }