:root {
    --pragma-yellow: #f6d810;
    --pragma-green: #0b6d4a;
    --pragma-blue: #0d3b66;
    --pragma-sand: #fef8e6;
}

html,
body {
    font-family: 'Dosis', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    min-height: 100%;
}

body.home {
    background: #fff;
}

a {
    color: #f5989d;
    text-decoration: none;
}

a:hover {
    color: #e25780;
}

.wrapper_inner {
    background: #fff;
}

.qbutton,
.button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #f5989d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qbutton:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffe67d;
}

.home-hero-stack {
    position: relative;
    overflow: hidden;
    padding: 90px 0 60px;
    color: #fff;
    background-color: var(--pragma-blue);
    background-image: url('/static/wp-content/uploads/2019/05/SR-Bcgrnd_Blue_1200x500.jpg');
    background-size: cover;
    background-position: center;
}

.home-hero-stack::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(13, 59, 102, 0.2), rgba(13, 59, 102, 0.8));
}

.home-hero-stack .container_inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.home-hero-illustrations,
.home-hero-copy {
    flex: 1 1 320px;
}

.home-hero-illustrations img {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.home-hero-copy h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.home-hero-copy p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-bubbles img {
    width: 220px;
    max-width: 100%;
    height: auto;
}

.hero-bubbles a {
    display: inline-flex;
}

.home-panel {
    padding: 70px 0;
}

.home-panel--light {
    background: #fff;
}

.home-panel--light h2 {
    color: #222;
}

.home-panel--gradient {
    background-image: url('/static/wp-content/uploads/2019/05/Green-Partner_1280x514.jpg');
    background-size: cover;
    background-position: center;
    color: #0f402b;
}

.home-panel h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    text-align: center;
    margin-bottom: 20px;
}

.home-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 780px;
    margin: 0 auto 18px;
    text-align: center;
}

.home-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 36px;
}

.home-partners-grid img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

/* Minimal VC grid — replaces js_composer.min.css */
.vc_row.vc_inner .section_inner_margin { display: flex; flex-wrap: wrap; }
.vc_column_container { box-sizing: border-box; padding: 0 15px; }
.vc_row.vc_inner .vc_column-inner { padding: 15px; }
.vc_col-sm-3  { width: 25%; }
.vc_col-sm-6  { width: 50%; }
.vc_col-sm-12 { width: 100%; }
@media (max-width: 768px) {
    .vc_col-sm-3, .vc_col-sm-6 { width: 100%; }
}

.content.content_top_margin {
    margin-top: 130px !important;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.full_width_inner {
    padding-inline: clamp(16px, 4vw, 40px);
}

.container .container_inner,
.content_inner .section_inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer_bottom h5,
.footer_bottom p {
    font-family: 'Dosis', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@media (max-width: 1024px) {
    .home-hero-stack {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .home-hero-stack .container_inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-bubbles {
        justify-content: center;
    }

    .home-panel {
        padding: 50px 0;
    }
}

/* On mobile/tablet, ditch the hamburger entirely and show the regular navbar
   as wrapped, larger pills. */
@media (max-width: 1000px) {
    /* Hide hamburger + drawer */
    .mobile_menu_button,
    nav.mobile_menu {
        display: none !important;
    }

    /* Force the desktop main menu to render */
    nav.main_menu {
        display: block !important;
        float: none !important;
        width: 100% !important;
        clear: both;
    }
    nav.main_menu > ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 6px 0 !important;
        list-style: none !important;
    }
    nav.main_menu > ul > li {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* Keep the logo <li> visible — header logo is hidden at this width,
       so this acts as the "home" link */
    nav.main_menu > ul > li.menu-item-logo > a {
        padding: 6px 14px !important;
        display: inline-flex !important;
        align-items: center;
    }
    nav.main_menu > ul > li > a {
        font-size: 18px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        padding: 10px 14px !important;
        color: #222 !important;
        white-space: nowrap;
    }
    nav.main_menu > ul > li > a:hover {
        color: #f5989d !important;
    }
    /* Hide the dropdown indicator span used at desktop */
    nav.main_menu > ul > li > a .underline_dash,
    nav.main_menu > ul > li > a .plus,
    nav.main_menu > ul > li > a .menu_icon {
        display: none !important;
    }

    /* The header was sized for a single-row desktop nav; allow it to grow */
    .header_bottom {
        height: auto !important;
    }
    .header_bottom .container_inner {
        flex-wrap: wrap;
    }

    /* Empty side_menu_button container reserves vertical space — hide it */
    .header_inner_right {
        display: none !important;
    }

    /* Desktop content_top_margin (130px) is sized for the desktop header.
       Mobile header is shorter — reduce the top gap below the navbar. */
    .content.content_top_margin {
        margin-top: 30px !important;
    }
}

/* Tame the legacy "Let's develop the next generation..." panel on narrow viewports.
   The inline padding:50px 80px 30px is too wide for phones, causing long words like
   "generation" to overflow the container. */
@media (max-width: 768px) {
    .q_elements_item_content {
        padding: 30px 20px !important;
    }
    .q_elements_item_content h1 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.25 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .q_elements_item_content p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

/* Fixed header covers anchor targets when scrolling. Add scroll-margin-top
   so anchor links (e.g., /learn-more/#test) land correctly. */
[id] {
    scroll-margin-top: 140px;
}
@media (max-width: 1000px) {
    [id] {
        scroll-margin-top: 140px;
    }
}
