/* =====================================================================
   EzeeBus - Main stylesheet
   ---------------------------------------------------------------------
   1.  Tokens
   2.  Base
   3.  Header (+ dark variant)
   4.  Scroll reveal animation
   5.  Hero
   6.  Stats strip
   7.  About
   8.  Services
   9.  Smart Add-ons
   10. WhatsApp Features
   11. AI Automation Suite
   12. Customer Stories (+ video popup)
   13. Team
   14. Blogs
   15. FAQ
   16. Footer
   17. Clients page hero
   ===================================================================== */


/* =====================================================================
   1. TOKENS
   ===================================================================== */
:root {
    --ez-font: 'Outfit', sans-serif;

    --ez-teal: #1BA8A6;
    --ez-teal-dark: #148B89;
    --ez-teal-soft: #DDF4F3;
    --ez-ink: #111827;
    --ez-muted: #4B5563;
    --ez-red: #E53935;
    --ez-orange: #F28C28;

    --ez-hero-top: #ECFBFC;
    --ez-hero-bottom: #BDF0F4;
    --ez-navy: #0B2E45;
}


/* =====================================================================
   2. BASE
   ===================================================================== */
body {
    font-family: var(--ez-font);
    color: var(--ez-ink);
}

a { text-decoration: none; }


/* =====================================================================
   3. HEADER
   ===================================================================== */
.ez-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(236, 249, 248, 0.9);
    backdrop-filter: blur(10px);
}

.ez-header .navbar { padding: 14px 0; }

.ez-logo img { height: 65px; width: auto; }

.ez-nav { gap: 6px; }

.ez-nav .nav-link {
    border: 1.5px solid var(--ez-teal);
    border-radius: 50px;
    padding: 6px 18px !important;
    color: var(--ez-ink);
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    transition: background .2s, color .2s;
}

.ez-nav .nav-link i { font-size: 11px; margin-left: 2px; }

.ez-nav .nav-link:hover,
.ez-nav .nav-link.active,
.ez-nav .nav-link.show {
    background: var(--ez-teal);
    color: #fff;
}

.ez-dropdown {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .12);
    padding: 8px;
    margin-top: 8px !important;
}

.ez-dropdown .dropdown-item {
    border-radius: 8px;
    font-size: 14px;
    padding: 8px 14px;
}

.ez-dropdown .dropdown-item:hover {
    background: var(--ez-teal-soft);
    color: var(--ez-teal-dark);
}

.ez-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ez-btn {
    background: var(--ez-teal);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background .2s;
}

.ez-btn:hover { background: var(--ez-teal-dark); color: #fff; }

.ez-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ez-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: background .2s;
}

.ez-icon-btn:hover { background: var(--ez-teal-dark); color: #fff; }

/* Dark header variant (pages that pass 'navDark' => true) */
.ez-header--dark {
    background: rgba(9, 32, 47, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ez-header--dark .ez-nav .nav-link {
    background: rgba(255, 255, 255, .04);
    color: #fff;
    border-color: rgba(27, 168, 166, .7);
}

.ez-header--dark .ez-nav .nav-link:hover,
.ez-header--dark .ez-nav .nav-link.active,
.ez-header--dark .ez-nav .nav-link.show {
    background: var(--ez-teal);
    color: #fff;
}

.ez-header--dark .navbar-toggler { color: #fff; }

@media (max-width: 1199.98px) {
    .ez-nav { margin: 14px 0; }
    .ez-nav .nav-link { display: inline-block; }
    .ez-actions { flex-wrap: wrap; padding-bottom: 10px; }
}


/* =====================================================================
   4. SCROLL REVEAL ANIMATION
   ===================================================================== */
.ez-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--d, 0s);
}

.ez-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ez-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =====================================================================
   5. HERO
   ===================================================================== */
.ez-hero {
    padding: 10px 0 100px;                 /* bottom room for the strip's top half */
    background:
        radial-gradient(ellipse at 50% 55%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, var(--ez-hero-top) 0%, var(--ez-hero-bottom) 100%);
    overflow: hidden;
}

.ez-hero-title {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 18px;
}

.ez-hero-line1 {
    display: block;
    color: var(--ez-teal);
    font-size: clamp(28px, 4vw, 44px);
}

.ez-hero-line2 {
    display: block;
    color: var(--ez-ink);
    font-size: clamp(26px, 3.8vw, 42px);
}

.ez-cycle {
    display: inline-block;
    min-width: 2.6em;
    transition: opacity .3s, transform .3s;
}

.ez-cycle.out {
    opacity: 0;
    transform: translateY(-10px);
}

.ez-hero-sub {
    max-width: 640px;
    margin: 0 auto 26px;
    color: var(--ez-muted);
    font-size: 15px;
    line-height: 1.7;
}

.ez-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 50px;
    padding: 10px 28px;
    box-shadow: 0 6px 24px rgba(27, 168, 166, .18);
    font-weight: bolder;
    font-size: 16px;
}

.ez-hero-badge strong {
    color: var(--ez-teal);
    font-size: 26px;
    font-weight: 700;
}

.ez-hero-badge em {
    font-style: normal;
    color: var(--ez-red);
}

.ez-hero-mockup {
    max-width: 1570px;
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
}

.ez-hero-mockup img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .ez-hero { padding-bottom: 60px; }
    .ez-hero-badge { font-size: 14px; padding: 8px 20px; }
    .ez-hero-badge strong { font-size: 22px; }
}


/* =====================================================================
   6. STATS STRIP (top of About, overlapping Hero)
   ===================================================================== */
.ez-stats {
    position: relative;
    z-index: 3;
    max-width: 1040px;
    margin: 0 auto 10px;
    transform: translateY(-50%);           /* half over hero, half over About */
}

.ez-stats img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}


/* =====================================================================
   7. ABOUT
   ===================================================================== */
.ez-about {
    position: relative;
    padding: 0 0 90px;                     /* strip provides the top spacing */
    color: #fff;
    background-color: var(--ez-navy);
    background-image:
        radial-gradient(circle at 85% 30%, rgba(27, 168, 166, .35) 0%, rgba(27, 168, 166, 0) 45%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 160px);
    overflow: visible;                     /* must stay visible or the strip's top half is cut */
}

.ez-pill-label {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50px;
    padding: 5px 18px;
    font-size: 13px;
    color: #fff;
    margin-bottom: 20px;
}

.ez-about-title {
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 500;
    margin-bottom: 18px;
}

.ez-about-title span { color: var(--ez-teal); }

.ez-about-text {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 32px;
    max-width: 560px;
}

.ez-hl { color: var(--ez-teal); }

.ez-about-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ez-about-stat {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    border: 1px solid rgba(27, 168, 166, .5);
    border-radius: 18px;
    padding: 18px 16px;
    background: rgba(255, 255, 255, .04);
    text-align: center;
    transition: border-color .2s, transform .2s;
}

