/* Core container */
.tr-slider {
    position: relative;
    overflow: hidden;
}

.tr-wrapper {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

/* Track for infinite sliding */
.tr-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* Slide */
.tr-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* 6 / 6 columns */
.tr-text,
.tr-video {
    width: 50%;
}

/* Text */
.tr-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tr-text p {
    line-height: 1.7;
    color: #444;
}

.tr-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 28px;
    background: #6c757d;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

/* Video */
.tr-video {
    display: flex;
    justify-content: center;
}

.tr-video iframe {
    width: 100%;
    max-width: 420px;
    height: 420px;
    border-radius: 18px;
    border: none;
}

/* Loader bar (animated by JS) */
.tr-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.08);
    z-index: 5;
}

.tr-loader span {
    display: block;
    height: 100%;
    width: 0%;
    background: #000;
}

/* Dots */
.tr-dots {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tr-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    margin: 6px;
    cursor: pointer;
    opacity: 0.5;
}

.tr-dot.active {
    background: #000;
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .tr-slide {
        flex-direction: column;
    }

    .tr-text,
    .tr-video {
        width: 100%;
    }

    .tr-text h2 {
        font-size: 28px;
    }

    .tr-video iframe {
        height: 260px;
        max-width: 100%;
    }
}
