.checkbox-wrapper {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: sans-serif;
  font-size: 16px;
}

.checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}
.checkbox-box {
    position: relative;
    width: 32px;
    height: 32px;
    border: 2px solid #888;
    border-radius: 4px;
    margin-right: 8px;
    transition: border-color 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.checkbox-box::after {
    content: '';
    position: absolute;
    /* put tick's reference point at center of box */
    top: 50%;
    left: 50%;
    /* tick dimensions */
    width: 16px;
    height: 24px;
    border: solid white;
    border-width: 0 4px 4px 0;
    /* first move it back by half its own size, then rotate & hide */
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transition: transform 0.2s ease-in-out;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-box {
    background-color: #28a745;
    border-color: #28a745;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-box::after {
    /* same translate+rotate, but now fully visible */
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

/* focus styles, etc. unchanged */
.char-limit {
    position: relative;
    display: inline-block; /* or block, whatever fits your layout */
}

.char-limit span.char-counter {
    position: absolute;
    bottom: 4px;
    right: 8px;
    font-size: 0.8em;
    color: #555;
    pointer-events: none;
}

.char-limit.tick span.char-counter {
    right: 18px;
}

.char-limit span.char-counter.over {
    color: #e00; /* red when over limit */
}

.explainer {
    margin-bottom: 1em;
    position: relative;
}

.explanation {
    display: none;
    margin-top: 0.5em;
    padding: 0.5em;
    border-left: 3px solid #888;
    background: #f9f9f9;
}

.explainer.open .explanation {
    display: block;
}
.hero-banner-2 .text_block {
    padding: 240px 0 50px;
}

@media (max-width: 1399px) {
    .hero-banner-2 .text_block {
        padding: 240px 0 25px;
    }
}

@media (max-width: 1199px) {
    .hero-banner-2 .text_block {
        padding: 150px 0 0;
    }
}
.image-question .marker {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,0,0,0.6);
    border: 0px solid white;
    pointer-events: none;
    display: none;
}
/*FROM OVERLAY*/
#form-section {
    position: relative; /* make it the positioning context */
}

#form-section #form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253,0.75);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
    z-index: 1000;
    box-sizing: border-box;
}

#form-section #form-overlay .overlay-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 40vw;
    width: 90%;
    text-align: left;
}
#form-section #form-overlay .overlay-content .inputs {
    text-align: center;
}

@media (max-width: 1199px) {
    #form-section #form-overlay .overlay-content {
        max-width: 90vw;
    }
}