.ez-about-stat:hover {
    border-color: var(--ez-teal);
    transform: translateY(-3px);
}

.ez-about-stat strong {
    display: block;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 4px;
    color: #fff;
}

/* Number inside <strong>: same size & colour as the +, K+, M+ */
.ez-about-stat .ez-count {
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

/* Label only (direct child span) */
.ez-about-stat > span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: var(--ez-teal);
}

.ez-about-visual {
    max-width: 520px;
    width: 100%;
}

@media (max-width: 991.98px) {
    .ez-about { padding: 0 0 70px; }
    .ez-about-stat { max-width: none; }
}


/* =====================================================================
   8. SERVICES (pinned horizontal scroll)
   ===================================================================== */
.ez-services {
    position: relative;
    background-color: #C9F3F6;
    background-image:
        radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, 0) 60%),
        repeating-linear-gradient(90deg, rgba(27, 168, 166, .12) 0 1px, transparent 1px 300px);
}

.ez-services-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 110px 0 50px;                 /* top padding clears the sticky header */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ez-services-sticky > .container-xl { width: 100%; }

.ez-services-label {
    display: inline-block;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
}

.ez-services-title {
    font-size: clamp(26px, 3.4vw, 42px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ez-ink);
    margin-bottom: 20px;
}

.ez-services-title span {
    display: block;
    color: var(--ez-teal);
}

/* Window that hides cards 5 & 6 until they slide in */
.ez-services-viewport {
    overflow: hidden;
    padding: 24px 14px;                    /* room for the tilted active card + shadow */
    margin: 0 -14px;
}

.ez-services-track {
    display: flex;
    gap: 24px;
    will-change: transform;
}

.ez-service-card {
    flex: 0 0 calc((100% - 3 * 24px) / 4);   /* 4 cards visible */
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid transparent;
    border-radius: 18px;
    padding: 24px 22px 20px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
    transition: transform .45s ease, border-color .45s ease, background .45s ease, box-shadow .45s ease;
}

.ez-service-card-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ez-ink);
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #D1D5DB;
    transition: color .45s ease;
}

.ez-service-card-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ez-muted);
    margin-bottom: 16px;
}

.ez-service-card-img {
    margin-top: auto;                      /* push image to the bottom */
    text-align: center;
}

.ez-service-card-img img {
    max-width: 100%;
    max-height: 130px;
    width: auto;
    height: auto;
}

/* Highlighted card (controlled by scroll only) */
.ez-service-card.is-active {
    transform: rotate(-3deg) translateY(-6px);
    border-color: var(--ez-teal);
    background: #F6FEFF;
    box-shadow: 0 16px 36px rgba(27, 168, 166, .18);
}

.ez-service-card.is-active .ez-service-card-title {
    color: var(--ez-teal);
}

/* Dots */
.ez-services-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.ez-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50px;
    background: var(--ez-teal);
    opacity: .55;
    padding: 0;
    cursor: pointer;
    transition: width .3s ease, opacity .3s ease;
}

.ez-dot.is-active {
    width: 28px;
    opacity: 1;
}

/* Tablet & mobile: normal swipe row, no pinning */
@media (max-width: 991.98px) {
    .ez-services-sticky {
        position: relative;
        min-height: 0;
        padding: 60px 0;
    }

    .ez-services-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 6px;
    }

    .ez-services-track::-webkit-scrollbar { display: none; }

    .ez-service-card {
        flex: 0 0 70%;
        scroll-snap-align: start;
    }

    .ez-service-card.is-active { transform: translateY(-4px); }
}

@media (max-width: 575.98px) {
    .ez-service-card { flex-basis: 85%; }
}


/* =====================================================================
   9. SMART ADD-ONS
   ===================================================================== */
.ez-addons {
    padding: 80px 0 90px;
    background: #fff;
}

.ez-addons-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    color: var(--ez-ink);
    margin-bottom: 40px;
}

.ez-addons-title span { color: var(--ez-teal); }

.ez-addon-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    border-radius: 18px;
    padding: 22px 22px 18px;
    color: var(--ez-ink);
    overflow: hidden;
}

