
body {
    font-size: 16px;
}

/* Home page */
.home #blog .grid-item-inner.ct-fade-in .item-body {
    display: flex;
    flex-direction: column;
}

.home #blog .grid-item-inner.ct-fade-in .item-body:hover {
    background: -webkit-linear-gradient(left, #4e50fb, #fe5732);

}

.home #blog .grid-item-inner.ct-fade-in .item-body:hover * {
    color: #fff;
}

.home #blog .grid-item-inner.ct-fade-in .item-body .item-footer {
    margin-top: auto;
}

/** Footer START**/

.footer-badge-logo {
    max-height: 80px;
}

/** Footer END **/


/** Menu **/

#site-header-wrap.header-layout1 .site-header-main .primary-menu > li > a.current,
#site-header-wrap.header-layout1 .site-header-main .primary-menu > li:hover > a,
#site-header-wrap.header-layout1 .site-header-main .primary-menu > li.current_page_item > a,
#site-header-wrap.header-layout1 .site-header-main .primary-menu > li.current-menu-item > a,
#site-header-wrap.header-layout1 .site-header-main .primary-menu > li.current_page_ancestor > a,
#site-header-wrap.header-layout1 .site-header-main .primary-menu > li.current-menu-ancestor > a,
#site-header-wrap.header-layout1 .site-header-main .primary-menu > li:hover > a {
    background: -webkit-linear-gradient(left, #4e50fb, #fe5732);
}

/** Blog **/
.single-post #content {
    padding: 55px 0;

    .entry-header {
        max-width: 100%;
    }
}

/** Service page grid START**/

.service-page-grid .ct-fancybox-image {
    text-align: center;
}

.service-page-grid .ct-fancybox-image img {
    height: 110px;
    width: 150px;
    object-fit: contain;
}

.service-page-grid .ct-fancybox-desc {
    height: 95px;
    overflow: hidden;
}

.service-page-grid .vc_column-inner {
    box-shadow: 4px 4px 10px rgba(22,28,45,.1);
    border-radius: 15px !important;
}

.service-page-grid .ct-fancybox-layout6 .ct-fancybox-gap,
.page-id-1376 .page-title {
    display: none;
}

/** Service page grid END**/

.full-container.contact-us-container {
    margin-top: 30px;
    background-color: #F4F8FF;
    padding: 3rem 0;
}

.home .home-main-banner {
    position: relative;
    height: 70vh;
    background: url('../images/home-hero-img.webp');
}

.home .home-main-banner .text-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 1170px;
    text-align: center;
}

.home .home-main-banner .text-content * {
    color: #fff;
}

.home .home-main-banner .text-content h2 {
    font-size: 52px;
}

.home .home-main-banner .text-content p {
    font-size: 20px;
    font-weight: 500;
}

.home .testimonial-grid h4 {
    font-size: 30px;
}

/** ----- contact-us-page START -------- **/

.contact-us-page .contact-us-form .wpcf7,
.contact-us-page .contact-us .address-block {
    box-shadow: 4px 4px 10px rgba(22, 28, 45, .1);
    border-radius: 15px;
    padding: 1rem;
    max-width: max-content;
}

.contact-us-page .contact-us .socials li {
    box-shadow: 4px 4px 10px rgba(22, 28, 45, .1);
    padding: 5px 10px;
    border-radius: 15px;
}

.contact-info {
    max-width: 240px;
}

.main-navigation .link-icon.left-icon {
    margin-right: 7px;
}

.bottom-copyright p {
    margin-bottom: 0px;
}

.home.page-template-default .page-title {
    display: none;
}

.contact-us-page .wpcf7-form input, 
.contact-us-page .wpcf7-form textarea, 
.contact-us-page .wpcf7-form p,
.contact-us-page .author-profile.contact-us {
    font-size: 16px;
}

.contact-us-page .wpcf7-form .wpcf7-form-control:not(.wpcf7-submit) {
    color: #636363;
}

.contact-us-page .wpcf7-form p:last-child {
    margin-bottom: 0;
}

.contact-us-page .contact-us-form {
    display: flex;
    column-gap: 30px;
}

.contact-us-page .author-profile.contact-us {
    margin-top: 1rem;
}

.contact-us-page .social-media-block {
    margin-top: 10px;
}

.contact-us-page .social-media-block .menu {
    display: flex;
    column-gap: 20px;
}

.contact-us-page .address-block .title strong {
    text-transform: uppercase;
}

/** ----- contact-us-page END -------- **/

/** ----- About US page START ------- **/

.background-about-us-container {
    background-image: url('../images/about-us.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.title-with-border .vc_separator h4 {
    font-size: 30px;
}

/** ----- About US page END ------- **/

.ct-testimonial-carousel .ct-testimonial-title {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
}

@media only screen and (min-width: 991px) {
    .primary-menu .sub-menu {
        background-color: #121212;
    }

    .home #blog .grid-item-inner.ct-fade-in .item-body {
        min-height: 239px;
    }

    .home #blog .grid-item-inner.ct-fade-in {
        min-height: 220px;
    }
}

@media only screen and (max-width: 991px) {
    #contact {
        background-image: none !important;
    }

    .vc_row.vc_row-o-full-height {
        min-height: unset !important;
    }

    /** Service page grid **/
    .vc_row.vc_column-gap-20.service-page-grid,
    .vc_row.vc_column-gap-20.service-text-container  {
        margin-left: -15px;
        margin-right: -15px;
    }

     /** Footer Start **/

    .site-footer .top-footer .ct-footer-item:nth-child(2n+1) {
        margin-bottom: 10px;
    }

    /** Footer End **/

    .contact-us-page .contact-us-form {
        flex-direction: column;
    }

    .contact-us-page .contact-us-form label,
    .contact-us-page .contact-us-form .gmap_canvas,
    .contact-us-page .contact-us-form .gmap_canvas iframe,
    .contact-us-page .contact-us-form .mapouter {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) { 
    /** Footer Start **/
    .top-footer-logo {
        text-align: center;
    }

    .top-footer-logo img{ 
        width: 200px;
        height: 200px;
        object-fit: contain;
    }

    .site-footer div.top-footer {
        padding-top: 0 !important;
        padding-bottom: 0;
    }

    .site-footer div.top-footer .top-footer-logo {
        margin-bottom: 0;
    }
    /** Footer End **/

    .full-container.contact-us-container {
        text-align: center;
    }

    .full-container.contact-us-container a {
        margin-top: 15px;
    }

    .ct-fancybox-default {
        max-width: 100%;
    }

    .home .home-main-banner .text-content h2 {
    font-size: 30px;
    }

    .home .home-main-banner .text-content p {
        font-size: 20px;
        font-weight: 500;
    }

    .home .home-main-banner .text-content {
        left: 0;
        top: 10%;
        transform: translate(0%, -10%);
        padding: 2rem;
    }
}

@media only screen and (max-width: 400px) {  
    /*.home-main-banner {
        display: none;
    }*/
}

@media only screen and (min-width: 769px) and (max-width: 920px) { 
    .home div.home-main-banner {
        height: 100vh;
    }
}