/* Search Page CSS Start */

.search-page {
    background: #ffffff;
    min-height: 650px;
    padding-top: 70px !important;
    padding-bottom: 80px !important;
}

.search-page .text-center.mb-5 {
    margin-bottom: 45px !important;
}

.search-page .text-center.mb-5 h1 {
    margin: 0 0 12px;
    color: #2b1671;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
}

.search-page .text-center.mb-5 h1::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    margin: 14px auto 0;
    background: #2b1671;
    border-radius: 10px;
}

.search-page .text-center.mb-5 p {
    margin: 14px 0 0;
    color: #77738a;
    font-size: 15px;
    line-height: 1.6;
}

.search-page .text-center.mb-5 p strong {
    color: #2b1671;
    font-weight: 700;
}

.search-results {
    max-width: 1000px;
    margin: 0 auto;
}

.search-result-card {
    position: relative;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e6e1ef;
    border-radius: 14px;

    padding: 25px 28px;
    margin-bottom: 18px;

    box-shadow: 0 7px 25px rgba(43, 22, 113, 0.06);

    transition: all 0.3s ease;
}

.search-result-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 4px;
    height: 100%;

    background: #2b1671;

    transform: scaleY(0);
    transform-origin: center;

    transition: transform 0.3s ease;
}

.search-result-card:hover::before {
    transform: scaleY(1);
}

/* Card Hover */

.search-result-card:hover {
    transform: translateY(-4px);

    border-color: rgba(43, 22, 113, 0.25);

    box-shadow: 0 15px 35px rgba(43, 22, 113, 0.12);
}

.search-result-card h3 {
    margin: 0 0 10px;

    color: #29253a;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.4;

    transition: color 0.3s ease;
}

.search-result-card:hover h3 {
    color: #2b1671;
}

.search-result-card p {
    margin: 0 0 18px;

    color: #77738a;

    font-size: 14.5px;

    line-height: 1.75;
}

.search-result-card a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 9px 17px;

    background: #2b1671;

    color: #ffffff !important;

    border: 1px solid #2b1671;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all 0.3s ease;
}

.search-result-card a:hover {
    background: #1e0d52;

    border-color: #1e0d52;

    color: #ffffff !important;

    transform: translateX(3px);
}

.search-result-card a i {
    font-size: 11px;

    transition: transform 0.3s ease;
}

.search-result-card a:hover i {
    transform: translateX(4px);
}

.search-page .text-center:not(.mb-5) {
    max-width: 600px;

    margin: 35px auto 0;

    padding: 45px 25px;

    background: #f6f3fb;

    border: 1px solid #e6e1ef;

    border-radius: 15px;
}

.search-page .text-center:not(.mb-5) h3 {
    margin-bottom: 10px;

    color: #2b1671;

    font-size: 24px;
    font-weight: 700;
}

.search-page .text-center:not(.mb-5) p {
    margin: 0;

    color: #77738a;

    font-size: 14px;
}

.search-page .text-center:not(.mb-5) strong {
    color: #2b1671;
}

@media (max-width: 991px) {

    .search-page {
        padding-top: 55px !important;
        padding-bottom: 65px !important;
    }

    .search-results {
        max-width: 90%;
    }

    .search-page .text-center.mb-5 h1 {
        font-size: 34px;
    }
}

@media (max-width: 767px) {

    .search-page {
        padding-top: 45px !important;
        padding-bottom: 55px !important;
    }

    .search-page .text-center.mb-5 {
        margin-bottom: 35px !important;
    }

    .search-page .text-center.mb-5 h1 {
        font-size: 30px;
    }

    .search-page .text-center.mb-5 p {
        font-size: 14px;
    }

    .search-results {
        max-width: 100%;
    }

    .search-result-card {
        padding: 21px 20px;
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .search-result-card h3 {
        font-size: 19px;
    }

    .search-result-card p {
        font-size: 14px;
        line-height: 1.65;
    }

    .search-result-card a {
        padding: 8px 14px;
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {

    .search-page .text-center.mb-5 h1 {
        font-size: 27px;
    }

    .search-result-card {
        padding: 19px 17px;
    }

    .search-result-card h3 {
        font-size: 18px;
    }

    .search-result-card a {
        width: 100%;
    }

    .search-page .text-center:not(.mb-5) {
        padding: 35px 20px;
    }

    .search-page .text-center:not(.mb-5) h3 {
        font-size: 21px;
    }
}


/* ========================================
   NAVBAR SEARCH FORM
======================================== */

.navbar-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 250px;
}


.navbar-search-form input {
    width: 100%;
    height: 42px;
    padding: 0 48px 0 17px;

    background: #ffffff;

    border: 1px solid rgba(43, 22, 113, 0.18);
    border-radius: 30px;

    color: #252235;

    font-size: 15px;
    font-weight: 500;

    outline: none;

    transition: all 0.3s ease;
}


.navbar-search-form input::placeholder {
    color: #9995a6;
    font-weight: 400;
}


.navbar-search-form input:focus {
    border-color: #2b1671;
    box-shadow: 0 0 0 3px rgba(43, 22, 113, 0.10);
}


.navbar-search-form button {
    position: absolute;
    right: 4px;

    width: 34px;
    height: 34px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #2b1671;
    color: #ffffff;

    cursor: pointer;

    transition: all 0.3s ease;
}


.navbar-search-form button:hover {
    background: #1e0d52;
    transform: scale(1.06);
}


.navbar-search-form button i {
    font-size: 12px;
}


@media (max-width: 991px) {

    .navbar-search-form {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }

}


@media (max-width: 575px) {

    .navbar-search-form {
        max-width: 100%;
    }

    .navbar-search-form input {
        height: 44px;
        font-size: 14px;
    }

    .navbar-search-form button {
        width: 36px;
        height: 36px;
    }

}

/* Search Page CSS End */