.ez-addon-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.ez-addon-name {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.ez-addon-arrow {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ez-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.ez-addon-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 12px;
    max-width: 95%;
}

.ez-addon-img {
    margin-top: auto;
    text-align: center;
}

.ez-addon-img img {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
}

/* Card colour themes */
.ez-addon--busbuddy { background: linear-gradient(135deg, #E3F8F2 0%, #FDEEE4 100%); }
.ez-addon--busbuddy .ez-addon-name { color: #E8752A; }

.ez-addon--dms { background: linear-gradient(135deg, #E2EEFF 0%, #C6D6FF 100%); }
.ez-addon--dms .ez-addon-name { color: #2563EB; }

.ez-addon--count { background: linear-gradient(135deg, #FFF6D3 0%, #E2F8EC 100%); }
.ez-addon--count .ez-addon-name { color: #E0A100; }

.ez-addon--announce { background: linear-gradient(135deg, #F4EAFF 0%, #E2D2FF 100%); }
.ez-addon--announce .ez-addon-name { color: #7C3AED; }

.ez-addon--tpms { background: linear-gradient(135deg, #E9FCEE 0%, #D2F5DE 100%); }
.ez-addon--tpms .ez-addon-name { color: #16A34A; }

.ez-addon--wifi { background: linear-gradient(135deg, #FDF5F6 0%, #F8DCE1 100%); }
.ez-addon--wifi .ez-addon-name { color: #DC2626; }

.ez-addon--kiosk { background: linear-gradient(135deg, #DFFBF2 0%, #C3F2E2 100%); }
.ez-addon--kiosk .ez-addon-name { color: #0F9F6E; }

.ez-addon--trackbus { background: linear-gradient(135deg, #FFF2E6 0%, #FDD6B9 100%); }
.ez-addon--trackbus .ez-addon-name { color: #EA580C; }

/* CTA block */
.ez-addons-cta {
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 20px;
}

.ez-addons-cta-text span {
    display: block;
    font-size: clamp(40px, 4.6vw, 62px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: .5px;
}

.ez-addons-cta-text .dark { color: #0B2E45; }
.ez-addons-cta-text .teal { color: var(--ez-teal); }

.ez-addons-cta-btn {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border: 2px solid var(--ez-teal);
    border-radius: 50px;
    padding: 18px 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #0B2E45;
    background: #fff;
    transition: background .2s, color .2s;
}

.ez-addons-cta-btn:hover {
    background: var(--ez-teal);
    color: #fff;
}

@media (max-width: 767.98px) {
    .ez-addons { padding: 60px 0; }
    .ez-addon-card { min-height: 260px; }
    .ez-addons-cta { min-height: 0; padding: 30px 10px; }
}


/* =====================================================================
   10. WHATSAPP FEATURES
   ===================================================================== */
.ez-wa {
    --wa-green: #1FA34A;
    --wa-green-dark: #148A3A;
    --wa-border: #A7E8B8;

    position: relative;
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F2FDF4 22%, #DDF9E4 60%, #CBF5D5 100%);
    overflow: hidden;
}

/* Faint WhatsApp doodle pattern - uncomment once wa-pattern.png is added
.ez-wa::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/whatsapp/wa-pattern.png') center / 420px repeat;
    opacity: .07;
    pointer-events: none;
}
*/

.ez-wa > .container-xl { position: relative; z-index: 1; }

.ez-wa-label {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--wa-green);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ez-ink);
    margin-bottom: 20px;
}

.ez-wa-title {
    font-size: clamp(26px, 3.3vw, 42px);
    font-weight: 600;
    color: var(--ez-ink);
    margin-bottom: 16px;
}

.ez-wa-title .g { color: var(--wa-green); }

.ez-wa-sub {
    max-width: 560px;
    margin: 0 auto 30px;
    font-size: 15px;
    line-height: 2;
    color: #4B5563;
}

/* Layout: cards at the outer edges, icon in the middle */
.ez-wa-grid {
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    grid-template-rows: auto auto;
    row-gap: 52px;
    align-items: center;
}

.ez-wa-card--lt { grid-column: 1; grid-row: 1; }
.ez-wa-card--lb { grid-column: 1; grid-row: 2; }
.ez-wa-card--rt { grid-column: 3; grid-row: 1; }
.ez-wa-card--rb { grid-column: 3; grid-row: 2; }
.ez-wa-center   { grid-column: 2; grid-row: 1 / span 2; }

/* Connector lines (drawn by JS) */
.ez-wa-lines {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

.ez-wa-line {
    fill: none;
    stroke: var(--wa-green);
    stroke-width: 2;
    stroke-dasharray: 6 6;
    animation: ezWaDash 1s linear infinite;
}

.ez-wa-dot {
    padding: 10px;
    fill: var(--wa-green);
    stroke: #fff;              
    stroke-width: 7px;        
    paint-order: stroke;      
    filter: drop-shadow(0 1px 3px rgba(21, 138, 59, .35)); 
   
}

@keyframes ezWaDash {
    from { stroke-dashoffset: 12; }
    to   { stroke-dashoffset: 0; }
}

/* Speech-bubble card */
.ez-wa-card {
    position: relative;
    z-index: 1;
    display: block;
    background: #fff;
    border: 1.5px solid var(--wa-border);
    border-radius: 12px;
    padding: 14px 16px 16px;
    color: var(--ez-ink);
    box-shadow: 0 8px 22px rgba(21, 138, 59, .09);
}

/* Bubble tail - points inward toward the icon */
.ez-wa-card::before {
    content: '';
    position: absolute;
    bottom: -9px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-right: 1.5px solid var(--wa-border);
    border-bottom: 1.5px solid var(--wa-border);
    transform: rotate(45deg);
}

.ez-wa-card--lt::before,
.ez-wa-card--lb::before { right: 30px; }   /* left cards: tail bottom-right */

.ez-wa-card--rt::before,
.ez-wa-card--rb::before { left: 30px; }    /* right cards: tail bottom-left */

.ez-wa-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--wa-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ez-wa-logo {
    display: block;
    max-height: 48px;
    max-width: 70%;
    width: auto;
    margin-bottom: 10px;
}

.ez-wa-text {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    padding-top: 10px;
    border-top: 1.5px solid var(--wa-border);
}

.ez-wa-text b {
    font-weight: 500;
    color: var(--wa-green);
}

/* Centre: big WhatsApp icon + ribbon */
.ez-wa-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.ez-wa-icon {
    width: 100%;
    max-width: 270px;
    height: auto;
    animation: ezWaFloat 4s ease-in-out infinite;
}

@keyframes ezWaFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.ez-wa-ribbon {
    position: relative;
    z-index: 2;
    margin-top: -44px;
    padding: 13px 66px;
    background: linear-gradient(180deg, #27B957 0%, var(--wa-green-dark) 100%);
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: .2px;
    white-space: nowrap;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%);
    filter: drop-shadow(0 8px 14px rgba(21, 138, 59, .3));
    transition: filter .2s;
}

.ez-wa-ribbon:hover {
    color: #fff;
    filter: drop-shadow(0 8px 14px rgba(21, 138, 59, .3)) brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .ez-wa-line,
    .ez-wa-icon { animation: none; }
}

/* Laptop: slightly narrower cards */
@media (max-width: 1199.98px) {
    .ez-wa-grid { grid-template-columns: 270px 1fr 270px; }
    .ez-wa-icon { max-width: 230px; }
    .ez-wa-ribbon { font-size: 17px; padding: 12px 54px; margin-top: -38px; }
}

/* Tablet: cards in 2 columns, icon on top, no connectors */
@media (max-width: 991.98px) {
    .ez-wa { padding: 60px 0; }

    .ez-wa-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 30px 20px;
    }

    .ez-wa-center { grid-column: 1 / -1; grid-row: 1; margin-bottom: 10px; }

    .ez-wa-card--lt { grid-column: 1; grid-row: 2; }
    .ez-wa-card--rt { grid-column: 2; grid-row: 2; }
    .ez-wa-card--lb { grid-column: 1; grid-row: 3; }
    .ez-wa-card--rb { grid-column: 2; grid-row: 3; }

    .ez-wa-lines { display: none; }
    .ez-wa-icon { max-width: 190px; }
    .ez-wa-ribbon { font-size: 16px; padding: 12px 50px; margin-top: -30px; }
}

/* Mobile: one column, hide the icon + ribbon */
@media (max-width: 767.98px) {
    .ez-wa-grid { grid-template-columns: 1fr; }

    .ez-wa-card--lt, .ez-wa-card--rt,
    .ez-wa-card--lb, .ez-wa-card--rb {
        grid-column: 1;
        grid-row: auto;
    }

    .ez-wa-center { display: none; }
}


/* =====================================================================
   11. AI AUTOMATION SUITE
   ===================================================================== */
.ez-ai {
    position: relative;
    padding: 100px 0;
    min-height: 560px;
    color: #fff;
    background-color: #0A2232;             /* fallback while the image loads */
    background-image: url('../images/ai/ai-bg.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.ez-ai > .container-xl {
    position: relative;
    z-index: 1;
}

.ez-ai-label {
    display: inline-block;
    border: 1px solid rgba(27, 168, 166, .6);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    color: #fff;
    margin-bottom: 20px;
}

.ez-ai-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 32px;
}

.ez-ai-title .t { color: var(--ez-teal); }

.ez-ai-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ez-ai-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(27, 168, 166, .4);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(6px);
    transition: transform .5s ease, border-color .5s ease, background .5s ease, box-shadow .5s ease;
}

/* After the fade-in, the active card slides left */
.ez-ai-card.is-visible.is-active {
    transform: translateX(-28px);
    border-color: var(--ez-teal);
    background: rgba(27, 168, 166, .12);
    box-shadow: 0 0 28px rgba(27, 168, 166, .25);
}

.ez-ai-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ez-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ez-ai-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
}

.ez-ai-card-text {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .72);
    margin: 0;
}

@media (max-width: 991.98px) {
    .ez-ai {
        padding: 60px 0;
        min-height: 0;
        background-position: 20% center;
    }

    /* Dark overlay so text stays readable over the bus on small screens */
    .ez-ai::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(10, 34, 50, .78);
    }

    .ez-ai-card.is-visible.is-active { transform: none; }
}


/* =====================================================================
   12. CUSTOMER STORIES (+ video popup)
   ===================================================================== */
.ez-stories {
    padding: 80px 0 90px;
    background:
        linear-gradient(180deg, rgba(27, 168, 166, .35) 0%, rgba(27, 168, 166, 0) 100%) 15% 0 / 1px 100% no-repeat,
        linear-gradient(180deg, rgba(27, 168, 166, .35) 0%, rgba(27, 168, 166, 0) 100%) 85% 0 / 1px 100% no-repeat,
        linear-gradient(180deg, #B9F5F9 0%, #E3FBFC 55%, #FFFFFF 100%);
}

.ez-stories-label {
    display: inline-block;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
}

.ez-stories-title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 600;
    color: var(--ez-ink);
    margin-bottom: 40px;
}

.ez-stories-title .t { color: var(--ez-teal); }

.ez-story {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #0A2232;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 10px 28px rgba(10, 34, 50, .12);
}

.ez-story-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ez-story::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .85) 100%);
}

.ez-story-info {
    position: absolute;
    left: 16px;
    right: 70px;
    bottom: 16px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ez-story-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.ez-story-role {
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
}

.ez-story-role em {
    font-style: normal;
    color: #FACC15;
}

.ez-story-play {
    position: absolute;
    right: 16px;
    bottom: 18px;
    z-index: 1;
    width: 40px;
    height: 28px;
    border-radius: 8px;
    background: #FF0000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform .2s;
}

.ez-story:hover .ez-story-play,
.ez-story:focus-visible .ez-story-play {
    transform: scale(1.12);
}

.ez-stories-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    min-width: 260px;
    padding: 11px 28px;
    border-radius: 50px;
    background: var(--ez-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background .2s;
}

.ez-stories-more:hover {
    background: var(--ez-teal-dark);
    color: #fff;
}

/* Video popup */
.ez-video-modal .modal-content {
    position: relative;
    background: transparent;
    border: 0;
    overflow: visible;                     /* lets the close button sit outside the video */
}

.ez-video-frame {
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.ez-video-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ez-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}

.ez-video-close:hover {
    background: var(--ez-teal);
    color: #fff;
    transform: rotate(90deg);
}

.modal-backdrop.show { opacity: .85; }

@media (max-width: 767.98px) {
    .ez-video-modal .modal-dialog { margin: 60px 14px; }

    .ez-video-close {
        top: -50px;
        right: 0;
    }
}


/* =====================================================================
   13. TEAM
   ===================================================================== */
.ez-team {
    padding: 80px 0 90px;
    background: #fff;
}

.ez-team-label {
    display: inline-block;
    border: 1px solid var(--ez-teal);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ez-ink);
    margin-bottom: 16px;
}

.ez-team-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.ez-team-title {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 600;
    color: var(--ez-ink);
    margin: 0;
}

.ez-team-title span { color: var(--ez-teal); }

.ez-team-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 50px;
    background: var(--ez-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background .2s;
}

.ez-team-more:hover {
    background: var(--ez-teal-dark);
    color: #fff;
}

.ez-team-card {
    position: relative;
    height: 100%;
    min-height: 360px;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
    color: #fff;
    background-color: #17A9A6;
    background-image:
        url('../images/team/team-card-bg.png'),
        linear-gradient(160deg, #22B8B4 0%, #129A97 100%);
    background-size: cover;
    background-position: center;
}

.ez-team-info {
    position: relative;
    z-index: 2;
    padding-right: 40px;                   /* room for the arrow */
}

.ez-team-name {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 4px;
}

.ez-team-role {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .9);
    margin: 0;
}

.ez-team-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--ez-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background .2s, color .2s;
}

.ez-team-arrow:hover {
    background: var(--ez-ink);
    color: #fff;
}

.ez-team-photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 115%;                           /* photo size - increase for bigger */
    max-width: none;
    height: auto;
    margin: auto 0 0 -7.5%;                /* stick to bottom + centre */
}

@media (max-width: 767.98px) {
    .ez-team { padding: 60px 0; }
    .ez-team-card { min-height: 380px; }
}


/* =====================================================================
   14. BLOGS
   ===================================================================== */
.ez-blogs {
    padding: 80px 0 90px;
    background: #fff;
}

.ez-blogs-label {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--ez-teal);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ez-ink);
    margin-bottom: 16px;
}

.ez-blogs-title {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 600;
    color: var(--ez-ink);
    margin-bottom: 36px;
}

.ez-blogs-title span { color: var(--ez-teal); }

.ez-blog-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    padding: 14px 14px 14px 18px;
    background: #D9FBFD;
    border-radius: 18px;
}

.ez-blog-card-body {
    flex: 1;
    min-width: 0;
}

.ez-blog-tag {
    display: inline-block;
    background: var(--ez-teal);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    border-radius: 50px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.ez-blog-card-title {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
}

.ez-blog-card-title a { color: var(--ez-ink); }

.ez-blog-card-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ez-muted);
    margin-bottom: 8px;
}

.ez-blog-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--ez-teal);
}

.ez-blog-card-img {
    flex: 0 0 auto;
    width: 176px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.ez-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ez-blogs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    padding: 10px 26px;
    border-radius: 50px;
    background: var(--ez-teal);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: background .2s;
}

.ez-blogs-btn:hover {
    background: var(--ez-teal-dark);
    color: #fff;
}

@media (max-width: 575.98px) {
    .ez-blogs { padding: 60px 0; }
    .ez-blog-card { flex-direction: column-reverse; align-items: stretch; }
    .ez-blog-card-img { width: 100%; height: 170px; }
}


/* =====================================================================
   15. FAQ
   ===================================================================== */
.ez-faq {
    padding: 80px 0 50px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgb(222, 251, 253) 100%);   /* ends in the footer colour */
}

.ez-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ez-faq-item {
    background: #fff;
    border: 1.5px solid transparent;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(17, 24, 39, .07);
    transition: border-color .3s ease;
}

.ez-faq-item.is-open { border-color: var(--ez-teal); }

.ez-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: none;
    border: 0;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--ez-ink);
    cursor: pointer;
}

.ez-faq-q:focus { outline: none; }

.ez-faq-q:focus-visible {
    outline: 2px solid var(--ez-teal);
    outline-offset: 2px;
    border-radius: 12px;
}

.ez-faq-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ez-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform .3s ease;
}

.ez-faq-item.is-open .ez-faq-icon { transform: rotate(45deg); }   /* + becomes x */

.ez-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.ez-faq-a-inner { padding: 0 18px 16px; }

.ez-faq-a-inner p {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ez-muted);
}

.ez-faq-label {
    display: inline-block;
    border: 1.5px solid var(--ez-teal);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ez-ink);
    margin-bottom: 18px;
}

.ez-faq-title {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--ez-ink);
    margin-bottom: 80px;
}

.ez-faq-title span { color: var(--ez-teal); }

.ez-faq-help {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 200px;
    padding: 28px 28px 28px 210px;
    background: #fff;
    border: 1.5px solid var(--ez-teal);
    border-radius: 20px;
}

.ez-faq-person {
    position: absolute;
    left: 1px;
    bottom: 0;
    width: 220px;
    max-height: 270px;
    height: auto;
    object-fit: contain;
    object-position: bottom;
}

.ez-faq-help-text h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--ez-ink);
    margin-bottom: 10px;
}

.ez-faq-help-text p {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ez-muted);
    margin-bottom: 14px;
}

