.full-bleed {
  /* Break out of the main container so the gradient spans edge to edge */
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.hp-trend-section {
    position: relative;
    background: radial-gradient(circle at 18% -10%, rgba(56, 189, 248, 0.28), transparent 55%),
                linear-gradient(180deg, #020617 0%, #091326 45%, #0f1f3f 100%);
    border-radius: 0;
    padding-top: clamp(4rem, 9vw, 7rem);
    padding-bottom: clamp(4.5rem, 10vw, 8rem);
    /* Allow carousel cards to render fully at the right edge */
    overflow: visible;
    z-index: 40;
    isolation: isolate; /* create a local stacking context above background bands */
  }
  
  /* Remove decorative overlays that could interfere with edge rendering */
.hp-trend-section::before,
.hp-trend-section::after {
    content: none !important;
  }
  
.hp-trend-section > * {
    position: relative;
    z-index: 1;
  }
  
.hp-trend-carousel {
    --cards-per-view: 2.25;
    --gap: 2.75rem;
    --edge-pad: 7rem;   /* generous left/right room for hover glows */
    --v-pad: 3.5rem;    /* generous top/bottom room for hover glows */
    position: relative;
    z-index: 60; /* ensure above any decorative bands */
    overflow-x: hidden; /* disable horizontal scroll */
    overflow-y: visible; /* allow vertical glow to exceed container */
    padding: var(--v-pad) calc(var(--gap) + var(--edge-pad)) var(--v-pad) var(--edge-pad);
  }
  
.hp-trend-track {
    display: flex;
    gap: var(--gap);
    will-change: transform;
    transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
.hp-trend-carousel::-webkit-scrollbar {
    display: none;
  }
  
.hp-trend-card {
    flex: 0 0 calc(100% / var(--cards-per-view));
    scroll-snap-align: start;
    position: relative;
    z-index: 1;
    border-radius: 1.5rem;
    min-height: 520px;
    background: linear-gradient(190deg, rgba(14, 23, 45, 0.92) 0%, rgba(7, 16, 36, 0.92) 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 32px 80px -40px rgba(13, 25, 45, 0.85);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
    backdrop-filter: blur(18px);
  }
  
.hp-trend-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(200deg, rgba(56, 189, 248, 0.15) 0%, rgba(59, 130, 246, 0.08) 35%, rgba(15, 23, 42, 0.6) 100%);
    opacity: 0.85;
    transition: opacity .4s ease;
  }
  
.hp-trend-card:hover {
    z-index: 3; /* rise above neighbors and edges */
    transform: translateY(-2px);
    /* More sober hover glow */
    box-shadow: 0 16px 40px -28px rgba(14, 165, 233, 0.22);
    border-color: rgba(125, 211, 252, 0.16);
  }
  
.hp-trend-card:hover::before {
    opacity: 0.9; /* toned down */
  }
  
.hp-trend-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
.hp-trend-eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(148, 197, 250, 0.85);
    margin-bottom: .65rem;
  }
  
.hp-trend-title {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.98);
    margin-bottom: .85rem;
  }
  
.hp-trend-text {
    color: rgba(226, 232, 240, 0.88);
    font-size: .95rem;
    line-height: 1.6;
    flex-grow: 1;
  }
  
.hp-trend-chart {
    margin-top: 1.75rem;
    height: 280px;
    width: 100%;
  }
  
.hp-trend-nav {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
  }
  
.hp-trend-btn {
    background: rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
    height: 48px;
    min-width: 48px;
    padding: 0 .95rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(8, 47, 73, 0.25);
    border: 1px solid rgba(148, 163, 184, 0.22);
    transition: background-color .25s ease, color .25s ease, transform .2s ease;
    position: relative;
    overflow: hidden;
  }
  
.hp-trend-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0;
    transition: opacity .25s ease;
  }
  
.hp-trend-btn:hover {
    transform: translateY(-1px);
    background: rgba(148, 163, 184, 0.26);
    box-shadow: 0 14px 28px rgba(8, 47, 73, 0.28);
  }
  
.hp-trend-btn:hover::before {
    opacity: .6;
  }
  
.hp-trend-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(8, 47, 73, 0.26);
  }
  
.hp-trend-btn:disabled {
    opacity: .35;
    background: rgba(100, 116, 139, 0.35);
    transform: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3);
  }
  
.hp-trend-btn svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 2px rgba(4, 17, 31, 0.4));
  }

.w-80 {
    width: 20rem;
}

.h-56 {
    height: 14rem;
}
  
.hp-trend-dots {
    display: flex;
    gap: .6rem;
    margin: 0 1.25rem;
  }
  
.hp-trend-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    border: none;
    cursor: pointer;
    transition: all .35s ease;
    position: relative;
  }
  
.hp-trend-dot:hover {
    background: rgba(125, 211, 252, 0.7);
    transform: scale(1.15);
  }
  
.hp-trend-dot.active {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    width: 26px;
    border-radius: 14px;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
  }
  
.hp-trend-dot.active::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: rgba(255, 255, 255, 0.38);
    border-radius: inherit;
  }
  
    /* Reveal animation (from home_premium.html) */
