/* ============================================
   BLOOM — Premium Career Transition Platform
   CSS Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-ivory: #faf7f2;
  --bg-cream: #f5f0e8;
  --bg-warm-white: #fffdf9;
  --accent-rose: #c4929b;
  --accent-blush: #d4a5ac;
  --accent-blush-light: #e8cdd1;
  --deep-plum: #5b2245;
  --deep-wine: #6e2c50;
  --deep-aubergine: #3d1a30;
  --neutral-taupe: #b5a99a;
  --neutral-champagne: #d9cfc0;
  --neutral-sand: #e5ddd0;
  --text-charcoal: #2d2a26;
  --text-soft-black: #3a3632;
  --text-muted: #6b6560;
  --cta-primary: #8b3a62;
  --cta-primary-hover: #6e2c50;
  --cta-primary-active: #5b2245;
  --white: #ffffff;
  --overlay-dark: rgba(61, 26, 48, 0.65);
  --overlay-light: rgba(250, 247, 242, 0.92);
  --shadow-soft: 0 4px 24px rgba(45, 42, 38, 0.08);
  --shadow-medium: 0 8px 40px rgba(45, 42, 38, 0.12);
  --shadow-elevated: 0 16px 64px rgba(45, 42, 38, 0.16);
  --border-subtle: 1px solid rgba(181, 169, 154, 0.25);
  --section-padding: 6rem 0;
  --section-padding-lg: 8rem 0;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --cookie-bg: var(--deep-wine);
  --cookie-text: var(--white);
  --cookie-button-bg: var(--bg-warm-white);
  --cookie-button-text: var(--deep-wine);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.story-visual {
  position: sticky;
  top: 110px;
}

.story-visual-card {
  background: var(--white);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  min-height: 280px;
  transition: all 0.3s ease;
}

.story-visual-card h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--accent-rose);
}

.story-visual-card p {
  margin-bottom: 0.75rem;
}

.story-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.story-step {
  opacity: 0.45;
  transform: translateY(20px);
  transition: all 0.3s ease;
  padding-left: 1rem;
  border-left: 3px solid transparent;
}

.story-step.active {
  opacity: 1;
  transform: translateY(0);
  border-left-color: var(--cta-primary);
}

.story-step h4 {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ---------- Reduced Motion ---------- */

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text-charcoal);
  background-color: var(--bg-ivory);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--deep-plum);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.2rem;
  letter-spacing: 0.07rem;
}

h2 {
  font-size: 2.4rem;
  letter-spacing: 0.08rem;
}

h3 {
  font-size: 1.8rem;
  letter-spacing: 0.08rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-soft-black);
  font-size: 1.05rem;
}

a {
  color: var(--cta-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--cta-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Form inputs ---------- */
.form-check-input:checked {
  background-color: var(--cta-primary);
  border-color: var(--cta-primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(139, 58, 98, 0.25);
  border-color: var(--cta-primary);
}

/* ---------- Skip to Content ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cta-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  font-size: 1rem;
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
  outline: 3px solid var(--accent-rose);
  outline-offset: 2px;
}

.skip-link:focus:not(:focus-visible) {
  top: -100%;
}
.skip-link:focus-visible {
  top: 1rem;
  color: var(--white);
  outline: 3px solid var(--accent-rose);
  outline-offset: 2px;
}
/* ---------- Focus States ---------- */
*:focus-visible {
  outline: 3px solid var(--cta-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Navigation ---------- */
.navbar-bloom {
  background-color: var(--bg-warm-white);
  padding: 1rem 0;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base);
  position: sticky;
  top: 0;
  z-index: 1050;
}

.navbar-bloom.scrolled {
  padding: 0.6rem 0;
  box-shadow: var(--shadow-medium);
}

.navbar-bloom .navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-plum);
  letter-spacing: -0.02em;
}

.navbar-bloom .navbar-brand span {
  color: var(--accent-rose);
}

.navbar-bloom .nav-link {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft-black);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
}

.navbar-bloom .nav-link:hover,
.navbar-bloom .nav-link.active {
  color: var(--cta-primary);
  background-color: rgba(139, 58, 98, 0.06);
}

.navbar-bloom .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--cta-primary);
  border-radius: 2px;
}

.navbar-toggler {
  border: 2px solid var(--neutral-taupe);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 3px solid var(--cta-primary);
  outline-offset: 2px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235B2245' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Buttons ---------- */
.btn-bloom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  min-height: 52px;
  min-width: 160px;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn-bloom-primary {
  background-color: var(--cta-primary);
  color: var(--white);
}

.btn-bloom-primary:hover {
  background-color: var(--cta-primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-bloom-primary:active {
  background-color: var(--cta-primary-active);
  transform: translateY(0);
}

.btn-bloom-outline {
  background-color: transparent;
  color: var(--cta-primary);
  border: 2px solid var(--cta-primary);
}

.btn-bloom-outline:hover {
  background-color: var(--cta-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}
.btn-bloom-primary:hover,
.btn-bloom-primary:focus-visible {
  background-color: var(--cta-primary-hover);
  color: #fff;
}
.btn-bloom-outline:hover,
.btn-bloom-outline:focus-visible {
  background-color: var(--cta-primary);
  color: #fff;
  border-color: var(--cta-primary);
}

.btn-bloom-light:focus,
.btn-bloom-light:focus-visible {
  background-color: var(--accent-rose) !important;
  color: white;
  border: 2px solid var(--white);
}

.btn-bloom-light:hover {
  background-color: var(--bg-cream);
  color: var(--deep-plum);
  transform: translateY(-2px);
}

/* ============================================
   Hero buttons keyboard focus behavior
   ============================================ */

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-buttons .btn-bloom:focus-visible {
  outline: 3px solid var(--accent-rose);
  outline-offset: 3px;
}

/* When "Our Story" gets keyboard focus, change "Explore Programs" */
.hero-buttons:has(.btn-bloom-outline:focus-visible) .btn-bloom-primary {
  background-color: transparent;
  color: var(--cta-primary);
  border: 2px solid var(--cta-primary);
  box-shadow: none;
  transform: none;
}

/* Keep the focused outline button clear */
.hero-buttons .btn-bloom-outline:focus-visible {
  background-color: transparent;
  color: var(--cta-primary);
  border: 2px solid var(--cta-primary);
}

.btn-bloom-light {
  background-color: var(--white);
  color: var(--cta-primary);
  border: 2px solid var(--white);
}

.btn-bloom-light:hover {
  background-color: var(--bg-cream);
  color: var(--deep-plum);
  transform: translateY(-2px);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--bg-cream) 0%,
    var(--bg-ivory) 50%,
    var(--accent-blush-light) 100%
  );
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(
    ellipse,
    rgba(196, 146, 155, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 80%;
  background: radial-gradient(
    ellipse,
    rgba(91, 34, 69, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--deep-plum);
}

.hero-content h1 .accent {
  color: var(--accent-rose);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-image-placeholder {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    145deg,
    var(--neutral-champagne),
    var(--accent-blush-light)
  );
  border-radius: var(--radius-lg);
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.hero-image-placeholder .placeholder-text {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  opacity: 0.6;
  text-align: center;
  padding: 2rem;
}
::placeholder {
  color: #d1b3c0;
}

:focus-visible {
  outline: 3px solid #ffb6c1;
}
/* ---------- Section Styles ---------- */
.section-padding {
  padding: var(--section-padding);
}

.section-padding-lg {
  padding: var(--section-padding-lg);
}

.bg-cream {
  background-color: var(--bg-cream);
}

.bg-ivory {
  background-color: var(--bg-ivory);
}

.bg-warm-white {
  background-color: var(--bg-warm-white);
}

.bg-deep-plum {
  background-color: var(--deep-plum);
}

.bg-deep-plum h2,
.bg-deep-plum h3,
.bg-deep-plum h4,
.bg-deep-plum p,
.bg-deep-plum span {
  color: var(--white);
}

.bg-deep-plum .text-muted-light {
  color: var(--accent-blush-light);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header .section-label {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
}

.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Decorative Divider ---------- */
.divider-bloom {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-rose), var(--deep-plum));
  border-radius: 3px;
  margin: 1rem 0;
}

.text-center .divider-bloom {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Cards ---------- */
.card-bloom {
  background: var(--white);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-base);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-bloom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-blush);
}

.card-bloom .card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-blush-light),
    var(--bg-cream)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: var(--deep-plum);
}

.card-bloom h4 {
  margin-bottom: 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.card-bloom p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card-bloom.logo-card {
  padding: 0.2rem !important;
}
.program-body h4 {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

/* BOX INTERNO */
.logo-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem; /* Equal spacing on all sides */
  border-radius: var(--radius-md);
}

/* IMAGEM */
.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Overlapping card variant */
.card-overlap {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

/* ---------- Cards contact ---------- */
/* ---------- Contact Info Sidebar ---------- */
.opportunity-card h4 {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition-base);
}

.contact-info-card h4 {
  font-family: "Inter", sans-serif !important;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}
.contact-info-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--accent-blush);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-blush-light),
    var(--bg-cream)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--deep-plum);
}

