.services .text-center {
    box-shadow: rgb(50 50 93 / 25%) 0 2px 5px -1px, rgb(0 0 0 / 30%) 0 1px 3px -1px;
    height: 100%;
    border-radius: 2px;
    display: flex;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    padding-left: 30px;
    border-left: 2px solid red;
}
.services .text-center > i {
    position: absolute;
    left: -15px;
    font-size: 20px;
    width: 30px;
    height: 30px;
    background: red;
    border-radius: 50px;
    line-height: 30px;
    color: #fff !important;
    top: calc(50% - 15px);
}
header.masthead p{display:inline-block;}
.modal-content button {
    border: 0;
}
section.services .container-fluid {
    padding: 0 15px;
}
.services h3 {
    font-size: 15px;
    font-weight: 400;
    color: #000;
    background: #fff;
    margin: 0;
    padding: 10px;
    width: 100%;
    min-height: 75px;
    display: flex;
    text-align: left;
    line-height: 20px;
    padding-left: 0;
    align-items: center;
    flex-wrap: wrap;
}
    .services h3 small {
        font-size: 11px;
        line-height: 14px;
        color: #2937f0;
    }

.services .text-gradient {
    /*    background: none;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: none;*/
}

.masthead .masthead-device-mockup .query_form {
    width: 400px;
    max-width: 100%;
    background: #fff;
    position: relative;
    padding: 35px;
    box-shadow: rgb(0 0 0 / 16%) 0px 5px 40px;
    border-radius: 8px;
    margin-right: 0;
    margin-left: auto;
}

header.masthead h1 {
    text-transform: uppercase;
    font-size: 60px;
    font-weight: 700;
    color: #000;
    display: block;
}

header.masthead p {
    background: #fff;
    border: 10px solid #FFA73A;
    color: #000 !important;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 1px 15px 0px;
    margin-top: 15px !important;
    background: #fff;
    border: 1px solid #FFA73A;
    color: #000 !important;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 4px 15px 4px;
    margin-top: 15px !important;
}

section .row h2 {
    font-size: 35px;
    color: #273245;
    font-weight: 600;
    background: #fff;
    display: inline-block;
    width: auto;
    max-width: none;
    border: 1px solid #ffa73a;
    position: relative;
    padding: 5px 20px;
}

    section .row h2::before {
        content: "";
        width: 10px;
        height: 10px;
        background: #fff;
        position: absolute;
        border: 1px solid #ffa73a;
        left: -5px;
        top: -5px;
    }

    section .row h2::after {
        content: "";
        width: 10px;
        height: 10px;
        background: #fff;
        position: absolute;
        border: 1px solid #ffa73a;
        right: -5px;
        bottom: -5px;
    }

.how_fg_help p.lead, .expert_sec p.lead {
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #45536b;
}

.how_fg_help p {
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

section.package_sec {
    background: #e1f3fd;
}

.package ul li a {
    display: block;
    background: #00AFF0;
    box-shadow: 0px 4px 50px rgb(0 175 240 / 40%);
    color: #fff;
    padding: 15px;
    text-decoration: none;
    height: 100%;
    border-radius: 8px;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.package ul li {
    list-style: none;
    margin: 10px;
    width: calc(33.33% - 20px);
}

.package ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.expert_sec h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2937f0;
    font-weight: 500;
}

.expert_sec p b {
    color: #ffa73a;
}

aside.bg-gradient-primary-to-secondary {
    padding: 30px 0;
    background: url("../images/bg-stripe.svg")no-repeat center #ffa73a !important;
    background-attachment: fixed !important;
    background-position: bottom !important;
}
/**/
.testimonial_member {
    padding-top: 20px;
}

.testi_box {
    position: relative;
    transition: background 1s;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #fff;
}

    .testi_box .testi_box_text {
        position: absolute;
        bottom: 15px;
        width: calc(100% - 30px);
        margin: 0 auto;
        left: 0;
        right: 0;
        background: #fff;
        padding-top: 15px;
        text-align: center;
        transform: translateY(1%);
        transition: all .2s ease-in-out;
        z-index: 2;
    }

        .testi_box .testi_box_text p, .testi_modal p {
            font-size: 12px;
            letter-spacing: 0.5px;
            color: #ffa73a;
            margin: 0;
        }

        .testi_box .testi_box_text p {
            padding-bottom: 10px;
        }

        .testi_box .testi_box_text h4, .testi_modal h4 {
            margin: 0;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: #000;
            padding-bottom: 5px;
        }

        .testi_box .testi_box_text h4 {
            padding-top: 5px;
        }

.testi_image {
    height: 400px;
}

.testi_box .testi_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi_box .testi_image img {
    width: 100%;
}

.testi_box .testi_box_text a {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    background: #ffa73a;
    margin-top: 5px;
    padding: 0;
    color: #fff;
    transition: all .5s ease-in-out;
    position: absolute;
    top: -35px;
    width: 50px;
    height: 50px;
    left: 15px;
    line-height: 50px;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
}
/*.testi_box:hover .testi_box_text{background:#2167b0; }.testi_box:hover .testi_box_text h2,.testi_box:hover .testi_box_text p,.testi_box:hover .testi_box_text a{color:#fff;}*/
.testi_box:hover .testi_box_text a {
    background: #ffa73a;
}

.testi_box:hover .testi_box_text a {
    color: #fff;
}


.testi_box::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    color: #fff;
    background-color: #1e87f0;
    transition: all .5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: .01%;
    z-index: 1;
}

.testi_box:hover::before {
    height: 100%;
    mix-blend-mode: multiply;
}

