@font-face {
    font-family: 'Space Grotesk';
    src: url('font/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f7f3e6;
    font-size: clamp(14px, calc(0.19vw + 13.3px), 16px);
    color: #473d49;
    overflow-x: hidden;
}

.row-number {
    display: none;
}

.infographic-container {
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow-x: clip;
    overflow-y: hidden;
    display: flex;
    position: relative;
    z-index: 3;
    background-color: #f7f3e6;
}

.section {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.section:nth-child(2) {
    position: relative;
}

.bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 80% 80%;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes drift-random {
    0% {
        transform: translate(0, 0);
    }
    15% {
        transform: translate(8%, -5%);
    }
    30% {
        transform: translate(-5%, 7%);
    }
    45% {
        transform: translate(6%, 4%);
    }
    60% {
        transform: translate(-7%, -6%);
    }
    75% {
        transform: translate(4%, 8%);
    }
    90% {
        transform: translate(-6%, 3%);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes drift-horizontal {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5%);
    }
}

@keyframes bullet-bounce {
    0%, 96%, 100% {
        transform: translateY(0);
    }
    98% {
        transform: translateY(-8px);
    }
}

/* PARKED - content block flip animation
.content-block {
    position: relative;
    z-index: 10;
    transform-origin: center center;
    transform: perspective(1000px) rotateX(90deg);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.4s ease-out;
}

.content-block.revealed {
    transform: perspective(1000px) rotateX(0deg);
    opacity: 1;
}
*/

.bg-dots {
    top: 30%;
    background-image: url('img/bg-dots.png');
    opacity: 0.1;
    animation: rotate-slow 180s linear infinite;
}

.bg-q-circle {
    top: 0;
    right: -30%;
    left: auto;
    width: 70%;
    height: 70%;
    background-image: url('img/bg-q-circle.png');
    background-size: contain;
    background-position: top right;
    opacity: 0.1;
}

.bg-q-circle-outlines {
    bottom: 0;
    left: 0;
    top: auto;
    width: 50%;
    height: 50%;
    background-image: url('img/bg-q-circle-outlines.png');
    background-size: contain;
    background-position: bottom left;
    opacity: 0.1;
}

.bg-full-circle {
    top: 30%;
    right: -25%;
    left: auto;
    width: 50%;
    height: 50%;
    background-image: url('img/bg-full-circle.png');
    background-size: contain;
    background-position: center;
    opacity: 0.1;
    animation: drift-random 30s ease-in-out infinite;
}

.bg-blue-bar {
    bottom: 0;
    top: auto;
    background-image: url('img/bg-blue-bar.png');
    background-size: auto 5%;
    background-repeat: no-repeat;
}

.bg-blue-bar-left {
    background-position: bottom left;
}

.bg-blue-bar-center {
    background-position: bottom center;
}

.bg-blue-bar-right {
    background-position: bottom right;
}

.section img {
    position: relative;
}

.left-image {
    height: 50%;
    width: auto;
    margin-bottom: 5%;
    z-index: 10;
}

.center-image {
    height: 66.67%;
    width: auto;
    z-index: 20;
    position: relative;
}

@keyframes arm-swivel {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-15deg);
    }
}

.center-arm-image {
    position: absolute !important;
    height: 17.5% !important;
    width: auto !important;
    max-height: 17.5% !important;
    bottom: 43.5% !important;
    left: 32% !important;
    z-index: 21 !important;
    pointer-events: none !important;
    transform-origin: 100% 70%;
    animation: arm-swivel 3s ease-in-out infinite;
}

.right-image {
    height: 40%;
    width: auto;
    z-index: 0;
}

.bottom-row {
    width: 100%;
    aspect-ratio: 8 / 1;
    position: relative;
    background-color: #02769a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3%;
    z-index: 2;
}

.bottom-title {
    width: 70%;
    height: auto;
}

.bottom-subtitle {
    width: 50%;
    height: auto;
}

.third-row {
    width: 100%;
    aspect-ratio: 10 / 1;
    display: flex;
    position: relative;
    z-index: 1;
}

.third-left,
.third-right {
    flex: 1;
    position: relative;
}