.ez-faq-btn {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 50px;
    background: var(--ez-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background .2s;
}

.ez-faq-btn:hover {
    background: var(--ez-teal-dark);
    color: #fff;
}

@media (max-width: 991.98px) {
    .ez-faq { padding: 60px 0 40px; }
    .ez-faq-title { margin-bottom: 30px; }
    .ez-faq-help { padding-left: 190px; }
    .ez-faq-person { width: 160px; }
}

@media (max-width: 575.98px) {
    .ez-faq-help {
        padding: 24px;
        min-height: 0;
    }
    .ez-faq-person { display: none; }
}


/* =====================================================================
   16. FOOTER
   ===================================================================== */
.ez-footer {
    --footer-top: rgb(222, 251, 253);
    --footer-bottom: rgb(210, 248, 251);

    background: linear-gradient(180deg, var(--footer-top) 0%, var(--footer-bottom) 100%);
    padding: 40px 0 28px;
    color: var(--ez-ink);
}

/* CTA ticket card */
.ez-footer-cta {
    --notch-x: 43%;                        /* position of the divider + notches */
    position: relative;
    display: grid;
    grid-template-columns: var(--notch-x) 1fr;
    align-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #22B9B6 0%, #179F9C 55%, #0F8A87 100%);
    color: #fff;
    padding: 34px 0;
}

/* Ticket notches above and below the divider */
.ez-footer-cta::before,
.ez-footer-cta::after {
    content: '';
    position: absolute;
    left: var(--notch-x);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transform: translateX(-50%);
}

.ez-footer-cta::before { top: -13px;    background: rgb(255, 246, 235, 1); }
.ez-footer-cta::after  { bottom: -13px; background: rgb(252, 223, 194, 1); }

.ez-footer-cta-left {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0 34px;
    border-right: 1.5px solid rgba(255, 255, 255, .45);
}

.ez-footer .ez-footer-logo { flex: 0 0 auto; }

.ez-footer .ez-footer-logo img {
    display: block;
    width: 95px;
    max-width: 95px;
    height: auto;
}

.ez-footer-about {
    max-width: 260px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 14px;
}

.ez-footer-social {
    display: flex;
    gap: 8px;
}

.ez-footer-social a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: background .2s, color .2s;
}

