/* Bidayat WCAG Contrast Repair V8 — Live
   Scope: actual foreground/background pairings across existing premium layouts.
   Do not alter background section palette, media, booking, GTM, form validation,
   layout or content. Load after V7 to replace stale Elementor theme colors.
*/
body.bdp-preview.bdp-v6{
 --cr8-ink:#18364D;--cr8-muted:#415D72;--cr8-on-dark:#FFFFFF;
 --cr8-subdark:#E7EFF6;--cr8-on-gold:#071D34;
 --cr8-accent-light:#F4D9AC;--cr8-accent-text:#785423;
 --cr8-surface:#FFFFFF;--cr8-surface-alt:#F5F7FA;
}
body.p11-preview.bdp-v6-landing{
 --cr8-ink:#18364D;--cr8-muted:#415D72;--cr8-on-dark:#FFFFFF;
 --cr8-subdark:#E7EFF6;--cr8-on-gold:#071D34;
 --cr8-accent-light:#F4D9AC;--cr8-accent-text:#785423;
}
/* 1. Header dark background: white navigation text.
   Exclude submenu, since it has a white surface. */
body.bdp-preview.bdp-v6 #masthead #ast-desktop-header #ast-hf-menu-1>li:not(:last-child)>.menu-link,
body.bdp-preview.bdp-v6 #masthead #ast-mobile-header .ast-primary-header-bar :is(.main-header-menu-toggle,.ast-menu-toggle),
body.bdp-preview.bdp-v6 #masthead #ast-mobile-header .ast-primary-header-bar :is(.site-title a,.ast-mobile-svg){
 color:var(--cr8-on-dark)!important;
}
body.bdp-preview.bdp-v6 #masthead #ast-desktop-header #ast-hf-menu-1>li:last-child>.menu-link{
 color:var(--cr8-on-gold)!important;
}
body.bdp-preview.bdp-v6 #masthead #ast-desktop-header .sub-menu :is(.menu-link,.menu-item a){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6 #masthead #ast-desktop-header .sub-menu :is(.menu-link,.menu-item a):hover,
body.bdp-preview.bdp-v6 #masthead #ast-desktop-header .sub-menu :is(.menu-link,.menu-item a):focus-visible{
 color:#0B2742!important;
}
body.bdp-preview.bdp-v6 #masthead #ast-mobile-header .ast-mobile-header-content{
 background:#FFFFFF!important;
}
body.bdp-preview.bdp-v6 #masthead #ast-mobile-header .ast-mobile-header-content :is(.menu-link,.ast-menu-toggle){
 color:var(--cr8-ink)!important;
}
/* 2. Home hero: on the dark photographic overlay, text must never inherit
   Astra/Elementor pale-grey values or a navy title. */
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .uael-first-text,
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 :is(.elementor-heading-title,.uael-dual-color-heading h3){
 color:var(--cr8-on-dark)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .uael-highlight-text,
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .bdp05-eyebrow{
 color:var(--cr8-accent-light)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .elementor-widget-text-editor p{
 color:var(--cr8-subdark)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .elementor-button:not(.elementor-button-link[aria-disabled="true"]){
 color:var(--cr8-on-gold)!important;
}
body.bdp-preview.bdp-v6.home .bdp05-hero-corner :is(strong,span),
body.bdp-preview.bdp-v6.home .bdp05-scroll-cue{
 color:var(--cr8-subdark)!important;
}
body.bdp-preview.bdp-v6.home .bdp05-hero-corner strong{
 color:var(--cr8-accent-light)!important;
}
/* 3. White cards and light sections: dark text, including sub-copy. */
body.bdp-preview.bdp-v6.home .bdp05-values :is(strong,.bdp05-value strong),
body.bdp-preview.bdp-v6.home .v5-pathways h2,
body.bdp-preview.bdp-v6.home .v5-path-card:not(:nth-child(2)) .v5-path-title,
body.bdp-preview.bdp-v6.home .v6-service-more :is(h2,strong){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6.home .bdp05-values :is(p,.bdp05-value p),
body.bdp-preview.bdp-v6.home .v5-pathways-top p,
body.bdp-preview.bdp-v6.home .v5-path-card:not(:nth-child(2)) :is(.v5-path-desc,.v5-path-index),
body.bdp-preview.bdp-v6.home .v6-service-more p{
 color:var(--cr8-muted)!important;
}
/* Featured pathway is navy, so reverse foregrounds. */
body.bdp-preview.bdp-v6.home .v5-path-card:nth-child(2) :is(.v5-path-title,.v5-path-footer),
body.bdp-preview.bdp-v6.home .v5-path-card:nth-child(2) .v5-path-arrow{
 color:var(--cr8-on-dark)!important;
}
body.bdp-preview.bdp-v6.home .v5-path-card:nth-child(2) :is(.v5-path-desc,.v5-path-index){
 color:var(--cr8-subdark)!important;
}
body.bdp-preview.bdp-v6.home .v5-path-card:not(:nth-child(2)) .v5-path-footer{
 color:var(--cr8-accent-text)!important;
}
/* 4. 'Why choose us' navy panel, with separate WHITE FAQ cards.
   Keep questions dark even though surrounding section is dark. */
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-b363ae6 > .e-con-inner > .elementor-widget-heading .elementor-heading-title,
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-b363ae6 > .e-con-inner .v6-chapter{
 color:var(--cr8-on-dark)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-b363ae6 .uael-faq-accordion :is(.uael-accordion-title,.uael-accordion-title-text,.uael-accordion-title a,.uael-faq-questions,.uael-accordion-title span){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-b363ae6 .uael-faq-accordion :is(.uael-accordion-content,.uael-accordion-content p,.uael-accordion-content li){
 color:var(--cr8-muted)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-b363ae6 :is(.v6-chapter,.bdp05-eyebrow){
 color:var(--cr8-accent-light)!important;
}
/* 5. Other homepage light panels: service cards, real reviews, process,
   newsletter and contact. Tight scope: no blanket "color" on validation. */
body.bdp-preview.bdp-v6.home .elementor-34389 :is(
 .elementor-element-bbd3e7b,.elementor-element-cjdzbna,
 .elementor-element-c048d8a,.elementor-element-93217e5,
 .elementor-element-b364b27,.elementor-element-3af02d8d
) :is(.elementor-heading-title,.elementor-image-box-title,.uael-infobox-title){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 :is(
 .elementor-element-bbd3e7b,.elementor-element-cjdzbna,
 .elementor-element-c048d8a,.elementor-element-93217e5,
 .elementor-element-b364b27,.elementor-element-3af02d8d
) :is(.elementor-widget-text-editor p,.uael-infobox-text,.elementor-image-box-description){
 color:var(--cr8-muted)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 :is(.elementor-element-1f7de57,.elementor-element-1331360) .uael-infobox :is(.uael-infobox-title,.uael-infobox-title a){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 :is(.elementor-element-1f7de57,.elementor-element-1331360) .uael-infobox :is(.uael-infobox-text,.uael-infobox-text p){
 color:var(--cr8-muted)!important;
}
/* The home mid-page CTA is NAVY, unlike the adjacent bright sections. */
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-a16e902 :is(.elementor-heading-title,.elementor-widget-text-editor p){
 color:var(--cr8-on-dark)!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-a16e902 a.elementor-button,
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-a16e902 a.elementor-button :is(span,.elementor-button-text){
 color:var(--cr8-on-gold)!important;
}
/* 6. All interior dark heroes and CTA panels: typography explicit. */
body.bdp-preview.bdp-v6 :is(.sd-hero,.p08-hero,.p09-hero,.bp10-hero) :is(h1,h2,h3,.elementor-heading-title),
body.bdp-preview.bdp-v6.page-id-35172 .elementor-element-7e56743 :is(h1,h2,.elementor-heading-title),
body.bdp-preview.bdp-v6.page-id-35323 .elementor-element-5ba5ed7 :is(h1,h2,.elementor-heading-title){
 color:var(--cr8-on-dark)!important;
}
body.bdp-preview.bdp-v6 :is(.sd-hero,.p08-hero,.p09-hero,.bp10-hero) :is(.sd-lead,.p08-lead,.p09-hero-lead,.bp10-subtitle),
body.bdp-preview.bdp-v6.page-id-35172 .elementor-element-7e56743 .elementor-widget-text-editor p,
body.bdp-preview.bdp-v6.page-id-35323 .elementor-element-5ba5ed7 .elementor-widget-text-editor p{
 color:var(--cr8-subdark)!important;
}
body.bdp-preview.bdp-v6 :is(.sd-hero,.p08-hero,.p09-hero,.bp10-hero) :is(.sd-eyebrow,.p08-eyebrow,.p09-eyebrow,.bp10-eyebrow),
body.bdp-preview.bdp-v6.page-id-35172 .elementor-element-7e56743 .bd06-hero-kicker{
 color:var(--cr8-accent-light)!important;
}
body.bdp-preview.bdp-v6 :is(.sd-bottom-cta,.p08-bottom-cta,.p09-cta,.bp10-bottom,.bd06-bottom-cta) :is(h2,h3,.elementor-heading-title,p,.elementor-widget-text-editor){
 color:var(--cr8-on-dark)!important;
}
/* Inner WHITE cards don't inherit hero white text */
body.bdp-preview.bdp-v6 :is(.sd-intro,.p08-interior-copy,.p09-content,.p08-hub-controls,.bp10-filters,.bp10-toc) :is(h2,h3,h4,.elementor-heading-title,.p09-heading){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6 :is(.sd-intro,.p08-interior-copy,.p09-content,.p08-hub-controls,.bp10-filters,.bp10-toc) :is(p,li,.elementor-widget-text-editor,.sd-description){
 color:var(--cr8-muted)!important;
}
body.bdp-preview.bdp-v6.page-id-35172 .elementor-35172 .elementor-widget-uael-infobox .uael-infobox :is(.uael-infobox-title,.uael-infobox-title a){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6.page-id-35172 .elementor-35172 .elementor-widget-uael-infobox .uael-infobox :is(.uael-infobox-text,.uael-infobox-text p){
 color:var(--cr8-muted)!important;
}
/* 7. Content with old 4.01:1 and 4.13:1 contrast fixed. */
body.bdp-preview.bdp-v6.bdp-industry-hub .elementor-35394 .elementor-element-f5f963c .elementor-widget-icon-box::before{
 color:var(--cr8-accent-text)!important;
}
body.bdp-preview.bdp-v6.bdp-blog-v1:not(.single-post) #primary article.ast-article-post .cat-links a{
 color:var(--cr8-accent-text)!important;
}
/* Blog cards, articles, headings, metadata and links on WHITE. */
body.bdp-preview.bdp-v6.bdp-blog-v1 :is(.entry-title,.entry-title a,.ast-blog-featured-section .entry-title,.bp10-filters h2){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6.bdp-blog-v1 :is(.entry-meta,.entry-meta a,.posted-on,.ast-excerpt-container p){
 color:var(--cr8-muted)!important;
}
body.bdp-preview.bdp-v6.bdp-blog-v1.single-post #primary article.ast-article-single .entry-header :is(h1,.entry-title){
 color:var(--cr8-on-dark)!important;
}
/* Company: reviews and partner grid on white. */
body.bdp-preview.bdp-v6 :is(.p09-partner-grid,.p09-review-grid,.p09-about-card,.p09-content) :is(h2,h3,h4,.elementor-heading-title,.p09-card-title){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6 :is(.p09-partner-grid,.p09-review-grid,.p09-about-card,.p09-content) :is(p,.elementor-widget-text-editor,.p09-review-copy){
 color:var(--cr8-muted)!important;
}
/* 8. Forms on white/light cards: accessible field labels and placeholders.
   Do not override .wpforms-error, .elementor-message-danger, disabled states. */
body.bdp-preview.bdp-v6 :is(.elementor-widget-form,.wpforms-container,.elementor-element-93217e5) :is(label,.elementor-field-label,.wpforms-field-label){
 color:var(--cr8-ink)!important;
}
body.bdp-preview.bdp-v6 :is(.elementor-widget-form,.wpforms-container,.elementor-element-93217e5) :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=hidden]):not([type=file]),textarea,select){
 color:var(--cr8-ink)!important;background-color:#FFFFFF!important;
 border-color:#B7C6D2!important;
}
body.bdp-preview.bdp-v6 :is(.elementor-widget-form,.wpforms-container,.elementor-element-93217e5) :is(input,textarea)::placeholder{
 color:var(--cr8-muted)!important;opacity:1!important;
}
body.bdp-preview.bdp-v6 :is(.elementor-widget-form,.wpforms-container,.elementor-element-93217e5) :is(input,textarea,select):focus{
 border-color:#9D773F!important;
}
body.bdp-preview.bdp-v6.home .elementor-element-93217e5 .wpforms-submit,
body.bdp-preview.bdp-v6.home .v6-service-more a,
body.bdp-preview.bdp-v6.page-id-35323 .elementor-form .elementor-button{
 color:var(--cr8-on-dark)!important;background:#0B2742!important;
}
/* 9. Dark footer: labels/secondary copy must be legible, links accessible. */
body.bdp-preview.bdp-v6 #colophon.bdp-has-footer :is(.bdp-footer-shell h2,.bdp-footer-shell h3,.bdp-footer-shell h4){
 color:var(--cr8-on-dark)!important;
}
body.bdp-preview.bdp-v6 #colophon.bdp-has-footer :is(.bdp-footer-shell p,.bdp-footer-shell li,.bdp-footer-shell small,.bdp-footer-shell .bdp-eyebrow){
 color:var(--cr8-subdark)!important;
}
body.bdp-preview.bdp-v6 #colophon.bdp-has-footer :is(.bdp-footer-shell a:not(.bdp-footer-cta>a),.bdp-footer-shell .bdp-footer-link){
 color:var(--cr8-subdark)!important;
}
body.bdp-preview.bdp-v6 #colophon.bdp-has-footer .bdp-footer-cta>a{
 color:var(--cr8-on-gold)!important;
}
/* 10. Standalone /landing/ template, dark hero/results/featured plan vs white
   forms and other plans. Never alter package prices, AJAX handlers or booking. */
body.p11-preview.bdp-v6-landing :is(.gh-header,.gh-hero,.gh-results) :is(h1,h2,h3,.gh-heading){
 color:var(--cr8-on-dark)!important;
}
body.p11-preview.bdp-v6-landing :is(.gh-header,.gh-hero,.gh-results) :is(p,.gh-hero-copy>p,.gh-results-description,.gh-subtitle){
 color:var(--cr8-subdark)!important;
}
body.p11-preview.bdp-v6-landing .gh-price-card-featured :is(h2,h3,.gh-price-number strong,.gh-price-name){
 color:var(--cr8-on-dark)!important;
}
body.p11-preview.bdp-v6-landing .gh-price-card-featured :is(p,li,.gh-price-detail,.gh-price-features,.gh-price-number span){
 color:var(--cr8-subdark)!important;
}
body.p11-preview.bdp-v6-landing :is(.gh-price-card-light,.gh-lead-card,.gh-why-card,.growth-channel-card,.growth-step) :is(h2,h3,h4,.gh-price-number strong){
 color:var(--cr8-ink)!important;
}
body.p11-preview.bdp-v6-landing :is(.gh-price-card-light,.gh-lead-card,.gh-why-card,.growth-channel-card,.growth-step) :is(p,li,.gh-price-detail,.gh-price-number span){
 color:var(--cr8-muted)!important;
}
body.p11-preview.bdp-v6-landing :is(.gh-lead-card,#growth-form,.gh-booking-box,.gh-price-card-light) :is(label,.gh-label){
 color:var(--cr8-ink)!important;
}
body.p11-preview.bdp-v6-landing :is(.gh-lead-card,#growth-form,.gh-booking-box) :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=hidden]):not([type=file]),textarea,select){
 color:var(--cr8-ink)!important;background:#FFFFFF!important;border-color:#B7C6D2!important;
}
body.p11-preview.bdp-v6-landing :is(.gh-lead-card,#growth-form,.gh-booking-box) :is(input,textarea)::placeholder{
 color:var(--cr8-muted)!important;opacity:1!important;
}
body.p11-preview.bdp-v6-landing :is(.gh-price-card-featured .gh-price-btn,.gh-primary-btn,.gh-header-cta){
 color:var(--cr8-on-gold)!important;
}
/* Keep keyboard focus visible, including forms and buttons on each background. */
body.bdp-preview.bdp-v6 :is(a,button,input,textarea,select):focus-visible,
body.p11-preview.bdp-v6-landing :is(a,button,input,textarea,select):focus-visible{
 outline:3px solid #C7A16B!important;outline-offset:3px!important;
}
/* Distinct REAL hero buttons: primary has gold fill/dark type,
   second is transparent on navy with white type. */
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .elementor-repeater-item-59d6a79 a.elementor-button{
 background:#C7A16B!important;border:1px solid #C7A16B!important;color:#071D34!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .elementor-repeater-item-59d6a79 a.elementor-button :is(span,.elementor-button-text){
 color:#071D34!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .elementor-repeater-item-166aeb1 a.elementor-button{
 background:rgba(7,29,52,.50)!important;border:1px solid rgba(255,255,255,.75)!important;color:#FFFFFF!important;
}
body.bdp-preview.bdp-v6.home .elementor-34389 .elementor-element-11810260 .elementor-repeater-item-166aeb1 a.elementor-button :is(span,.elementor-button-text){
 color:#FFFFFF!important;
}
/* No text hiding or opacity tricks; no layout or transform changes. */