.contact-info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cta-primary);
}

.contact-link:hover {
  color: var(--cta-primary-hover);
}

.contact-address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--text-soft-black);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-info-card-highlight {
  background: linear-gradient(
    135deg,
    rgba(139, 58, 98, 0.04),
    rgba(196, 146, 155, 0.08)
  );
  border-color: var(--accent-blush);
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info-card-highlight h4 {
  font-family: "Playfair Display", serif;
}

/* ---------- Image Placeholder ---------- */
.img-placeholder {
  background: linear-gradient(
    145deg,
    var(--neutral-champagne),
    var(--neutral-sand)
  );
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  overflow: hidden;
}

.img-placeholder-hero img {
  width: 100%;
  height: 550px;
  object-fit: cover; /* Fill without distortion */
  object-position: center top; /* Shows more of the top area */
  display: block;
  border-radius: var(--radius-lg);
}

.img-placeholder .placeholder-text {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.5;
  text-align: center;
  padding: 1.5rem;
}

/* ---------- Testimonials / Swiper ---------- */
.testimonial-section {
  position: relative;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  border: var(--border-subtle);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  color: var(--accent-blush-light);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-card blockquote {
  font-family: "Lora", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-soft-black);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.testimonial-author-info .name {
  font-weight: 600;
  color: var(--deep-plum);
  font-size: 0.95rem;
  display: block;
}

.testimonial-author-info .role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.swiper-pagination-bullet {
  background: var(--neutral-taupe);
  opacity: 0.4;
  width: 10px;
  height: 10px;
  transition: all var(--transition-base);
}

.swiper-pagination-bullet-active {
  background: var(--cta-primary);
  opacity: 1;
  width: 28px;
  border-radius: 5px;
}

/* ---------- Stats Section ---------- */
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--deep-plum);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.bg-deep-plum .stat-number {
  color: var(--accent-blush-light);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bg-deep-plum .stat-label {
  color: var(--neutral-champagne);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--deep-plum) 0%,
    var(--deep-wine) 60%,
    var(--cta-primary) 100%
  );
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(
    ellipse,
    rgba(196, 146, 155, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-banner h2,
.cta-banner p {
  color: var(--white);
}
.cta-banner h2 {
  letter-spacing: 0.1rem;
}

.cta-banner .btn-bloom-light {
  border-color: var(--white);
}

/* ---------- Programs / Services Cards ---------- */
.program-image {
  height: 320px; /* Ensures equal height */
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-subtle);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.program-card .program-image {
  background: linear-gradient(
    145deg,
    var(--neutral-champagne),
    var(--accent-blush-light)
  );
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.program-card .program-image .placeholder-text {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.program-card .program-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--cta-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.program-card .program-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-card .program-body p {
  flex: 1;
}

.program-card .program-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.program-card .program-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Opportunity Cards ---------- */
.opportunity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: var(--border-subtle);
  transition: all var(--transition-base);
  height: 100%;
}

.opportunity-card:hover {
  border-color: var(--accent-rose);
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.opportunity-card .opp-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.opp-type-career {
  background: rgba(139, 58, 98, 0.1);
  color: var(--cta-primary);
}

.opp-type-volunteer {
  background: rgba(196, 146, 155, 0.2);
  color: var(--deep-wine);
}

.opp-type-mentorship {
  background: rgba(91, 34, 69, 0.1);
  color: var(--deep-plum);
}

.opp-type-freelance {
  background: rgba(181, 169, 154, 0.25);
  color: var(--text-soft-black);
}

.opportunity-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.opportunity-card .opp-company {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.opportunity-card .opp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.opportunity-card .opp-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  background: var(--bg-cream);
  color: var(--text-muted);
  border-radius: var(--radius-xl);
  font-weight: 500;
}

/* ---------- Contact Form ---------- */
.form-bloom .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-charcoal);
  margin-bottom: 0.5rem;
}

.form-bloom .form-control,
.form-bloom .form-select {
  border: 2px solid var(--neutral-champagne);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  color: var(--text-charcoal);
  background-color: var(--white);
  transition: all var(--transition-base);
  min-height: 52px;
}

.form-bloom .form-control:focus,
.form-bloom .form-select:focus {
  border-color: var(--cta-primary);
  box-shadow: 0 0 0 3px rgba(139, 58, 98, 0.12);
}

.form-bloom .form-control::placeholder {
  color: var(--neutral-taupe);
}

.form-bloom textarea.form-control {
  min-height: 160px;
  resize: none !important;
}

.form-bloom .form-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-bloom .invalid-feedback {
  font-size: 0.85rem;
  font-weight: 500;
}

.form-success-message {
  display: none;
  background: rgba(139, 58, 98, 0.08);
  border: 2px solid var(--accent-rose);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.form-success-message.show {
  display: block;
}

/* ---------- About Page ---------- */
.about-values .value-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.about-values .value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-blush-light),
    var(--bg-cream)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
}

/*.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2.5rem;
  border-left: 2px solid var(--neutral-champagne);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cta-primary);
  border: 2px solid var(--white);
}

.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}*/

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--bg-cream) 0%,
    var(--accent-blush-light) 100%
  );
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 40%;
  height: 100%;
  background: radial-gradient(
    ellipse,
    rgba(91, 34, 69, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.page-hero .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.page-hero .breadcrumb-item {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.page-hero .breadcrumb-item a {
  color: var(--cta-primary);
}

.page-hero .breadcrumb-item.active {
  color: var(--deep-plum);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
  color: var(--neutral-taupe);
}

/* ---------- Footer ---------- */
.footer-bloom {
  background-color: var(--deep-aubergine);
  color: var(--neutral-champagne);
  padding: 4rem 0 0;
}

.footer-bloom h5 {
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.footer-bloom p {
  color: var(--neutral-champagne);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bloom a {
  color: var(--neutral-champagne);
  transition: color var(--transition-base);
  font-size: 0.9rem;
}

.footer-bloom a:hover {
  color: var(--accent-blush-light);
}

.footer-bloom .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list h5 {
  letter-spacing: 0.07rem;
}

.footer-bloom .footer-links li {
  margin-bottom: 0.6rem;
}

.footer-bloom .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-bloom .footer-links a::before {
  content: "\203A";
  font-size: 1.1rem;
  line-height: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(217, 207, 192, 0.7);
  margin: 0;
}
.footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 0.5rem;
}
/* Footer social links */
.footer-social a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

/* ---------- Newsletter Inline ---------- */
.newsletter-inline {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}

.newsletter-inline .input-group {
  gap: 0.5rem;
}

.newsletter-inline .form-control {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.newsletter-inline .form-control::placeholder {
  color: rgba(217, 207, 192, 0.5);
}

.newsletter-inline .btn {
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ---------- Layered / Editorial Elements ---------- */
.editorial-offset {
  position: relative;
}

/*.editorial-offset .offset-bg {
  position: absolute;
  top: 0.8rem;
  left: -0.3rem;
  right: -0.5rem;
  bottom: -0.5rem;
  background: var(--accent-blush-light);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.3;
}

.editorial-offset .offset-content {
  position: relative;
  z-index: 1;
}

.editorial-offset {
  position: relative;
}*/

.editorial-offset img {
  height: 500px;
  width: 100%;
  object-fit: cover;
}
/* ---------- Feature List ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-soft-black);
}

.feature-list li .feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-blush-light),
    var(--bg-cream)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--cta-primary);
  margin-top: 0.1rem;
}

#opp-reset-filters {
  width: 46px !important;
  height: 50px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
}
/* ---------- Filter Buttons ---------- */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-xl);
  border: 2px solid var(--neutral-champagne);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--cta-primary);
  background: var(--cta-primary);
  color: var(--white);
}
/* ============================================
   Filled buttons - stronger keyboard focus
   ============================================ */

.btn-bloom-primary:focus,
.btn-bloom-primary:focus-visible {
  background-color: var(--cta-primary-hover);
  color: var(--white);
  outline: 3px solid var(--accent-rose);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(212, 165, 172, 0.35);
  border: none;
}

/* Optional: make mouse hover a little clearer too */
.btn-bloom-primary:hover {
  background-color: var(--cta-primary-hover);
  color: var(--white);
}

/* ---------- Responsive ---------- */

/* ---------- Utility Classes ---------- */
.text-plum {
  color: var(--deep-plum);
}

.text-rose {
  color: var(--accent-rose);
}

.text-muted-custom {
  color: var(--text-muted);
}

.bg-gradient-bloom {
  background: linear-gradient(
    135deg,
    var(--bg-cream) 0%,
    var(--accent-blush-light) 100%
  );
}

.border-bloom {
  border: var(--border-subtle);
}

.rounded-bloom {
  border-radius: var(--radius-lg);
}

.shadow-bloom {
  box-shadow: var(--shadow-soft);
}

/* ---------- Swiper Custom ---------- */
.swiper {
  padding-bottom: 3rem;
}

.swiper-slide {
  height: auto;
}

/* ---------- AOS Override ---------- */
[data-aos] {
  transition-duration: 0.6s;
}

/* ---------- Print Styles ---------- */

/* ---------- Hero Image (Real Images) ---------- */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  max-height: 550px;
}

.hero-image-wrapper .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  max-height: 550px;
}

/* ---------- Search & Filter System ---------- */
.opp-search-filter {
  background: var(--white);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

.opp-search-filter .form-label {
  font-size: 0.88rem;
  color: var(--text-charcoal);
  margin-bottom: 0.4rem;
}

.opp-search-filter .form-control,
.opp-search-filter .form-select {
  border: 2px solid var(--neutral-champagne);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-charcoal);
  background-color: var(--white);
  transition: all var(--transition-base);
  min-height: 48px;
}

.opp-search-filter .form-control:focus,
.opp-search-filter .form-select:focus {
  border-color: var(--cta-primary);
  box-shadow: 0 0 0 3px rgba(139, 58, 98, 0.12);
}

.opp-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Form Error Message ---------- */
.form-error-message {
  background: rgba(185, 28, 28, 0.06);
  border: 2px solid rgba(185, 28, 28, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
}

/* ---------- Accessibility Toolbar ---------- */
.a11y-toolbar-toggle {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 1060;

  width: 52px;
  height: 52px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;
  background: var(--cta-primary);
  color: var(--white);

  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;

  box-shadow: var(--shadow-medium);
  transition: all var(--transition-base);
}

/* Thin ring perfectly centered alignment  */
.a11y-toolbar-toggle::after {
  content: "";
  position: absolute;

  top: 50%;
  left: 50%;

  width: 58px; /* Ring size */
  height: 58px;

  transform: translate(-50%, -50%);

  border: 1.5px solid var(--cta-primary-hover);
  border-radius: 50%;

  pointer-events: none;
  box-sizing: border-box;
}

/* Hover */
.a11y-toolbar-toggle:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

/* Focus visible */
.a11y-toolbar-toggle:focus-visible {
  outline: 3px solid var(--accent-rose);
  outline-offset: 4px;
}

.a11y-panel {
  position: fixed;
  bottom: 8.5rem;
  right: 2rem;
  z-index: 1059;
  width: 300px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--white);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 1.5rem;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.a11y-panel.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.a11y-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--deep-plum);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--neutral-champagne);
}

