#slider {
    width:100%;
    height: 100vh;
    position:relative;
    overflow:hidden;
}
.slides-wrapper {
    width: 100%;
    max-width: 1200px;
}
.slide {
    position:absolute;
    width: 100%;
    height: 100%;
    left: 0;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:1.2s ease;
}
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #fff 0%,
        rgba(255,255,255,.95) 20%,
        rgba(255,255,255,.7) 40%,
        rgba(255,255,255,.3) 60%,
        transparent 80%
    );
    z-index: 2;
    pointer-events: none;
}
.slide.active {
    opacity:1;
    visibility:visible;
    z-index:2;
}
.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image-bg,
.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}
.youtube-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 177.78vh;
    height: 100vh;

    min-width: 100%;
    min-height: 100%;

    transform: translate(-50%, -50%) scale(1.4);

    border: 0;

    pointer-events: none;
    z-index: 1;
}
.overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.7),
        rgba(0,0,0,.25)
    );
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    max-width: 600px;
    transform: translate(-600px, -50%);
    z-index: 5;
}
.slide-subtitle,
.slide-title,
.slide-desc,
.slide-btn {
    opacity:0;
    transform:translateY(80px);
}
.slide.active .slide-subtitle {
    animation:slideUp .8s ease forwards;
}
.slide.active .slide-title {
    animation:slideUp .8s ease forwards;
    animation-delay:.2s;
}
.slide.active .slide-desc {
    animation:slideUp .8s ease forwards;
    animation-delay:.4s;
}
.slide.active .slide-btn {
    animation:slideUp .8s ease forwards;
    animation-delay:.6s;
}
@keyframes slideUp {

    to{
        opacity:1;
        transform:translateY(0);
    }

}
.slide-subtitle {
    font-size:14px;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:20px;
    line-height: 1;
    color: #007ea7;
	font-weight: 600;
/*     padding: 10px 12px;
    border-radius: 50px;
    display: inline-block;
    background-color: #007ea7; */
}

.slide-title {
    font-size:clamp(32px,6vw,50px);
    line-height:1;
    letter-spacing: -1px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #003459;
}
.slide-desc {
    font-size: clamp(15px, 2vw, 16px);
    line-height: 1.4;
    color:#111;
    margin-bottom:0;
    /*max-width:580px;*/
}
.slide-btn {
    margin-top: 35px;
}
.slide-btn a {
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 25px;
    background:#27af63;
    font-size: 15px;
    color:#fff;
    text-decoration:none;
    border-radius: 5px;
    font-weight:600;
    transition:.3s;
    margin-right: 20px;
}
.slide-btn a i {
    margin-right: 7px;
}
.slide-btn a:hover {
    transform:translateY(-5px);
    color: #fff;
}
.slide-btn a.portfolio {
    background-color: #fff;
    color: #003459;
    padding: 11px 25px;
    border: 1px solid #7ea4b0;
}
.slider-dots {
    position:absolute;
    z-index:20;
    bottom:70px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
}
.dot {
    width:10px;
    height:10px;
    border-radius:50%;
    background: #00a8e8;
    cursor:pointer;
    transition:.4s;
}
.dot.active {
    width:38px;
    border-radius:20px;
    background: #00a8e8;
}

/* ARROW */
.slider-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:9;
    color: rgba(255,255,255, .3);
    font-size:60px;
    cursor:pointer;
    padding:20px;
    user-select:none;
    pointer-events:auto;
    display: none;
}
.slider-arrow:hover {
    color: #fff;
}

.slider-arrow.prev{
    left:20px;
}

.slider-arrow.next{
    right:20px;
}

/* penting */
.overlay{
    pointer-events:none;
}

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

@media(max-width:1280px) {
    .slide-content {
        max-width: 400px;
        transform: translate(-400px, -50%);
    }
}

@media(max-width:768px) {
    #slider {
        height: 90vh;
    }
    .slide-content {
        width: 80%;
        padding-left: 0;
        padding-right: 0;
		left: 20px;
        transform: translate(0, -50%);
    }
	.slide-title {margin-bottom: 0; font-size: 24px;}
    .slider-arrow {top: unset; bottom: 50px; padding: 0; font-size: 45px; line-height: 0;}
    .slider-dots {bottom: 25px;}

	.slide-btn {margin-top: 0;}
	.slide-btn a {padding: 8px 15px; font-size: 13px; margin-right: 15px;}
    .slide-btn a.portfolio {padding: 7px 15px; margin-top: 10px; margin-right: 0;}
}