.bg-top-left-image {
    position: absolute;
    width: 100%;
    height: auto;
    left: -50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.third-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.online-info-image {
    width: 160%;
    height: auto;
    z-index: 10;
    transform: translateX(-50%);
}


.vertical-bar {
    width: 15px;
    background-color: #a81030;
    position: absolute;
    top: 50%;
    bottom: 0;
}

.bg-q-circle-thin-layer {
    top: 0;
    right: 0;
    left: auto;
    background-image: url('img/bg-q-circle-thinoutline.png');
    background-size: auto 120% !important;
    background-position: top right !important;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.fourth-row {
    width: 100%;
    aspect-ratio: 4 / 1;
    display: flex;
    position: relative;
}

.fourth-left,
.fourth-right {
    flex: 1;
}

.fifth-row {
    width: 100%;
    aspect-ratio: 3 / 1;
    display: flex;
    position: relative;
    overflow: hidden;
}

.fifth-left,
.fifth-right {
    flex: 1;
}

.fifth-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
}

.fifth-left-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.fifth-left-left {
    flex: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    padding: 5%;
    gap: 3%;
    font-family: 'Space Grotesk', sans-serif;
}

.fifth-left-left .content-button {
    align-self: flex-end;
}

.fifth-left-right {
    flex: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15;
}

.fifth-right {
    position: relative;
}

.bg-cluster-layer {
    background-image: url('img/bg-cluster.png');
    background-size: contain !important;
    background-position: right center !important;
    opacity: 0.8;
    right: -20%;
    left: auto;
    animation: drift-horizontal 40s ease-in-out infinite;
}

.bg-cluster-2-layer {
    background-image: url('img/bg-cluster-2.png');
    background-size: contain !important;
    background-position: right center !important;
    opacity: 0.8;
    right: -20%;
    left: auto;
}

.fourth-right-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.fourth-right-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15;
}

.man-laptop-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.man-laptop-image {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    display: block;
}

.laptop-overlay-image {
    position: absolute;
    height: 30%;
    width: auto;
    bottom: -2%;
    left: 8%;
    animation: typing 1s steps(2) infinite;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-3px); }
    50% { transform: translateY(1px); }
    75% { transform: translateY(-2px); }
}

.bureau-laptop-image {
    position: absolute;
    height: 15.5%;
    width: auto;
    bottom: 51%;
    left: 2.5%;
    z-index: 2;
}

.bureau-hand-image {
    position: absolute;
    height: 6%;
    width: auto;
    bottom: 53%;
    left: 57.5%;
    z-index: 1;
    transform-origin: right bottom;
    animation: hand-turn 1s steps(3) infinite;
}

@keyframes hand-turn {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-5deg); }
}

.sixth-row .man-laptop-image {
    max-width: 70%;
}

@keyframes tadaa {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    92% {
        transform: scale(1) rotate(0deg);
    }
    94% {
        transform: scale(1.2) rotate(-5deg);
    }
    96% {
        transform: scale(1.2) rotate(5deg);
    }
    98% {
        transform: scale(1.2) rotate(-3deg);
    }
    99% {
        transform: scale(1.2) rotate(0deg);
    }
}

.play-button-image {
    position: absolute;
    width: 30%;
    height: auto;
    bottom: -15%;
    right: 0;
    animation: tadaa 10s ease-in-out infinite;
    transform-origin: center;
}

.fourth-right-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    gap: 3%;
    font-family: 'Space Grotesk', sans-serif;
}

.content-title {
    font-size: 2.2em;
    font-weight: 700;
    margin: 0;
    margin-bottom: 0;
}

.content-subtitle {
    font-size: 1em;
    font-weight: 700;
    margin: 0;
    margin-top: -0.8em;
}

.content-paragraph {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 0.8em;
}

.content-button {
    background-color: #02769a;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    padding: 2% 6%;
    font-size: 1em;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    align-self: flex-start;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
}

.content-button:hover {
    background-color: #025a7a;
    transform: scale(1.1);
}

.sixth-row {
    width: 100%;
    aspect-ratio: 4 / 1;
    display: flex;
    position: relative;
}

.sixth-left,
.sixth-right {
    flex: 1;
}

.sixth-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
}

.sixth-right-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.sixth-right-left {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15;
}

.sixth-right-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    gap: 3%;
    font-family: 'Space Grotesk', sans-serif;
}

.seventh-row {
    width: 100%;
    aspect-ratio: 4 / 1;
    display: flex;
    position: relative;
    overflow: hidden;
}

