:root {
            --content-width: calc(40vw - 84px);
            --margin: 20px;
            --spacing: 20px;
            --circle-size: 80px;
            --icon-size: 32px;
            --bdrs-icon: 0;
            --main-color: #286fb7;
            --light-color: #5087c7;
            --border-color: #eaeaea;
        }


        .timeline {
            display: flex;
            flex-direction: column;
            margin: var(--margin) auto;
            position: relative;
        }

        .timeline__event {
            margin-bottom: var(--spacing);
            position: relative;
            display: flex;
            margin: var(--spacing) 0;
            align-self: center;
            width: 50vw;
        }

            .timeline__event:nth-child(2n + 1) {
                flex-direction: row-reverse;
            }

                .timeline__event:nth-child(2n + 1) .timeline__event__date {
                    border-radius: 0;
                }

                .timeline__event:nth-child(2n + 1) .timeline__event__content {
                    border-radius: 0;
                }

                /* Connection lines for odd items */
                .timeline__event:nth-child(2n + 1) .timeline__event__icon:before {
                    content: "";
                    width: 2px;
                    height: 200%;
                    background: var(--light-color);
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    right: auto;
                    z-index: -1;
                    transform: translateX(-50%);
                    animation: fillTop 2s forwards 4s ease-in-out;
                }

                .timeline__event:nth-child(2n + 1) .timeline__event__icon:after {
                    content: "";
                    width: 100%;
                    height: 2px;
                    background: var(--light-color);
                    position: absolute;
                    right: 0;
                    z-index: -1;
                    top: 50%;
                    left: auto;
                    transform: translateY(-50%);
                    animation: fillLeft 2s forwards 4s ease-in-out;
                }

            /* Connection lines for even items */
            .timeline__event:nth-child(2n) .timeline__event__icon:before {
                content: "";
                width: 2px;
                height: 200%;
                background: var(--light-color);
                position: absolute;
                top: 50%;
                left: 50%;
                z-index: -1;
                transform: translateX(-50%);
                animation: fillTop 2s forwards 4s ease-in-out;
            }

            .timeline__event:nth-child(2n) .timeline__event__icon:after {
                content: "";
                width: 100%;
                height: 2px;
                background: var(--light-color);
                position: absolute;
                left: 0;
                z-index: -1;
                top: 50%;
                transform: translateY(-50%);
                animation: fillLeftOdd 2s forwards 4s ease-in-out;
            }

            /* Arrow styling */
            .timeline__event:not(:last-child) .timeline__event__icon .arrow-down {
                position: absolute;
                bottom: -50px;
                left: 50%;
                transform: translateX(-50%);
                color: var(--main-color);
                font-size: 18px;
                font-weight: bold;
                z-index: 10;
                /*animation: fadeIn 1s forwards 5s;*/
                opacity: 0;
            }

        .timeline__event__title {
            font-size: 1.05rem;
            line-height: 1.4;
            font-weight: 700;
            color: var(--main-color);
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

        .timeline__event__content {
            padding: 30px;
            box-shadow: 0 10px 30px rgba(40, 111, 183, 0.15);
            background: #fff;
            width: var(--content-width);
            border-radius: 0;
            border-left: 4px solid var(--main-color);
            border: 1px solid var(--border-color);
        }

        .timeline__event:nth-child(2n + 1) .timeline__event__content {
            border-left: none;
            border-right: 4px solid var(--main-color);
            border: 1px solid var(--border-color);
        }

        .timeline__event__date {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            background: var(--main-color);
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            padding: 0;
            border-radius: 0;
            width: 220px;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

            .timeline__event__date img {
                width: 100%;
                height: 100%;
            }

            .timeline__event__date:before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.2) 100%);
            }

        .timeline__event:nth-child(2n + 1) .timeline__event__date {
            border-radius: 0;
        }

        .timeline__event__icon {
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            padding: var(--spacing);
            align-self: center;
            margin: 0 var(--spacing);
            background: var(--main-color);
            border-radius: var(--bdrs-icon);
            width: var(--circle-size);
            box-shadow: 0 10px 30px rgba(40, 111, 183, 0.3);
            height: var(--circle-size);
            position: relative;
            flex-shrink: 0;
            border: 1px solid var(--border-color);
        }

            .timeline__event__icon i {
                font-size: var(--icon-size);
            }

        .timeline__event__description {
            flex-basis: 60%;
            font-size: 14px;
            line-height: 1.6;
            color: #666;
            text-align: justify
        }

        .timeline__event:last-child .timeline__event__icon:before {
            height: 50%;
        }

        /* Sample image styling */
        .date-image {
            width: 30px;
            height: 30px;
            margin-right: 10px;
            background: rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(255,255,255,0.5);
        }

            .date-image i {
                color: white;
                font-size: 16px;
            }

        @media (max-width: 786px) {
            .timeline__event {
                flex-direction: column;
                align-self: center;
                width: 90%;
            }

            .timeline__event__content {
                width: 100%;
            }

            .timeline__event__icon {
                width: 100%;
                margin: 0;
                box-shadow: none;
                height: 60px;
            }

                .timeline__event__icon:before,
                .timeline__event__icon:after {
                    display: none;
                }

            .timeline__event__date {
                padding: 20px;
                width: 100%;
            }

            .timeline__event:nth-child(2n + 1) {
                flex-direction: column;
                align-self: center;
            }

                .timeline__event:nth-child(2n + 1) .timeline__event__date {
                    padding: 20px;
                }

                .timeline__event:nth-child(2n + 1) .timeline__event__icon {
                    margin: 0;
                }

            .timeline__event__icon .arrow-down {
                display: none;
            }
        }

        @keyframes fillLeft {
            100% {
                right: 100%;
            }
        }

        @keyframes fillTop {
            100% {
                top: 100%;
            }
        }

        @keyframes fillLeftOdd {
            100% {
                left: 100%;
            }
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }
    


        .course-category__card__icon-container {
            position: relative;
            margin-bottom: 20px;
        }

        .course-category__card__image-container {
            width: 100%;
            height: 200px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            position: relative;
            margin-bottom: 20px;
            border: 1px solid #eaeaea;
        }

        .course-category__card__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            opacity: 0.82;
        }

        .course-category__card__image-container .course-category__card__icon-box {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .course-category__card:hover .course-category__card__image {
            transform: scale(1.05);
        }

        .course-category__card__title {
            text-align: left;
        }

        .course-category__card__content p, .course-category__card__content ul, .course-category__card__content li {
            text-align: left;
        }