html{
    scroll-behavior: smooth;
}
:root{
    --text-font: 'Roboto', sans-serif;
    --background-color: #fff;
    --button-color: #2d2d2d;
    --button-font-size: 16px;
    --button-font-color: #fff;
    --border-radius: 999px;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: var(--text-font);
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
    line-height: 1.6;
    background: var(--background-color);
    color: #333;
    text-align: center;
}
h1{
    margin-bottom: 30px;
    font-size: 44px;
}
.authors{
    margin-bottom: 10px;
    font-size: 24px;
}
.authors a{
    text-decoration: underline;
    text-decoration-color: blue;
    color: blue;
}
.authors a:hover{
    text-decoration: underline;
}
.authors sup{
    font-size: 13px;
    color: blue;
    text-decoration: none;
    display: inline-block;
}

.btn{
    display: inline-block;
    padding: 8px 20px;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--button-color);
    font-size: var(--button-font-size);
    color: var(--button-font-color);
    cursor: pointer;
    margin: 20px 0px 50px 0px;
    text-decoration: none;
}
.btn:hover{
    background:#1a1a1a;
}

h2{
    padding: 10px 0px 10px 0px;
}

.AeroLANCE-design{
    padding: 60px 0px 60px 0px;
}
#abstract{
    padding: 20px 0px 10px 0px;
}
#gallery{
    background: #f7f7f7;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 30px 0 40px 0;
}

section{
    font-size: 26px;
    padding: 30px 0px 30px 0px;
}

.AeroLANCE-design p{
    text-align: left;
    font-size: 18px;
}

.design_video{
    width: 100%;
    max-width: 1000px;
    max-height: 300px;
    object-fit: cover;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.carousel-track-wrapper {
    width: 27%;
    margin: 0 auto;
    overflow: visible;
}

.carousel-track {
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    transform: none;
    z-index: 2;
    pointer-events: auto;
}

.carousel-slide.prev {
    opacity: 0.55;
    transform: translateX(-33%) scale(0.8);
    z-index: 1;
}

.carousel-slide.next {
    opacity: 0.55;
    transform: translateX(33%) scale(0.8);
    z-index: 1;
}

.carousel-slide video {
    width: 100%;
    border-radius: 12px;
}

.carousel-btn {
    position: absolute;
    z-index: 10;
    background: #2d2d2d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    font-size: 20px;
    font-weight: bold;
    -webkit-text-stroke: 0.5px white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s ease;
}

.prev-btn { left: calc(50% - 550px); }
.next-btn { right: calc(50% - 550px); }

.carousel-btn:hover {
    background: #1a1a1a;
    transform: scale(1.15);
}

.carousel-btn:active {
    transform: scale(1.3);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: #2d2d2d;
}

.video-wide video {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 1);
}

#explainer .video-wide video {
    height: 500px;
    object-fit: cover;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.video-grid video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 1);
}