.seventh-left,
.seventh-right {
    flex: 1;
}

.seventh-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
}

.seventh-right {
    position: relative;
}

.seventh-left-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.seventh-left-left {
    flex: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    padding: 5%;
    gap: 3%;
    font-family: 'Space Grotesk', sans-serif;
}

.seventh-left-left .content-button {
    align-self: flex-end;
}

.seventh-left-right {
    flex: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15;
}

.eighth-row {
    width: 100%;
    aspect-ratio: 4 / 1;
    display: flex;
    position: relative;
    overflow: visible;
}

.eighth-left,
.eighth-right {
    flex: 1;
}

.eighth-left {
    position: relative;
}

.bg-flower-layer {
    background-image: url('img/bg-flower.png');
    background-size: auto 70%;
    background-position: 20% 15%;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 150%;
    opacity: 0.8;
    z-index: 5;
    pointer-events: none;
}

.eighth-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
}

.eighth-right-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.eighth-right-left {
    flex: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15;
    overflow: hidden;
}

.eighth-right-left .bg-dots {
    animation: none !important;
    z-index: 1;
    top: 0;
    background-position: center center;
    background-size: 80% auto;
    width: 100%;
    height: 100%;
}

.eighth-right-left .man-laptop-wrapper {
    position: relative;
    z-index: 2;
}

.eighth-right-right {
    flex: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    gap: 3%;
    font-family: 'Space Grotesk', sans-serif;
}

.ninth-row {
    width: 100%;
    aspect-ratio: 8 / 1;
    display: flex;
    position: relative;
}

.ninth-left,
.ninth-right {
    flex: 1;
}

.ninth-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ninth-center .vertical-bar-full {
    position: absolute;
    z-index: 1;
}

.op-de-hoogte-image {
    width: 200%;
    height: auto;
    z-index: 10;
    transform: translateX(-50%);
}


.tenth-row {
    width: 100%;
    aspect-ratio: 8 / 1;
    display: flex;
    position: relative;
}

.tenth-left,
.tenth-right {
    flex: 1;
}

.tenth-left {
    position: relative;
}

.tenth-right {
    position: relative;
}

.tenth-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.vertical-bar-half {
    width: 15px;
    height: 50%;
    background-color: #a81030;
    position: relative;
    z-index: 10;
}

.horizontal-bar {
    height: 15px;
    background-color: #a81030;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.horizontal-bar-left {
    right: 0;
    width: calc(50% + 7.5px);
}

.horizontal-bar-right {
    left: 0;
    width: calc(50% + 7.5px);
}

.horizontal-bar-center-left {
    right: 50%;
    width: 50%;
}

.horizontal-bar-center-right {
    left: 50%;
    width: 50%;
}

.vertical-bar-continue {
    width: 15px;
    background-color: #a81030;
    position: absolute;
    top: 50%;
    bottom: 0;
    z-index: 10;
}

.vertical-bar-left {
    left: 50%;
    transform: translateX(-50%);
}

.vertical-bar-right {
    left: 50%;
    transform: translateX(-50%);
}

.eleventh-row {
    width: 100%;
    aspect-ratio: 3 / 1;
    display: flex;
    position: relative;
}

.eleventh-left,
.eleventh-center,
.eleventh-right {
    flex: 1;
}

.eleventh-left,
.eleventh-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 3% 5% 5% 5%;
    gap: 3%;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    z-index: 10;
}

.eleventh-left {
    align-items: flex-end;
    text-align: right;
}

.eleventh-left .content-button {
    align-self: flex-end;
}

.bullet-container {
    display: flex;
    gap: 2%;
    align-items: center;
}

.eleventh-left .bullet-container {
    justify-content: flex-end;
}

.bullet-icon {
    height: 2.1em;
    width: auto;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: bullet-bounce 8s ease-in-out infinite;
}

.bullet-container a:nth-child(1) .bullet-icon {
    animation-delay: 0s;
}

.bullet-container a:nth-child(2) .bullet-icon {
    animation-delay: 0.2s;
}

.bullet-container a:nth-child(3) .bullet-icon {
    animation-delay: 0.4s;
}

.bullet-container a:nth-child(4) .bullet-icon {
    animation-delay: 0.6s;
}

.bullet-icon:hover {
    transform: scale(1.1) translateY(0);
}