.ez-footer-social a:hover {
    background: #fff;
    color: var(--ez-teal);
}

.ez-footer-cta-right { padding: 0 34px; }

.ez-footer-cta-right h3 {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    margin-bottom: 10px;
}

.ez-footer-cta-right p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 14px;
}

.ez-footer-demo {
    display: inline-block;
    background: #fff;
    color: var(--ez-teal);
    font-size: 13.5px;
    font-weight: 500;
    padding: 6px 20px;
    border-radius: 50px;
    transition: background .2s, color .2s;
}

.ez-footer-demo:hover {
    background: var(--ez-ink);
    color: #fff;
}

/* Link columns */
.ez-footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1.6fr;
    gap: 28px;
    padding: 44px 0 36px;
}

.ez-footer-col h4 {
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ez-teal);
    margin-bottom: 20px;
}

.ez-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ez-footer-col li {
    margin-bottom: 14px;
    font-size: 13.5px;
    font-weight: 500;
}

.ez-footer-col li a {
    color: #1F2937;
    transition: color .2s;
}

.ez-footer-col li a:hover { color: var(--ez-teal); }

.ez-footer-col li a i {
    font-size: 11px;
    color: var(--ez-teal);
    margin-right: 8px;
}

/* App store badges */
.ez-store-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 140px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 10px;
    line-height: 1.1;
    font-size: 14px;
    font-weight: 500;
    transition: background .2s;
}

.ez-store-badge i { font-size: 20px; }

.ez-store-badge small {
    display: block;
    font-size: 9px;
    font-weight: 400;
    opacity: .85;
}

.ez-store-badge:hover {
    background: #000;
    color: #fff;
}

/* Contact list */
.ez-footer-contact li {
    display: flex;
    gap: 10px;
    line-height: 1.6;
}

.ez-footer-contact li i {
    color: var(--ez-teal);
    font-size: 14px;
    margin-top: 2px;
}

.ez-footer-contact a { color: #1F2937; }
.ez-footer-contact a:hover { color: var(--ez-teal); }

/* Bottom bar */
.ez-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: #1FB5B2;
    color: #fff;
    border-radius: 50px;
    padding: 18px 32px;
    font-size: 13px;
    font-weight: 500;
}

.ez-footer-bottom p { margin: 0; }

