/* EasyVend public-site overlay: friendlier layout and mobile-first fixes */

:root {
    --ev-navy: #0a2540;
    --ev-blue: #1d6fd8;
    --ev-blue-dark: #1557ab;
    --ev-teal: #12b886;
    --ev-text: #243044;
    --ev-muted: #5b6778;
    --ev-bg: #f4f7fb;
    --ev-card: #ffffff;
    --ev-radius: 16px;
    --ev-shadow: 0 12px 32px rgba(10, 37, 64, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ev-text);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(29, 111, 216, 0.45);
    outline-offset: 2px;
}

.boxed_wrapper {
    overflow-x: hidden;
}

.public-skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 10000;
    background: var(--ev-blue);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}

.public-skip-link:focus {
    top: 12px;
}

/* Header */
.main-header.style-one .header-top {
    background: var(--ev-navy);
}

.main-header.style-one .header-top .info-list li,
.main-header.style-one .header-top .info-list li a {
    color: #d7e4f5;
}

.main-header.style-one .header-lower .outer-box,
.main-header .sticky-header .outer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
}

.main-header .logo-box .logo img,
.sticky-header .logo-box .logo img {
    max-height: 52px;
    width: auto;
}

.main-header .menu-area {
    flex: 1;
}

.main-menu .navigation > li > a {
    padding: 10px 12px;
    border-radius: 8px;
}

.main-header .menu-right-content .btn-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.theme-btn-one,
.theme-btn-two {
    border-radius: 999px !important;
    padding: 12px 22px !important;
    font-weight: 600;
    letter-spacing: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-btn-two {
    background: var(--ev-teal);
    color: #fff;
}

.theme-btn-two:hover {
    background: #0d9b70;
    color: #fff;
}

.public-ghost-btn {
    background: transparent;
    color: var(--ev-navy);
    border: 1.5px solid rgba(10, 37, 64, 0.18);
}

.search-box-outer {
    display: none !important;
}

.mobile-nav-toggler {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ev-blue);
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggler .icon-bar {
    background: #fff;
}

/* Banner */
.banner-section .content-box {
    max-width: 640px;
    padding: 28px 24px;
    background: rgba(10, 37, 64, 0.55);
    border-radius: 24px;
    backdrop-filter: blur(6px);
}

.banner-section .content-box h1 {
    line-height: 1.15;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.banner-section .content-box p {
    font-size: 18px;
    line-height: 1.6;
}

.banner-section .btn-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.banner-section .play-badge {
    width: min(220px, 70vw);
}

/* Feature / service cards */
.feature-style-two .inner-container {
    background: transparent;
    box-shadow: none;
    padding: 0 0 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.feature-style-two .single-item {
    float: none;
    width: auto;
    flex: 1 1 280px;
    display: flex;
}

.feature-style-two .single-item .inner-box,
.service-block-one .inner-box,
.contact-info-section .single-info-box .inner-box {
    border-radius: var(--ev-radius);
    box-shadow: var(--ev-shadow);
    background: var(--ev-card);
}

.feature-style-two .single-item .inner-box {
    padding: 28px 24px 40px 80px;
    width: 100%;
    height: 100%;
}

.feature-style-two .single-item .inner-box h4 {
    margin-bottom: 16px;
}

.feature-style-two .single-item .inner-box p,
.service-block-one .lower-content p,
.about-section .text p {
    color: var(--ev-muted);
    line-height: 1.7;
    word-spacing: normal;
    margin-bottom: 0;
    padding-bottom: 8px;
}

.service-block-one .image-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Agency tabs */
.agency-section .tab-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.agency-section .tab-btns li {
    border-radius: 999px;
    padding: 10px 16px;
}

/* FAQ */
.service-details .accordian-inner > p,
.faq-group-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ev-navy);
    margin: 24px 0 12px;
}

.accordion-box .acc-btn {
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 12px;
}

.accordion-box .acc-content .text p {
    line-height: 1.7;
}

/* Contact */
.contact-section .default-form input,
.contact-section .default-form select,
.contact-section .default-form textarea {
    min-height: 50px;
    font-size: 16px;
    border-radius: 12px;
    width: 100%;
}

.contact-section .default-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--ev-navy);
}

.public-status {
    margin: 0 0 20px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #e8f7ef;
    color: #146c43;
}

.funfact-section .count-outer,
.funfact-section .count-text {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.funfact-section .count-outer:after,
.funfact-section .count-text:after {
    content: none !important;
}

.public-legal {
    padding: 70px 0 90px;
    background: var(--ev-bg);
}

.public-legal .legal-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: var(--ev-shadow);
    max-width: 860px;
    margin: 0 auto;
}

.public-legal h1,
.public-legal h2,
.public-legal h3 {
    color: var(--ev-navy);
}

.public-legal p,
.public-legal li {
    color: var(--ev-muted);
    line-height: 1.75;
}

/* Footer */
.main-footer .footer-bottom .inner-box,
.main-footer .footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.main-footer .footer-widget.post-widget img {
    max-width: 220px;
    border-radius: 12px;
}

.footer-help {
    color: #d7e4f5;
    margin-bottom: 16px;
}

/* Mobile CTA bar */
.public-mobile-cta {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 999;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.2);
    padding: 10px;
    gap: 8px;
}

.public-mobile-cta a {
    flex: 1;
    text-align: center;
    border-radius: 12px;
    padding: 12px 10px;
    font-weight: 700;
    font-size: 14px;
}

.public-mobile-cta .buy {
    background: var(--ev-teal);
    color: #fff;
}

.public-mobile-cta .login {
    background: var(--ev-navy);
    color: #fff;
}

.page-title {
    padding: 90px 0 70px;
}

@media (max-width: 1199px) {
    .main-header.style-one .header-lower .outer-box {
        padding: 10px 16px;
    }

    .main-header .menu-right-content .public-desktop-cta {
        display: none;
    }

    .mobile-nav-toggler {
        display: inline-flex !important;
    }
}

@media (max-width: 991px) {
    .header-top {
        display: none;
    }

    .banner-section .slide-item,
    .banner-section .content-box {
        min-height: auto;
    }

    .banner-section .content-box {
        margin: 40px 0;
        width: 100%;
    }

    .banner-section .content-box h1 {
        font-size: 34px !important;
    }

    .feature-style-two .single-item,
    .footer-top .footer-info .single-item {
        width: 100% !important;
    }

    .feature-style-two .single-item .inner-box {
        padding: 24px 20px 36px;
    }

    .funfact-section .counter-block {
        margin-bottom: 24px;
    }

    .agency-section .sec-title h2 {
        font-size: 28px !important;
        line-height: 1.3;
    }

    .public-mobile-cta {
        display: flex;
    }

    .main-footer {
        padding-bottom: 84px;
    }

    .scroll-top {
        bottom: 86px;
    }
}

@media (max-width: 767px) {
    .feature-style-two .inner-container {
        padding-bottom: 32px;
    }

    .feature-style-two .single-item .inner-box {
        padding: 24px 20px 36px !important;
    }

    .banner-section .content-box h1 {
        font-size: 28px !important;
    }

    .banner-section .content-box p {
        font-size: 16px;
    }

    .theme-btn-one,
    .theme-btn-two,
    .banner-section .btn-box a {
        width: 100%;
    }

    .page-title .content-box h1 {
        font-size: 32px;
    }

    .footer-bottom .copyright,
    .footer-bottom .footer-nav {
        float: none !important;
        width: 100%;
        text-align: center;
    }

    .footer-bottom .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 0;
    }

    .contact-section .form-group {
        margin-bottom: 16px;
    }

    .google-map-section {
        display: none;
    }
}