.eleventh-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 5%;
}

.bg-cluster-3-layer {
    background-image: url('img/bg-cluster-3.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    width: 130%;
    height: 130%;
    opacity: 0.8;
    z-index: 1;
}

.lawyer-teacher-image {
    width: 80%;
    height: auto;
    position: relative;
    z-index: 10;
}

.twelfth-row {
    width: 100%;
    aspect-ratio: 8 / 1;
    display: flex;
    position: relative;
}

.twelfth-left,
.twelfth-right {
    flex: 1;
}

.twelfth-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.calendar-image {
    width: 6vw;
    height: auto;
    margin-right: 3%;
    margin-top: 13%;
    z-index: 20;
    position: relative;
}

.twelfth-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.twelfth-center .vertical-bar-full {
    position: absolute;
    z-index: 1;
}

.liever-fysiek-image {
    width: 150%;
    height: auto;
    z-index: 10;
    transform: translateX(-50%);
}


.thirteenth-row {
    width: 100%;
    aspect-ratio: 8 / 1;
    display: flex;
    position: relative;
}

.thirteenth-left,
.thirteenth-right {
    flex: 1;
}

.thirteenth-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.thirteenth-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thirteenth-center .vertical-bar-full {
    position: absolute;
    z-index: 1;
}

.thirteenth-paragraph {
    position: relative;
    z-index: 10;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 10px;
}

.fourteenth-row {
    width: 100%;
    aspect-ratio: 4 / 1;
    display: flex;
    position: relative;
}

.fourteenth-left,
.fourteenth-right {
    flex: 1.2;
}

.fourteenth-center {
    flex: 1;
}

.fourteenth-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.fourteenth-center .vertical-bar-full {
    position: absolute;
    z-index: 1;
}

.fourteenth-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 3% 5% 5% 5%;
    gap: 3%;
    font-family: 'Space Grotesk', sans-serif;
    z-index: 30;
    position: relative;
    height: 100%;
    width: 100%;
}

.fourteenth-content .content-button {
    align-self: center;
}

.fourteenth-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.man-glasses-wrapper {
    position: relative;
    z-index: 30;
}

.man-with-glasses-image {
    width: 45%;
    height: auto;
    position: relative;
}

.man-glasses-arm-image {
    position: absolute;
    height: 15%;
    width: auto;
    bottom: 62%;
    left: -1%;
    z-index: 31;
    transform-origin: 100% 70%;
    animation: arm-swivel 3s ease-in-out infinite;
}

.fifteenth-row {
    width: 100%;
    max-width: 100vw;
    aspect-ratio: 3.2 / 1;
    display: flex;
    position: relative;
    z-index: 25;
    overflow-x: clip;
    overflow-y: visible;
}

.fifteenth-center {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    overflow: visible;
}

.bench-image {
    width: 130%;
    height: auto;
    margin-left: -5%;
}

.sixteenth-row {
    width: 100%;
    aspect-ratio: 6.4 / 1;
    display: flex;
    position: relative;
    background-color: white;
    container-type: size;
}

.sixteenth-left,
.sixteenth-right {
    flex: 1;
}

.sixteenth-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 5%;
    padding-top: 2%;
    padding-bottom: 2%;
    gap: 3%;
    font-family: 'Space Grotesk', sans-serif;
}

a.site-bullet {
    background-color: #a81030;
    color: white;
    font-weight: 700;
    border-radius: 25px;
    padding: 1% 3%;
    font-size: 1.2em;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
}

.site-paragraph {
    font-size: 0.9em;
    line-height: 1.4;
}

.university-logos {
    display: flex;
    align-items: center;
    gap: 5%;
    margin-top: auto;
}

.university-logo {
    height: 15cqh;
    width: auto;
}

.sixteenth-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 5%;
    gap: 5%;
    height: 100%;
}

.sixteenth-right a {
    height: 100%;
    display: flex;
    align-items: center;
}

.vlir-image {
    height: 40%;
    width: auto;
    align-self: flex-end;
    margin-bottom: 12.5%;
}

.starttoets-image {
    height: 80%;
    width: auto;
}

.footer-row {
    width: 100%;
    aspect-ratio: 2 / 1;
}

