/* HERO */
.main-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.main-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
    z-index: 1;
    /* padding-top: 120px; */
    /* padding-bottom: 60px; */
}

.main-hero-content .hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-text-color);
}


@media (max-width: 768px) {
    .main-hero-content .hero-title {
        font-size: 2.5rem;
    }

    .main-hero-content .hero-subtitle {
        font-size: 14px;
    }
}


.main-hero-content .hero-subtitle {
    margin-bottom: 32px;
}


/* COMPANIES */

.company-card {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    height: 100%;
    opacity: 0.5;
    overflow: hidden;
}

.company-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 60%);
    transform: skewX(-25deg);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.company-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s infinite;
}

.company-card .company-logo {
    width: 100%;
    height: 60px;
    margin-bottom: 32px;
}

.company-card .company-logo img {
    height: 100%;
    width: 90%;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

.company-card .company-name {
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* max width md */
@media (max-width: 768px) {
    .company-card .company-logo {
        height: 40px;
        margin-bottom: 16px;
    }

    .company-card .company-name {
        font-size: 0.5rem;
    }
}

.company-card:hover,
.company-card.active {
    opacity: 1;
}

.company-card:hover img {
    transform: scale(1.1);
}

/* VIDEOS */
.videos-container {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.video-card .video-thumbnail {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
    position: relative;
    cursor: pointer;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.video-card .video-thumbnail::after {
    /* gradient black to transparent from bottom */
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.video-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

.video-card .play-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    animation: pulse-border 1.5s ease-out infinite;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

.video-card:hover img {
    transform: scale(1.1);
}

.video-card .video-info {
    margin-top: 10px;
}

.video-card .video-title {
    font-size: 1rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;

}

.splide__pagination {
    bottom: -2rem;
    gap: 0.5rem;
}

.splide__pagination__page {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.splide__pagination__page.is-active {
    opacity: 1;
}

/* splide arrow */
.splide__arrow {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.splide__arrow svg {
    fill: #fff;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease-in-out;
}

.post-card .post-thumbnail {
    aspect-ratio: 21 / 9;
}

.ebook-area {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .ebook-area {
        padding: 20px;
    }
}

.ebook-title {
    text-align: left;
}


.ebook-cover img {
    max-height: 360px;
}

@media (max-width: 768px) {
    .ebook-title {
        text-align: center;
    }

    .ebook-cover {
        text-align: center;
    }

    .ebook-cover img {
        max-height: 280px;
    }
}


.ebook-desc p {
    text-align: justify;
}