body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/*************************************************Roadmaps Hero Section Styles *************************************/
.roadmap-hero {
    position: relative;
    width: 100%;
    height: 110vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    padding: 0 20px;
}

.roadmap-hero__title {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 0.5em;
    background: var(--main-heading-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.roadmap-hero__title .title-span {
    color: #7cb138;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-fill-color: initial;
    font-weight: 800;
}
.roadmap-hero__description {
    font-size: 1.2em;
    color: var(--subtext-color);
    margin-bottom: 1em;
    max-width: 400px;
}

.roadmap-hero__svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.roadmap-hero__content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 70px;
}

.roadmap-hero__cta-container {
    display: flex;
    justify-content: center;
    margin-top: 2em;
    width: 100%;
}

.roadmap-hero__cta {
    display: inline-block;
    padding: 12px 28px;
    background-color: #ffffff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid var(--primary-color);
    font-weight: bold;
    box-shadow: inset 0px 0.5px 0px rgba(255, 255, 255, 0.32),
        inset 0px -1.5px 0px rgba(255, 255, 255, 0.32);
    z-index: 1;
    transition: all 0.3s ease;
}
.roadmap-hero__cta:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.roadmap-hero__icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.roadmap-hero__icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    pointer-events: auto;
    animation: slideDown 1s ease-out, skate 2s infinite ease-in-out;
}

.roadmap-hero__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.roadmap-hero__icon:hover {
    transform: scale(1.1);
}

.roadmap-hero__icon--vue {
    left: 15%;
    top: 70%;
}

.roadmap-hero__icon--js {
    left: 15%;
    top: 40%;
}

.roadmap-hero__icon--flutter {
    left: 5%;
    top: 55%;
}

.roadmap-hero__icon--dart {
    left: 30%;
    top: 60%;
}

.roadmap-hero__icon--react {
    right: 15%;
    top: 70%;
}

.roadmap-hero__icon--node {
    right: 15%;
    top: 40%;
}

.roadmap-hero__icon--laravel {
    right: 30%;
    top: 60%;
}

.roadmap-hero__icon--php {
    right: 5%;
    top: 55%;
}

/* Responsive Design Adjustments */
/* Extra Small Devices (Phones, 320px and up) */
@media (max-width: 575px) {
    .roadmap-hero__title {
        font-size: 2.5em;
    }

    .roadmap-hero__description {
        font-size: 1em;
    }

    .roadmap-hero__cta {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .roadmap-hero__icon {
        width: 15px;
        height: 15px;
    }

    .roadmap-hero__svg {
        height: 99%;
        top: 77%;
    }
    .roadmap-hero__icon--vue {
        left: 15%;
        top: 82%;
    }

    .roadmap-hero__icon--js {
        left: 15%;
        top: 74%;
    }

    .roadmap-hero__icon--flutter {
        left: 5%;
        top: 78%;
    }

    .roadmap-hero__icon--dart {
        left: 30%;
        top: 79%;
    }

    .roadmap-hero__icon--react {
        right: 15%;
        top: 82%;
    }

    .roadmap-hero__icon--node {
        right: 15%;
        top: 74%;
    }

    .roadmap-hero__icon--laravel {
        right: 30%;
        top: 78%;
    }

    .roadmap-hero__icon--php {
        right: 5%;
        top: 78%;
    }
}

/* Small Devices (Tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .roadmap-hero__title {
        font-size: 2.2em;
    }

    .roadmap-hero__description {
        font-size: 1em;
    }

    .roadmap-hero__cta {
        padding: 12px 24px;
        font-size: 1em;
    }

    .roadmap-hero__icon {
        width: 50px;
        height: 50px;
    }

    .roadmap-hero__svg {
        height: 70%;
    }
}

/* Medium Devices (Desktops, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .roadmap-hero__title {
        font-size: 2.5em;
    }

    .roadmap-hero__description {
        font-size: 1.1em;
    }

    .roadmap-hero__cta {
        padding: 14px 28px;
    }

    .roadmap-hero__icon {
        width: 55px;
        height: 55px;
    }

    .roadmap-hero__svg {
        height: 80%;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .roadmap-hero__title {
        font-size: 2.8em;
    }

    .roadmap-hero__description {
        font-size: 1.2em;
    }

    .roadmap-hero__cta {
        padding: 16px 32px;
    }

    .roadmap-hero__icon {
        width: 60px;
        height: 60px;
    }

    .roadmap-hero__svg {
        height: 90%;
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .roadmap-hero__cta {
        padding: 18px 36px;
    }

    .roadmap-hero__icon {
        width: 65px;
        height: 65px;
    }

    .roadmap-hero__svg {
        height: 100%;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .roadmap-hero__icon {
        width: 35px;
        height: 35px;
    }

    .roadmap-hero__icon--vue {
        left: 15%;
        top: 55%;
    }

    .roadmap-hero__icon--js {
        left: 15%;
        top: 45%;
    }

    .roadmap-hero__icon--flutter {
        left: 5%;
        top: 50%;
    }

    .roadmap-hero__icon--dart {
        left: 25%;
        top: 52%;
    }

    .roadmap-hero__icon--react {
        right: 15%;
        top: 55%;
    }

    .roadmap-hero__icon--node {
        right: 15%;
        top: 45%;
    }

    .roadmap-hero__icon--laravel {
        right: 25%;
        top: 52%;
    }

    .roadmap-hero__icon--php {
        right: 5%;
        top: 50%;
    }
}
/**** Animations for hero icons *****/
/* Keyframes for sliding down */
@keyframes slideDown {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Keyframes for a smooth skating motion */
@keyframes skate {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px); /* Move right */
    }
}