/* Mobile-only elements (hidden on desktop) */
.eleventh-row-mobile,
.horizontal-bar-mobile,
.fourteenth-left .vertical-bar-full,
.fourteenth-left .circle-container,
.bench-mobile {
    display: none;
}

/* Mobile layout - screens under 1000px */
@media (max-width: 999px) {
    /* Row 1: Only show center column, twice as high */
    .infographic-container {
        aspect-ratio: 3 / 2;
        overflow-x: hidden;
    }
    .infographic-container .section:nth-of-type(2) {
        flex: 1;
    }
    .infographic-container .section:nth-of-type(1),
    .infographic-container .section:nth-of-type(3) {
        display: none;
    }

    /* Adjust arm position for full-width column with 2x height */
    .center-arm-image {
        left: 38% !important;
    }

    /* Row 2: Wider title images */
    .bottom-title {
        width: 95%;
    }
    .bottom-subtitle {
        width: 78%;
    }

    /* Row 3, 4, 6, 8, 9: Hide left column */
    .third-left,
    .fourth-left,
    .sixth-left,
    .eighth-left,
    .ninth-left {
        display: none;
    }

    /* Rows 3+: Taller for mobile */
    .third-row {
        aspect-ratio: 4 / 1;
    }
    .third-row .vertical-bar {
        top: 0;
    }
    .fourth-row,
    .fifth-row,
    .sixth-row,
    .seventh-row,
    .eighth-row,
    .fourteenth-row {
        aspect-ratio: unset;
    }
    .fourth-right-right,
    .fifth-left-left,
    .sixth-right-right,
    .seventh-left-left,
    .eighth-right-right,
    .fourteenth-content {
        padding-top: 8%;
        padding-bottom: 8%;
    }
    .content-subtitle {
        margin-top: 0;
    }
    .fifth-center,
    .seventh-center {
        order: -1;
    }
    .fifth-right,
    .seventh-right {
        display: none;
    }
    .fifth-left-left,
    .seventh-left-left {
        text-align: left;
        align-items: flex-start;
    }
    .fifth-left-left .content-button,
    .seventh-left-left .content-button {
        align-self: flex-start;
    }

    /* Row 10, 12: Hide entirely on mobile */
    .tenth-row,
    .twelfth-row {
        display: none;
    }

    /* Row 11: Hide desktop version, show mobile versions */
    .eleventh-row {
        display: none;
    }
    .eleventh-row-mobile {
        display: flex;
        width: 100%;
        aspect-ratio: unset;
        position: relative;
    }
    .eleventh-mobile-content {
        padding-top: 8%;
        padding-bottom: 8%;
    }
    .eleventh-mobile-left {
        width: 10vw;
        position: relative;
        display: flex;
        justify-content: center;
    }
    .eleventh-mobile-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 5%;
        gap: 3%;
        font-family: 'Space Grotesk', sans-serif;
    }

    /* Row 11.1: PowerPoint-style layout with image on right */
    .eleventh-row-mobile-1 .eleventh-mobile-content {
        flex: 5;
    }
    .eleventh-mobile-image {
        flex: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 15;
        overflow: hidden;
    }
    .judge-image,
    .man-bag-image {
        width: 60%;
        height: auto;
    }
    /* Row 11.2: image on the left */
    .eleventh-row-mobile-2 .eleventh-mobile-content {
        flex: 5;
    }

    /* Line images: center in whole row */
    .third-center,
    .ninth-center,
    .thirteenth-center {
        position: static;
    }
    .online-info-image,
    .op-de-hoogte-image,
    .liever-fysiek-image {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
        transition: none;
    }
    .online-info-image {
        width: 50%;
    }
    .op-de-hoogte-image {
        width: 60%;
    }
    .liever-fysiek-image {
        width: 45%;
    }

    /* Horizontal lines from left bar to center images */
    .horizontal-bar-mobile {
        display: block;
        position: absolute;
        height: 15px;
        left: 5vw;
        right: 50%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 15;
    }
    .ninth-row {
        aspect-ratio: 3 / 1;
    }
    .tenth-row {
        aspect-ratio: 3 / 1;
    }
    .eleventh-row {
        aspect-ratio: 1 / 1;
    }
    .twelfth-row {
        aspect-ratio: 3 / 1;
    }
    .twelfth-center {
        order: -1;
    }
    .twelfth-left {
        display: none;
    }
    .thirteenth-row {
        aspect-ratio: 3 / 1;
    }
    .thirteenth-center {
        order: -1;
    }
    .thirteenth-left {
        display: none;
    }
    .fourteenth-left {
        display: flex;
        width: 10vw;
        flex: none;
        justify-content: center;
        position: relative;
    }
    .fourteenth-left .vertical-bar-full,
    .fourteenth-left .circle-container {
        display: block;
    }
    .fourteenth-left .circle-container {
        display: flex;
        top: 50%;
    }
    .fourteenth-bar {
        height: 50% !important;
        position: absolute;
        top: 0;
        z-index: 1;
    }
    .fourteenth-right {
        order: 1;
        flex: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .man-with-glasses-image {
        width: 90%;
    }
    .fourteenth-center {
        order: 2;
        flex: 7;
    }
    .fifteenth-row {
        aspect-ratio: 2.4 / 1;
    }
    .bench-desktop {
        display: none;
    }
    .bench-mobile {
        display: block;
    }
    .sixteenth-row {
        aspect-ratio: unset !important;
        container-type: normal !important;
        flex-direction: column;
        padding: 5%;
        gap: 50px;
        background-color: white;
    }
    .sixteenth-left,
    .sixteenth-right {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 0;
    }
    .sixteenth-left {
        gap: 5%;
        padding-top: 20px;
    }
    .sixteenth-left .site-paragraph {
        margin-top: 20px;
    }
    .university-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        width: 280px;
        margin: 0 auto;
        margin-top: 70px;
    }
    .university-logo {
        height: auto !important;
        width: 120px !important;
        margin-bottom: 0;
    }
    .sixteenth-right {
        justify-content: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    .sixteenth-right a {
        height: auto;
        display: flex;
        justify-content: center;
    }
    .vlir-image,
    .starttoets-image {
        height: auto !important;
        width: 120px !important;
        margin: 0;
    }
}