.ez-footer-bottom a { color: #fff; }

.ez-footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 1199.98px) {
    .ez-footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
    .ez-footer-cta {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ez-footer-cta::before,
    .ez-footer-cta::after { display: none; }

    .ez-footer-cta-left {
        border-right: 0;
        border-bottom: 1.5px solid rgba(255, 255, 255, .45);
        padding-bottom: 24px;
    }
}

@media (max-width: 575.98px) {
    .ez-footer-cta-left { flex-direction: column; align-items: flex-start; }
    .ez-footer-cols { grid-template-columns: 1fr 1fr; }
    .ez-footer-contact { grid-column: 1 / -1; }
    .ez-footer-bottom {
        border-radius: 18px;
        justify-content: center;
        text-align: center;
    }
}


/* =====================================================================
   17. CLIENTS PAGE HERO
   ===================================================================== */
.ez-clients-hero {
    position: relative;
    padding: 60px 0 80px;
    min-height: 560px;
    color: #fff;
    overflow: hidden;
    background-color: #0A2232;
    background-image:
        radial-gradient(circle at 72% 60%, rgba(27, 168, 166, .55) 0%, rgba(27, 168, 166, 0) 38%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 260px),
        linear-gradient(180deg, #09202F 0%, #0B2A3D 100%);
}

.ez-clients-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 22px;
    color: #fff;
}

.ez-clients-title span {
    display: block;
    color: var(--ez-teal);
}

.ez-clients-sub {
    max-width: 540px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
    margin: 0;
}

.ez-clients-map {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.ez-clients-map-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(27, 168, 166, .35));
}

.ez-map-stat {
    position: absolute;
    min-width: 128px;
    padding: 12px 14px;
    border: 1px solid rgba(27, 168, 166, .6);
    border-radius: 14px;
    background: rgba(9, 32, 47, .75);
    backdrop-filter: blur(6px);
    text-align: center;
    animation: ezMapFloat 5s ease-in-out infinite;
}

.ez-map-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
}

.ez-map-stat .ez-count { font: inherit; color: inherit; }

.ez-map-stat > span {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .85);
}

.ez-map-stat b { font-weight: 600; color: #fff; }

.ez-map-stat--1 { top: 6%;     left: -2%;  }
.ez-map-stat--2 { top: 6%;     right: -4%; animation-delay: -1.6s; }
.ez-map-stat--3 { bottom: 14%; right: 4%;  animation-delay: -3.2s; }

@keyframes ezMapFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .ez-map-stat { animation: none; }
}

@media (max-width: 991.98px) {
    .ez-clients-hero { padding: 40px 0 60px; min-height: 0; text-align: center; }
    .ez-clients-sub { margin: 0 auto; }
}

@media (max-width: 575.98px) {
    .ez-map-stat { min-width: 104px; padding: 8px 10px; }
    .ez-map-stat strong { font-size: 20px; }
    .ez-map-stat > span { font-size: 10px; }
}

/* ---- Feature mega menu ---- */
.ez-mega {
    width: min(1100px, calc(100vw - 32px));
    left: 50% !important;
    transform: translateX(-50%);
    margin-top: 10px !important;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(17, 24, 39, .16);
}

/* Mobile / tablet: simple stacked list inside the hamburger menu */
@media (max-width: 1199.98px) {
    .ez-mega {
        position: static !important;
        width: auto;
        left: auto !important;
        transform: none;
        margin: 8px 0 !important;
        box-shadow: none;
        border: 1px solid #E5E7EB;
    }

}

/* =====================================================================
   FEATURE MEGA MENU  (prefix: .ezm-)  - teal, from the design
   tabs | features | preview   +   "Not sure where to start?" bar
   ===================================================================== */
.ez-mega.ezm {
    --ezm-teal: #1EBABD;
    --ezm-teal-d: #139A9D;
    --ezm-soft: #E8FBFA;
    --ezm-line: #D4EFEF;
    --ezm-ink: #10213A;
    --ezm-text: #4B5563;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #E5EEF1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(6, 54, 82, .16);
}
.ezm-body { display: grid; grid-template-columns: 230px 300px minmax(0, 1fr); }

/* left: tabs */
.ezm-tabs { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; background: #F5FCFC; border-right: 1px solid #EDF4F7; }
.ezm-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; background: none;
    font: inherit; font-size: 14px; font-weight: 500; color: var(--ezm-ink); text-align: left; cursor: pointer; transition: background .25s, border-color .25s; }
.ezm-tab:hover { background: rgba(232, 251, 250, .6); }
.ezm-tab.is-on { background: var(--ezm-soft); border-color: var(--ezm-line); font-weight: 600; }
.ezm-tab i { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px;
    background: var(--ezm-teal); color: #fff; font-size: 15px; }

/* middle: features of the open tab */
.ezm-lists { padding: 14px 12px; border-right: 1px solid #EDF4F7; }
.ezm-list { display: none; margin: 0; padding: 0; list-style: none; }
.ezm-list.is-on { display: grid; gap: 2px; animation: ezmIn .35s ease both; }
.ezm-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--ezm-ink);
    text-decoration: none; transition: background .2s, color .2s; }
