/* Be Positive blue brand refresh */
:root {
  --background: 200 100% 99%;
  --foreground: 215 28% 18%;
  --border: 201 45% 88%;
  --input: 201 45% 88%;
  --ring: 194 89% 52%;
  --card: 0 0% 100%;
  --card-foreground: 215 28% 18%;
  --card-border: 201 42% 92%;
  --popover: 0 0% 100%;
  --popover-foreground: 215 28% 18%;
  --popover-border: 201 45% 88%;
  --primary: 194 89% 52%;
  --primary-foreground: 215 28% 18%;
  --secondary: 37 90% 55%;
  --secondary-foreground: 20 30% 15%;
  --accent: 207 58% 44%;
  --accent-foreground: 0 0% 100%;
  --muted: 200 55% 96%;
  --muted-foreground: 214 18% 39%;
  --destructive: 0 70% 60%;
  --destructive-foreground: 0 0% 100%;
}

.dark {
  --background: 200 100% 99%;
  --foreground: 215 28% 18%;
  --border: 201 45% 88%;
  --input: 201 45% 88%;
  --ring: 194 89% 52%;
  --card: 0 0% 100%;
  --card-foreground: 215 28% 18%;
  --card-border: 201 42% 92%;
  --popover: 0 0% 100%;
  --popover-foreground: 215 28% 18%;
  --popover-border: 201 45% 88%;
  --primary: 194 89% 52%;
  --primary-foreground: 215 28% 18%;
  --secondary: 37 90% 55%;
  --secondary-foreground: 20 30% 15%;
  --accent: 207 58% 44%;
  --accent-foreground: 0 0% 100%;
  --muted: 200 55% 96%;
  --muted-foreground: 214 18% 39%;
  --destructive: 0 70% 60%;
  --destructive-foreground: 0 0% 100%;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* Soften the homepage scroll treatment: light blue / near-white hero rather than heavy blue. */
.bp-cine-hero {
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.95), transparent 22%),
    radial-gradient(circle at 18% 78%, rgba(22, 192, 243, 0.08), transparent 28%),
    radial-gradient(circle at 72% 74%, rgba(255, 196, 87, 0.08), transparent 24%),
    linear-gradient(135deg, #f9fdff 0%, #f1fbff 40%, #edf9fe 70%, #f8fcff 100%) !important;
}

.bp-cine-hero::before {
  border-color: rgba(22, 192, 243, 0.12);
  box-shadow:
    0 0 0 70px rgba(22, 192, 243, 0.04),
    0 0 0 150px rgba(22, 192, 243, 0.025);
}

.bp-cine-hero::after {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.92));
}

.bp-cine-copy::before {
  background: linear-gradient(90deg, rgba(22,192,243,0.18), rgba(255,255,255,0));
  opacity: 0.65;
}

.bp-cine-copy h1,
.bp-cine-copy h1 .text-primary-foreground,
.bp-cine-copy .text-primary-foreground {
  color: #163047 !important;
  text-shadow: none;
}

.bp-cine-copy h1 .text-primary,
.bp-cine-copy h1 .text-primary span,
.bp-cine-copy .text-primary {
  color: #16aee0 !important;
  text-shadow: none;
}

.bp-cine-copy p,
.bp-cine-copy .text-muted-foreground {
  color: rgba(22, 48, 71, 0.78) !important;
}

.bp-cine-copy .bg-muted,
.bp-cine-copy .bg-muted\/80 {
  background: rgba(22, 192, 243, 0.08) !important;
  color: #14506d !important;
  border: 1px solid rgba(22, 192, 243, 0.12);
  backdrop-filter: blur(10px);
}

.bp-cine-copy a[href="#start-here"] {
  background: #16c0f3 !important;
  color: #083b58 !important;
  box-shadow: 0 18px 40px rgba(13, 109, 168, 0.12);
}

.bp-cine-copy a[href="#start-here"]:hover {
  box-shadow: 0 22px 44px rgba(13, 109, 168, 0.16);
}

.bp-cine-visual::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(22, 192, 243, 0.14));
}

.bp-cine-visual img {
  filter: saturate(1.04) contrast(1.02);
}

