/* ==========================================================
   Bright-mind — typography & layout refinements
   Loaded last, overrides theme defaults.
   ========================================================== */

:root {
    --bm-text: #1f2533;
    --bm-muted: #5b6478;
    --bm-accent: #1d6fe0;
    --bm-border: #e6eaf2;
    --bm-bg-soft: #f6f8fc;
    --bm-font: Assistant, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Typography ---------- */
body,
h1, h2, h3, h4, h5, h6,
.site-content p, .site-content li,
.site-footer, .site-footer p {
    font-family: var(--bm-font) !important;
}

body {
    color: var(--bm-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.site-content h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--bm-text);
    margin: 0 0 16px;
}

.site-content h3 {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--bm-text);
    margin: 0 0 8px;
}

.site-content p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--bm-muted);
}

/* Small "eyebrow" headings: "5 Years of Experience", "Our Services", "MOBILE DEVELOPERS" */
.site-content h5,
.site-content h2.zag-style-1 {
    display: block;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bm-accent) !important;
    margin: 0 0 12px;
}

.site-content p.text-style-1 {
    max-width: 640px;
    margin: 0 auto 8px;
}

/* ---------- Section rhythm ---------- */
.site-content .sec_row.container,
.site-content .sec_row.container-fluid {
    padding-top: 24px;
    padding-bottom: 24px;
}

.site-content .text-center .wpb_text_column {
    text-align: center;
}

/* ---------- Hero / banner sliders: show the whole image, never crop the text in it ---------- */
.et-banner-slider .et-banner.height_70,
.et-banner-slider .et-banner.height_70 .et-banner-image.vh-height {
    height: auto !important;
    min-height: 0 !important;
}

.et-banner-slider .et-banner .et-banner-image {
    background-size: cover !important;
    background-position: center !important;
    border-radius: 16px;
}

#et-banner-slider-65479fbb54bf2 .et-banner .et-banner-image {
    aspect-ratio: 1495 / 610;
}

#et-banner-slider-65479fbb5e909 .et-banner .et-banner-image {
    aspect-ratio: 935 / 544;
    max-height: 620px;
    width: 100%;
}

#et-banner-slider-65479fbb5e909 {
    max-width: 1066px; /* 620 * 935/544 — keeps the photo uncropped on wide screens */
    margin: 0 auto;
}

.vc_custom_1579117366191 {
    margin-bottom: 32px !important;
}

/* ---------- Experience / Quick Support ---------- */
.bm-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
    text-align: left;
}

.bm-feature {
    padding: 24px 24px 20px;
    background: var(--bm-bg-soft);
    border: 1px solid var(--bm-border);
    border-radius: 14px;
}

.bm-feature p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

/* the text column is lg-6 by default — give it more room so the 2 cards breathe */
@media (min-width: 992px) {
    .text-center.vc_col-lg-6 {
        width: 66.666%;
    }
}

/* ---------- "Satisfied clients" gallery image ---------- */
.wpb_gallery .wpb_flexslider {
    max-width: 720px;
    margin: 0 auto !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.wpb_gallery .wpb_flexslider img {
    border-radius: 16px;
}

/* ---------- Our Services ---------- */
.bm-services {
    list-style: none !important;
    margin: 32px 0 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.bm-services li {
    list-style: none !important;
    margin: 0 !important;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--bm-border);
    border-top: 3px solid var(--bm-accent);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 18px rgba(20, 40, 90, 0.06);
}

.bm-services li::before,
.bm-services li::marker {
    content: none;
}

.bm-services strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--bm-text);
    margin-bottom: 6px;
}

.bm-services span {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: var(--bm-muted);
}

/* ---------- Full-width info images (cards / process) ---------- */
.wpb_single_image .vc_single_image-wrapper.vc_box_border_grey {
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.wpb_single_image .vc_single_image-img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 12px;
}

/* ---------- Mobile developers: phones + feature list side by side ---------- */
.bm-dev {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.bm-dev-media img {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin: 0 auto;
}

.developers-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.developers-list li {
    list-style: none !important;
    position: relative;
    margin: 0 0 24px !important;
    padding-left: 44px;
}

.developers-list li:last-child {
    margin-bottom: 0 !important;
}

.developers-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #7bc043;
    background: radial-gradient(circle, #7bc043 0 5px, transparent 6px);
}

.developers-list .text-style-4 {
    font-size: 16px;
    line-height: 1.65;
    color: var(--bm-muted);
}

.developers-list .text-style-4-1 {
    display: inline-block;
    font-size: 19px;
    font-weight: 700;
    color: var(--bm-text);
    margin-bottom: 2px;
}

/* ---------- Footer ---------- */
.site-footer h6 {
    font-size: 14px;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.site-footer p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--bm-muted);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .site-content .sec_row.container,
    .site-content .sec_row.container-fluid {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .site-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .et-banner-slider .et-banner .et-banner-image {
        border-radius: 10px;
    }

    .bm-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bm-dev {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bm-dev-media img {
        max-width: 300px;
    }

    .vc_custom_1579117855735 {
        padding-bottom: 16px !important;
    }
}

/* ---------- Service band (was image 5.png) ---------- */
.bm-band {
    position: relative;
    overflow: hidden;
    background: #070b38;
    background-image:
        radial-gradient(circle at 88% 0%, rgba(255,255,255,0.08) 0 2px, transparent 3px),
        radial-gradient(circle at 98% 22%, rgba(255,255,255,0.10) 0 2px, transparent 3px);
    border-radius: 16px;
    padding: 40px;
    margin: 8px 0 56px;
}

.bm-band-grid,
.bm-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto;
}

.bm-card,
.bm-step {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    padding: 24px 22px 26px;
    text-align: left;
}

/* decorative circle in the corner, like the original artwork */
.bm-card::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -46px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #d3e4f8;
    box-shadow: 0 0 0 14px #eaf2fc;
    pointer-events: none;
}

.bm-icon {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 18px;
}

.bm-card h3,
.bm-step h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.bm-card p,
.bm-step p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* ---------- Working process (was image 6.png) ---------- */
.bm-process {
    margin: 0 0 24px;
}

.bm-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.bm-process-grid {
    list-style: none !important;
    padding: 0 !important;
}

.bm-step {
    list-style: none !important;
    margin: 0 !important;
    border: 1px solid var(--bm-border);
    box-shadow: 0 6px 24px rgba(20, 40, 90, 0.06);
}

.bm-step-num {
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 56px;
    padding: 12px 16px 0 0;
    text-align: right;
    font-size: 22px;
    font-weight: 700;
    color: var(--bm-accent);
    background: #e8f1fd;
    border-bottom-left-radius: 56px;
}

@media (max-width: 991px) {
    .bm-band-grid,
    .bm-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bm-band {
        padding: 20px 16px;
        border-radius: 12px;
        margin-bottom: 40px;
    }

    .bm-band-grid,
    .bm-process-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bm-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }
}