.reveal { 
      opacity: 0; 
      transform: translateY(24px) scale(0.98); 
      transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); 
    }
.reveal.is-visible { 
      opacity: 1; 
      transform: translateY(0) scale(1); 
    }
    @media (prefers-reduced-motion: reduce) {
      .reveal { 
        opacity: 1; 
        transform: none; 
        transition: none; 
      }
    }
  
    /* Animated Dots Between Cards (from home_premium.html) */
.cm-dots-separator {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 60px;
      gap: 8px;
      margin: 1rem 0;
    }
  
.cm-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #e2e8f0;
      opacity: 0;
      transform: scale(0.5) translateY(8px);
      transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
  
.cm-dot.is-visible {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  
    /* Staggered animation delays for dots */
.cm-dot[data-dot="1"] { transition-delay: 0ms; }
.cm-dot[data-dot="2"] { transition-delay: 150ms; }
.cm-dot[data-dot="3"] { transition-delay: 300ms; }
  
    /* Accent-based dot colors */
.cm-dots-separator[data-separator="1"] .cm-dot.is-visible {
      background: linear-gradient(135deg, #60a5fa, #2563eb);
      box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
    }
  
.cm-dots-separator[data-separator="2"] .cm-dot.is-visible {
      background: linear-gradient(135deg, #34d399, #059669);
      box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
    }
  
    /* Pulse effect on hover */
.cm-dot.is-visible:hover {
      transform: scale(1.1) translateY(-2px);
      transition: transform 0.2s ease;
    }
    
    /* Feedback loop styles */
.feedback-step {
      cursor: pointer;
    }
    
.feedback-step:hover .step-box {
      stroke: #8B5CF6;
      stroke-width: 4px;
    }
    
.feedback-step:hover .step-number {
      fill: #8B5CF6;
    }
    
.connecting-arrow {
      stroke: #8B5CF6;
      stroke-width: 3px;
    }
    
.step-circle-container {
      transition: transform 0.3s ease;
    }
  
.step-circle-container .step-circle {
      transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
.step-circle-container .step-label {
      transition: transform 0.3s ease, font-weight 0.3s ease, opacity 0.3s ease;
      opacity: 0.7;
      
    }
  
.step-circle-container.active {
      transform: scale(1.2);
    }
  
.step-circle-container.active .step-circle {
      transform: scale(1.2);
  
    }
   
.step-circle-container.active .step-label {
      opacity: 1;
      font-weight: 600;
    }
  
.step-circle {
      transition: transform 0.2s ease;
    }
    
.step-circle.active {
      transform: scale(1.2);
    }
  
.step-explanation-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px; /* keep consistent height */
    width: 100%;
    box-sizing: border-box;
  }
  
.step-explanation-slider {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
    height: 100%;
  }
  
.step-explanation {
    flex: 0 0 100%;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
  }
  
.step-explanation.active {
    opacity: 1;
    transform: scale(1);
  }
  
.feedback-step.blurred,
.connecting-arrow.blurred {
      opacity: 0.2;
      filter: blur(8px);
      transition: filter 0.6s ease, opacity 0.6s ease;
    }
  
.feedback-step, 
.connecting-arrow {
      transition: filter 0.6s ease, opacity 0.6s ease;
      filter: blur(0px);
      opacity: 1;
    }

/* Algemene studiebegeleiding hero overrides */
.asb-hero {
  min-height: 80vh; /* shorter hero to surface main content sooner */
}

.asb-hero-grid {
  min-height: inherit; /* grid follows hero height */
}

@media (max-width: 1024px) {
  .asb-hero { min-height: 72vh; }
}

@media (max-width: 640px) {
  .asb-hero { min-height: 64vh; }
}

/* Top-right visuals cluster on hero */
.asb-visuals {
  position: absolute;
  top: clamp(2.5rem, 6vw, 4rem);
  right: clamp(1rem, 4vw, 3rem);
  width: min(48vw, 720px);
  height: min(48vw, 560px);
  z-index: 10;
}

.asb-shot {
  position: absolute;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
  overflow: hidden;
}

.asb-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Ensure the main dashboard image fills its holder */
.asb-shot--one img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hide filename label overlays */
.asb-shot::after { content: none !important; }

/* Card placements */
.asb-shot--one { /* largest, top-right */
  width: 48%;
  height: auto;
  aspect-ratio: 4 / 3;
  top: 6%;
  right: 2%;
}

.asb-shot--two { /* mid, left of main */
  width: 38%;
  aspect-ratio: 4 / 3;
  top: 34%;
  right: 38%;
}

.asb-shot--three { /* small, lower right */
  width: 34%;
  aspect-ratio: 4 / 3;
  top: 60%;
  right: 12%;
}

@media (max-width: 1280px) {
  .asb-visuals { width: min(54vw, 600px); height: min(52vw, 500px); top: clamp(2rem, 7vw, 3.5rem); }
}

@media (max-width: 1024px) {
  .asb-visuals { width: min(60vw, 520px); height: min(58vw, 460px); top: clamp(1.5rem, 8vw, 3rem); }
}


