/*
Theme Name: Fundapp - Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Description: Custom Kadence child theme styles for Fundapp.
Author: Fundapp
Template: kadence
Version: 2.1.5
Text Domain: kadence-child
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v3.0 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
  
:root {
  --fundapp-navy: #102b3f;
  --fundapp-navy-deep: #0b2033;
  --fundapp-teal: #079b94;
  --fundapp-teal-hover: #087e78;
  --fundapp-bright-teal: #25d3c4;
  --fundapp-hero-dark: #202b32;
  --fundapp-text: #405765;
  --fundapp-muted: #637b89;
  --fundapp-bg: #f4f8fa;
  --fundapp-white: #fff;
  --fundapp-border: #dce7eb;
  --fundapp-shadow: 0 12px 35px rgba(16,43,63,.085);

  /* Keep the Kadence global palette aligned. Also set colors in
     Appearance > Customize > Colors & Fonts > Colors. */
  --global-palette1: #079b94;
  --global-palette2: #087e78;
  --global-palette3: #102b3f;
  --global-palette4: #304b5c;
  --global-palette5: #526978;
  --global-palette6: #758b98;
  --global-palette7: #e7eff3;
  --global-palette8: #f4f8fa;
  --global-palette9: #ffffff;
}

/* GENERAL — light, clean content sections below the dark hero */
body { color: var(--fundapp-text); background: var(--fundapp-bg); }
.site, .site-content { background-color: var(--fundapp-bg); }
.entry-content { color: var(--fundapp-text); }
.entry-content p { line-height: 1.7; }
h1, h2, h3, h4, h5, h6, .entry-title {
  color: var(--fundapp-navy);
  letter-spacing: -.025em;
}
a { text-underline-offset: .15em; }
a:hover { color: var(--fundapp-teal); }
:focus-visible { outline: 3px solid var(--fundapp-bright-teal); outline-offset: 3px; }
::selection { background: #b6f0e8; color: var(--fundapp-navy); }

/* SLIM HEADER — only the principal header row, not every widget */
#masthead,
#masthead .site-main-header-wrap,
#masthead .site-main-header-wrap .site-header-row-container-inner {
  background: #fff;
}
#masthead {
  border-bottom: 1px solid rgba(16,43,63,.08);
  box-shadow: 0 3px 18px rgba(16,43,63,.075);
  position: relative;
  z-index: 20;
}
#masthead .site-main-header-wrap .site-header-row-container-inner {
  min-height: 64px;
}
#masthead .site-header-row { min-height: 64px; }
#masthead .site-branding { padding-top: 5px; padding-bottom: 5px; }
#masthead .site-title,
#masthead .site-title a {
  color: var(--fundapp-navy);
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}
#masthead .custom-logo { max-height: 44px; width: auto; }
#masthead .main-navigation .primary-menu-container > ul > li > a,
#masthead .header-navigation .header-menu-container > ul > li > a {
  color: var(--fundapp-navy);
  font-size: 14px;
  font-weight: 600;
  padding-left: 12px;
  padding-right: 12px;
}
#masthead .main-navigation .primary-menu-container > ul > li > a:hover,
#masthead .header-navigation .header-menu-container > ul > li > a:hover,
#masthead .header-navigation .current-menu-item > a {
  color: var(--fundapp-teal);
}
/* Manually assign 'fundapp-nav-cta' to the Get Started MENU ITEM. */
#masthead .fundapp-nav-cta > a {
  background: var(--fundapp-teal);
  color: #fff !important;
  border-radius: 9px;
  padding: 11px 17px !important;
  margin-left: 8px;
  line-height: 1.25;
  transition: background-color .2s ease, transform .2s ease;
}
#masthead .fundapp-nav-cta > a:hover,
#masthead .fundapp-nav-cta > a:focus {
  background: var(--fundapp-teal-hover);
  color: #fff !important;
}

/* SUBPAGE TITLE BAND — compact, not an oversized gray billboard */
.entry-hero.page-hero-section,
.entry-hero.page-hero-section .entry-hero-container-inner {
  background: #eaf2f5;
}
.entry-hero.page-hero-section .entry-hero-container-inner {
  padding-top: 35px;
  padding-bottom: 35px;
}
.entry-hero.page-hero-section .entry-title {
  color: var(--fundapp-navy);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  margin: 0;
}

