/***
    Styles for global.foodhub.com
    Author: Foodhub
***/

/*** Additional styles for bootstrap container ***/
@media (min-width: 1360px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1320px;
    }
}

/*** Top header section ***/
.top-header-section {
    background: #D92A27;
    padding-block: 90px 100px;
    overflow: hidden;
}
.top-header-section h1 {
    margin-bottom: 35px;
}
.top-header-section h1 img {
    height: auto;
    width: 192px;
}
.top-header-section h2 {
    margin-bottom: 40px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: 0.5px;    
    position: relative;
    z-index: 1;
}


/*** Country Selection ***/
.card.card-country-selection {
    max-width: 620px;
    padding: 1.6rem;
    border-radius: 3rem;
    position: relative;
    z-index: 1;
}
.card.card-country-selection h3 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 1.8rem;
    letter-spacing: 0.5px;
}
.btn.btn-country-selection figure {
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 1px solid #eee;
}
.btn.btn-country-selection figure img {
    width: 36px;
    height: 30px;
    display: block;
    object-fit: cover;
    transform: scaleX(0.88);
    max-width: none;
    margin-left: -4px;
}
.btn.btn-country-selection {
    border-color: #ddd;
    padding: 12px;
    border-radius: 20px;
    font-weight: 600;
    position: relative;
    box-shadow: none !important;
}
.btn.btn-country-selection:after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    transform: rotate(-45deg);
    margin-left: auto;
    margin-right: 10px;
}
.btn-outline-dark:not(:disabled):not(.disabled):active {
    background: #f2f2f2 !important;
    color: #000 !important;
    border-color: #bbb !important;
}
figure.food-banner-image {
    top: 50%;
    right: 0;
    width: 50%;
    margin: 0;
    transform: translateY(-50%);
}
figure.food-banner-image img {
    max-width: none;
    width: 800px;
    margin-left: -50px;
    margin-top: -20px;
}


/*** Become a partner ***/
.section-become-partner {
    padding-block: 80px;
}
.card-become-partner {
    background: #FAFAFA;
    border: 0;
    border-radius: 15px;
}
.card-become-partner .card-body {
    padding: 25px 25px 25px 35px;
}
.card-become-partner h3 {
    letter-spacing: 0.5px;
    font-size: 1.6rem;
}
.card-become-partner h3 b {
    font-weight: 800;
}


/*** Button theme ***/
.btn.btn-fh-theme {
    background-color: rgb(237, 81, 91);
    border: 1px solid rgb(237, 81, 91);
    box-shadow: 0 0 0 rgb(224 61 72);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 0.5px;
    height: 52px;
    padding: 13px 40px;
    transition: 0.5s;
}


/*** Testimonials section ***/
.testimonials-list {
    column-count: 4;
    column-gap: 30px;
}
.testimonial-item {
    break-inside: avoid;
    padding-bottom: 10px;
}
.testimonial-item:nth-child(even) {
    margin-top: 20px;
}
.card.card-testimonial {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 6px rgba(0,0,0,0.1);
    border-color: #eee;
}
.card-testimonial .card-body {
    background: #FFFDFE;
    background-image: url(../img/testimonial-quote.png);
    background-repeat: no-repeat;
    background-size: 90px auto;
    background-position: 92% 12px;
}
.card-testimonial .card-footer {
    border-top-color: #eee;
    background: #FAFAFA;
    padding-block: 18px;
}
.card-testimonial h6 {
    font-weight: 600;
    font-size: 18px;
}
.testimonials-headings h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.testimonials-headings p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}


/*** Download app section ***/
.download-app-section {
    padding-block: 100px;
}
.download-app-box {
    background: #eee;
    background-image: linear-gradient(-45deg, #EFBBBA 0%, #FBF7F8 50%, #FAFAFA 100%);
    border-radius: 25px;
    overflow: hidden;
}
.download-app-box h3 {
    font-size: 1.75rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}
.download-app-box h3 b {
    display: block;
    font-weight: 700;
    font-size: 2.2rem;
    margin-top: 5px;
}
.download-app-box .img-wrapper {
    width: 480px;
    margin: 0 auto;
    padding-top: 50px;
}
.download-app-box .pl-lg-5 {
    padding-left: 70px !important;
}


/*** Download app section ***/
.main-footer-block {
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    padding-block: 50px;
}
.main-footer-block ul {
    margin-bottom: 0;
}
footer p,
.footer-sub-title {
    color: #000;
    font-weight: 400;
}
#footer ul.quick-links li a {
    display: inline-block;
    color: #000;
    font-weight: 400;
    padding: 5px 10px 5px 0;
}
p.footer-sub-title {
    margin-block: 11px;
}
.bottom-bar {
    padding-block: 30px;
}
.social-link {
    opacity: 0.6;
    transition: 0.5s;
    display: inline-block;
}
.btn.btn-country-selection:hover {
    background: #f7f7f7;
    color: #000;
}