.testi_box:hover .testi_box_text {
    bottom: 10%;
}

.testi_box .testi_image img {
    transition: all .5s ease-in-out;
}

.testi_box:hover .testi_image img {
    transform: scale(1.2)rotate(5deg);
}

.testi_modal_box button.close {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 10;
    background: #2167b0;
    opacity: 1;
    right: 0;
    text-shadow: none;
    color: #Fff;
}

.testi_modal blockquote span {
    display: block;
    font-weight: 600;
    color: #ff5200;
    font-size: 16px;
    margin-top: 10px;
}

.testi_modal blockquote {
    font-size: 13px;
    line-height: 24px;
    margin-top: 15px;
    color: #000;
    letter-spacing: 0.2px;
    text-align: justify;
    font-weight: 400;
}

    .testi_modal blockquote i.fa {
        display: block;
        font-weight: 800;
        font-size: 18px;
        color: #ff5200;
        margin-bottom: 5px;
    }

    .testi_modal blockquote iframe {
        width: 100%;
        height: 350px;
        border-radius: 10px;
    }
.ser_smallbox ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    padding-top: 20px;
}

    .ser_smallbox ul li {
        list-style: none;
        width: calc(25% - 20px);
        padding: 10px;
        border: 1px solid #f2d67e;
        box-sizing: border-box;
        box-shadow: 0 9px 30px -12px rgb(140 82 45 / 14%);
        border-radius: 4px;
        margin: 15px 10px;
        display: flex;
        align-items: center;
        background: #fefefe;
        position: relative;
    }

        .ser_smallbox ul li:hover::before {
            background: #f2d67e;
            color: #fff;
        }

        .ser_smallbox ul li::before {
            content: "Study In";
            position: absolute;
            top: -12px;
            left: 72px;
            font-size: 12px;
            background: #ffffff;
            font-weight: 600;
            color: #000;
            letter-spacing: 0.5px;
            padding: 2px 5px;
            border-radius: 3px;
            border: 1px solid #f2d67e;
            transition: 600ms all;
        }

        .ser_smallbox ul li a {
            display: flex;
            align-items: center;
            width: 100%;
            text-decoration: none;
        }

            .ser_smallbox ul li a > i {
                width: 50px;
                height: 50px;
                text-align: center;
                line-height: 50px;
                margin-right: 15px;
                border-radius: 50px;
                color: #fff;
                font-size: 20px;
            }

            .ser_smallbox ul li a i img {
                max-width: 45px;
            }

        .ser_smallbox ul li span {
            color: #000000;
            font-size: 14px;
            display: inline-block;
            width: calc(100% - 60px);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 500;
            font-family: 'Roboto', sans-serif;
        }

            .ser_smallbox ul li span i {
                display: block;
                font-style: normal;
                font-size: 12px;
                text-transform: none;
                font-family: montserratregular;
                color: #d65d0d;
            }

.ser_smallbox h1, .ser_smallbox p {
    text-align: center;
}

.ser_smallbox p {
    position: relative;
}
section.country_list {
    padding: 30px 0 30px 0;
    border-bottom: 1px solid #ebf7fe;
}

@media (max-width: 768px) {
    header.masthead h1 {
        font-size: 30px;
    }

    .masthead .container, section.country_list .container, .services .container, .how_fg_help .container, .package_sec .container, .cta .container, .expert_sec .container, .navbar .container {
        padding: 0 25px !important;
    }
    .ser_smallbox ul li {
        width: calc(100% - 20px);
    }
    section.country_list .container .col-lg-12 {
        margin: 0 !important;
    }
    .services .container-fluid {
        padding: 0 10px;
    }

        .services .container-fluid .mb-5 {
            margin-bottom: 0 !important;
        }

    header.masthead p {
        border-width: 0;
        background: transparent;
        padding-bottom:0;
    }

    .masthead .masthead-device-mockup .query_form {
        padding: 20px;
    }

    .masthead .container .col-lg-6 > div {
        margin-bottom: 15px !important;
    }

    aside, section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

        section .row h2 {
            font-size: 22px;
            margin-bottom: 30px !important;
        }

    .services .container-fluid .col-md-3, .services .container-fluid .col-md-3.mb-5 {
        margin-bottom: 20px !important;
    }

    .services .container .row > div.col-lg-12.mb-5 {
        margin-bottom: 0 !important;
    }

    .how_fg_help .px-5.px-sm-0, .expert_sec .px-5.px-sm-0 {
        padding: 0 !important;
        margin-top: 20px;
    }

    .package ul li {
        width: calc(100% - 20px);
    }

        .package ul li a {
            font-size: 15px;
        }

    .navbar-brand img {
        max-width: 120px;
    }

    #mainNav .navbar-toggler:focus {
        outline: none !important;
        box-shadow: none;
    }


    /**/
    #mainNav .navbar-toggler {
        display: none;
    }

    div#navbarResponsive {
        position: fixed;
        display: block;
        z-index: 9;
        top: 52px;
        width: 100%;
        left: 0;
        right: 0;
        background: #e1f3fd;
    }

    .navbar-nav {
        flex-direction: row;
        align-content: space-between;
        display: flex;
        justify-content: space-between;
        margin: 0 !important;
        padding: 0 25px;
    }

    #mainNav {
        padding-top: 5px;
        padding-bottom: 35px;
    }

        #mainNav .navbar-nav .nav-item .nav-link {
            font-size: 14px;
        }
    div#navbarResponsive .rounded-pill {
        position: fixed;
        bottom: 0;
        width: 100%;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    div#navbarResponsive .rounded-pill > span {
        justify-content: center;
    }
}