/* HOMEPAGE HERO — add fundapp-hero to OUTERMOST Kadence Row Layout.
   Keep your approved dark background image/overlay on that Row.
   Do not set CSS opacity on the parent: it fades ALL its children. */
.fundapp-hero {
  position: relative;
  isolation: isolate;
  color: #edf7f8;
  background-color: var(--fundapp-hero-dark);
  overflow: hidden;
}
/* Remove any old V2 pseudo-overlay if a previous CSS section was kept. */
.fundapp-hero::before,
.fundapp-hero::after { content: none !important; }

.fundapp-hero h1,
.fundapp-hero h1.kb-advanced-heading,
.fundapp-hero h1.wp-block-heading,
.fundapp-hero .fundapp-hero-title {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  font-size: clamp(36px, 3.9vw, 64px);
  text-wrap: balance;
}
/* Apply this class to a highlighted span, or use Kadence's text highlight. */
.fundapp-hero .fundapp-accent,
.fundapp-hero h1 .fundapp-accent {
  color: var(--fundapp-bright-teal) !important;
}
/* If highlight exists inside Kadence Advanced Text, style the mark too */
.fundapp-hero h1 mark {
  color: var(--fundapp-bright-teal) !important;
  background: transparent !important;
}
.fundapp-hero p,
.fundapp-hero .fundapp-hero-description {
  color: #e4eff2 !important;
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.65;
  max-width: 570px;
}
.fundapp-hero .fundapp-eyebrow,
.fundapp-hero .fundapp-eyebrow.kb-advanced-heading {
  color: #fff !important;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* CTA BUTTONS — add classes to the Kadence Buttons (Adv) INDIVIDUAL
   buttons or their wrappers. Don't rely on "last button" position. */
.fundapp-hero .kb-button,
.fundapp-hero .wp-block-button__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 9px !important;
  padding: 13px 22px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.fundapp-hero .fundapp-btn-primary,
.fundapp-hero .fundapp-btn-primary.kb-button,
.fundapp-hero .fundapp-btn-primary .kb-button,
.fundapp-hero .fundapp-btn-primary .wp-block-button__link {
  background: var(--fundapp-teal) !important;
  color: #fff !important;
  border: 1px solid var(--fundapp-teal) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.fundapp-hero .fundapp-btn-primary:hover,
.fundapp-hero .fundapp-btn-primary.kb-button:hover,
.fundapp-hero .fundapp-btn-primary .kb-button:hover,
.fundapp-hero .fundapp-btn-primary .wp-block-button__link:hover {
  background: var(--fundapp-teal-hover) !important;
  border-color: var(--fundapp-teal-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.fundapp-hero .fundapp-btn-secondary,
.fundapp-hero .fundapp-btn-secondary.kb-button,
.fundapp-hero .fundapp-btn-secondary .kb-button,
.fundapp-hero .fundapp-btn-secondary .wp-block-button__link {
  background: rgba(255,255,255,.055) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.86) !important;
  box-shadow: none;
}
.fundapp-hero .fundapp-btn-secondary:hover,
.fundapp-hero .fundapp-btn-secondary.kb-button:hover,
.fundapp-hero .fundapp-btn-secondary .kb-button:hover,
.fundapp-hero .fundapp-btn-secondary .wp-block-button__link:hover {
  background: rgba(255,255,255,.16) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* FEATURE AND ABOUT SECTIONS */
.fundapp-section { padding-top: clamp(50px, 6vw, 90px); padding-bottom: clamp(50px, 6vw, 90px); }
.fundapp-section-title { color: var(--fundapp-navy); font-weight: 800; letter-spacing: -.03em; }
.fundapp-card {
  background: #fff;
  border: 1px solid var(--fundapp-border);
  border-radius: 16px;
  box-shadow: var(--fundapp-shadow);
  padding: clamp(22px, 3vw, 32px);
}
.fundapp-card h2,
.fundapp-card h3 { color: var(--fundapp-navy); }
.fundapp-card p { color: var(--fundapp-text); }
.fundapp-card a { color: var(--fundapp-teal-hover); }
.fundapp-mini-features { margin-top: 24px; }
.fundapp-mini-features .fundapp-card { background: rgba(255,255,255,.96); }

/* BUTTONS OUTSIDE THE HERO */
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.entry-content .fundapp-button,
.entry-content .fundapp-button.kb-button {
  background: var(--fundapp-teal);
  color: #fff;
  border-radius: 9px;
}
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.entry-content .fundapp-button:hover { background: var(--fundapp-teal-hover); color: #fff; }
/* Do not let the global buttons rule override the hero's outlined CTA */
.fundapp-hero .fundapp-btn-secondary .wp-block-button__link { background: rgba(255,255,255,.055) !important; }

/* FORMS */
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="number"],
.entry-content input[type="url"],
.entry-content select,
.entry-content textarea {
  border: 1px solid #ccd9df;
  border-radius: 9px;
  background: #fff;
  color: var(--fundapp-navy);
  min-height: 44px;
}
.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus {
  border-color: var(--fundapp-teal);
  box-shadow: 0 0 0 3px rgba(7,155,148,.15);
}

/* TABLET */
@media (max-width: 1024px) {
  #masthead .site-main-header-wrap .site-header-row-container-inner,
  #masthead .site-header-row { min-height: 60px; }
  .fundapp-hero h1,
  .fundapp-hero h1.kb-advanced-heading { font-size: clamp(36px, 5vw, 52px); }
  .fundapp-hero p { max-width: 500px; }
}

/* MOBILE */
@media (max-width: 767px) {
  #masthead .site-main-header-wrap .site-header-row-container-inner,
  #masthead .site-header-row { min-height: 58px; }
  #masthead .site-title, #masthead .site-title a { font-size: 23px; }
  #masthead .custom-logo { max-height: 35px; }
  .entry-hero.page-hero-section .entry-hero-container-inner { padding: 25px 0; }
  .fundapp-hero h1,
  .fundapp-hero h1.kb-advanced-heading { font-size: clamp(34px, 8vw, 43px); line-height: 1.1; }
  .fundapp-hero p { font-size: 16px; line-height: 1.6; }
  .fundapp-hero .kb-button,
  .fundapp-hero .wp-block-button__link { min-height: 46px; padding: 12px 18px !important; }
  .fundapp-section { padding-top: 48px; padding-bottom: 48px; }
  .fundapp-card { padding: 22px; }
  /* Hero background with baked-in laptop may crop on phones.
     Set Kadence mobile background position/size separately. */
}

@media (prefers-reduced-motion: reduce) {
  .fundapp-hero .kb-button,
  .fundapp-hero .wp-block-button__link,
  #masthead .fundapp-nav-cta > a { transition: none; }
}


/* FUNDAPP — REMOVE HERO SIDE BARS */

/* Make the hero stretch across the full browser width */
.fundapp-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Remove outer spacing around the hero */
.home .content-area,
.home .site-main,
.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Prevent horizontal scrolling */
body {
    overflow-x: clip;
}



/* Hide Kadence page title banner */
.entry-hero.page-hero-section,
.entry-hero-container-inner {
    display: none !important;
}

/* Remove extra spacing above page content */
.content-area {
    margin-top: 0 !important;
} 

.content-area {
    background: #fff;
}


/* FUNDAPP FEATURE CARDS — KADENCE FIX */

/* Kadence Section wrapper */
.wp-block-kadence-column.fundapp-feature-card {
    background: #ffffff !important;
    border: 1px solid #dce7eb !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(16,43,63,0.09) !important;
    overflow: hidden;
    height: 100%;
}

/* Kadence internal Section container */
.fundapp-feature-card > .kt-inside-inner-col {
    padding: 32px !important;
    background: #ffffff !important;
    min-height: 100%;
    box-sizing: border-box;
}

/* Headings */
.fundapp-feature-card h2,
.fundapp-feature-card h3 {
    color: #102b3f !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
    margin: 0 0 14px !important;
}

/* Description */
.fundapp-feature-card p {
    color: #516575 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .fundapp-feature-card > .kt-inside-inner-col {
        padding: 24px !important;
    }
}

/* FUNDAPP ADVANTAGE INTRO */
.fundapp-advantage-intro {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.fundapp-advantage-intro > .kt-inside-inner-col {
    background: transparent !important;
    padding: 20px 0 45px !important;
}

/* FUNDAPP FEATURE CARDS */
.wp-block-kadence-column.fundapp-feature-card {
    background: #FFFFFF !important;
    border: 1px solid #E0E9EB !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 26px rgba(16,43,63,0.07) !important;
    height: 100%;
    overflow: hidden;
}

.fundapp-feature-card > .kt-inside-inner-col {
    background: #FFFFFF !important;
    padding: 30px !important;
    height: 100%;
    box-sizing: border-box;
}

.fundapp-feature-card h2,
.fundapp-feature-card h3 {
    color: #102B3F !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
}

.fundapp-feature-card p {
    color: #516575 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* Fundapp Advantage intro — no card background */
.fundapp-advantage-intro,
.fundapp-advantage-intro > .kt-inside-inner-col {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Feature cards — teal accent on hover */
.fundapp-feature-card {
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.fundapp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(16,43,63,.12) !important;
}

/* Mobile card layout */
@media (max-width: 767px) {
    .fundapp-feature-card {
        margin-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fundapp-feature-card {
        transition: none;
    }
    .fundapp-feature-card:hover {
        transform: none;
    }
}

/* Compact icon + heading row */
.fundapp-feature-heading {
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.fundapp-feature-heading > .kt-row-column-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 0 !important;
}

/* Icon column — fixed width */
.fundapp-feature-heading > .kt-row-column-wrap
> .wp-block-kadence-column:first-child {
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
}

/* Heading column — use remaining space */
.fundapp-feature-heading > .kt-row-column-wrap
> .wp-block-kadence-column:nth-child(2) {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

/* Icon */
.fundapp-feature-heading img {
    display: block;
    width: 32px !important;
    height: 32px !important;
    object-fit: contain;
}

/* Remove default image spacing */
.fundapp-feature-heading figure,
.fundapp-feature-heading .wp-block-image {
    margin: 0 !important;
}

/* Heading */
.fundapp-feature-heading h2,
.fundapp-feature-heading h3,
.fundapp-feature-heading .kb-advanced-heading {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    color: #102B3F !important;
}


/* ======================================
   FUNDAPP AI CHAT BOX
   ====================================== */

.fundapp-chat-box {
    background: #FFFFFF !important;
    border: 1px solid #DCE8EB !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.14) !important;
    max-width: 780px;
    width: 100%;
    margin: 30px auto 0 !important;
    overflow: hidden;
}

/* Kadence inner container */
.fundapp-chat-box > .kt-inside-inner-col {
    background: #FFFFFF !important;
    padding: 32px !important;
}

/* Heading */
.fundapp-chat-box h2,
.fundapp-chat-box h3 {
    color: #102B3F !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

/* Description */
.fundapp-chat-box p {
    color: #516575 !important;
    font-size: 16px !important;
    line-height: 1.6;
}

/* Chat input */
.fundapp-chat-box input,
.fundapp-chat-box textarea {
    background: #F7FAFB !important;
    border: 1px solid #CEDDE1 !important;
    border-radius: 12px !important;
    padding: 15px 18px !important;
    color: #102B3F !important;
    width: 100%;
}

/* Focus */
.fundapp-chat-box input:focus,
.fundapp-chat-box textarea:focus {
    border-color: #079B94 !important;
    box-shadow: 0 0 0 3px rgba(7,155,148,0.12) !important;
    outline: none;
}

/* Send button */
.fundapp-chat-box button[type="submit"] {
    background: #079B94 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 13px 20px !important;
    font-weight: 600;
    cursor: pointer;
}

.fundapp-chat-box button[type="submit"]:hover {
    background: #087D79 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .fundapp-chat-box {
        margin-top: 20px !important;
        border-radius: 14px !important;
    }

    .fundapp-chat-box > .kt-inside-inner-col {
        padding: 22px !important;
    }

    .fundapp-chat-box h2,
    .fundapp-chat-box h3 {
        font-size: 21px !important;
    }
} 

/* ======================================
   FUNDAPP FULL-WIDTH DARK CTA SECTION
   ====================================== */

.fundapp-final-cta {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    background: #102B3F !important;
    padding: 75px 24px !important;
    box-sizing: border-box;
}

/* Ensure Kadence uses the dark background */
.fundapp-final-cta > .kt-row-column-wrap {
    background: transparent !important;
    max-width: 1100px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center white CTA card */
.fundapp-final-cta .fundapp-chat-box {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mobile */
@media (max-width: 767px) {
    .fundapp-final-cta {
        padding: 50px 20px !important;
    }
}

/* =====================================
   FUNDAPP FINAL CTA — LIGHT TEXT
   ===================================== */

/* Main heading */
.fundapp-final-cta h1,
.fundapp-final-cta h2,
.fundapp-final-cta h3,
.fundapp-final-cta .kb-advanced-heading {
    color: #FFFFFF !important;
}

/* Description */
.fundapp-final-cta p {
    color: #D6E5E9 !important;
    font-size: 18px;
    line-height: 1.6;
}

/* Make heading more prominent */
.fundapp-final-cta h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    margin-bottom: 16px !important;
}

/* Keep button text white */
.fundapp-final-cta .kb-button,
.fundapp-final-cta .wp-block-button__link {
    color: #FFFFFF !important;
}



/* =========================================
   FUNDAPP — PREMIUM DARK FOOTER
   ========================================= */

#colophon.fundapp-footer {
    background: #102B3F !important;
    color: #FFFFFF;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 3px solid #079B94;
    box-shadow: none !important;
}

.fundapp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 24px 20px;
}

/* Main footer row */
.fundapp-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 25px;
}

/* Logo text */
.fundapp-footer-logo {
    color: #FFFFFF;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.fundapp-footer-logo span {
    color: #25D3C4;
}

.fundapp-footer-brand p {
    color: #B7CBD4;
    font-size: 14px;
    margin: 6px 0 0;
}

/* Contact */
.fundapp-footer-contact {
    text-align: right;
}

.fundapp-footer-contact strong {
    display: block;
    color: #FFFFFF;
    font-size: 15px;
    margin-bottom: 8px;
}

.fundapp-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-size: 15px;
}

.fundapp-footer-links a {
    color: #4EDBCC !important;
    text-decoration: none;
}

.fundapp-footer-links a:hover {
    color: #FFFFFF !important;
}

.fundapp-separator {
    color: #6C8593;
}

/* Bottom row */
.fundapp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.13);
    padding-top: 17px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    color: #AFC2CC;
    font-size: 13px;
}

/* Mobile */
@media (max-width: 767px) {

    .fundapp-footer-inner {
        padding: 30px 20px 20px;
    }

    .fundapp-footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 22px;
    }

    .fundapp-footer-contact {
        text-align: center;
    }

    .fundapp-footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .fundapp-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

/* =========================================
   FUNDAPP — PREMIUM DARK FOOTER
   ========================================= */

#colophon.fundapp-footer {
    background: #102B3F !important;
    color: #FFFFFF;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 3px solid #079B94;
    box-shadow: none !important;
}

.fundapp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 24px 20px;
}

/* Main footer row */
.fundapp-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 25px;
}