/************************************************* Training Paths Section Styles *************************************/
.training-paths {
    padding: 100px 0;
    text-align: center;
    z-index: 9999;
    background-color: #f6f6f5;
}

.training-paths__title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.training-paths__categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.training-paths__category-button {
    padding: 10px 20px;
    border: 2px solid #7cb138;
    border-radius: 20px;
    background-color: #fff;
    color: #7cb138;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.training-paths__category-button:hover {
    background-color: #7cb138;
    color: #fff;
}

.training-paths__category-button--active {
    background-color: #7cb138;
    color: #fff;
}

.training-paths__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    margin-top: 50px;
}

.training-path__container {
    position: relative;
    width: 300px;
    height: 200px;
    cursor: pointer;
}

.training-path__box {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box,
        radial-gradient(
                circle,
                rgba(151, 197, 92, 0.25) 0%,
                rgba(151, 197, 92, 1) 100%
            )
            border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.training-path__tilted-second {
    width: 120px;
    height: 130px;
    transform: rotate(336deg) translateX(0);
    z-index: 0;
    top: 45px;
    left: -10px;
    opacity: 0;
    transition-delay: 0.15s;
}

.training-path__tilted-first {
    width: 130px;
    height: 170px;
    transform: rotate(-13deg) translateX(0);
    z-index: 1;
    top: 12px;
    left: -5px;
    opacity: 0;
    transition-delay: 0s;
}

/* Hover animation for revealing tilted boxes */
.training-path__container:hover .training-path__tilted-second {
    opacity: 1;
    transform: rotate(336deg) translateX(-20px); /* Slide out to the left */
}

.training-path__container:hover .training-path__tilted-first {
    opacity: 1;
    transform: rotate(-13deg) translateX(-15px); /* Slide out to the left */
}

.training-path__box:nth-child(3) {
    z-index: 2;
}

.training-path__content {
    text-align: center;
    margin-top: 10px;
}

.training-path__image {
    width: 240px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    max-height: 120px;
}

.training-path__title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
    margin-top: 10px;
}

.training-path__category-tag {
    position: absolute;
    top: -10px;
    right: 10px;
    background-color: #97c55c;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
