.psychology-courses-block {
    background: linear-gradient(135deg, #FFD93D 0%, #FF9A56 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    box-shadow: 0 10px 30px rgba(255, 217, 61, 0.3);
}

.courses-container {
    position: relative;
    z-index: 2;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.courses-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #000;
    margin: 0;
    line-height: 1.2;
    max-width: 70%;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.courses-icon {
    flex-shrink: 0;
    margin-left: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.courses-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.course-button {
    background-color: #C6E5F7;
    color: #333;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.course-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.course-button:hover::before {
    left: 100%;
}

.course-button:hover {
    background-color: #A8D5F0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #333;
    text-decoration: none;
}

.course-button.dark {
    background-color: #333;
    color: #fff;
    font-weight: 600;
}

.course-button.dark:hover {
    background-color: #555;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.psychology-courses-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .psychology-courses-block {
        padding: 20px;
        margin: 15px 0;
    }
    
    .courses-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .courses-title {
        font-size: 2em;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .courses-icon {
        margin-left: 0;
    }
    
    .course-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .psychology-courses-block {
        padding: 15px;
    }
    
    .courses-title {
        font-size: 1.8em;
    }
    
    .courses-menu {
        justify-content: center;
    }
    
    .course-button {
        flex: 1 1 calc(50% - 7px);
        text-align: center;
        min-width: 120px;
        padding: 8px 16px;
    }
}