/* scroll-snap fullPage replacement */
.fullpage {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}
.fullpage > .section {
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: start;
    box-sizing: border-box;
    position: relative;
}
.fullpage > .section.fp-auto-height {
    height: auto;
    min-height: auto;
    scroll-snap-align: end;
}

/* Navigation dots (#fp-nav) — same DOM structure as fullPage.js */
#fp-nav {
    position: fixed;
    z-index: 100;
    margin-top: -32px;
    top: 50%;
    opacity: 1;
}
#fp-nav.right { right: 17px; }
#fp-nav.left { left: 17px; }
#fp-nav ul { margin: 0; padding: 0; list-style: none; }
#fp-nav ul li {
    display: block;
    width: 14px;
    height: 13px;
    margin: 7px;
    position: relative;
}
#fp-nav ul li a {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}
#fp-nav ul li a.active span,
#fp-nav ul li:hover a.active span {
    height: 12px;
    width: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 100%;
}
#fp-nav ul li a span {
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    height: 4px;
    width: 4px;
    border: 0;
    background: #333;
    left: 50%;
    top: 50%;
    margin: -2px 0 0 -2px;
    transition: all 0.1s ease-in-out;
}
#fp-nav ul li:hover a span {
    width: 10px;
    height: 10px;
    margin: -5px 0px 0px -5px;
}
#fp-nav ul li .fp-tooltip {
    position: absolute;
    top: -2px;
    color: #fff;
    font-size: 14px;
    font-family: arial, helvetica, sans-serif;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    display: block;
    opacity: 0;
    width: 0;
    cursor: pointer;
}
#fp-nav ul li:hover .fp-tooltip {
    transition: opacity 0.2s ease-in;
    width: auto;
    opacity: 1;
}
#fp-nav ul li .fp-tooltip.right { right: 20px; }
#fp-nav ul li .fp-tooltip.left { left: 20px; }

/* Responsive: disable snap below responsiveWidth */
@media (max-width: 1023px) {
    .fullpage {
        height: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
    }
    .fullpage > .section {
        height: auto !important;
        min-height: auto !important;
        scroll-snap-align: none !important;
    }
}