/* Logo text */
.fundapp-footer-logo {
    color: #FFFFFF;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.fundapp-footer-logo span {
    color: #25D3C4;
}

.fundapp-footer-brand p {
    color: #B7CBD4;
    font-size: 14px;
    margin: 6px 0 0;
}

/* Contact */
.fundapp-footer-contact {
    text-align: right;
}

.fundapp-footer-contact strong {
    display: block;
    color: #FFFFFF;
    font-size: 15px;
    margin-bottom: 8px;
}

.fundapp-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-size: 15px;
}

.fundapp-footer-links a {
    color: #4EDBCC !important;
    text-decoration: none;
}

.fundapp-footer-links a:hover {
    color: #FFFFFF !important;
}

.fundapp-separator {
    color: #6C8593;
}

/* Bottom row */
.fundapp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.13);
    padding-top: 17px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    color: #AFC2CC;
    font-size: 13px;
}

/* Mobile */
@media (max-width: 767px) {

    .fundapp-footer-inner {
        padding: 30px 20px 20px;
    }

    .fundapp-footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 22px;
    }

    .fundapp-footer-contact {
        text-align: center;
    }

    .fundapp-footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .fundapp-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

/* ========================================
   FUNDAPP ADVANTAGE — FULL WIDTH MOBILE
   ======================================== */

@media (max-width: 767px) {

    /* Extend section background edge to edge */
    .fundapp-advantage-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        background-color: #F4F8FA !important;
        box-sizing: border-box;
    }

    /* Keep content comfortably away from edges */
    .fundapp-advantage-section > .kt-row-column-wrap {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    /* Keep feature cards within the screen */
    .fundapp-advantage-section .fundapp-feature-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* =========================================
   FUNDAPP AI — FULL WIDTH MOBILE SECTION
   ========================================= */

@media (max-width: 767px) {

    /* Extend the section background edge to edge */
    .fundapp-ai-section {
        position: relative;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        background-color: #F4F8FA !important;
        box-sizing: border-box;
    }

    /* Prevent Kadence background overlays from
       extending outside the section */
    .fundapp-ai-section > .kt-row-column-wrap {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    /* AI widget stays within screen */
    .fundapp-ai-section .fundapp-chat-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
}