.a11y-panel-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--neutral-champagne);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-charcoal);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-bottom: 0.5rem;
  text-align: left;
  min-height: 48px;
}

.a11y-panel-btn:hover {
  border-color: var(--cta-primary);
  background: rgba(139, 58, 98, 0.04);
}

.a11y-panel-btn:focus-visible {
  outline: 3px solid var(--cta-primary);
  outline-offset: 2px;
}

.a11y-panel-btn.active {
  border-color: var(--cta-primary);
  background: rgba(139, 58, 98, 0.08);
  color: var(--cta-primary);
  font-weight: 600;
}

.a11y-panel-btn .a11y-icon {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-size: 1.1rem;
}

.a11y-panel-reset {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  border: 2px solid var(--neutral-champagne);
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  min-height: 44px;
}

.a11y-panel-reset:hover {
  border-color: var(--cta-primary);
  color: var(--cta-primary);
}

/* ---------- Highlight Links ---------- */
/* Highlight links - only regular text links */
body.a11y-highlight-links main a:not(.btn-bloom):not(.contact-info-card),
body.a11y-highlight-links .footer-bloom a:not(.btn-bloom) {
  background-color: rgba(255, 255, 0, 0.28) !important;
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  outline: 2px solid rgba(255, 255, 0, 0.65);
  padding: 0 2px;
  border-radius: 3px;
}

