
.subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.search-container {
    position: relative;
    /* max-width: 700px; */
    margin: 0 auto 40px;
}

.search-box1 {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#search-input {
    flex: 1;
    padding: 20px 25px;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}
.search-box1 input{
    margin: 0;
}

#search-input:focus {
    background-color: #fff;
    box-shadow: inset 0 0 0 2px #1a2a6c;
    border-radius: 10px 0px 0px 10px;
}

#search-btn1 {
    position: relative;
    background: #093C8E;
    color: white;
    border: none;
    padding: 0 35px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#search-btn:hover {
    background: linear-gradient(to right, #23337e, #c52d2d);
    transform: scale(1.02);
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    margin-top: 10px;
}

.suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-item:hover {
    background-color: #f0f5ff;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.search-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
    font-size: 0.95rem;
    color: #666;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.result-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
    /* height: 180px; */
    /* overflow: hidden; */
    display: block;
width: 100%;
transition: all .5s;
height: 350px;
object-fit: cover;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.result-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title a {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #222222;
    padding: 3px 0 10px;
font-size: 28px;
text-transform: capitalize;
}

.card-desc {
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 15px;
}

.card-category {
    padding-bottom: 8px;
display: inline-block;
color: #093C8E;
font-weight: 500;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #b21f1f;
}

.no-results h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a2a6c;
}

.loading {
    display: none;
    text-align: center;
    padding: 30px;
    grid-column: 1 / -1;
}

.loading.show {
    display: block;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #1a2a6c;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.firstload{

}

.searchclass{
    padding: 27px 0 !important;
}
.searchclass i{
    border-radius: 50%;
    background: #003f75;
    padding: 8px;
    color: #fff;
}