/* =========================================
   CABLETECH HERO SLIDER
========================================= */

.ct-hero-slider {
    position: relative;
    width: 100%;
    height: 820px;
    min-height: 700px;
    overflow: hidden;
    background: #111;
}


/* =========================================
   SLIDES
========================================= */

.ct-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.04);

    transition: opacity 0.8s ease, visibility 0.8s ease, transform 1.5s ease;

    z-index: 1;
}


.ct-slide.active {
    opacity: 1;
    visibility: visible;

    transform: scale(1);

    z-index: 2;
}


/* =========================================
   BACKGROUND IMAGE
========================================= */

.ct-slide-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


.ct-slide-bg img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.05);

    transition: transform 6s cubic-bezier(0.22, 1, 0.36, 1);
}


.ct-slide.active .ct-slide-bg img {

    transform: scale(1);

}


/* =========================================
   DARK OVERLAY
========================================= */

.ct-slide-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg, rgba(5, 10, 14, .90) 0%, rgba(5, 10, 14, .72) 38%, rgba(5, 10, 14, .30) 72%, rgba(5, 10, 14, .10) 100%);

    z-index: 1;
}


/* =========================================
   CONTENT
========================================= */

.ct-hero-content {

    position: relative;

    z-index: 5;

    width: 650px;

    padding-top: 190px;

}


.ct-hero-small {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    color: #ff0000;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: 0;

    transform: translateY(30px);

}


.ct-hero-small::before {

    content: "";

    width: 45px;

    height: 2px;

    background: #ff0000;

}


.ct-hero-content h1 {

    margin: 0;

    color: #fff;

    font-family: "Roboto Condensed", sans-serif;

    font-size: 85px;

    line-height: .98;

    font-weight: 700;

    letter-spacing: -2px;

    opacity: 0;

    transform: translateY(50px);

}


.ct-hero-content h1 span {

    display: block;

    color: #ff0000;

}


.ct-hero-content p {

    max-width: 570px;

    margin: 28px 0 35px;

    color: rgba(255, 255, 255, .78); 

    font-size: 17px;

    line-height: 1.8;

    opacity: 0;

    transform: translateY(35px);

}


/* =========================================
   BUTTONS
========================================= */

.ct-hero-buttons {

    display: flex;

    align-items: center;

    gap: 15px;

    opacity: 0;

    transform: translateY(30px);

}


.ct-btn-primary, .ct-btn-outline {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 58px;

    padding: 0 28px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;

    transition: .35s ease;

}


.ct-btn-primary {

    color: #fff;

    background: #ff0000;

}


.ct-btn-primary i {

    font-size: 17px;

    transition: .35s ease;

}


.ct-btn-primary:hover {

    color: #fff;

    background: #111;

}


.ct-btn-primary:hover i {

    transform: translate(4px,
            -4px);

}


.ct-btn-outline {

    color: #fff;

    border: 1px solid rgba(255, 255, 255, .45); 

}


.ct-btn-outline:hover {

    color: #111;

    border-color: #ff0000;

    background: #ff0000;

}


/* =========================================
   ACTIVE SLIDE ANIMATION
========================================= */

.ct-slide.active .ct-hero-small {

    animation: ctFadeUp .7s .2s both;

}


.ct-slide.active .ct-hero-content h1 {

    animation: ctFadeUp .8s .35s both;

}


.ct-slide.active .ct-hero-content p {

    animation: ctFadeUp .8s .5s both;

}


.ct-slide.active .ct-hero-buttons {

    animation: ctFadeUp .8s .65s both;

}


@keyframes ctFadeUp {

    from {

        opacity: 0;

        transform: translateY(45px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =========================================
   DECORATIVE SHAPES
========================================= */

.ct-shape {

    position: absolute;

    pointer-events: none;

    z-index: 3;

}


.ct-shape-1 {

    right: -120px;

    bottom: -190px;

    width: 530px;

    height: 530px;

    border-radius: 50%;

    border: 80px solid rgba(242, 169, 0, .18);

}


.ct-shape-2 {

    right: 90px;

    top: 180px;

    width: 170px;

    height: 170px;

    border: 1px solid rgba(255,  255, 255, .18);

    transform: rotate(45deg);

}


/* =========================================
   NAVIGATION
========================================= */

.ct-slider-navigation {

    position: absolute;

    left: 50%;

    bottom: 55px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 18px;

    z-index: 10;

}


.ct-slider-arrow {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .35); 

    background: rgba(0, 0, 0, .15);

    color: #fff;

    cursor: pointer;

    transition: .3s ease;

}


.ct-slider-arrow:hover {

    background: #ff0000;

    border-color: #ff0000;

    color: #111;

}


.ct-slider-dots {

    display: flex;

    gap: 8px;

}


.ct-dot {

    width: 9px;

    height: 9px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .4);

    cursor: pointer;

    transition: .3s ease;

}


.ct-dot.active {

    width: 30px;

    border-radius: 10px;

    background: #ff0000;

}


/* =========================================
   COUNTER
========================================= */

.ct-slide-counter {

    position: absolute;

    right: 55px;

    bottom: 62px;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 13px;

    color: #fff;

    font-size: 14px;

    font-weight: 600;

}


.counter-line {

    width: 50px;

    height: 1px;

    background: rgba(255, 255, 255, .45);

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .ct-hero-slider {

        height: 720px;

        min-height: 650px;

    }


    .ct-hero-content {

        width: 80%;

        padding-top: 160px;

    }


    .ct-hero-content h1 {

        font-size: 65px;

    }

}


@media (max-width: 767px) {

    .ct-hero-slider {

        height: 700px;

        min-height: 650px;

    }


    .ct-slide-overlay {

        background: linear-gradient(90deg, rgba(5, 10, 14, .88), rgba(5, 10, 14, .55));

    }


    .ct-hero-content {

        width: 100%;

        padding: 70px 20px;

    }


    .ct-hero-small {

        font-size: 11px;

    }


    .ct-hero-content h1 {

        font-size: 52px;

        letter-spacing: -1px;

    }


    .ct-hero-content p {

        font-size: 15px;

        line-height: 1.65;

    }


    .ct-hero-buttons {

        flex-wrap: wrap;

    }


    .ct-btn-primary, .ct-btn-outline {

        min-height: 52px;

        padding: 0 20px;

        font-size: 12px;

    }


    .ct-slider-navigation {

        left: 20px;

        transform: none;

        bottom: 35px;

    }


    .ct-slide-counter {

        right: 20px;

        bottom: 43px;

    }


    .ct-shape-1 {

        right: -230px;

        bottom: -250px;

    }


    .ct-shape-2 {

        right: -60px;

        top: 100px;

    }

}