/* Highlight for clickable cards (keep rounded shape) */
body.a11y-highlight-links .contact-info-card {
  outline: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 0 0 3px #ffd84d !important;
}

body.a11y-highlight-links .contact-info-card .contact-link {
  display: inline;
  background-color: rgba(255, 255, 0, 0.28) !important;
  color: #2d2a26 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  box-shadow: 0 0 0 2px rgba(255, 255, 0, 0.65);
  border-radius: 3px;
  padding: 0 2px;
}

/* Do not add yellow background to buttons */
body.a11y-highlight-links .btn-bloom {
  background-color: inherit;
  text-decoration: none !important;
  outline: 3px solid #ffd84d !important;
  outline-offset: 4px;
}

/* Keep primary buttons readable */
body.a11y-highlight-links .btn-bloom-primary {
  background-color: var(--cta-primary) !important;
  color: #ffffff !important;
}

/* Keep outline buttons readable */
body.a11y-highlight-links .btn-bloom-outline {
  background-color: transparent !important;
  color: var(--cta-primary) !important;
  border-color: var(--cta-primary) !important;
}

/* Highlight Links - CTA buttons inside dark banners */
body.a11y-highlight-links .cta-banner .btn-bloom,
body.a11y-highlight-links .cta-banner .btn-bloom-light,
body.a11y-highlight-links .cta-banner .btn-bloom-outline {
  color: #ffffff !important;
  border-color: #ffd84d !important;
  background: transparent !important;
  outline: 3px solid #ffd84d !important;
  outline-offset: 4px;
  text-decoration: none !important;
}

/* Hover/focus for CTA buttons */
body.a11y-highlight-links .cta-banner .btn-bloom:hover,
body.a11y-highlight-links .cta-banner .btn-bloom:focus-visible {
  background: #ffd84d !important;
  color: #2d1a28 !important;
  border-color: #ffd84d !important;
}

/* ---------- Reduce Motion ---------- */
body.a11y-reduce-motion *,
body.a11y-reduce-motion *::before,
body.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

body.a11y-reduce-motion [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ---------- Responsive Enhancements ---------- */

/* Contact page adjustments */

.navbar-bloom .nav-link:focus,
.navbar-bloom .nav-link:focus-visible {
  outline: 3px solid var(--cta-primary) !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
  border-radius: 8px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    var(--accent-blush-light),
    var(--neutral-champagne)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ============================================
   Mobile spacing fix for floating buttons
   ============================================ */

/*
@media (max-width: 450px) {
  .a11y-toolbar-toggle {
    bottom: 7.5rem !important;
    right: 1.4rem !important;
  }*/

.btn-bloom.btn-bloom-primary[aria-label="Back to top"] {
  bottom: 0.9rem !important;
  right: 1.4rem !important;
}
.btn-bloom:focus {
  outline: 3px solid var(--accent-rose);
  outline-offset: 2px;
}
/* Mail */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-success {
  display: none;
  margin: 0.8rem 0 0;
  color: var(--neutral-champagne);
  font-size: 0.88rem;
  line-height: 1.5;
}

.newsletter-success.show {
  display: block;
}

/* Storytelling */
/* ===== JOURNEY SCROLLTELLING ===== */
/*
.journey-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  margin-top: 4rem;
}

.journey-left {
  position: sticky;
  top: 120px;
}

.journey-image {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.journey-image img {
  width: 100%;
  display: block;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.journey-image img.is-changing {
  opacity: 0;
  transform: scale(1.03);
}

/* TIMELINE */
/*
.journey-right {
  position: relative;
  padding-left: 3rem;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(155, 75, 120, 0.25);
}

.timeline-item {
  position: relative;
  margin-bottom: 6.5rem;
  opacity: 0.4;
  transition: all 0.35s ease;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -3.2rem;
  top: 6px;
  width: 10px;
  height: 10px;
  background: #c9a6b6;
  border-radius: 50%;
}*/

.timeline-year {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #a1748b;
  margin-bottom: 0.3rem;
}

.timeline-item h3 {
  font-family: "Playfair Display", serif;
  color: #6b234f;
  margin-bottom: 0.8rem;
}

.timeline-item p {
  color: #4a4542;
  line-height: 1.7;
  max-width: 600px;
}

/* ACTIVE STATE */

.timeline-item.active {
  opacity: 1;
  transform: translateX(10px);
}

.timeline-item.active .timeline-dot {
  width: 16px;
  height: 16px;
  background: #6b234f;
  box-shadow: 0 0 0 6px rgba(107, 35, 79, 0.12);
}

.timeline-item.active h3 {
  font-weight: 700;
}

/* ACCESSIBILITY */

/* MOBILE */

/* ============================================
   About Page — Journey Scrolltelling
   ============================================ */

.journey-section {
  overflow: visible;
}

.journey-grid {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 5.5rem;
  margin-top: 4rem;
  align-items: flex-start;
}

.journey-left {
  position: sticky;
  top: 170px;
  align-self: flex-start;
}

.journey-image {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 55px rgba(80, 45, 60, 0.12);
}

.journey-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.journey-image img.is-changing {
  opacity: 0;
  transform: scale(1.03);
}

.journey-right {
  position: relative;
  padding-left: 5rem;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bg-cream);
}

.timeline-item {
  position: relative;
  padding-bottom: 8rem;
  opacity: 0.35;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  display: none !important;
}

.timeline-dot {
  position: absolute;
  left: -5rem;
  transform: translateX(-47%);
  top: 0.65rem;

  width: 14px;
  height: 14px;
  border-radius: 50%;

  background: var(--cta-primary);
  opacity: 0.6;

  outline: 6px solid var(--bg-ivory);
}

.timeline-year {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--cta-primary);
}

.timeline-item h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--deep-plum);
  margin-bottom: 1rem;
}

.timeline-item p {
  max-width: 660px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-soft-black);
}

.timeline-item.active {
  opacity: 1;
  transform: translateX(6px);
}

