/* 
 Theme Name:     Bare bones for Divi
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com 
 Template:       Divi
 Version:        2.5
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */


/*** Global Font Sizes - Desktop ***/
body .et_pb_text {
    font-size: 18px;
    line-height: 1.7;
}

h1, .et_pb_module_header, h1.entry-title {
    font-size: 48px;
    line-height: 1.2;
}

h2 {
    font-size: 38px;
    line-height: 1.25;
}

h3 {
    font-size: 28px;
    line-height: 1.3;
}

h4 {
    font-size: 22px;
    line-height: 1.4;
}


/*** Global Font Sizes - Tablet ***/
@media only screen and (max-width: 980px) {
    h1, .et_pb_module_header, h1.entry-title { font-size: 36px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
}

/*** Global Font Sizes - Phone ***/
@media only screen and (max-width: 767px) {
    h1, .et_pb_module_header, h1.entry-title { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }
}


/* Mobile: Footer social icons */
@media only screen and (max-width: 767px) {

    /* === FOOTER SOCIAL ICONS === */
    .et_pb_social_media_follow {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .et_pb_social_media_follow li {
        margin: 4px !important;
    }

    .et_pb_social_media_follow a.icon {
        width: 36px !important;
        height: 36px !important;
    }
}



/*** SITE-WIDE MOBILE WIDTH - Use full screen space ***/
@media only screen and (max-width: 980px) {
    .et_pb_row {
        width: 92% !important;
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 767px) {
    /* Rows - nearly full width with small breathing room */
    .et_pb_row {
        width: 94% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Sections - remove horizontal padding, reduce vertical padding */
    .et_pb_section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* FAQ section - tighter spacing on mobile */
    .et_pb_section_62 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    /* Full-width sections should be truly full */
    .et_pb_fullwidth_section {
        width: 100% !important;
    }

    /* Columns - use available space */
    .et_pb_column {
        margin-bottom: 0 !important;
    }

    /* Text modules - comfortable reading width */
    .et_pb_text {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Buttons and CTAs - full width on mobile */
    .et_pb_button_module_wrapper {
        width: 100% !important;
    }

    /* Forms - full width */
    .et_pb_contact_form,
    .gform_wrapper {
        width: 100% !important;
    }
}


/* ##### Menu Button STYLES ##### */

#top-menu .sub-menu {
   background-color: #ffffff; /* Background color dropdown */
   border-top: 3px solid #25313a; /* Top border color dropdown */
}

#top-menu .sub-menu li a {
   font-size: 16px; /* Font size dropdown */
   width: 100%;
   color: #000000;
   border-bottom: 1px solid #768792; /* Border bottom menu item color */
}

.sub-menu li:hover {
   background-color: #f0d36b; /* Hover color menu item */
}

.sub-menu .current_page_item {
   background-color: #f0d36b; /* Current menu item color dropdown */
}

#top-menu .sub-menu li {
   padding-left: 0px;
   padding-right: 0px;
   width: 100%;
}

#top-menu li li a {
   padding-top: 10px;
   padding-bottom: 8px;
}

#top-menu .sub-menu {
   padding-top: 0px;
   padding-bottom: 0px;
}

.nav ul li a:hover {
   opacity: 1;
   background-color: rgba(0,0,0,0);
}



/* Divi Engine CTA Button in the Divi Menu */

/* CTA button styles */
.menu_cta a {
    color: #ffffff!important; /* Change button text color here */
    background-color: #25A94E; /* Change button background color here */
     border-radius: 50px; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    text-align: center;
    line-height: 9px;
    font-weight: 600;
    padding: 18px 16px!important;
    text-transform: uppercase;
    display: block;
    padding-left: 32px!important;
    padding-right: 32px!important;
    border: 0px;
}

/* Media query to ensure hover styles are only applied to desktop */
@media (min-width: 981px) {
    
    /* Hover styles for our CTA Button */
    .menu_cta a:hover {
        opacity: 1!important;
        color: #f0d36b!important; /* Change hover button text color here */
        background-color: #25A94E; /* Change hover button background color here - darker green */
        transform: scale(1.1); /* If you don't want the button to get bigger when you hover on it, delete this line */
    }
}
    
/* Fix the padding in the primary menu to accomodate the button */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-top: 0px;
    padding-bottom: 0px;
}
 
/* Make sure that the alignment in the menu is correct */
.et_pb_menu .et_pb_menu__menu>nav>ul>li {
    align-items: center;
}

/*Gravity Forms Spinner*/
.gform_ajax_spinner {
    box-sizing: border-box;
    margin-top: 11px;
    margin-left: 10px;
    border: 6px solid rgba(247,150,33,1);
    border-left: 6px solid rgba(247,150,33,0);
    border-top: 6px solid rgba(247,150,33,.15);
    border-right: 6px solid rgba(247,150,33,.5);
    animation: spinner 1.1s infinite linear;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    position: absolute;
    z-index: 1;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) { /* Adjusts styles for mobile */
    .gform_ajax_spinner {
        margin-left: 0;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 10px;
    }
}

    @keyframes spinner {
        0% {
            transform: translateX(-50%) rotate(0deg);
        }
        100% {
            transform: translateX(-50%) rotate(360deg);
        }
    }