.bp-cine-scroll-cue {
  color: rgba(255, 255, 255, 0.9);
}

.bp-cine-scroll-cue span {
  border-color: rgba(255, 255, 255, 0.65);
}

.bp-cine-scroll-cue span::after {
  background: #ffe39d;
}

/* Blue-tinted continuation sections. */
.bp-cine-stats {
  border-color: rgba(22, 192, 243, 0.18) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 24px 60px rgba(17, 117, 168, 0.08);
}

.bp-cine-stats h2,
.bp-cine-stats h3,
.bp-cine-stats .text-primary-foreground,
.bp-cine-choices h2,
.bp-cine-choices h3,
.bp-cine-stories h2,
.bp-cine-stories h3 {
  color: #115f8f !important;
}

.bp-cine-choices {
  background:
    radial-gradient(circle at 8% 24%, rgba(22, 192, 243, 0.10), transparent 25%),
    radial-gradient(circle at 94% 72%, rgba(255, 196, 87, 0.10), transparent 25%),
    #ffffff !important;
}

.bp-cine-choices::before {
  color: rgba(17, 95, 143, 0.05);
}

.bp-cine-stories {
  background:
    linear-gradient(120deg, rgba(245, 252, 255, 0.96), rgba(250, 253, 255, 0.94)),
    #eef9fe !important;
}

.bp-cine-stories::before {
  color: rgba(22, 192, 243, 0.08);
}

.bp-cine-stories::after {
  color: rgba(255, 196, 87, 0.08);
}

.bp-choice-card:hover,
.bp-story-card:hover {
  box-shadow: 0 18px 40px rgba(22, 192, 243, 0.10);
}

.bp-cine-partners.bp-is-visible img:hover {
  filter: grayscale(0) opacity(1);
}

.bp-cine-rail {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(22, 192, 243, 0.16);
  box-shadow: 0 10px 25px rgba(17, 95, 143, 0.10);
}

.bp-cine-dot {
  background: #b8ddee;
}

.bp-cine-dot.is-active {
  background: #16c0f3;
  border-color: #dff8ff;
  box-shadow: 0 0 0 4px rgba(22, 192, 243, 0.16);
}


/* Fix contrast: default blue-theme text should be dark unless explicitly restyled in the hero. */
#root .text-primary-foreground {
  color: #1f2937 !important;
}

#root .bg-primary,
#root a.bg-primary,
#root button.bg-primary {
  color: #083b58 !important;
}

.bp-cine-copy h1,
.bp-cine-copy h1 .text-primary-foreground,
.bp-cine-copy .text-primary-foreground,
.bp-cine-copy p,
.bp-cine-copy .text-muted-foreground,
.bp-cine-copy .bg-muted,
.bp-cine-copy .bg-muted\/80 {
  color: #ffffff !important;
}

.bp-cine-copy a[href="#start-here"] {
  color: #0d6da8 !important;
}

/* Cool the homepage photography so it fits the blue palette better. */
.bp-cine-visual img,
.bp-cine-choices img,
.bp-cine-stories img {
  filter: saturate(0.72) hue-rotate(168deg) brightness(1.05) contrast(0.95);
}

.bp-cine-visual::after {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(22, 192, 243, 0.14) 44%, rgba(22, 192, 243, 0.06) 72%),
    linear-gradient(to top, rgba(10, 54, 80, 0.12), transparent 38%);
  mix-blend-mode: screen;
}

.bp-choice-card,
.bp-story-card {
  background: rgba(255, 255, 255, 0.96);
}

/* Give standard buttons / accents the blue identity outside the hero too. */
a.bg-primary,
button.bg-primary,
.bg-primary {
  background-color: hsl(var(--primary)) !important;
}

.text-primary {
  color: hsl(var(--primary)) !important;
}

.border-primary {
  border-color: hsl(var(--primary)) !important;
}

/* Keep the funding strip clean and neutral. */
.bp-funding-logo-bar {
  background: #ffffff;
}


/* New hero photograph is already blue-balanced: show it naturally. */
.bp-cine-visual img {
  filter: saturate(1.02) brightness(1.01) contrast(1.01) !important;
}
