/* ===============================================
   Specified CSS for Home Page (home.blade.php)
=============================================== */

/* Header Image Carousel */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
/* End of Header Image Carousel */

/* SwiperJS Styling */
.swiper-container {
    width: 100%;
    /* padding-top: 50px;
    padding-bottom: 50px; */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* End of SwiperJS Styling */

/* Keunggulan */
.cardben {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 24px;
    line-height: 1.6;
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 36px;
    border-radius: 24px;
    background: transparent;
    color: #ffffff;
    z-index: 1;
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.cardben::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    border-radius: inherit;
    height: 100%;
    width: 100%;
    opacity: 0;
    transform: skew(0deg);
    clip-path: circle(0% at 50% 50%);
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .heading {
    font-family: 'Saira', sans-serif !important;
    font-weight: 550;
    font-size: 20px;
    line-height: 1.3;
    z-index: 1;
    color: #FF6600;
    text-align: center;
}

.content .para {
    z-index: 1;
    opacity: 0.8;
    font-size: 15px;
    text-align: justify;
}

.content .para-sm {
    font-size: 10px;
}

.cardben:hover::before {
    opacity: 1;
    transform: skew(0deg);
    clip-path: circle(140.9% at 0 0);
}

.cardben:hover .content {
    color: #181717;
}

.cardben .card-icon {
    color: white;
    transition: color 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.cardben:hover .card-icon {
    color: #ff6600;
}

.custom-card {
    background-color: #181717;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid #d3d3d3;
}

.card-icon {
    color: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-red {
    color: #ff6600;
    font-weight: bold;
}
/* End of Keunggulan */

/* YouTube Profile */
.ytprofile {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/cover-yt.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* End of YouTube Profile */

/* Article Cards */
.card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

.card-img-custom {
    width: 100%;
    height: 100%;
    object-fit: contain;          
    object-position: center;      
    background-color: #111;       
    padding: 8px;
    border-radius: 10px;
}

/* End of Article Cards */