/*Gravity Forms Address Field Full Width*/
#gform_6 #field_6_12 .ginput_complex.ginput_container {
  margin-inline: 0 !important;
}
#gform_6 #field_6_12 .ginput_container_address span {
  padding-inline: 0 !important;
}


/* ===========================
   CUSTOM NAVIGATION
   =========================== */

.ga-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* --- MOBILE BAR --- */
.ga-nav__mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 16px;
}

.ga-nav__phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #25A94E;
    text-decoration: none;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}
.ga-nav__phone-btn:active { background: rgba(37,169,78,0.1); }

/* Hamburger */
.ga-nav__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
}
.ga-nav__hb-box {
    width: 22px;
    height: 16px;
    position: relative;
    display: block;
}
.ga-nav__hb-line,
.ga-nav__hb-line::before,
.ga-nav__hb-line::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    position: absolute;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
}
.ga-nav__hb-line { top: 7px; }
.ga-nav__hb-line::before { content: ''; top: -7px; }
.ga-nav__hb-line::after { content: ''; top: 7px; }

/* X state */
.ga-nav__hamburger[aria-expanded="true"] .ga-nav__hb-line { transform: rotate(45deg); }
.ga-nav__hamburger[aria-expanded="true"] .ga-nav__hb-line::before { top: 0; transform: rotate(90deg); }
.ga-nav__hamburger[aria-expanded="true"] .ga-nav__hb-line::after { opacity: 0; }

/* Desktop bar hidden on mobile */
.ga-nav__desktop-bar { display: none; }

