/*Inner Banner */
.inner_banner .row {
    min-height: 500px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.inner_banner {
    background-image: url(../img/book/book-banner.png);
    background-size: cover;
    background-position: center;
    color: white;
}

.inner_banner .banner_md_txt {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}

.inner_banner p {
    font-size: 19px;
    max-width: 85%;
    margin: auto;
}

@media(max-width:1199px) {
    .inner_banner .banner_md_txt {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .inner_banner p {
        font-size: 16px;
        max-width: 100%;
    }
}

@media(max-width:767px) {
    .inner_banner .row {
        padding: 30px 0px;
    }

    .inner_banner .banner_md_txt {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .inner_banner p {
        font-size: 14px;
    }
}

@media(max-width:991px) {
    .inner_banner .row {
        min-height: 330px;
    }
}

/* banner logo CSS */
.banner_logo {
    background: #f5f5f5;
    padding: 30px 0;
}

.f_logo_box {
    width: 75%;
    margin: 0 auto;
}

@media(max-width:992px) {
    .f_logo_box {
        width: 90%;
    }

    .service_tabs_section {
        padding-bottom: 0px;
    }
}

/*service listning */
.service-listing-box {
    padding: 30px;
    transition: 0.5s;
    height: 100%;
}

.services-section .row>div {
    margin: 15px 0px;
}

.services-section {
    background: whitesmoke;
}

.service-listing-box figure {
    height: 90px;
    position: relative;
}

.service-listing-box figure img {
    position: absolute;
    left: 0px;
    top: 0px;
    transition: 0.5s;
    left: 50%;
    transform: translateX(-50%);
}

.service-listing-box figure img:nth-child(2) {
    opacity: 0;
}

.service-listing-box:hover figure img:nth-child(2) {
    opacity: 1;
}

.service-listing-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-listing-box p {
    color: var(--text-gray);
}

.service-listing-box a {
    padding: 12px 30px;
    border: 1px solid var(--text-gray);
    text-transform: uppercase;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 15px;
    background: white;
    border-radius: 30px;
    margin-top: 15px;
    display: inline-block;
    transition: 0.5s;
}

.service-listing-box {
    background: white;
    border: 1px solid lightgrey;
    text-align: center;
}

.service-listing-box:hover {
    box-shadow: 0px 25px 50px 0px rgba(149, 44, 230, 0.1);
}

.service-listing-box:hover a {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

@media (max-width:1199px) {
    .service-listing-box {
        padding: 20px;
    }

    .service-listing-box p {
        font-size: 14px;
    }

    .service-listing-box a {
        font-size: 13px;
        margin-top: 4px;
        padding: 8px 24px;
    }

    .service-listing-box h3 {
        font-size: 20px;
    }

    .service-listing-box figure {
        height: 75px;
    }
}

@media (max-width:991px) {
    .services-section.py_90 {
        padding: 40px 0px;
        padding-bottom: 10px;
    }
}

/* how_its_work_section */
.how_its_work_section {
    background: url(../img/home/how-its-work/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}



/* book_form_section */
.book_form_section {
    background: #f5f5f5;
}

.f_field {
    margin-bottom: 20px;
}

.f_field input,
.f_field select {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 30px;
    padding: 0 25px;
    color: var(--text-gray);
    font-size: 15px;
}

.f_field textarea {
    width: 100%;
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    color: var(--text-gray);
    height: 200px;
    font-size: 15px;
}

.f_field select {
    appearance: none;
    background-image: url(../img/down_arrow.png);
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

.f_field input:focus,
.f_field select:focus,
.f_field textarea:focus {
    outline: none;
}

/* contact_detail_section */
.contact_box {
    background: #fff;
    box-shadow: 0px 25px 50px 0px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact_box:hover {
    background: #2c3545;
    cursor: pointer;
}

.contact_box:hover * {
    color: #fff;
}

.contact_box h3 {
    font-size: 17px;
    position: relative;
    color: var(--text-gray);
    text-transform: uppercase;
    margin: 0;
    line-height: 28px;
    padding-left: 40px;
}

.contact_box h3 a,
.contact_box h3 span {
    display: block;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: none;
    margin-top: 4px;
}

.contact_box h3 i {
    font-size: 25px;
    position: absolute;
    top: 3px;
    left: 0;
    color: var(--red);
}