/* Title section */

.page-title-section {
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.page-title {
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    background: linear-gradient(90deg, #0056b3, #d9534f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #d9534f;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: all 0.3s ease;
}

.page-title:hover::before {
    animation: shine 1.5s forwards;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


/* Section 1 */

.activities-section {
    padding: 40px;
    max-width: 1200px;
    margin: 20px auto;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f9f9f9, #e3f2fd);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.activity {
    margin-bottom: 40px;
    padding: 20px;
    border-left: 5px solid #d9534f;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.activity:hover {
    transform: translateY(-5px);
}

.activity-title {
    font-size: 24px;
    color: #0056b3;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
}

.activity-description {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    text-align: justify; /* Aliniere justify pentru un aspect mai ordonat */
    margin-bottom: 15px; /* Spațiu mai mic pentru separarea de lista de cursuri */
    text-justify: inter-word; /* Justificare suplimentară pentru o mai bună distribuție a cuvintelor */
}


.training-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.training-list li {
    background-color: #f7f7f7;
    padding: 15px;
    border-left: 5px solid #0056b3;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.training-list li strong {
    color: #d9534f;
    font-weight: bold;
}

/* Stiluri Responsive */
@media (max-width: 768px) {
    .activity-title {
        font-size: 20px;
    }
    .activity-description {
        font-size: 14px;
    }
    .training-list li {
        font-size: 13px;
    }

    .page-title-section {
        margin-top: 140px;
    }
}