.timeline-item.active .timeline-dot {
  transform: translateX(-70%);

  width: 22px;
  height: 22px;

  background: var(--cta-primary);
  opacity: 1;

  outline: 8px solid var(--bg-ivory);
  box-shadow: 0 0 0 6px rgba(139, 58, 98, 0.15);
}

.timeline-item.active p {
  color: var(--text-soft-black);
  font-weight: 500;
}

/* Accessibility */

/* Mobile */

/* Accessibility fixes */

/* Avoid low contrast from opacity on text-heavy blocks */
.story-step,
.timeline-item {
  opacity: 1;
}

/* Visual inactive timeline style without reducing text readability */
.timeline-item:not(.active) {
  color: var(--text-muted);
}

.timeline-item:not(.active) h3,
.timeline-item:not(.active) p,
.timeline-item:not(.active) .timeline-year {
  color: var(--text-muted);
}

/* Better readable muted text */
.hero-subtitle,
.section-desc,
.text-muted-custom,
.card-bloom p,
.contact-info-card p {
  color: var(--text-soft-black);
}

/* Keep links identifiable */
main a:not(.btn-bloom) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Strong focus for cards if they receive focus */
.card-bloom:focus-visible,
.program-card:focus-visible,
.opportunity-card:focus-visible,
.contact-info-card:focus-visible {
  outline: 3px solid var(--cta-primary);
  outline-offset: 4px;
}

/* Textarea: remove resize handle */
#contact-message {
  resize: none !important;
}

/* Timeline image is decorative for assistive tech */
.journey-image[aria-hidden="true"] img {
  pointer-events: none;
}

/* Fix CTA outline button readability */
.cta-banner .btn-bloom-outline,
.cta-banner .cta-outline-light {
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  background: transparent !important;
  opacity: 1 !important;
}

.cta-banner .btn-bloom-outline:hover,
.cta-banner .btn-bloom-outline:focus-visible,
.cta-banner .cta-outline-light:hover,
.cta-banner .cta-outline-light:focus-visible {
  background: #ffffff !important;
  color: var(--cta-primary) !important;
  border-color: #ffffff !important;
}