/* --- MOBILE OVERLAY --- */
.ga-nav__overlay {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, visibility 0s 0.3s;
}
.ga-nav__overlay[aria-hidden="false"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.ga-nav__overlay-inner {
    padding: 16px 20px 40px;
    max-width: 480px;
    margin: 0 auto;
}

/* Mobile menu items */
.ga-nav__mob-menu { list-style: none; padding: 0; margin: 0; }
.ga-nav__mobile-item { border-bottom: 1px solid rgba(0,0,0,0.06); }

.ga-nav__mobile-link,
.ga-nav__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-family: 'Ubuntu', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ga-nav__mobile-link:active,
.ga-nav__mobile-toggle:active { color: #25A94E; }

.ga-nav__expand-icon {
    color: #999;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
}
.ga-nav__mobile-toggle[aria-expanded="true"] .ga-nav__expand-icon { transform: rotate(180deg); }

/* Accordion submenu */
.ga-nav__submenu {
    list-style: none;
    padding: 0 0 0 16px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ga-nav__mobile-item--expandable.is-expanded > .ga-nav__submenu { max-height: 800px; }

.ga-nav__submenu .ga-nav__mobile-link {
    font-size: 15px;
    padding: 12px 0;
    color: #555;
}

/* Mobile CTA */
.ga-nav__mob-cta {
    display: block;
    margin-top: 24px;
    padding: 16px;
    background: #25A94E;
    color: #fff !important;
    font-family: 'Ubuntu', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}
.ga-nav__mob-cta:active { background: #1f8f42; }

/* Body scroll lock */
body.ga-nav-open { overflow: hidden; position: fixed; width: 100%; }

/* Body padding for fixed nav */
body { padding-top: 56px; }


/* WP Admin Bar compatibility */
.admin-bar .ga-nav { top: 32px; }
.admin-bar .ga-nav__overlay { top: 88px; } /* 56px bar + 32px admin bar */
@media screen and (max-width: 782px) {
    .admin-bar .ga-nav { top: 46px; }
    .admin-bar .ga-nav__overlay { top: 102px; } /* 56px + 46px */
}

/* --- DESKTOP (1024px+) --- */
@media (min-width: 1024px) {
    .ga-nav__mobile-bar,
    .ga-nav__overlay { display: none !important; }

    .ga-nav__desktop-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        height: 100px;
        max-width: 1400px;
        margin: 0 auto;
    }
    .ga-nav__logo { flex-shrink: 0; margin-right: 24px; }
    .ga-nav__logo img { height: 80px; width: auto; }
    .ga-nav__desktop-links { flex: 1; display: flex; justify-content: flex-end; min-width: 0; overflow: visible; }

    .ga-nav__menu {
        display: flex;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 2px;
    }
    .ga-nav__item { position: relative; }
    .ga-nav__link {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 10px 10px;
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        border-radius: 6px;
        transition: background 0.2s, color 0.2s;
        white-space: nowrap;
    }
    .ga-nav__link:hover { background: rgba(37,169,78,0.08); color: #25A94E; }

    .ga-nav__dd-arrow { transition: transform 0.2s; }
    .ga-nav__item:hover .ga-nav__dd-arrow { transform: rotate(180deg); }

    /* Mega dropdown */
    .ga-nav__mega {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
        min-width: 820px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        padding: 20px 24px;
        margin: 4px 0 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
        list-style: none;
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
    }
    .ga-nav__item--has-dd:hover > .ga-nav__mega {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        transition-delay: 0s;
    }
    .ga-nav__mega-group {
        min-width: 180px;
        flex: 1;
    }
    .ga-nav__mega-heading {
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #25A94E;
        margin: 0 0 8px;
        padding-bottom: 6px;
        border-bottom: 2px solid #f0d36b;
    }
    .ga-nav__mega-heading a {
        color: inherit;
        text-decoration: none;
    }
    .ga-nav__mega-heading a:hover { text-decoration: underline; }
    .ga-nav__mega-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .ga-nav__mega-link {
        display: block;
        padding: 4px 8px;
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 15px;
        color: #444;
        text-decoration: none;
        border-radius: 4px;
        transition: background 0.15s, color 0.15s;
        line-height: 1.4;
    }
    .ga-nav__mega-link:hover { background: rgba(37,169,78,0.08); color: #25A94E; }
    .ga-nav__mega-standalone {
        display: block;
        padding: 4px 8px;
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: #444;
        text-decoration: none;
        border-radius: 4px;
        transition: background 0.15s, color 0.15s;
        line-height: 1.4;
    }
    .ga-nav__mega-standalone:hover { background: rgba(37,169,78,0.08); color: #25A94E; }
    .ga-nav__mega-group--single { padding: 2px 0; }

    /* CTA button */
    .ga-nav__cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        padding: 10px 18px;
        margin-left: 16px;
        background: #25A94E;
        color: #fff !important;
        font-family: 'Ubuntu', -apple-system, sans-serif;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        border-radius: 50px;
        white-space: nowrap;
        transition: background 0.2s, transform 0.2s;
    }
    .ga-nav__cta-btn:hover { background: #1f8f42; transform: scale(1.03); }

    body { padding-top: 100px; }
}


/* ===========================
   BUTTON STYLES
   Solid green pills matching nav CTA,
   white variant on green sections
   =========================== */

/* --- Base: Solid Green Pill --- */
body #page-container .et_pb_button {
    background: #25A94E !important;
    color: #fff !important;
    border: 2px solid #25A94E !important;
    border-radius: 50px !important;
    font-family: 'Ubuntu', -apple-system, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 14px rgba(37, 169, 78, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Arrow icon */
body #page-container .et_pb_button::after {
    color: #fff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover: darken + lift */
body #page-container .et_pb_button:hover,
body #page-container .et_pb_module .et_pb_button:hover {
    background: #1f8f42 !important;
    border-color: #1f8f42 !important;
    color: #fff !important;
    box-shadow: 0 6px 22px rgba(37, 169, 78, 0.45) !important;
    transform: translateY(-2px) !important;
}

body #page-container .et_pb_button:hover::after {
    color: #fff !important;
}

/* --- White variant on green background sections --- */
body #page-container .et_pb_section_30 .et_pb_button {
    background: #fff !important;
    color: #2D5A3D !important;
    border-color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

body #page-container .et_pb_section_30 .et_pb_button::after {
    color: #2D5A3D !important;
}

body #page-container .et_pb_section_30 .et_pb_button:hover {
    background: #f0d36b !important;
    color: #2D5A3D !important;
    border-color: #f0d36b !important;
    box-shadow: 0 6px 22px rgba(240, 211, 107, 0.35) !important;
}

body #page-container .et_pb_section_30 .et_pb_button:hover::after {
    color: #2D5A3D !important;
}

/* --- Form submit button: match pill style --- */
body #page-container .et_pb_contact_form_container .et_contact_bottom_container button,
body #page-container .gform_wrapper .gform_button {
    background: #25A94E !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 36px !important;
    font-family: 'Ubuntu', -apple-system, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(37, 169, 78, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body #page-container .et_pb_contact_form_container .et_contact_bottom_container button:hover,
body #page-container .gform_wrapper .gform_button:hover {
    background: #1f8f42 !important;
    box-shadow: 0 6px 22px rgba(37, 169, 78, 0.45) !important;
    transform: translateY(-2px) !important;
}

/* --- Mobile tweaks --- */
@media only screen and (max-width: 767px) {
    body #page-container .et_pb_button {
        font-size: 14px !important;
        letter-spacing: 0.6px !important;
        display: block !important;
        text-align: center !important;
    }
}


/* ===========================
   HERO SECTION H1 COLOR FIX
   Service pages: H1 in parallax hero
   needs white to override Divi global
   h1 { color: #333 }
   =========================== */
.et_pb_section_26 .et_pb_text_inner h1 {
    color: #FFFFFF !important;
}