.fourth-center {
    width: 10vw;
    position: relative;
    display: flex;
    justify-content: center;
}

.vertical-bar-full {
    width: 15px;
    background-color: #a81030;
    height: 100%;
    z-index: 5;
    position: relative;
}

.bg-dots-small-layer {
    bottom: 0;
    top: auto;
    background-image: url('img/bg-dots-small.png');
    background-size: 100% auto !important;
    background-position: bottom center !important;
    background-repeat: no-repeat;
    z-index: 2;
    opacity: 0.3;
    right: -10%;
}

.sixth-row .bg-dots-small-layer {
    animation: rotate-slow 180s linear infinite;
}

.bg-full-circle-layer {
    top: 50%;
    right: -50%;
    left: auto;
    transform: translateY(-50%);
    background-image: url('img/bg-full-circle.png');
    background-size: 100% auto !important;
    background-position: right center !important;
    background-repeat: no-repeat;
    z-index: 2;
    opacity: 0.3;
}

.circle-container {
    position: absolute;
    width: 35%;
    aspect-ratio: 1 / 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.white-circle {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 50%;
    border: 5px solid #a81030;
    display: flex;
    justify-content: center;
    align-items: center;
}

.red-circle {
    width: 50%;
    height: 50%;
    background-color: #a81030;
    border-radius: 50%;
}

.test-row {
    width: 100%;
    aspect-ratio: 2 / 1;
    display: flex;
    position: relative;
    border: 1px solid black;
}

.test-half {
    width: 50%;
    aspect-ratio: 1 / 1;
    border: 1px solid black;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-stack {
    position: relative;
    width: 35%;
    height: 35%;
}

.card {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform-origin: center bottom;
    opacity: 1;
    transition: transform 0.4s ease-out;
}

@keyframes fan-out-1 {
    0% {
        opacity: 0;
        transform: translate(calc(-50% - 30px), -50%) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: translate(calc(-50% - 10px), -50%) rotate(-8deg);
    }
}

@keyframes fan-out-2 {
    0% {
        opacity: 0;
        transform: translate(calc(-50% - 30px), -50%) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes fan-out-3 {
    0% {
        opacity: 0;
        transform: translate(calc(-50% - 30px), -50%) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: translate(calc(-50% + 10px), -50%) rotate(8deg);
    }
}

.card-1 {
    transform: translate(calc(-50% - 10px), -50%) rotate(-8deg);
    animation: fan-out-1 0.8s ease-out 1s;
}

.card-2 {
    transform: translate(-50%, -50%) rotate(0deg);
    animation: fan-out-2 0.8s ease-out 1.2s;
}

.card-3 {
    transform: translate(calc(-50% + 10px), -50%) rotate(8deg);
    animation: fan-out-3 0.8s ease-out 1.4s;
}

.card-stack:hover .card-1 {
    transform: translate(calc(-50% - 25px), -50%) rotate(-18deg);
}

.card-stack:hover .card-2 {
    transform: translate(-50%, -50%) rotate(0deg);
}

.card-stack:hover .card-3 {
    transform: translate(calc(-50% + 25px), -50%) rotate(18deg);
}

.cards-wrapper {
    position: absolute;
    top: 20%;
    width: 32%;
    aspect-ratio: 1 / 1;
    z-index: 15;
}

.cards-wrapper-left {
    left: 10%;
    transform: rotate(-20deg);
}

.cards-wrapper-right {
    right: 10%;
    transform: rotate(20deg);
}

.cards-wrapper-right .cards-container .card-1 {
    animation: fan-out-row1-1 0.8s ease-out 2s !important;
}

.cards-wrapper-right .cards-container .card-2 {
    animation: fan-out-row1-2 0.8s ease-out 2.2s !important;
}

.cards-wrapper-right .cards-container .card-3 {
    animation: fan-out-row1-3 0.8s ease-out 2.4s !important;
}

.cards-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.cards-container .card {
    position: absolute;
    width: auto !important;
    max-height: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform-origin: center bottom;
    opacity: 1;
    transition: transform 0.4s ease-out;
}

@keyframes fan-out-row1-1 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateX(-20px) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateX(-5px) rotate(-8deg);
    }
}

@keyframes fan-out-row1-2 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateX(-20px) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes fan-out-row1-3 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateX(-20px) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateX(5px) rotate(8deg);
    }
}