/* Balanced version */
.bg-ivory .card-bloom {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Mobile accessibility tab only */

/* Safari fix - keep heart icons plum */
.card-bloom .card-icon,
.about-values .value-icon {
  color: var(--deep-plum) !important;
  -webkit-text-fill-color: var(--deep-plum) !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-variant-emoji: text;
}
/* Fix tablet horizontal overflow / background breaking */

/* ============================================
   Responsive Styles
   ============================================ */
/* ---------- Tablet Overflow Fix ---------- */
@media (max-width: 1024px) and (min-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-section,
  main,
  section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-section {
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero-section .container {
    max-width: 100%;
  }

  .hero-section .row {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-section [class*="col-"] {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: none !important;
  }
}
/* ---------- Tablet Floating Buttons Alignment ---------- */
@media (max-width: 1024px) and (min-width: 768px) {
  .a11y-toolbar-toggle {
    right: 1rem !important;
  }

  .btn-bloom.btn-bloom-primary[aria-label="Back to top"] {
    right: 1rem !important;
  }
}
/* ---------- Tablet Layout ---------- */
@media (max-width: 991.98px) {
  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-visual {
    position: static;
  }

  .story-steps {
    gap: 2rem;
  }

  .story-step {
    opacity: 1;
    transform: none;
  }

  /* --- Merged rules from another matching media block --- */
  html {
    font-size: 17px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-section {
    min-height: 70vh;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-padding-lg {
    padding: 5rem 0;
  }

  .cta-banner {
    padding: 3rem 2rem;
  }

  .page-hero {
    padding: 4rem 0 3rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }
  .a11y-toolbar-toggle {
    right: 1rem;
    bottom: 6.2rem;
    width: 48px;
    height: 48px;
  }

  .btn-bloom.btn-bloom-primary[aria-label="Back to top"] {
    right: 1rem !important;
    bottom: 1rem !important;
    width: 48px !important;
    height: 48px !important;
  }

  /* --- Merged rules from another matching media block --- */
  .hero-image-wrapper {
    height: 400px;
    margin-top: 2rem;
    overflow: hidden;
  }

  .hero-image-wrapper .hero-img {
    object-fit: cover;
    object-position: center 35%;
  }

  .opp-search-filter {
    padding: 1.5rem;
  }

  .a11y-panel {
    right: 1rem;
    width: 280px;
    bottom: 8rem;
  }

  .a11y-toolbar-toggle {
    right: 1rem;
    bottom: 5rem;
  }
}
/* ---------- Journey Section Tablet/Mobile ---------- */
@media (max-width: 900px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .journey-left {
    position: relative;
    top: auto;
  }

  .journey-right {
    padding-left: 2rem;
  }

  .timeline-dot {
    left: -2rem;
  }

  /* --- Merged rules from another matching media block --- */
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .journey-left {
    position: relative;
    top: auto;
  }

  .journey-image {
    max-width: 100%;
  }

  .journey-image img {
    height: 280px;
  }

  .journey-right {
    padding-left: 3rem;
  }

  .timeline-dot {
    left: -3rem;
    transform: translateX(-50%);
  }

  .timeline-item.active .timeline-dot {
    left: -3rem;
    transform: translateX(-70%);
  }

  .timeline-item {
    padding-bottom: 4.5rem;
  }

  @media (max-width: 575px) {
    .container,
    .section,
    .journey-container {
      padding-left: 2rem;
      padding-right: 1.8rem;
    }
  }
}
/* ---------- Mobile Layout ---------- */
@media (max-width: 767.98px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  .hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .hero-image-placeholder {
    min-height: 280px;
    margin-top: 2rem;
  }

  .card-bloom {
    padding: 1.75rem;
  }

  .testimonial-card {
    padding: 1.75rem;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .card-overlap {
    margin-top: 0;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .btn-bloom {
    display: block;
    margin: 0 auto;
  }

  .btn-bloom-parent {
    /* Or the wrapper div */
    display: flex;
    justify-content: center;
  }

  /* --- Merged rules from another matching media block --- */
  .a11y-toolbar-toggle {
    right: 0;
    top: 60%;
  }
  .hero-image-wrapper {
    max-height: 320px;
  }

  .hero-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    object-position: center;
  }

  .opp-search-filter {
    padding: 1.25rem;
  }

  .opp-search-filter .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .a11y-panel {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 7.5rem;
  }

  .a11y-toolbar-toggle {
    right: 0.75rem;
    bottom: 4.5rem;
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
  .section-padding.bg-ivory .btn-bloom-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem auto 0;
    width: fit-content;
  }

  .bg-cream[aria-labelledby="why-bloom-heading"]
    .btn-bloom.btn-bloom-primary.mt-3 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 220px;
    max-width: 280px;
    margin: 1.25rem auto 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .bg-cream[aria-labelledby="why-bloom-heading"] {
    text-align: center;
  }

  /* --- Merged rules from another matching media block --- */
  .a11y-toolbar-toggle {
    bottom: 6.75rem !important;
    right: 1.2rem !important;
  }

  .btn-bloom.btn-bloom-primary[aria-label="Back to top"] {
    bottom: 1rem !important;
    right: 1.2rem !important;
  }

  /* --- Merged rules from another matching media block --- */
  .a11y-toolbar-toggle {
    position: fixed !important;
    top: 60% !important;
    right: 0 !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;

    width: 30px !important;
    height: 58px !important;
    min-width: 0 !important;
    padding: 0 !important;

    border-radius: 18px 0 0 18px !important;
    background: var(--cta-primary) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 1060 !important;
    box-shadow: var(--shadow-medium);
  }

  .a11y-toolbar-toggle::after {
    display: none !important;
  }

  .a11y-toolbar-toggle:hover {
    transform: translateY(-50%) !important;
  }
  /* Fix full width background (mobile) */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  section,
  .hero-section,
  .page-hero {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-section .container,
  .page-hero .container {
    max-width: 100%;
    width: 100%;
  }

  .hero-section .row,
  .page-hero .row {
    margin-left: 0;
    margin-right: 0;
  }
}
/* ---------- Small Mobile Layout ---------- */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .btn-bloom {
    padding: 0.8rem 1.5rem;
    min-width: 140px;
    font-size: 0.95rem;
  }

  .program-card .program-image {
    min-height: 180px;
  }
}
/* ---------- Extra Small Mobile Layout ---------- */
@media (max-width: 450px) {
  /* .a11y-toolbar-toggle {
      right: 0.6rem !important;
      bottom: 5.2rem !important;
      width: 44px;
      height: 44px;
    }
    */

  .a11y-toolbar-toggle {
    width: 38px;
    height: 52px;
    top: 65%;
  }

  .btn-bloom.btn-bloom-primary[aria-label="Back to top"] {
    right: 0.2rem !important;
    width: 44px !important;
    height: 44px !important;
  }
  /* Home hero */
  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    gap: 0.75rem !important;
  }

  .hero-image-wrapper {
    max-height: 240px;
    margin-top: 1.5rem;
  }

  .hero-image-wrapper .hero-img {
    max-height: 240px;
  }

  /* General section spacing */
  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .section-padding-lg {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .section-header .section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Statistics section */
  .bg-warm-white .row.g-4 {
    --bs-gutter-y: 0.75rem;
    --bs-gutter-x: 0.75rem;
  }

  .stat-item {
    padding: 0.35rem 0.15rem;
  }

  .stat-number {
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 0.2rem;
  }

  .stat-label {
    font-size: 0.72rem;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }

  /* Reduce the space between the numbers */
  .bg-warm-white .col-6 {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  /* Add a little more space above the stats section */
  .bg-warm-white.section-padding {
    padding-top: 3rem;
  }

  /* What We Do section */
  #what-we-do-heading {
    font-size: 1.45rem;
  }

  .bg-ivory[aria-labelledby="what-we-do-heading"] .section-header {
    margin-bottom: 1.5rem;
  }

  .bg-ivory[aria-labelledby="what-we-do-heading"] .row.g-4 {
    --bs-gutter-y: 1rem;
  }

  .card-bloom {
    padding: 1.25rem;
  }

  .card-bloom .card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .card-bloom h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .card-bloom p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Why Bloom section */
  .section-padding-lg.bg-cream {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .bg-cream .row.align-items-center.g-5 {
    --bs-gutter-y: 1.5rem;
  }

  .editorial-offset img {
    height: 260px;
  }

  .rounded-bloom {
    border-radius: 16px;
  }

  /* Keep heading centered, but keep body text aligned like the rest */
  .bg-cream[aria-labelledby="why-bloom-heading"] .section-label,
  .bg-cream[aria-labelledby="why-bloom-heading"] h2 {
    text-align: center;
  }

  .bg-cream[aria-labelledby="why-bloom-heading"] p {
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .bg-cream[aria-labelledby="why-bloom-heading"] .divider-bloom {
    margin-left: auto;
    margin-right: auto;
  }

  .bg-cream[aria-labelledby="why-bloom-heading"] .feature-list {
    text-align: left;
  }

  .bg-cream[aria-labelledby="why-bloom-heading"] .feature-list li {
    font-size: 0.92rem;
    gap: 0.65rem;
    padding: 0.5rem 0;
    text-align: left;
  }

  /* Center Learn More About Us button */
  .bg-cream[aria-labelledby="why-bloom-heading"]
    .btn-bloom.btn-bloom-primary.mt-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 1.25rem auto 0;
  }

  /* Reduce top space above "What We Do" and this section */
  .bg-ivory[aria-labelledby="what-we-do-heading"] {
    padding-top: 2.25rem;
  }

  .section-padding-lg.bg-cream {
    padding-top: 2.5rem;
  }

  /* Featured program images */
  .program-image {
    height: 220px;
  }

  .program-card .program-body {
    padding: 1.25rem;
  }

  .program-card .program-body h4 {
    font-size: 1.05rem;
  }

  .program-card .program-body p {
    font-size: 0.88rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1.25rem;
  }

  .testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* CTA */
  .cta-banner {
    padding: 2rem 1rem;
  }

  .cta-banner h2 {
    font-size: 1.45rem;
  }

  .cta-banner p {
    font-size: 0.92rem !important;
  }

  /* Buttons */
  .btn-bloom {
    min-width: 132px;
    min-height: 46px;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

  /* About page */

  .page-hero {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .page-hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .page-hero .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100% !important;
    margin-bottom: 0;
  }

  .page-hero .breadcrumb {
    margin-bottom: 1rem;
  }

  .page-hero .breadcrumb-item {
    font-size: 0.8rem;
  }

  /* General spacing for About sections */
  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .section-header .section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  /* Mission section */
  #mission-heading {
    font-size: 1.45rem;
  }

  .img-placeholder-hero {
    min-height: auto !important;
  }

  .img-placeholder-hero img {
    height: 240px;
    object-position: center;
  }

  /* Values section */
  .about-values .value-item {
    padding: 1.25rem 1rem;
  }

  .about-values .value-icon {
    width: 62px;
    height: 62px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .about-values h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .about-values .text-muted-custom {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Journey section */
  #journey-heading {
    font-size: 1.45rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .timeline-item::before {
    left: -6px;
    top: 0.35rem;
    width: 10px;
    height: 10px;
  }

  .timeline-item h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
  }

  .timeline-item p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
  }

  .bg-ivory[aria-labelledby="journey-heading"] .img-placeholder-hero {
    min-height: auto !important;
  }

  .bg-ivory[aria-labelledby="journey-heading"] .img-placeholder-hero img {
    height: 220px;
  }

  /* Team section */
  #team-heading {
    font-size: 1.5rem;
  }

  .bg-cream[aria-labelledby="team-heading"] .row.g-4 {
    --bs-gutter-y: 1rem;
  }

  .bg-cream[aria-labelledby="team-heading"] .card-bloom {
    padding: 1.25rem;
  }

  .bg-cream[aria-labelledby="team-heading"] .img-placeholder {
    width: 110px !important;
    height: 110px !important;
    min-height: 110px !important;
    overflow: hidden;
    border-radius: 50% !important;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Essential: controls face positioning */
  .bg-cream[aria-labelledby="team-heading"] .img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
  }
  .bg-cream[aria-labelledby="team-heading"] h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }

  .bg-cream[aria-labelledby="team-heading"] p {
    font-size: 0.88rem !important;
    line-height: 1.6;
  }

  /* CTA banner on About */
  .cta-banner {
    padding: 2rem 1rem;
  }

  .cta-banner h2 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .cta-banner p {
    font-size: 0.92rem !important;
    line-height: 1.6;
    max-width: 100% !important;
  }

  /* Buttons */
  .btn-bloom {
    min-width: 132px;
    min-height: 46px;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Programs page */

  .page-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.25rem;
  }

  .page-hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .page-hero .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100% !important;
  }

  .page-hero .breadcrumb {
    margin-bottom: 1rem;
  }

  .page-hero .breadcrumb-item {
    font-size: 0.8rem;
  }

  /* General spacing */
  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .section-header .section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  /* Programs overview intro */
  #programs-overview-heading {
    font-size: 1.45rem;
  }

  /* Main program sections with big image + text */
  .program-card[style*="background: transparent"] .program-image,
  .program-card[style*="background: transparent"] {
    min-height: auto !important;
    height: auto !important;
  }

  .program-card[style*="background: transparent"] .program-image img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .program-card[style*="background: transparent"] .program-badge {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.68rem;
    padding: 0.3rem 0.7rem;
  }

  .section-padding.bg-ivory h3 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .section-padding.bg-ivory p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* Small number cards inside main program sections */
  .section-padding.bg-ivory .row.g-3 {
    --bs-gutter-x: 0.7rem;
    --bs-gutter-y: 0.7rem;
  }

  .section-padding.bg-ivory .card-bloom[style*="text-align: center"] {
    padding: 0.9rem !important;
  }

  .section-padding.bg-ivory .card-bloom strong {
    font-size: 1.05rem !important;
  }

  .section-padding.bg-ivory .card-bloom p {
    font-size: 0.74rem !important;
    line-height: 1.35;
  }

  /* Feature list */
  .feature-list li {
    font-size: 0.9rem;
    line-height: 1.55;
    gap: 0.65rem;
    padding: 0.5rem 0;
  }

  .feature-list li .feature-icon {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  /* Horizontal rules between programs */
  .section-padding.bg-ivory hr.my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  /* Apply Now buttons */
  .section-padding.bg-ivory .btn-bloom-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem auto 0;
    width: fit-content;
  }

  /* Specialized program cards */
  #more-programs-heading {
    font-size: 1.45rem;
  }

  .program-card .program-image {
    height: 210px;
    min-height: 210px;
  }

  .program-card .program-body {
    padding: 1.2rem;
  }

  .program-card .program-body h4 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .program-card .program-body p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .program-card .program-meta {
    gap: 0.8rem;
    font-size: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
  }

  /* How it works */
  #how-it-works-heading {
    font-size: 1.45rem;
  }

  .bg-ivory[aria-labelledby="how-it-works-heading"] .card-bloom {
    padding: 1.25rem;
  }

  .bg-ivory[aria-labelledby="how-it-works-heading"] .card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.1rem !important;
    margin-bottom: 1rem;
  }

  .bg-ivory[aria-labelledby="how-it-works-heading"] h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .bg-ivory[aria-labelledby="how-it-works-heading"] p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* CTA */
  .cta-banner {
    padding: 2rem 1rem;
  }

  .cta-banner h2 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .cta-banner p {
    font-size: 0.92rem !important;
    line-height: 1.6;
    max-width: 100% !important;
  }

  /* Buttons */
  .btn-bloom {
    min-width: 132px;
    min-height: 46px;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Opportunities page */
  @media (max-width: 450px) {
    .a11y-toolbar-toggle::after {
      width: 52px;
      height: 52px;
    }
    /* HERO */
    .page-hero {
      padding-top: 2.5rem;
      padding-bottom: 2.25rem;
    }

    .page-hero h1 {
      font-size: 1.9rem;
      margin-bottom: 0.75rem;
    }

    .page-hero .hero-subtitle {
      font-size: 0.95rem;
      line-height: 1.6;
      max-width: 100% !important;
    }

    /*GENERAL SPACING*/
    .section-padding {
      padding-top: 2.5rem;
      padding-bottom: 2.5rem;
    }

    .section-header {
      margin-bottom: 1.75rem;
    }

    .section-header h2 {
      font-size: 1.45rem;
      line-height: 1.25;
    }

    .section-header p {
      font-size: 0.95rem;
    }

    /*IMAGE INTRO*/
    .img-placeholder {
      min-height: auto !important;
    }

    .img-placeholder img {
      height: 240px;
      object-fit: cover;
    }

    /* SEARCH / FILTER*/
    .opp-search-filter {
      padding: 1.25rem;
    }

    .opp-search-filter .form-control,
    .opp-search-filter .form-select {
      font-size: 0.9rem;
      padding: 0.6rem 0.9rem;
    }

    #opp-results-count {
      font-size: 0.8rem !important;
    }

    /* Reset button */
    #opp-reset-filters {
      width: 44px !important;
      height: 44px;
      padding: 0 !important;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 50%;
      font-size: 1.1rem;

      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    /* Icon inside */
    #opp-reset-filters i,
    #opp-reset-filters {
      font-size: 1.2rem; /* Symbol size */
    }
    /*  FILTER BUTTONS*/
    .filter-buttons {
      justify-content: center;
      gap: 0.4rem;
    }

    .filter-btn {
      font-size: 0.75rem;
      padding: 0.45rem 0.8rem;
    }

    /* OPPORTUNITY CARDS*/
    .opportunity-card {
      padding: 1.25rem;
    }

    .opportunity-card h4 {
      font-size: 1.05rem;
    }

    .opportunity-card p {
      font-size: 0.88rem;
      line-height: 1.6;
    }

    .opp-company {
      font-size: 0.8rem;
    }

    .opp-tag {
      font-size: 0.7rem;
      padding: 0.2rem 0.55rem;
    }

    .opp-type {
      font-size: 0.65rem;
    }

    /*  SPACE BETWEEN TAGS AND BUTTON */
    .opportunity-card .opp-tags {
      margin-bottom: 1.3rem;
    }

    .opportunity-card .btn-bloom {
      margin-top: 0.4rem;
    }

    /*GRID*/
    #opportunities-grid {
      --bs-gutter-y: 1rem;
    }

    /*PARTNERS LOGOS */

    /* Reduce lateral spacing */
    .bg-warm-white .row.g-4 {
      --bs-gutter-x: 0.2rem;
      --bs-gutter-y: 0.5rem;
    }

    .bg-warm-white .row.g-4 > div {
      padding-left: 0.2rem;
      padding-right: 0.2rem;
    }

    /* Remove white space inside */
    .logo-box {
      padding: 0.3rem;
    }

    .logo-card {
      padding: 0.05rem !important;
    }

    /* Bigger logos */
    .logo-box img {
      max-width: 100%;
      max-height: 85px;
      object-fit: contain;
    }

    /* =========================
       CTA
    ========================= */
    .cta-banner {
      padding: 2rem 1rem;
    }

    .cta-banner h2 {
      font-size: 1.45rem;
    }

    .cta-banner p {
      font-size: 0.92rem !important;
    }

    /* =========================
        BUTTONS CENTERED
    ========================= */

    .opportunity-card .btn-bloom {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 1rem auto 0;
      width: fit-content;
    }

    .cta-banner .btn-bloom {
      display: flex;
      justify-content: center;
      margin-left: auto;
      margin-right: auto;
      width: fit-content;
    }

    /* Fix Bootstrap w-100 */
    .btn-bloom.w-100 {
      width: fit-content !important;
    }
  }

  /* Contact page */
  /* =========================
       HERO
    ========================= */
  .page-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.25rem;
  }

  .page-hero h1 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
  }

  .page-hero .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100% !important;
  }

  /* =========================
       GENERAL SPACING
    ========================= */
  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* =========================
       CONTACT FORM
    ========================= */
  .form-bloom {
    padding: 0;
  }

  .form-bloom .form-label {
    font-size: 0.85rem;
  }

  .form-bloom .form-control,
  .form-bloom .form-select {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    min-height: 46px;
  }

  .form-bloom textarea.form-control {
    min-height: 130px;
  }

  /* Reduce spacing between inputs */
  .form-bloom .mb-3 {
    margin-bottom: 0.75rem !important;
  }

  /* =========================
       CHECKBOX / TERMS
    ========================= */
  .form-check-label {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* =========================
       CONTACT INFO SIDEBAR
    ========================= */
  .contact-info-sidebar {
    gap: 1rem;
  }

  .contact-info-card {
    padding: 1.2rem;
  }

  .contact-info-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .contact-info-card h4 {
    font-size: 1rem;
  }

  .contact-info-card p {
    font-size: 0.85rem;
  }

  .contact-link {
    font-size: 0.85rem;
  }
  /* Placeholder font size fix */
  .form-control::placeholder {
    font-size: 0.85rem;
  }

  .form-select::placeholder {
    font-size: 0.85rem;
  }

  .contact-address {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* =========================
       GRID STACK (form + sidebar)
    ========================= */
  .row.g-5 {
    --bs-gutter-y: 1.5rem;
  }

  /* =========================
       SUCCESS MESSAGE
    ========================= */
  .form-success-message {
    padding: 1.5rem;
    font-size: 0.9rem;
  }

  /* =========================
        BUTTON CENTRALIZED
    ========================= */
  .form-bloom .btn-bloom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.2rem auto 0;
    width: fit-content;
  }

  /* Fix Bootstrap w-100 */
  .btn-bloom.w-100 {
    width: fit-content !important;
  }

  /* --- Merged rules from another matching media block --- */
  /* Smaller text inside the message box */
  #contact-message {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  #contact-message::placeholder {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* Checkbox text aligned with the rest of the form */
  .form-check-label {
    font-size: 0.9rem !important;
    line-height: 1.5;
    color: var(--text-soft-black);
  }

  /* More space below the Send Message button */
  .form-bloom .col-12.mt-3 {
    margin-bottom: 1.5rem;
  }

  /* Extra separation between form area and sidebar cards */
  .contact-info-sidebar {
    margin-top: 0.75rem;
  }
  .bg-cream.section-padding {
    padding-top: 1.5rem; /* Reduce top spacing */
  }
  /* Reduce side spacing in Common Questions section */
  .bg-cream .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .accordion-item {
    margin-left: 0;
    margin-right: 0;
  }

  .accordion-button {
    padding: 0.9rem 1rem;
    font-size: 0.92rem !important;
  }

  .accordion-body {
    padding: 0.9rem 1rem;
    font-size: 0.88rem !important;
    line-height: 1.6;
  }

  /* Reduce top margin before footer */
  .footer-bloom {
    padding-top: 2.5rem;
  }
  /* Center Learn More buttons on index and programs pages */
  .program-card .btn-bloom.btn-bloom-outline {
    width: fit-content !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto 0;
  }

  /* Keep Apply Now centered on programs page */
  .section-padding.bg-ivory .btn-bloom.btn-bloom-primary {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem auto 0;
  }

  /* --- Merged rules from another matching media block --- */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  section,
  .container,
  .hero,
  .hero-content,
  .storytelling-section,
  .storytelling-wrapper {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  video {
    max-width: 100%;
  }

  .journey-right {
    padding-left: 0.5rem !important; /* Previously 5rem */
    overflow: visible;
  }
  .timeline-dot {
    left: -0.7rem;
    transform: none !important;
    z-index: 5;
    width: 10px;
    height: 10px;
  }

  .timeline-item.active .timeline-dot {
    left: -1rem !important;
    transform: none !important;
    z-index: 6;
    width: 12px;
    height: 12px;
  }
}
/* ---------- Very Small Mobile Layout ---------- */
@media (max-width: 350px) {
  .timeline-dot {
    left: -3rem;
    transform: translateX(-45%);
  }

  .timeline-item.active .timeline-dot {
    left: -3rem;
    transform: translateX(-70%);
  }

  .section-desc {
    padding-left: 1rem;
    padding-right: 1.2rem;
  }

  /* --- Merged rules from another matching media block --- */
  .a11y-toolbar-toggle {
    position: fixed !important;
    top: 60% !important;
    right: 0 !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;

    width: 25px !important;
    height: 58px !important;
    min-width: 0 !important;
    padding: 0 !important;

    border-radius: 18px 0 0 18px !important;
    background: var(--cta-primary) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 1060 !important;
    box-shadow: var(--shadow-medium);
  }

  .a11y-toolbar-toggle::after {
    display: none !important;
  }

  .a11y-toolbar-toggle:hover {
    transform: translateY(-50%) !important;
  }
}
/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* --- Merged rules from another matching media block --- */
  .timeline-item,
  .journey-image img {
    transition: none;
  }

  /* --- Merged rules from another matching media block --- */
  .journey-image img,
  .timeline-item {
    transition: none;
  }

  .timeline-item.active {
    transform: none;
  }
}
/* ---------- Print Styles ---------- */
@media print {
  .navbar-bloom,
  .footer-bloom,
  .skip-link {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}

/*cookies*/
.cc-revoke {
  display: none !important;
}

/* Accessible focus for Bloom buttons */
.btn-bloom:focus,
.btn-bloom:focus-visible {
  outline: 3px solid var(--accent-rose);
  outline-offset: 4px;
}


