/* =========================================
   TRAINING HERO
========================================= */

.training-hero {
    isolation: isolate;
}


/* =========================================
   DECORATIVE ORBS
========================================= */

.training-orb {
    position: absolute;
    width: 16rem;
    height: 16rem;
    border: 1px solid rgba(0, 103, 214, 0.15);
    border-radius: 999px;
    pointer-events: none;
}


.training-orb-left {
    top: 18%;
    left: -7rem;
    box-shadow:
        0 0 70px rgba(0, 103, 214, 0.08),
        inset 0 0 50px rgba(0, 103, 214, 0.04);
}


.training-orb-right {
    right: -7rem;
    bottom: 12%;
    width: 20rem;
    height: 20rem;
    border-color: rgba(34, 211, 238, 0.12);
    box-shadow:
        0 0 80px rgba(34, 211, 238, 0.06),
        inset 0 0 50px rgba(34, 211, 238, 0.03);
}


/* =========================================
   GRADIENT LINES
========================================= */

.training-line,
.training-bottom-line {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 103, 214, 0.3),
        #0067D6,
        rgba(34, 211, 238, 0.8),
        rgba(0, 103, 214, 0.3),
        transparent
    );
    box-shadow: 0 0 18px rgba(0, 103, 214, 0.4);
}


.training-line {
    width: min(100%, 32rem);
}


.training-bottom-line {
    width: min(100%, 42rem);
    opacity: 0.75;
}


/* =========================================
   ENTRANCE ANIMATION
========================================= */

.training-animate {
    opacity: 0;
    transform: translateY(28px);
    animation: trainingEntrance 0.8s ease forwards;
}


.training-label {
    animation-delay: 0.1s;
}


.training-title {
    animation-delay: 0.2s;
}


.training-description {
    animation-delay: 0.35s;
}


.training-line {
    animation-delay: 0.5s;
}


.training-actions {
    animation-delay: 0.65s;
}


.training-support {
    animation-delay: 0.8s;
}


.training-bottom-line {
    animation-delay: 0.95s;
}


@keyframes trainingEntrance {

    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

}


/* =========================================
   SMOOTH SCROLL
========================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 639px) {

    .training-hero {
        min-height: auto;
    }


    .training-orb-left {
        left: -10rem;
        top: 10%;
    }


    .training-orb-right {
        right: -12rem;
        bottom: 5%;
    }

}


@media (max-width: 480px) {

    .training-title {
        font-size: 2.35rem;
    }


    .training-description {
        line-height: 1.75rem;
    }


    .training-line {
        width: 85%;
    }


    .training-bottom-line {
        width: 90%;
    }

}


/* =========================================
   TRAINING PROGRAMS SECTION
========================================= */

.training-program-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 1.75rem;
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 1.35rem;
    background: linear-gradient(
        145deg,
        rgba(15, 23, 42, 0.88),
        rgba(2, 6, 23, 0.75)
    );
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}


.training-program-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 103, 214, 0.75);
    background: linear-gradient(
        145deg,
        rgba(15, 23, 42, 0.95),
        rgba(0, 103, 214, 0.08)
    );
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.22),
        0 0 35px rgba(0, 103, 214, 0.1);
}


/* Large Icon */

.training-program-icon {
    display: flex;
    width: 4.25rem;
    height: 4.25rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 103, 214, 0.3);
    border-radius: 1.15rem;
    background: linear-gradient(
        135deg,
        rgba(0, 103, 214, 0.25),
        rgba(34, 211, 238, 0.08)
    );
    color: #38bdf8;
    box-shadow: inset 0 0 25px rgba(0, 103, 214, 0.08);
}


.training-program-icon svg {
    width: 1.9rem;
    height: 1.9rem;
}


.training-program-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
}


.training-program-description {
    margin-top: 0.85rem;
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.75;
}


/* Gradient Divider */

.training-program-line {
    width: 100%;
    height: 1px;
    margin: 1.5rem 0;
    background: linear-gradient(
        90deg,
        rgba(0, 103, 214, 0.5),
        rgba(34, 211, 238, 0.25),
        transparent
    );
}


/* Training Tags */

.training-program-tags {
    display: grid;
    gap: 0.8rem;
}


.training-program-tags span {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #cbd5e1;
    font-size: 0.84rem;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.training-program-tags span:hover {
    transform: translateX(4px);
    color: #ffffff;
}


.training-program-tags svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: #38bdf8;
}


/* =========================================
   SCROLL ANIMATION
========================================= */

.training-scroll-animate {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}


.training-scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}


/* Animation Delays */

.training-delay-1 {
    transition-delay: 0.1s;
}


.training-delay-2 {
    transition-delay: 0.2s;
}


.training-delay-3 {
    transition-delay: 0.1s;
}


.training-delay-4 {
    transition-delay: 0.2s;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1023px) {

    .training-program-card {
        padding: 1.5rem;
    }

}


@media (max-width: 639px) {

    .training-program-card {
        padding: 1.35rem;
        border-radius: 1.1rem;
    }


    .training-program-icon {
        width: 3.75rem;
        height: 3.75rem;
        margin-bottom: 1.25rem;
    }


    .training-program-icon svg {
        width: 1.65rem;
        height: 1.65rem;
    }


    .training-program-card h3 {
        font-size: 1.15rem;
    }


    .training-program-description {
        font-size: 0.84rem;
    }

}