* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background:
                linear-gradient(135deg, #eeeff0 0%, #f5f6f7 40%, hsl(210, 100%, 100%) 100%);
    color: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.expo-page {
    width: min(100%, 1180px);
    margin: auto;
    padding: 6rem 1rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.expo-dropdown {
    width: min(100%, 960px);
}

.expo-dropdown {
    width: min(100%, 960px);
    border: 1px solid rgba(10, 16, 24, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.expo-dropdown > summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1018;
    background: linear-gradient(90deg, #f8fbff 0%, #e8f2ff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.expo-dropdown > summary:hover {
    background: linear-gradient(90deg, #eef6ff 0%, #dcecff 100%);
    transform: translateY(-1px);
}

.expo-dropdown > summary::after {
    content: "▾";
    font-size: 1rem;
    color: #4caf50;
    transition: transform 0.2s ease;
}

.expo-dropdown[open] > summary::after {
    transform: rotate(180deg);
}

.expo-dropdown > summary::-webkit-details-marker {
    display: none;
}

.dropdown-content {
    padding: 1rem;
}

.carousel {
    margin: 0 auto;
    position: relative;
    width: min(95%, 1100px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #0a1018;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 40%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

button,
.dot {
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

button {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    background: rgba(5, 13, 24, 0.65);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

button:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    transform: scale(1.05);
}

.nav.prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.nav.next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.fullscreen-toggle {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

.progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 2;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #57d1ff, #4caf50);
}

.counter {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(3, 7, 13, 0.7);
    color: #fff;
    font-size: 0.95rem;
    z-index: 2;
}

.dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.material-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 16, 24, 0.08);
    color: #0a1018;
}

.material-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.material-card p {
    margin: 0;
    padding: 0.9rem 1rem 1rem;
    font-weight: 600;
    text-align: center;
}

.caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 74px;
    padding: 12px 16px;
    background: rgba(2, 7, 14, 0.72);
    color:#AEA60A;
    border-radius: 14px;
    font-size: 2rem;
    line-height: 1.5;
    text-align: center;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.dot.active {
    width: 14px;
    height: 14px;
    background: #4caf50;
    transform: scale(1.05);
}

@media (max-width: 720px) {
    .carousel {
        border-radius: 18px;
    }

    .nav.prev,
    .nav.next {
        width: 46px;
        height: 46px;
    }

    .fullscreen-toggle {
        width: 38px;
        height: 38px;
    }

    .counter {
        right: 14px;
        bottom: 14px;
        padding: 8px 12px;
    }

    .caption {
        bottom: 18px;
        left: 14px;
        right: 14px;
        padding: 10px 14px;
        font-size: 0.92rem;
    }

    .dots {
        bottom: 70px;
    }
}

