/* =========================================================
   Custom Revolution Slider  –  slider.css
   ========================================================= */

/* Reset & container */
.crs-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a1628;
    font-family: inherit;
    user-select: none;
}

/* ── Track & slides ──────────────────────────────────────── */
.crs-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.crs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.crs-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.crs-slide.is-leaving {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

/* Fade transition variant */
.crs-slider[data-transition="fade"] .crs-slide {
    transform: none !important;
}
.crs-slider[data-transition="fade"] .crs-slide.is-active  { opacity: 1; }
.crs-slider[data-transition="fade"] .crs-slide.is-leaving { opacity: 0; }

/* Zoom transition variant */
.crs-slider[data-transition="zoom"] .crs-slide {
    transform: scale(1.06);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.crs-slider[data-transition="zoom"] .crs-slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.crs-slider[data-transition="zoom"] .crs-slide.is-leaving {
    opacity: 0;
    transform: scale(0.96);
}

/* ── Background / overlay ────────────────────────────────── */
.crs-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ken Burns subtle zoom on active slide */
    animation: crsBgZoom 8s ease-out forwards;
}
.crs-slide:not(.is-active) .crs-bg { animation: none; }

@keyframes crsBgZoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1); }
}

.crs-overlay {
    position: absolute;
    inset: 0;
    background: #000;
}

/* ── Content ─────────────────────────────────────────────── */
.crs-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 6vw;
}

.crs-align-center .crs-content,
.crs-content.crs-align-center {
    justify-content: center;
    text-align: center;
}
.crs-align-left .crs-content,
.crs-content.crs-align-left {
    justify-content: flex-start;
    text-align: left;
}
.crs-align-right .crs-content,
.crs-content.crs-align-right {
    justify-content: flex-end;
    text-align: right;
}

.crs-align-center { justify-content: center; text-align: center; }
.crs-align-left   { justify-content: flex-start; text-align: left; }
.crs-align-right  { justify-content: flex-end; text-align: right; }

.crs-inner 
{
    max-width: 780px;
    padding: 40px 0;
    margin-top:6rem;
}

/* Animated entrance — triggered after slide becomes active */
.crs-slide.is-active .crs-kicker    { animation: crsSlideUp 0.7s 0.2s both; }
.crs-slide.is-active .crs-headline  { animation: crsSlideUp 0.7s 0.38s both; }
.crs-slide.is-active .crs-sub       { animation: crsSlideUp 0.7s 0.52s both; }
.crs-slide.is-active .crs-buttons   { animation: crsSlideUp 0.7s 0.66s both; }

@keyframes crsSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Kicker */
.crs-kicker {
    display: inline-block;
    font-size: clamp(17px, 1.2vw, 13px);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
}

/* Headline */
.crs-headline {
    margin: 0 0 20px;
    font-size: clamp(32px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    opacity: 0;
}

/* Subtext */
.crs-sub {
    margin: 0 0 36px;
    font-size: clamp(15px, 1.6vw, 20px);
    line-height: 1.6;
    max-width: 560px;
    opacity: 0;
}
.crs-align-center .crs-sub { margin-left: auto; margin-right: auto; }

/* Buttons */
.crs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
}
.crs-align-center .crs-buttons { justify-content: center; }
.crs-align-right  .crs-buttons { justify-content: flex-end; }

.crs-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
        padding: 8px 28px;
        font-size:14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.22s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.crs-btn--primary {
    background: #f0a500;
    color: #0a1628;
    border-color: #f0a500;
}
.crs-btn--primary:hover {
    background: #ffc62e;
    border-color: #ffc62e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240,165,0,0.35);
    color: #0a1628;
    text-decoration: none;
}
.crs-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}
.crs-btn--outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* ── Arrows ──────────────────────────────────────────────── */
.crs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.crs-arrow svg { width: 22px; height: 22px; pointer-events: none; }
.crs-arrow--prev { left: 24px; }
.crs-arrow--next { right: 24px; }
.crs-arrow:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.08);
}
.crs-arrow:focus-visible {
    outline: 2px solid #f0a500;
    outline-offset: 3px;
}

/* ── Dots ────────────────────────────────────────────────── */
.crs-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.crs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s, width 0.25s;
}
.crs-dot.is-active {
    background: #f0a500;
    width: 26px;
    border-radius: 4px;
    transform: none;
}
.crs-dot:focus-visible {
    outline: 2px solid #f0a500;
    outline-offset: 3px;
}

/* ── Progress bar ────────────────────────────────────────── */
.crs-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.15);
    z-index: 10;
}
.crs-progress-bar {
    height: 100%;
    background: #f0a500;
    width: 0%;
    transition: width linear;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .crs-slider { height: 75vh !important; min-height: 380px; }
    .crs-content { padding: 0 24px; }
    .crs-arrow { width: 40px; height: 40px; }
    .crs-arrow--prev { left: 12px; }
    .crs-arrow--next { right: 12px; }
    .crs-arrow svg { width: 18px; height: 18px; }
    .crs-buttons { flex-direction: column; align-items: flex-start; }
    .crs-align-center .crs-buttons { align-items: center; }
    .crs-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .crs-slider { height: 75vh !important;  min-height: 320px; }
    .crs-arrow { display: none; }
    .crs-dots { bottom: 16px; }
}