@media only screen and (hover: hover) {
    .btn.btn-fh-theme:hover {
        background-color: rgb(247 99 109);
        border-color: rgb(224 61 72);
    }
    .btn.btn-fh-theme:active {
        transform: translateY(1px);
        box-shadow: 0 0 0 rgb(224 61 72);
    }
    #footer ul.quick-links li a:hover {
        font-weight: 600;
    }
    .social-link:hover {
        opacity: 1;
        transform: translateY(-2px);
    }
    .app-links a img {
        transition: 0.2s;
        transform: translateY(0px);
        filter: drop-shadow(0 0 0 #888);
    }
    .app-links a:hover img {
        transform: translateY(-3px);
        filter: drop-shadow(0 3px 0 #888);
    }
    .app-links a:active img {
        transition: 0s;
        transform: translateY(0px);
        filter: drop-shadow(0 0 0 #888);
    }
    .custom-fade-up {
        transition: 0.5s;
        transform: translateY(100px);
        opacity: 0;
    }
    .custom-fade-up.visible {
        transform: translateY(0px);
        opacity: 1;
    }

}


@media only screen and (max-width: 1200px) {
    .top-header-section h2 {
        font-size: 22px;
    }
    .testimonials-list {
        column-count: 3;
        column-gap: 20px;
    }
    .testimonial-item:nth-child(even) {
        margin-top: 0;
    }
    .testimonial-item {
        margin-bottom: 10px;
    }
} 
@media only screen and (max-width: 992px) {
    figure.food-banner-image {
        right: 0;
        top: auto;
        bottom: -17vw;
        transform: translateY(50%);
        width: 100%;
    }
    figure.food-banner-image img {
        width: 600px;
        margin: 0 auto;
        display: block;
    }
    .top-header-section {
        padding-bottom: 35vw;
    }
    .card-become-partner .card-body {
        text-align: center;
    }
    .download-app-box .pl-lg-5 {
        padding-left: 50px !important;
    }
    .download-app-box .img-wrapper {
        width: 320px;
    }
    .download-app-box h3 {
        font-size: 1.5rem;
    }
    .download-app-box h3 b {
        font-size: 1.75rem;
        white-space: nowrap;
    }
    p.footer-sub-title {
        margin-top: 30px;
    }
} 
@media only screen and (max-width: 767px) {
    .top-header-section {
        padding-block: 20px 60vw;
    }
    .top-header-section h1 img {
        width: 130px;
    }
    .top-header-section h1 {
        margin-bottom: 15px;
    }
    .top-header-section h2 {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .top-header-section h2 br {
        display: none;
    }
    .testimonials-list {
        column-count: 2;
        column-gap: 15px;
    }
    .card-testimonial .card-body {
        padding: 18px;
        font-size: 13px;
    }
    .card-testimonial h6 {
        font-size: 16px;
    }
    .card-testimonial .card-footer {
        padding-block: 12px;
    }
    .main-footer-block {
        padding-block: 25px 35px;
    }
    .card.card-country-selection {
        padding: 0;
        border-radius: 20px;
    }
    .card.card-country-selection h3 {
        font-size: 18px;
        margin-block: 5px 15px;
    }
    figure.food-banner-image img {
        width: 100vw;
    }
    figure.food-banner-image {
        bottom: -28vw;
    }   
    .section-become-partner {
        padding-block: 60px;
    }
    .card-become-partner .card-body {
        padding: 25px;
    }
    .card-become-partner h3 {
        font-size: 1.4rem;
    }
    .btn.btn-fh-theme {
        height: 48px;
        font-size: 16px;
        padding: 12px 40px;
    } 
    .testimonials-headings h3 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }
    .testimonials-headings p {
        margin-bottom: 1rem;
        font-size: 16px;
    }
    .download-app-section {
        padding-block: 60px;
    }
    .download-app-box .pl-lg-5 {
        padding: 30px !important;
    }
    .download-app-box .img-wrapper {
        padding-top: 0;
    }
    .download-app-box h3 {
        font-size: 20px;
    }
    .download-app-box h3 b {
        font-size: 24px;
    }
    .app-links {
        justify-content: center;
    }
} 