.ezm-item > i:first-child { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px;
    background: transparent; color: #50606E; font-size: 15px; transition: background .2s, color .2s; }
.ezm-item .ezm-go { margin-left: auto; font-size: 11px; color: var(--ezm-ink); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.ezm-item:hover, .ezm-item.is-on { background: var(--ezm-soft); color: var(--ezm-ink); }
.ezm-item:hover > i:first-child, .ezm-item.is-on > i:first-child { background: #fff; color: var(--ezm-teal-d); }
.ezm-item.is-on .ezm-go, .ezm-item:hover .ezm-go { opacity: 1; transform: none; }
.ezm-item.is-current span { color: var(--ezm-teal-d); font-weight: 600; }

/* right: preview of the hovered feature */
.ezm-previews { position: relative; padding: 22px 26px 20px; background: linear-gradient(160deg, #F8FDFD 0%, #FFFFFF 45%, #F0FCFC 100%); }
.ezm-prev { display: none; }
.ezm-prev.is-on { display: flex; flex-direction: column; height: 100%; animation: ezmIn .4s ease both; }
.ezm-prev h4 { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--ezm-ink); }
.ezm-prev > p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.65; color: var(--ezm-text); }
.ezm-shot { position: relative; margin: 0 0 18px; padding: 10px; border-radius: 14px; background: #fff;
    box-shadow: 0 0 0 1px #E8F1F3, 0 18px 40px rgba(30, 186, 189, .16); }
.ezm-shot img { display: block; width: 100%; height: 200px; object-fit: contain; border-radius: 8px; }
.ezm-shot-ph { display: none; }
/* no picture yet: a soft placeholder screen with the feature's icon */
.ezm-shot.is-empty img { display: none; }
.ezm-shot.is-empty .ezm-shot-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 200px; border-radius: 8px;
    background: linear-gradient(135deg, #F0FCFC 0%, #E3F7F7 100%); color: var(--ezm-teal-d); }
.ezm-shot-ph i { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: #fff;
    font-size: 26px; box-shadow: 0 8px 20px rgba(30, 186, 189, .18); }
.ezm-shot-ph b { font-size: 14px; font-weight: 600; color: var(--ezm-ink); }
.ezm-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.ezm-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.45; color: var(--ezm-ink); }
.ezm-points i { flex: 0 0 auto; margin-top: 1px; color: #3E9FE6; font-size: 15px; }
.ezm-explore { align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px 20px; border-radius: 30px;
    background: var(--ezm-teal); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .25s, transform .25s, box-shadow .25s; }
.ezm-explore:hover { background: var(--ezm-teal-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30, 186, 189, .35); }
.ezm-explore i { transition: transform .25s; }
.ezm-explore:hover i { transform: translateX(3px); }

/* bottom bar */
.ezm-help { display: flex; align-items: center; gap: 14px; margin: 0 14px 14px; padding: 14px 16px; border-radius: 12px;
    background: linear-gradient(90deg, #063550 0%, #073A57 50%, #094161 100%); border: 1px solid #10465D; color: #fff; }
.ezm-help-ic { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
    background: #1F5468; border: 1px solid rgba(255, 255, 255, .15); font-size: 18px; color: #fff; }
.ezm-help b { display: block; font-size: 14.5px; font-weight: 600; }
.ezm-help small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.ezm-chat { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; padding: 10px 22px; border-radius: 30px; background: #fff;
    color: var(--ezm-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.ezm-chat:hover { color: var(--ezm-ink); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }

@keyframes ezmIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* desktop: never taller than the screen */
@media (min-width: 1200px) {
    .ez-mega.ezm { max-height: calc(100vh - 90px); overflow-y: auto; }
}
/* below 1200px the menu sits inside the collapsed navbar: tabs as a row, the list under it, no preview */
@media (max-width: 1199.98px) {
    .ez-mega.ezm { border-radius: 12px; box-shadow: none; }
    .ezm-body { grid-template-columns: minmax(0, 1fr); }
    .ezm-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #EDF4F7; padding: 10px; }
    .ezm-tab { width: auto; flex: 0 0 auto; white-space: nowrap; }
    .ezm-lists { border-right: 0; padding: 8px; }
    .ezm-previews { display: none; }
    .ezm-help { flex-wrap: wrap; margin: 0 8px 8px; }
    .ezm-chat { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ezm-list.is-on, .ezm-prev.is-on { animation: none; }
}


/* Green header variant (WhatsApp feature pages - applied automatically) */
.ez-header--green {
    background: linear-gradient(90deg, rgb(254, 244, 235) 0%, rgb(252, 244, 234) 45%, rgb(252, 244, 234) 100%);
    backdrop-filter: none;
}

.ez-header--green .ez-nav .nav-link { border-color: #1FA34A; }

.ez-header--green .ez-nav .nav-link:hover,
.ez-header--green .ez-nav .nav-link.active,
.ez-header--green .ez-nav .nav-link.show {
    background: #1FA34A;
    color: #fff;
}

.ez-header--green .ez-btn,
.ez-header--green .ez-icon-btn { background: #1FA34A; }

.ez-header--green .ez-btn:hover,
.ez-header--green .ez-icon-btn:hover { background: #148A3A; }



/* ---- Green footer theme (WhatsApp pages) ---- */
.ez-footer--green {
    --footer-top: #E2FAE8;
    --footer-bottom: #D5F6DD;
}

/* CTA ticket card - bright green, darker toward the right */
/* CTA ticket card - exact design gradient */
.ez-footer--green .ez-footer-cta {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #31C35F 0%, #26B052 50%, #1B9C46 100%);
    box-shadow: none;
}   

/* Notches match the footer background */
.ez-footer--green .ez-footer-cta::before { background: #E2FAE8; }
.ez-footer--green .ez-footer-cta::after  { background: #DDF9E4; }

/* Divider + social buttons */
.ez-footer--green .ez-footer-cta-left { border-right-color: rgba(255, 255, 255, .5); }
.ez-footer--green .ez-footer-social a { border-color: rgba(255, 255, 255, .6); }
.ez-footer--green .ez-footer-social a:hover { color: #1FA34A; }

/* Book Demo: white button with green text */
.ez-footer--green .ez-footer-demo { color: #1FA34A; }
.ez-footer--green .ez-footer-demo:hover { background: #0F172A; color: #fff; }

/* Headings, arrows, icons, link hovers */
.ez-footer--green .ez-footer-col h4,
.ez-footer--green .ez-footer-col li a i,
.ez-footer--green .ez-footer-contact li i,
.ez-footer--green .ez-footer-col li a:hover,
.ez-footer--green .ez-footer-contact a:hover {
    color: #1FA34A;
}

/* Bottom bar */
.ez-footer--green .ez-footer-bottom {
    background: #25B754;
}


/* =====================================================================
   BLUE THEME - header (Seat Management)
   ===================================================================== */
.ez-header--blue {
    background: #F6FAFF;
}

.ez-header--blue .ez-nav .nav-link {
    background: #fff;
    border-color: #7EBAEA;
}

.ez-header--blue .ez-nav .nav-link:hover,
.ez-header--blue .ez-nav .nav-link.active,
.ez-header--blue .ez-nav .nav-link.show {
    background: #0078D7;
    border-color: #0078D7;
    color: #fff;
}

.ez-header--blue .ez-btn,
.ez-header--blue .ez-icon-btn {
    background: #0078D7;
    color: #fff;
}

.ez-header--blue .ez-btn:hover,
.ez-header--blue .ez-icon-btn:hover {
    background: #0064B3;
    color: #fff;
}

/* mega menu highlights in blue too */
.ez-header--blue .ez-mega-link:hover,
.ez-header--blue .ez-mega-link.is-current {
    color: #0078D7;
    background: #EAF3FE;
}

/* =====================================================================
   BLUE THEME - footer (Seat Management)
   ===================================================================== */
.ez-footer--blue {
    --footer-top: #F6FAFF;
    --footer-bottom: #CADAEF;
}

.ez-footer--blue .ez-footer-cta {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #5AA2FC 0%, #4196F2 30%, #2287E4 65%, #097CDB 100%);
    box-shadow: 0 14px 32px rgba(0, 100, 179, .16);
}

.ez-footer--blue .ez-footer-cta::before { background: #e5ebf7; }
.ez-footer--blue .ez-footer-cta::after  { background: #e0ebf7; }

.ez-footer--blue .ez-footer-cta-left { border-right-color: rgba(255, 255, 255, .5); }
.ez-footer--blue .ez-footer-social a { border-color: rgba(255, 255, 255, .6); }
.ez-footer--blue .ez-footer-social a:hover { color: #0078D7; }

.ez-footer--blue .ez-footer-demo { color: #0078D7; }
.ez-footer--blue .ez-footer-demo:hover { background: #0F172A; color: #fff; }

.ez-footer--blue .ez-footer-col h4,
.ez-footer--blue .ez-footer-col li a i,
.ez-footer--blue .ez-footer-contact li i,
.ez-footer--blue .ez-footer-col li a:hover,
.ez-footer--blue .ez-footer-contact a:hover {
    color: #0078D7;
}

.ez-footer--blue .ez-footer-bottom {
    background: #0078D7;
}

/* QuickBook header (navTheme 'qb') - flat peach, WhatsApp green */
.ez-header--qb {
    background: #FFF4EB;
}

.ez-header--qb .ez-nav .nav-link {
    background: #FFF4EB;
    border-color: #6EDB97;
    color: #0B0F0D;
}

.ez-header--qb .ez-nav .nav-link:hover,
.ez-header--qb .ez-nav .nav-link.active,
.ez-header--qb .ez-nav .nav-link.show {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.ez-header--qb .ez-btn,
.ez-header--qb .ez-icon-btn {
    background: #25D366;
    color: #fff;
}

.ez-header--qb .ez-btn:hover,
.ez-header--qb .ez-icon-btn:hover {
    background: #1DB954;
    color: #fff;
}

/* mega menu highlights */
.ez-header--qb .ez-mega-link:hover,
.ez-header--qb .ez-mega-link.is-current {
    color: #1DB954;
    background: #E9FBEF;
}


/* =====================================================================
   FEATURE MEGA MENU - SAME COLOUR AS THE PAGE THEME
   The mega menu now follows the header / footer colour of the page:
     default (teal)  ->  teal        .ez-header--orange  ->  orange (Smart Add-ons)
     .ez-header--green -> green (WhatsApp)   .ez-header--blue -> blue (Seat Management, Subscription Based)
     .ez-header--qb    -> WhatsApp green (QuickBook)
   The bottom bar of the menu uses the same gradient as that theme's footer card.
   ===================================================================== */

/* 1. colours as variables (teal = default) */
.ez-mega.ezm {
    --ezm-teal: #1EBABD;              /* main colour: tab icons, Explore button   */
    --ezm-teal-d: #139A9D;            /* darker: hover, current page, icons        */
    --ezm-soft: #E8FBFA;              /* light: selected tab + hovered feature     */
    --ezm-line: #D4EFEF;              /* border of the selected tab                */
    --ezm-tint: #F5FCFC;              /* left tab column background                */
    --ezm-rgb: 30, 186, 189;          /* main colour as r, g, b (for shadows)      */
    --ezm-help: linear-gradient(90deg, #063550 0%, #073A57 50%, #094161 100%);   /* bottom bar */
    --ezm-help-line: #10465D;
    --ezm-help-ic: #1F5468;
}

/* 2. the places that had the teal written in directly now use the variables */
.ez-mega.ezm .ezm-tabs { background: var(--ezm-tint); }
.ez-mega.ezm .ezm-tab:hover { background: color-mix(in srgb, var(--ezm-soft) 60%, transparent); }
.ez-mega.ezm .ezm-previews { background: linear-gradient(160deg, var(--ezm-tint) 0%, #FFFFFF 45%, var(--ezm-soft) 100%); }
.ez-mega.ezm .ezm-shot { box-shadow: 0 0 0 1px var(--ezm-line), 0 18px 40px rgba(var(--ezm-rgb), .16); }
.ez-mega.ezm .ezm-shot.is-empty .ezm-shot-ph { background: linear-gradient(135deg, var(--ezm-tint) 0%, var(--ezm-soft) 100%); color: var(--ezm-teal-d); }
.ez-mega.ezm .ezm-shot-ph i { box-shadow: 0 8px 20px rgba(var(--ezm-rgb), .18); }
.ez-mega.ezm .ezm-points i { color: var(--ezm-teal); }
.ez-mega.ezm .ezm-explore:hover { box-shadow: 0 10px 22px rgba(var(--ezm-rgb), .35); }
.ez-mega.ezm .ezm-help { background: var(--ezm-help); border-color: var(--ezm-help-line); }
.ez-mega.ezm .ezm-help-ic { background: var(--ezm-help-ic); }

/* 3. ORANGE - Smart Add-ons pages (DMS & ADAS, TrackBus, TPMS ...) */
.ez-header--orange .ez-mega.ezm {
    --ezm-teal: #F47928;
    --ezm-teal-d: #DE6516;
    --ezm-soft: #FFF0E4;
    --ezm-line: #FBD6BA;
    --ezm-tint: #FFF8F2;
    --ezm-rgb: 244, 121, 40;
    --ezm-help: linear-gradient(110deg, #F68A3C 0%, #F47928 50%, #E0661A 100%);
    --ezm-help-line: #E0661A;   /* same as the orange footer card */
    --ezm-help-ic: rgba(255, 255, 255, .2);
}
.ez-header--orange .ez-mega.ezm .ezm-help small { color: rgba(255, 255, 255, .9); }

/* 4. GREEN - WhatsApp pages */
.ez-header--green .ez-mega.ezm {
    --ezm-teal: #1FA34A;
    --ezm-teal-d: #148A3A;
    --ezm-soft: #E7F7EC;
    --ezm-line: #BFE8CC;
    --ezm-tint: #F4FBF6;
    --ezm-rgb: 31, 163, 74;
    --ezm-help: linear-gradient(180deg, #31C35F 0%, #26B052 50%, #1B9C46 100%);   /* same as the green footer card */
    --ezm-help-line: #1B9C46;
    --ezm-help-ic: rgba(255, 255, 255, .16);
}

/* 5. BLUE - Seat Management, Subscription Based */
.ez-header--blue .ez-mega.ezm {
    --ezm-teal: #0078D7;
    --ezm-teal-d: #0064B3;
    --ezm-soft: #E6F2FD;
    --ezm-line: #BFDDF6;
    --ezm-tint: #F4F9FF;
    --ezm-rgb: 0, 120, 215;
    --ezm-help: linear-gradient(180deg, #5AA2FC 0%, #4196F2 30%, #2287E4 65%, #097CDB 100%);   /* same as the blue footer card */
    --ezm-help-line: #097CDB;
    --ezm-help-ic: rgba(255, 255, 255, .16);
}

/* 6. WHATSAPP GREEN - QuickBook (navTheme 'qb') */
.ez-header--qb .ez-mega.ezm {
    --ezm-teal: #25D366;
    --ezm-teal-d: #1DB954;
    --ezm-soft: #E9FBEF;
    --ezm-line: #BFEFD1;
    --ezm-tint: #F4FDF7;
    --ezm-rgb: 37, 211, 102;
    --ezm-help: linear-gradient(180deg, #31C35F 0%, #26B052 50%, #1B9C46 100%);
    --ezm-help-line: #1B9C46;
    --ezm-help-ic: rgba(255, 255, 255, .16);
}

/* white text on the light-coloured bottom bars stays easy to read */
.ez-header--green .ez-mega.ezm .ezm-help small,
.ez-header--blue .ez-mega.ezm .ezm-help small,
.ez-header--qb .ez-mega.ezm .ezm-help small { color: rgba(255, 255, 255, .92); }