.cards-container .card-1 {
    transform: translate(-50%, -50%) translateX(-5px) rotate(-8deg);
    animation: fan-out-row1-1 0.8s ease-out 1s;
}

.cards-container .card-2 {
    transform: translate(-50%, -50%) rotate(0deg);
    animation: fan-out-row1-2 0.8s ease-out 1.2s;
}

.cards-container .card-3 {
    transform: translate(-50%, -50%) translateX(5px) rotate(8deg);
    animation: fan-out-row1-3 0.8s ease-out 1.4s;
}

.cards-container:hover .card-1 {
    transform: translate(-50%, -50%) translateX(-15px) rotate(-18deg);
}

.cards-container:hover .card-2 {
    transform: translate(-50%, -50%) rotate(0deg);
}

.cards-container:hover .card-3 {
    transform: translate(-50%, -50%) translateX(15px) rotate(18deg);
}

/* Bullet pop animation - desktop: no animation */
.bullet-image-reveal {
    opacity: 1;
    transform: none;
    animation: none;
}

.bullet-image-reveal.revealed {
    animation: none;
}

/* Bullet pop animation - mobile only */
@media (max-width: 999px) {
    @keyframes bullet-pop-in {
        0% {
            transform: translateX(-50%) scale(0);
            opacity: 0;
        }
        70% {
            transform: translateX(-50%) scale(1.15);
            opacity: 1;
        }
        100% {
            transform: translateX(-50%) scale(1);
            opacity: 1;
        }
    }

    @keyframes bullet-pop-out {
        0% {
            transform: translateX(-50%) scale(1);
            opacity: 1;
        }
        30% {
            transform: translateX(-50%) scale(1.1);
            opacity: 1;
        }
        100% {
            transform: translateX(-50%) scale(0);
            opacity: 0;
        }
    }

    .bullet-image-reveal {
        opacity: 0;
        transform: translateX(-50%) scale(0);
        animation: bullet-pop-out 0.3s ease-in forwards;
    }

    .bullet-image-reveal.revealed {
        animation: bullet-pop-in 0.4s ease-out forwards;
    }
}

/* Safari-only fix */
@supports (-webkit-hyphens: auto) {
    .fourteenth-row {
        margin-bottom: -100px;
    }
}

/* Small mobile - under 750px */
@media (max-width: 749px) {
    .circle-container {
        width: 70%;
    }
}
