.main-page-header {
    box-sizing: border-box;
    background-image: url("/assets/images/resource/page-header-bg.png");
    margin: 0 auto;
    margin-top: 160px;
    border-radius: 13px;
    width: 98%;
    margin-inline: auto;
    padding-inline: 24px;
    padding-block: 100px;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.main-page-header h1 {
    margin: 0;
    color: #FFF;
    font-weight: 500;
    text-align: center;
    /* line-height: 1.1; */
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 16px;
}

.main-page-header p {
    margin: 0;
    text-align: center;
    color: #FFF;
    font-size: 16px;
    text-transform: uppercase;
}

@media only screen and (max-width:1200px) {
    .main-page-header {
        margin-top: 150px !important;
    }
}

@media only screen and (max-width:990px) {
    .main-page-header {
        margin-top: 80px !important;
    }

    .main-page-header h1 {
        font-size: 38px;
    }
}

@media only screen and (max-width:676px) {
    .main-page-header h1 {
        font-size: 32px;
    }

    .main-page-header p {
        font-size: 14px;
    }
}

@media only screen and (max-width:420px) {
    .main-page-header h1 {
        font-size: 28px;
    }

    .main-page-header p {
        font-size: 13px;
    }
}

.hospital-guide-wrapper {
    padding: 24px 16px;
    /* background-color: #fff; */
    background-color: #e9f1fe;

    margin: 16px;
    border-radius: 17px;
}

.divider-header {
    padding-block: 16px;
    padding-block-end: 30px;
}

.divider-header .divider {
    height: 2px;
    background-color: #ED3438;
    margin-block: 16px;
}

.divider-header h2,
.divider-header p {
    margin: 0;
    font-family: "DM Sans", sans-serif;
}

.divider-header h2 {
    color: #3E4095;
}

.divider-header p {
    color: #006B3E;
    font-size: 14px;
}

@media only screen and (max-width:767px) {

    .divider-header h2,
    .divider-header p {
        margin-bottom: 10px;
        text-align: center;
    }
}

/* Tests Section */



.form-group {
    position: relative;
}

.form-group>label {
    bottom: 12px;
    left: 30px;
    position: absolute;
    background-color: #e9f1fe;
    padding: 0px 5px 0px 5px;
    font-size: 1.1em;
    transition: 0.2s;
    pointer-events: none;
    color: #989494;
    font-size: 16px;
    line-height: 1;
}

.form-control:focus~label {
    bottom: 30px;
    font-size: 11px;
}

.form-control:valid~label {
    font-size: 11px;
    bottom: 30px;
}

.form-group input {
    padding-inline: 30px;
    border-radius: 30px;
}

.form-group select {
    padding-inline: 30px;
    border-radius: 30px;
}

.form-group input,
.form-group input:focus {
    background: #e9f1fe;
    box-shadow: none;
    border: 1px solid #3E4095 !important;
}

.form-group select,
.form-group select:focus {
    background: #e9f1fe;
    box-shadow: none;
    border: 1px solid #3E4095 !important;
}

.doctor-filter_form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


@media only screen and (max-width:991px) {
    .doctor-filter_form {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.pagination .pagination-pages {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

.pagination .pagination-pages .fa {
    margin-inline: 12px;
    color: #3E4095;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    transform: translateX(0px);
}

.pagination .pagination-pages .fa:first-child:hover {
    transform: translateX(-10px);
    transition: all 0.3s ease-in-out;
}

.pagination .pagination-pages .fa:last-child:hover {
    transform: translateX(10px);
    transition: all 0.3s ease-in-out;
}

.pagination .pagination-pages button {
    border: 1px solid #FFF;
    color: #3E4095;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    background-color: #FFF;
    border-radius: 7px;
    min-width: 30px;
}

.pagination .pagination-pages button:hover {
    background-color: #3E4095;
    color: #FFF;
}

.pagination .pagination-pages button.eslipse {
    background-color: transparent;
    border: none;
}

.pagination .pagination-pages button.eslipse:hover {
    background-color: transparent;
    border: none;
    color: #3E4095;
}

.pagination-total {
    text-align: right;
}

.pagination-total .results {
    color: #4E4E4E;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.pagination-total .result-number {
    color: #3E4095;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Test Cards Section */
.test-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.test-card {
    /* background-color: #fff; */
    background: #3E4095;
    border-radius: 17px;

    border: 2px solid #3E4095;
}

.test-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.test-card-title {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #FFF;

}

.test-card-subtitle {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #3E4095;
    margin: 0;
}

.test-card-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.test-card-body {
    /* padding-top: 20px; */
    background: #FFF;
    border-bottom-right-radius: 17px;
    border-bottom-left-radius: 17px;
    padding: 24px;
}

.test-card-text {
    font-family: "DM Sans", sans-serif;

    font-size: 16px;
    color: #3E4095;
    font-weight: 500;
    margin-bottom: 20px;
}

.test-card-button {
    color: #fff;

    cursor: pointer;
    border-radius: 30px;
    padding: 10px 30px;
    display: block;
    margin: 0 auto;
    background-color: #ED3438;
    border: 1px solid #ED3438;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.test-card-button:hover {
    background-color: #FFF;
    color: #ED3438;
    transition: all 0.3s ease-in-out;
}


.divider {
    height: 2px;
    background-color: #ED3438;
    margin: 20px 0;
}

@media only screen and (max-width:1200px) {
    .test-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width:991px) {
    .test-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width:767px) {
    .test-list {
        grid-template-columns: 1fr;
    }
}