


/* Full-width tutor search background */
.bt-tutor-search {
    width: 100%;
    min-height: 520px;
    padding: 70px 20px;
    box-sizing: border-box;

    background-image:
        linear-gradient(
            rgba(240, 247, 255, 0.30),
            rgba(240, 247, 255, 0.30)
        ),
        url("../images/tutor-search-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Center the search content */
.bt-search-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 38px;

    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(20, 50, 90, 0.15);
}

/* Main heading */
.bt-search-container h2 {
    margin: 0 0 10px;
    color: #173b72;
    text-align: center;
    font-size: 34px;
    font-weight: 700;
}

/* Subtitle */
.bt-search-subtitle {
    margin: 0 0 30px;
    color: #526174;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
}

/* Form layout */
.bt-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
}

/* Labels */
.bt-form-group label {
    display: block;
    margin-bottom: 9px;
    color: #263449;
    font-size: 15px;
    font-weight: 600;
}

/* Dropdowns */
.bt-form-group select {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #d5deea;
    border-radius: 7px;
    background: #fff;
    color: #34445a;
    font-size: 15px;
}

/* Search button spans both columns */
.bt-search-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    border: none;
    border-radius: 7px;
    background: #0879d9;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bt-search-button:hover {
    background: #075ca6;
}

/* Tablet */
@media (max-width: 768px) {
    .bt-tutor-search {
        min-height: 0;
        padding: 45px 18px;
    }

    .bt-search-container {
        padding: 28px 22px;
    }

    .bt-search-container h2 {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .bt-tutor-search {
        padding: 30px 14px;
        background-position: center;
    }

    .bt-search-container {
        padding: 24px 17px;
        border-radius: 10px;
    }

    .bt-search-container h2 {
        font-size: 24px;
    }

    .bt-search-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .bt-search-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bt-search-button {
        grid-column: 1;
    }
}
